Package org.hl7.fhir.dstu2.model
Class SupplyDelivery
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.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
Record of delivery of what is supplied.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Reference
Identification of the facility/location where the Supply was shipped to, as part of the dispense event.protected Location
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.)protected Identifier
Identifier assigned by the dispensing facility when the item(s) is dispensed.protected Reference
A link to a resource representing the person whom the delivered 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 delivered item is for.)protected SimpleQuantity
The amount of supply that has been dispensed.Identifies the person who picked up the Supply.protected List
<Practitioner> The actual objects that are the target of the reference (Identifies the person who picked up the Supply.)static final String
static final String
static final String
static final String
static final String
protected Enumeration
<SupplyDelivery.SupplyDeliveryStatus> A code specifying the state of the dispense event.protected Reference
Identifies the medication, substance or device being dispensed.protected Resource
The actual object that is the target of the reference (Identifies the medication, substance or device being dispensed.protected Reference
The individual responsible for dispensing the medication, supplier or device.protected Practitioner
The actual object that is the target of the reference (The individual responsible for dispensing the medication, supplier or device.)protected DateTimeType
The time the dispensed item was sent or handed to the patient (or agent).protected CodeableConcept
Indicates the type of dispensing event that is performed.protected Period
The time the dispense event occurred.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()
getTime()
getType()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasTime()
boolean
boolean
hasType()
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setDestination
(Reference value) setDestinationTarget
(Location value) setIdentifier
(Identifier value) setPatient
(Reference value) setPatientTarget
(Patient value) void
setProperty
(String name, Base value) setQuantity
(SimpleQuantity value) setSuppliedItem
(Reference value) setSuppliedItemTarget
(Resource value) setSupplier
(Reference value) setSupplierTarget
(Practitioner value) setTimeElement
(DateTimeType value) setType
(CodeableConcept value) setWhenPrepared
(Period value) protected SupplyDelivery
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
-
identifier
Identifier assigned by the dispensing facility when the item(s) is dispensed. -
status
A code specifying the state of the dispense event. -
patient
A link to a resource representing the person whom the delivered item is for. -
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
Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc. -
quantity
The amount of supply that has been dispensed. Includes unit of measure. -
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
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
The individual responsible for dispensing the medication, supplier or device. -
supplierTarget
The actual object that is the target of the reference (The individual responsible for dispensing the medication, supplier or device.) -
whenPrepared
The time the dispense event occurred. -
time
The time the dispensed item was sent or handed to the patient (or agent). -
destination
Identification of the facility/location where the Supply was shipped to, as part of the dispense event. -
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.) -
receiver
Identifies the person who picked up the Supply. -
receiverTarget
The actual objects that are the target of the reference (Identifies the person who picked up the Supply.) -
SP_IDENTIFIER
- See Also:
-
SP_RECEIVER
- See Also:
-
SP_PATIENT
- See Also:
-
SP_SUPPLIER
- See Also:
-
SP_STATUS
- See Also:
-
-
Constructor Details
-
SupplyDelivery
public SupplyDelivery()
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Identifier assigned by the dispensing facility when the item(s) is dispensed.)
-
hasIdentifier
-
setIdentifier
- Parameters:
value
-identifier
(Identifier assigned by the dispensing facility when the item(s) is dispensed.)
-
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
-
hasStatus
-
setStatusElement
- 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
- Returns:
- A code specifying the state of the dispense event.
-
setStatus
- Parameters:
value
- A code specifying the state of the dispense event.
-
getPatient
- Returns:
patient
(A link to a resource representing the person whom the delivered item is for.)
-
hasPatient
-
setPatient
- Parameters:
value
-patient
(A link to a resource representing the person whom the delivered 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 delivered 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 delivered item is for.)
-
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
-
setType
- 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
- Returns:
quantity
(The amount of supply that has been dispensed. Includes unit of measure.)
-
hasQuantity
-
setQuantity
- Parameters:
value
-quantity
(The amount of supply that has been dispensed. Includes unit of measure.)
-
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
-
setSuppliedItem
- 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
- Returns:
suppliedItem
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. (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
- Parameters:
value
-suppliedItem
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. (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
- Returns:
supplier
(The individual responsible for dispensing the medication, supplier or device.)
-
hasSupplier
-
setSupplier
- Parameters:
value
-supplier
(The individual responsible for dispensing the medication, supplier or device.)
-
getSupplierTarget
- Returns:
supplier
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 individual responsible for dispensing the medication, supplier or device.)
-
setSupplierTarget
- Parameters:
value
-supplier
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 individual responsible for dispensing the medication, supplier or device.)
-
getWhenPrepared
- Returns:
whenPrepared
(The time the dispense event occurred.)
-
hasWhenPrepared
-
setWhenPrepared
- Parameters:
value
-whenPrepared
(The time the dispense event occurred.)
-
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
-
hasTime
-
setTimeElement
- 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
- Returns:
- The time the dispensed item was sent or handed to the patient (or agent).
-
setTime
- Parameters:
value
- The time the dispensed item was sent or handed to the patient (or agent).
-
getDestination
- Returns:
destination
(Identification of the facility/location where the Supply was shipped to, as part of the dispense event.)
-
hasDestination
-
setDestination
- Parameters:
value
-destination
(Identification of the facility/location where the Supply was shipped to, as part of the dispense event.)
-
getDestinationTarget
- Returns:
destination
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. (Identification of the facility/location where the Supply was shipped to, as part of the dispense event.)
-
setDestinationTarget
- Parameters:
value
-destination
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. (Identification of the facility/location where the Supply was shipped to, as part of the dispense event.)
-
getReceiver
- Returns:
receiver
(Identifies the person who picked up the Supply.)
-
hasReceiver
-
addReceiver
- Returns:
receiver
(Identifies the person who picked up the Supply.)
-
addReceiver
-
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
- 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
- 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
-