Class SupplyRequest
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
Definition: A record of a request for a medication, substance or device used in the healthcare setting.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/SupplyRequest
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: SupplyRequest.when () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for kindstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for sourcestatic final String
Search parameter constant for datestatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for kindstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for sourcestatic final String
Search parameter constant for statusstatic final String
Search parameter constant for supplierstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for supplierFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for supplier ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getDate()
Gets the value(s) for date ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for date ().Gets the value(s) for identifier ().getKind()
Gets the value(s) for kind ().Gets the value(s) for orderedItem ().Gets the value(s) for patient ().ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for reason[x] ().Gets the value(s) for source ().Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt
<SupplyRequestStatusEnum> Gets the value(s) for status ().ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for supplier ().getWhen()
Gets the value(s) for when ().boolean
isEmpty()
setDate
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for date ()Sets the value for date ()setDateWithSecondsPrecision
(Date theDate) Sets the value for date ()setIdentifier
(IdentifierDt theValue) Sets the value(s) for identifier ()setKind
(CodeableConceptDt theValue) Sets the value(s) for kind ()setOrderedItem
(ResourceReferenceDt theValue) Sets the value(s) for orderedItem ()setPatient
(ResourceReferenceDt theValue) Sets the value(s) for patient ()setReason
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for reason[x] ()setSource
(ResourceReferenceDt theValue) Sets the value(s) for source ()setStatus
(SupplyRequestStatusEnum theValue) Sets the value(s) for status ()setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<SupplyRequestStatusEnum> theValue) Sets the value(s) for status ()setSupplier
(List<ResourceReferenceDt> theValue) Sets the value(s) for supplier ()setWhen
(SupplyRequest.When theValue) Sets the value(s) for when ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_KIND
Search parameter constant for kindDescription:
Type: token
Path: SupplyRequest.kind
- See Also:
-
KIND
Fluent Client search parameter constant for kindDescription:
Type: token
Path: SupplyRequest.kind
-
SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: SupplyRequest.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: SupplyRequest.identifier
-
SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: SupplyRequest.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: SupplyRequest.status
-
SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: SupplyRequest.patient
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: SupplyRequest.patient
-
SP_SOURCE
Search parameter constant for sourceDescription:
Type: reference
Path: SupplyRequest.source
- See Also:
-
SOURCE
Fluent Client search parameter constant for sourceDescription:
Type: reference
Path: SupplyRequest.source
-
SP_DATE
Search parameter constant for dateDescription:
Type: date
Path: SupplyRequest.date
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription:
Type: date
Path: SupplyRequest.date
-
SP_SUPPLIER
Search parameter constant for supplierDescription:
Type: reference
Path: SupplyRequest.supplier
- See Also:
-
SUPPLIER
Fluent Client search parameter constant for supplierDescription:
Type: reference
Path: SupplyRequest.supplier
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyRequest:patient". -
INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyRequest:source". -
INCLUDE_SUPPLIER
Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyRequest:supplier".
-
-
Constructor Details
-
SupplyRequest
public SupplyRequest()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getPatient
Gets the value(s) for patient (). creating it if it does not exist. Will not returnnull
.Definition: A link to a resource representing the person whom the ordered item is for
-
setPatient
Sets the value(s) for patient ()Definition: A link to a resource representing the person whom the ordered item is for
-
getSource
Gets the value(s) for source (). creating it if it does not exist. Will not returnnull
.Definition: The Practitioner , Organization or Patient who initiated this order for the supply
-
setSource
Sets the value(s) for source ()Definition: The Practitioner , Organization or Patient who initiated this order for the supply
-
getDateElement
Gets the value(s) for date (). creating it if it does not exist. Will not returnnull
.Definition: When the request was made
-
getDate
Gets the value(s) for date (). creating it if it does not exist. This method may returnnull
.Definition: When the request was made
-
setDate
Sets the value(s) for date ()Definition: When the request was made
-
setDateWithSecondsPrecision
Sets the value for date ()Definition: When the request was made
-
setDate
public SupplyRequest setDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for date ()Definition: When the request was made
-
getIdentifier
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull
.Definition: Unique identifier for this supply request
-
setIdentifier
Sets the value(s) for identifier ()Definition: Unique identifier for this supply request
-
getStatusElement
Gets the value(s) for status (). creating it if it does not exist. Will not returnnull
.Definition: Status of the supply request
-
getStatus
Gets the value(s) for status (). creating it if it does not exist. This method may returnnull
.Definition: Status of the supply request
-
setStatus
public SupplyRequest setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<SupplyRequestStatusEnum> theValue) Sets the value(s) for status ()Definition: Status of the supply request
-
setStatus
Sets the value(s) for status ()Definition: Status of the supply request
-
getKind
Gets the value(s) for kind (). creating it if it does not exist. Will not returnnull
.Definition: Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process
-
setKind
Sets the value(s) for kind ()Definition: Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process
-
getOrderedItem
Gets the value(s) for orderedItem (). creating it if it does not exist. Will not returnnull
.Definition: The item that is requested to be supplied
-
setOrderedItem
Sets the value(s) for orderedItem ()Definition: The item that is requested to be supplied
-
getSupplier
Gets the value(s) for supplier (). creating it if it does not exist. Will not returnnull
.Definition: Who is intended to fulfill the request
-
setSupplier
Sets the value(s) for supplier ()Definition: Who is intended to fulfill the request
-
addSupplier
Adds and returns a new value for supplier ()Definition: Who is intended to fulfill the request
-
getReason
Gets the value(s) for reason[x] (). creating it if it does not exist. Will not returnnull
.Definition: Why the supply item was requested
-
setReason
Sets the value(s) for reason[x] ()Definition: Why the supply item was requested
-
getWhen
Gets the value(s) for when (). creating it if it does not exist. Will not returnnull
.Definition: When the request should be fulfilled
-
setWhen
Sets the value(s) for when ()Definition: When the request should be fulfilled
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-