Package org.hl7.fhir.dstu2.model
Class SupplyRequest
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.SupplyRequest
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
A record of a request for a medication, substance or device used in the
healthcare setting.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected DateTimeType
When the request was made.protected Identifier
Unique identifier for this supply request.protected CodeableConcept
Category of supply, e.g.protected Reference
The item that is requested to be supplied.protected Resource
The actual object that is the target of the reference (The item that is requested to be supplied.)protected Reference
A link to a resource representing the person whom the ordered item is for.protected Patient
The actual object that is the target of the reference (A link to a resource representing the person whom the ordered item is for.)protected Type
Why the supply item was requested.protected Reference
The Practitioner , Organization or Patient who initiated this order for the supply.protected Resource
The actual object that is the target of the reference (The Practitioner , Organization or Patient who initiated this order for the supply.)static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected Enumeration
<SupplyRequest.SupplyRequestStatus> Status of the supply request.Who is intended to fulfill the request.protected List
<Organization> The actual objects that are the target of the reference (Who is intended to fulfill the request.)protected SupplyRequest.SupplyRequestWhenComponent
When the request should be fulfilled.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getDate()
getKind()
getWhen()
boolean
hasDate()
boolean
boolean
boolean
hasKind()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasWhen()
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setDateElement
(DateTimeType value) setIdentifier
(Identifier value) setKind
(CodeableConcept value) setOrderedItem
(Reference value) setOrderedItemTarget
(Resource value) setPatient
(Reference value) setPatientTarget
(Patient value) void
setProperty
(String name, Base value) setSourceTarget
(Resource value) protected SupplyRequest
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
patient
A link to a resource representing the person whom the ordered item is for. -
patientTarget
The actual object that is the target of the reference (A link to a resource representing the person whom the ordered item is for.) -
source
The Practitioner , Organization or Patient who initiated this order for the supply. -
sourceTarget
The actual object that is the target of the reference (The Practitioner , Organization or Patient who initiated this order for the supply.) -
date
When the request was made. -
identifier
Unique identifier for this supply request. -
status
Status of the supply request. -
kind
Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process. -
orderedItem
The item that is requested to be supplied. -
orderedItemTarget
The actual object that is the target of the reference (The item that is requested to be supplied.) -
supplier
Who is intended to fulfill the request. -
supplierTarget
The actual objects that are the target of the reference (Who is intended to fulfill the request.) -
reason
Why the supply item was requested. -
when
When the request should be fulfilled. -
SP_DATE
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_KIND
- See Also:
-
SP_PATIENT
- See Also:
-
SP_SUPPLIER
- See Also:
-
SP_SOURCE
- See Also:
-
SP_STATUS
- See Also:
-
-
Constructor Details
-
SupplyRequest
public SupplyRequest()
-
-
Method Details
-
getPatient
- Returns:
patient
(A link to a resource representing the person whom the ordered item is for.)
-
hasPatient
-
setPatient
- Parameters:
value
-patient
(A link to a resource representing the person whom the ordered item is for.)
-
getPatientTarget
- Returns:
patient
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person whom the ordered item is for.)
-
setPatientTarget
- Parameters:
value
-patient
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person whom the ordered item is for.)
-
getSource
- Returns:
source
(The Practitioner , Organization or Patient who initiated this order for the supply.)
-
hasSource
-
setSource
- Parameters:
value
-source
(The Practitioner , Organization or Patient who initiated this order for the supply.)
-
getSourceTarget
- Returns:
source
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The Practitioner , Organization or Patient who initiated this order for the supply.)
-
setSourceTarget
- Parameters:
value
-source
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The Practitioner , Organization or Patient who initiated this order for the supply.)
-
getDateElement
- Returns:
date
(When the request was made.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
-
hasDate
-
setDateElement
- Parameters:
value
-date
(When the request was made.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
- Returns:
- When the request was made.
-
setDate
- Parameters:
value
- When the request was made.
-
getIdentifier
- Returns:
identifier
(Unique identifier for this supply request.)
-
hasIdentifier
-
setIdentifier
- Parameters:
value
-identifier
(Unique identifier for this supply request.)
-
getStatusElement
- Returns:
status
(Status of the supply request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value
-status
(Status of the supply request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- Status of the supply request.
-
setStatus
- Parameters:
value
- Status of the supply request.
-
getKind
- Returns:
kind
(Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.)
-
hasKind
-
setKind
- Parameters:
value
-kind
(Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.)
-
getOrderedItem
- Returns:
orderedItem
(The item that is requested to be supplied.)
-
hasOrderedItem
-
setOrderedItem
- Parameters:
value
-orderedItem
(The item that is requested to be supplied.)
-
getOrderedItemTarget
- Returns:
orderedItem
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The item that is requested to be supplied.)
-
setOrderedItemTarget
- Parameters:
value
-orderedItem
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The item that is requested to be supplied.)
-
getSupplier
- Returns:
supplier
(Who is intended to fulfill the request.)
-
hasSupplier
-
addSupplier
- Returns:
supplier
(Who is intended to fulfill the request.)
-
addSupplier
-
getSupplierTarget
- Returns:
supplier
(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Who is intended to fulfill the request.)
-
addSupplierTarget
- Returns:
supplier
(Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. Who is intended to fulfill the request.)
-
getReason
- Returns:
reason
(Why the supply item was requested.)
-
getReasonCodeableConcept
- Returns:
reason
(Why the supply item was requested.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReasonCodeableConcept
-
getReasonReference
- Returns:
reason
(Why the supply item was requested.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReasonReference
-
hasReason
-
setReason
- Parameters:
value
-reason
(Why the supply item was requested.)
-
getWhen
- Returns:
when
(When the request should be fulfilled.)
-
hasWhen
-
setWhen
- Parameters:
value
-when
(When the request should be fulfilled.)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-