
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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ReferenceIdentification of the facility/location where the Supply was shipped to, as part of the dispense event.protected LocationThe 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 IdentifierIdentifier assigned by the dispensing facility when the item(s) is dispensed.protected ReferenceA link to a resource representing the person whom the delivered item is for.protected PatientThe actual object that is the target of the reference (A link to a resource representing the person whom the delivered item is for.)protected SimpleQuantityThe 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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Enumeration<SupplyDelivery.SupplyDeliveryStatus> A code specifying the state of the dispense event.protected ReferenceIdentifies the medication, substance or device being dispensed.protected ResourceThe actual object that is the target of the reference (Identifies the medication, substance or device being dispensed.protected ReferenceThe individual responsible for dispensing the medication, supplier or device.protected PractitionerThe actual object that is the target of the reference (The individual responsible for dispensing the medication, supplier or device.)protected DateTimeTypeThe time the dispensed item was sent or handed to the patient (or agent).protected CodeableConceptIndicates the type of dispensing event that is performed.protected PeriodThe time the dispense event occurred.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, metaFields 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_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getTime()getType()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasTime()booleanbooleanhasType()booleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setDestination(Reference value) setDestinationTarget(Location value) setIdentifier(Identifier value) setPatient(Reference value) setPatientTarget(Patient value) voidsetProperty(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 SupplyDeliveryMethods 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, setTextMethods 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, setMetaMethods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setIdMethods 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, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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:
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
- 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
- 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:
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
- 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
- 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:
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
- 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
- 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:
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
- 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
- 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:
listChildrenin classDomainResource
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-