Class SupplyDelivery
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.BaseResource
-
- org.hl7.fhir.dstu2016may.model.Resource
-
- org.hl7.fhir.dstu2016may.model.DomainResource
-
- org.hl7.fhir.dstu2016may.model.SupplyDelivery
-
- 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
public class SupplyDelivery extends DomainResource
Record of delivery of what is supplied.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSupplyDelivery.SupplyDeliveryStatusstatic classSupplyDelivery.SupplyDeliveryStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected ReferencedestinationIdentification of the facility/location where the Supply was shipped to, as part of the dispense event.protected LocationdestinationTargetThe actual object that is the target of the reference (Identification of the facility/location where the Supply was shipped to, as part of the dispense event.)protected IdentifieridentifierIdentifier assigned by the dispensing facility when the item(s) is dispensed.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.protected ReferencepatientA link to a resource representing the person whom the delivered item is for.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientprotected PatientpatientTargetThe actual object that is the target of the reference (A link to a resource representing the person whom the delivered item is for.)protected SimpleQuantityquantityThe amount of supply that has been dispensed.protected List<Reference>receiverIdentifies the person who picked up the Supply.static ca.uhn.fhir.rest.gclient.ReferenceClientParamRECEIVERFluent Client search parameter constant for receiverprotected List<Practitioner>receiverTargetThe actual objects that are the target of the reference (Identifies the person who picked up the Supply.)static StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_PATIENTSearch parameter: patientstatic StringSP_RECEIVERSearch parameter: receiverstatic StringSP_STATUSSearch parameter: statusstatic StringSP_SUPPLIERSearch parameter: supplierprotected Enumeration<SupplyDelivery.SupplyDeliveryStatus>statusA code specifying the state of the dispense event.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected ReferencesuppliedItemIdentifies the medication, substance or device being dispensed.protected ResourcesuppliedItemTargetThe actual object that is the target of the reference (Identifies the medication, substance or device being dispensed.protected ReferencesupplierThe individual responsible for dispensing the medication, supplier or device.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUPPLIERFluent Client search parameter constant for supplierprotected PractitionersupplierTargetThe actual object that is the target of the reference (The individual responsible for dispensing the medication, supplier or device.)protected DateTimeTypetimeThe time the dispensed item was sent or handed to the patient (or agent).protected CodeableConcepttypeIndicates the type of dispensing event that is performed.protected PeriodwhenPreparedThe time the dispense event occurred.-
Fields inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2016may.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description SupplyDelivery()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2016may.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.dstu2016may.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, 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
-
-
-
-
Field Detail
-
identifier
protected Identifier identifier
Identifier assigned by the dispensing facility when the item(s) is dispensed.
-
status
protected Enumeration<SupplyDelivery.SupplyDeliveryStatus> status
A code specifying the state of the dispense event.
-
patient
protected Reference patient
A link to a resource representing the person whom the delivered item is for.
-
patientTarget
protected Patient patientTarget
The actual object that is the target of the reference (A link to a resource representing the person whom the delivered item is for.)
-
type
protected CodeableConcept type
Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
-
quantity
protected SimpleQuantity quantity
The amount of supply that has been dispensed. Includes unit of measure.
-
suppliedItem
protected Reference suppliedItem
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.
-
suppliedItemTarget
protected Resource suppliedItemTarget
The actual object that is the target of the reference (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.)
-
supplier
protected Reference supplier
The individual responsible for dispensing the medication, supplier or device.
-
supplierTarget
protected Practitioner supplierTarget
The actual object that is the target of the reference (The individual responsible for dispensing the medication, supplier or device.)
-
whenPrepared
protected Period whenPrepared
The time the dispense event occurred.
-
time
protected DateTimeType time
The time the dispensed item was sent or handed to the patient (or agent).
-
destination
protected Reference destination
Identification of the facility/location where the Supply was shipped to, as part of the dispense event.
-
destinationTarget
protected Location destinationTarget
The actual object that is the target of the reference (Identification of the facility/location where the Supply was shipped to, as part of the dispense event.)
-
receiverTarget
protected List<Practitioner> receiverTarget
The actual objects that are the target of the reference (Identifies the person who picked up the Supply.)
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: Patient for whom the item is supplied
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: Patient for whom the item is supplied
Type: reference
Path: SupplyDelivery.patient
-
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".
-
SP_RECEIVER
public static final String SP_RECEIVER
Search parameter: receiverDescription: Who collected the Supply
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: Who collected the Supply
Type: reference
Path: SupplyDelivery.receiver
-
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".
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: in-progress | completed | abandoned
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: in-progress | completed | abandoned
Type: token
Path: SupplyDelivery.status
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: External identifier
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: External identifier
Type: token
Path: SupplyDelivery.identifier
-
SP_SUPPLIER
public static final String SP_SUPPLIER
Search parameter: supplierDescription: Dispenser
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: Dispenser
Type: reference
Path: SupplyDelivery.supplier
-
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()
Constructor
-
-
Method Detail
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier(Identifier assigned by the dispensing facility when the item(s) is dispensed.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public SupplyDelivery setIdentifier(Identifier value)
- Parameters:
value-identifier(Identifier assigned by the dispensing facility when the item(s) is dispensed.)
-
getStatusElement
public Enumeration<SupplyDelivery.SupplyDeliveryStatus> getStatusElement()
- Returns:
status(A code specifying the state of the dispense event.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public SupplyDelivery setStatusElement(Enumeration<SupplyDelivery.SupplyDeliveryStatus> value)
- Parameters:
value-status(A code specifying the state of the dispense event.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public SupplyDelivery.SupplyDeliveryStatus getStatus()
- Returns:
- A code specifying the state of the dispense event.
-
setStatus
public SupplyDelivery setStatus(SupplyDelivery.SupplyDeliveryStatus value)
- Parameters:
value- A code specifying the state of the dispense event.
-
getPatient
public Reference getPatient()
- Returns:
patient(A link to a resource representing the person whom the delivered item is for.)
-
hasPatient
public boolean hasPatient()
-
setPatient
public SupplyDelivery setPatient(Reference value)
- Parameters:
value-patient(A link to a resource representing the person whom the delivered item is for.)
-
getPatientTarget
public Patient getPatientTarget()
- Returns:
patientThe 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 delivered item is for.)
-
setPatientTarget
public SupplyDelivery setPatientTarget(Patient value)
- Parameters:
value-patientThe 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 delivered item is for.)
-
getType
public CodeableConcept getType()
- Returns:
type(Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.)
-
hasType
public boolean hasType()
-
setType
public SupplyDelivery setType(CodeableConcept value)
- Parameters:
value-type(Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.)
-
getQuantity
public SimpleQuantity getQuantity()
- Returns:
quantity(The amount of supply that has been dispensed. Includes unit of measure.)
-
hasQuantity
public boolean hasQuantity()
-
setQuantity
public SupplyDelivery setQuantity(SimpleQuantity value)
- Parameters:
value-quantity(The amount of supply that has been dispensed. Includes unit of measure.)
-
getSuppliedItem
public Reference getSuppliedItem()
- Returns:
suppliedItem(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.)
-
hasSuppliedItem
public boolean hasSuppliedItem()
-
setSuppliedItem
public SupplyDelivery setSuppliedItem(Reference value)
- Parameters:
value-suppliedItem(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.)
-
getSuppliedItemTarget
public Resource getSuppliedItemTarget()
- Returns:
suppliedItemThe 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. (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.)
-
setSuppliedItemTarget
public SupplyDelivery setSuppliedItemTarget(Resource value)
- Parameters:
value-suppliedItemThe 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. (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 Reference getSupplier()
- Returns:
supplier(The individual responsible for dispensing the medication, supplier or device.)
-
hasSupplier
public boolean hasSupplier()
-
setSupplier
public SupplyDelivery setSupplier(Reference value)
- Parameters:
value-supplier(The individual responsible for dispensing the medication, supplier or device.)
-
getSupplierTarget
public Practitioner getSupplierTarget()
- Returns:
supplierThe 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 individual responsible for dispensing the medication, supplier or device.)
-
setSupplierTarget
public SupplyDelivery setSupplierTarget(Practitioner value)
- Parameters:
value-supplierThe 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 individual responsible for dispensing the medication, supplier or device.)
-
getWhenPrepared
public Period getWhenPrepared()
- Returns:
whenPrepared(The time the dispense event occurred.)
-
hasWhenPrepared
public boolean hasWhenPrepared()
-
setWhenPrepared
public SupplyDelivery setWhenPrepared(Period value)
- Parameters:
value-whenPrepared(The time the dispense event occurred.)
-
getTimeElement
public DateTimeType getTimeElement()
- Returns:
time(The time the dispensed item was sent or handed to the patient (or agent).). This is the underlying object with id, value and extensions. The accessor "getTime" gives direct access to the value
-
hasTimeElement
public boolean hasTimeElement()
-
hasTime
public boolean hasTime()
-
setTimeElement
public SupplyDelivery setTimeElement(DateTimeType value)
- Parameters:
value-time(The time the dispensed item was sent or handed to the patient (or agent).). This is the underlying object with id, value and extensions. The accessor "getTime" gives direct access to the value
-
getTime
public Date getTime()
- Returns:
- The time the dispensed item was sent or handed to the patient (or agent).
-
setTime
public SupplyDelivery setTime(Date value)
- Parameters:
value- The time the dispensed item was sent or handed to the patient (or agent).
-
getDestination
public Reference getDestination()
- Returns:
destination(Identification of the facility/location where the Supply was shipped to, as part of the dispense event.)
-
hasDestination
public boolean hasDestination()
-
setDestination
public SupplyDelivery setDestination(Reference value)
- Parameters:
value-destination(Identification of the facility/location where the Supply was shipped to, as part of the dispense event.)
-
getDestinationTarget
public Location getDestinationTarget()
- Returns:
destinationThe 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. (Identification of the facility/location where the Supply was shipped to, as part of the dispense event.)
-
setDestinationTarget
public SupplyDelivery setDestinationTarget(Location value)
- Parameters:
value-destinationThe 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. (Identification of the facility/location where the Supply was shipped to, as part of the dispense event.)
-
getReceiver
public List<Reference> getReceiver()
- Returns:
receiver(Identifies the person who picked up the Supply.)
-
hasReceiver
public boolean hasReceiver()
-
addReceiver
public Reference addReceiver()
- Returns:
receiver(Identifies the person who picked up the Supply.)
-
addReceiver
public SupplyDelivery addReceiver(Reference t)
-
getReceiverTarget
public List<Practitioner> getReceiverTarget()
- Returns:
receiver(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. Identifies the person who picked up the Supply.)
-
addReceiverTarget
public Practitioner addReceiverTarget()
- Returns:
receiver(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. Identifies the person who picked up the Supply.)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classDomainResource- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public SupplyDelivery copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected SupplyDelivery typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-