Class SupplyDelivery
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.SupplyDelivery
-
- 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
public class SupplyDelivery extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR SupplyDelivery Resource ()Definition: Record of delivery of what is supplied.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/SupplyDelivery
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_RECEIVERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUPPLIERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamRECEIVERFluent Client search parameter constant for receiverstatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_PATIENTSearch parameter constant for patientstatic StringSP_RECEIVERSearch parameter constant for receiverstatic StringSP_STATUSSearch parameter constant for statusstatic StringSP_SUPPLIERSearch parameter constant for supplierstatic ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSUPPLIERFluent Client search parameter constant for supplier-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description SupplyDelivery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReferenceDtaddReceiver()Adds and returns a new value for receiver ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ResourceReferenceDtgetDestination()Gets the value(s) for destination ().IdentifierDtgetIdentifier()Gets the value(s) for identifier ().ResourceReferenceDtgetPatient()Gets the value(s) for patient ().SimpleQuantityDtgetQuantity()Gets the value(s) for quantity ().List<ResourceReferenceDt>getReceiver()Gets the value(s) for receiver ().StringgetResourceName()StringgetStatus()Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt<SupplyDeliveryStatusEnum>getStatusElement()Gets the value(s) for status ().ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()ResourceReferenceDtgetSuppliedItem()Gets the value(s) for suppliedItem ().ResourceReferenceDtgetSupplier()Gets the value(s) for supplier ().DategetTime()Gets the value(s) for time ().ca.uhn.fhir.model.primitive.DateTimeDtgetTimeElement()Gets the value(s) for time ().CodeableConceptDtgetType()Gets the value(s) for type ().PeriodDtgetWhenPrepared()Gets the value(s) for whenPrepared ().booleanisEmpty()SupplyDeliverysetDestination(ResourceReferenceDt theValue)Sets the value(s) for destination ()SupplyDeliverysetIdentifier(IdentifierDt theValue)Sets the value(s) for identifier ()SupplyDeliverysetPatient(ResourceReferenceDt theValue)Sets the value(s) for patient ()SupplyDeliverysetQuantity(SimpleQuantityDt theValue)Sets the value(s) for quantity ()SupplyDeliverysetReceiver(List<ResourceReferenceDt> theValue)Sets the value(s) for receiver ()SupplyDeliverysetStatus(SupplyDeliveryStatusEnum theValue)Sets the value(s) for status ()SupplyDeliverysetStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<SupplyDeliveryStatusEnum> theValue)Sets the value(s) for status ()SupplyDeliverysetSuppliedItem(ResourceReferenceDt theValue)Sets the value(s) for suppliedItem ()SupplyDeliverysetSupplier(ResourceReferenceDt theValue)Sets the value(s) for supplier ()SupplyDeliverysetTime(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for time ()SupplyDeliverysetTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for time ()SupplyDeliverysetTimeWithSecondsPrecision(Date theDate)Sets the value for time ()SupplyDeliverysetType(CodeableConceptDt theValue)Sets the value(s) for type ()SupplyDeliverysetWhenPrepared(PeriodDt theValue)Sets the value(s) for whenPrepared ()-
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
-
-
-
-
Field Detail
-
SP_SUPPLIER
public static final String SP_SUPPLIER
Search parameter constant for supplierDescription:
Type: reference
Path: SupplyDelivery.supplier
- See Also:
- Constant Field Values
-
SUPPLIER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPLIER
Fluent Client search parameter constant for supplierDescription:
Type: reference
Path: SupplyDelivery.supplier
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: SupplyDelivery.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: SupplyDelivery.identifier
-
SP_STATUS
public static final String SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: SupplyDelivery.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: SupplyDelivery.status
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: SupplyDelivery.patient
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: SupplyDelivery.patient
-
SP_RECEIVER
public static final String SP_RECEIVER
Search parameter constant for receiverDescription:
Type: reference
Path: SupplyDelivery.receiver
- See Also:
- Constant Field Values
-
RECEIVER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECEIVER
Fluent Client search parameter constant for receiverDescription:
Type: reference
Path: SupplyDelivery.receiver
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyDelivery:patient".
-
INCLUDE_RECEIVER
public static final ca.uhn.fhir.model.api.Include INCLUDE_RECEIVER
Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyDelivery:receiver".
-
INCLUDE_SUPPLIER
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPLIER
Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyDelivery:supplier".
-
-
Constructor Detail
-
SupplyDelivery
public SupplyDelivery()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
public IdentifierDt getIdentifier()
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull.Definition: Identifier assigned by the dispensing facility when the item(s) is dispensed.
-
setIdentifier
public SupplyDelivery setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier ()Definition: Identifier assigned by the dispensing facility when the item(s) is dispensed.
-
getStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<SupplyDeliveryStatusEnum> getStatusElement()
Gets the value(s) for status (). creating it if it does not exist. Will not returnnull.Definition: A code specifying the state of the dispense event.
-
getStatus
public String getStatus()
Gets the value(s) for status (). creating it if it does not exist. This method may returnnull.Definition: A code specifying the state of the dispense event.
-
setStatus
public SupplyDelivery setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<SupplyDeliveryStatusEnum> theValue)
Sets the value(s) for status ()Definition: A code specifying the state of the dispense event.
-
setStatus
public SupplyDelivery setStatus(SupplyDeliveryStatusEnum theValue)
Sets the value(s) for status ()Definition: A code specifying the state of the dispense event.
-
getPatient
public ResourceReferenceDt 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 delivered item is for
-
setPatient
public SupplyDelivery setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient ()Definition: A link to a resource representing the person whom the delivered item is for
-
getType
public CodeableConceptDt getType()
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull.Definition: Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
-
setType
public SupplyDelivery setType(CodeableConceptDt theValue)
Sets the value(s) for type ()Definition: Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
-
getQuantity
public SimpleQuantityDt getQuantity()
Gets the value(s) for quantity (). creating it if it does not exist. Will not returnnull.Definition: The amount of supply that has been dispensed. Includes unit of measure.
-
setQuantity
public SupplyDelivery setQuantity(SimpleQuantityDt theValue)
Sets the value(s) for quantity ()Definition: The amount of supply that has been dispensed. Includes unit of measure.
-
getSuppliedItem
public ResourceReferenceDt getSuppliedItem()
Gets the value(s) for suppliedItem (). creating it if it does not exist. Will not returnnull.Definition: Identifies the medication, substance or device being dispensed. This is either a link to a resource representing the details of the item or a simple attribute carrying a code that identifies the item from a known list.
-
setSuppliedItem
public SupplyDelivery setSuppliedItem(ResourceReferenceDt theValue)
Sets the value(s) for suppliedItem ()Definition: Identifies the medication, substance or device being dispensed. This is either a link to a resource representing the details of the item or a simple attribute carrying a code that identifies the item from a known list.
-
getSupplier
public ResourceReferenceDt getSupplier()
Gets the value(s) for supplier (). creating it if it does not exist. Will not returnnull.Definition: The individual responsible for dispensing the medication, supplier or device.
-
setSupplier
public SupplyDelivery setSupplier(ResourceReferenceDt theValue)
Sets the value(s) for supplier ()Definition: The individual responsible for dispensing the medication, supplier or device.
-
getWhenPrepared
public PeriodDt getWhenPrepared()
Gets the value(s) for whenPrepared (). creating it if it does not exist. Will not returnnull.Definition: The time the dispense event occurred.
-
setWhenPrepared
public SupplyDelivery setWhenPrepared(PeriodDt theValue)
Sets the value(s) for whenPrepared ()Definition: The time the dispense event occurred.
-
getTimeElement
public ca.uhn.fhir.model.primitive.DateTimeDt getTimeElement()
Gets the value(s) for time (). creating it if it does not exist. Will not returnnull.Definition: The time the dispensed item was sent or handed to the patient (or agent).
-
getTime
public Date getTime()
Gets the value(s) for time (). creating it if it does not exist. This method may returnnull.Definition: The time the dispensed item was sent or handed to the patient (or agent).
-
setTime
public SupplyDelivery setTime(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for time ()Definition: The time the dispensed item was sent or handed to the patient (or agent).
-
setTime
public SupplyDelivery setTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for time ()Definition: The time the dispensed item was sent or handed to the patient (or agent).
-
setTimeWithSecondsPrecision
public SupplyDelivery setTimeWithSecondsPrecision(Date theDate)
Sets the value for time ()Definition: The time the dispensed item was sent or handed to the patient (or agent).
-
getDestination
public ResourceReferenceDt getDestination()
Gets the value(s) for destination (). creating it if it does not exist. Will not returnnull.Definition: Identification of the facility/location where the Supply was shipped to, as part of the dispense event.
-
setDestination
public SupplyDelivery setDestination(ResourceReferenceDt theValue)
Sets the value(s) for destination ()Definition: Identification of the facility/location where the Supply was shipped to, as part of the dispense event.
-
getReceiver
public List<ResourceReferenceDt> getReceiver()
Gets the value(s) for receiver (). creating it if it does not exist. Will not returnnull.Definition: Identifies the person who picked up the Supply.
-
setReceiver
public SupplyDelivery setReceiver(List<ResourceReferenceDt> theValue)
Sets the value(s) for receiver ()Definition: Identifies the person who picked up the Supply.
-
addReceiver
public ResourceReferenceDt addReceiver()
Adds and returns a new value for receiver ()Definition: Identifies the person who picked up the Supply.
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-