Class MedicationOrder.DispenseRequest
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
MedicationOrder
Definition: Indicates the specific details for the dispense or medication supply part of a medication order (also known as a Medication Prescription). Note that this information is NOT always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for expectedSupplyDuration ().ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for medication[x] ().Gets the value(s) for numberOfRepeatsAllowed ().ca.uhn.fhir.model.primitive.PositiveIntDt
Gets the value(s) for numberOfRepeatsAllowed ().Gets the value(s) for quantity ().Gets the value(s) for validityPeriod ().boolean
isEmpty()
setExpectedSupplyDuration
(DurationDt theValue) Sets the value(s) for expectedSupplyDuration ()setMedication
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for medication[x] ()setNumberOfRepeatsAllowed
(int theInteger) Sets the value for numberOfRepeatsAllowed ()setNumberOfRepeatsAllowed
(ca.uhn.fhir.model.primitive.PositiveIntDt theValue) Sets the value(s) for numberOfRepeatsAllowed ()setQuantity
(SimpleQuantityDt theValue) Sets the value(s) for quantity ()setValidityPeriod
(PeriodDt theValue) Sets the value(s) for validityPeriod ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
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.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
DispenseRequest
public DispenseRequest()
-
-
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
-
getMedication
Gets the value(s) for medication[x] (). creating it if it does not exist. Will not returnnull
.Definition: Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.
-
setMedication
Sets the value(s) for medication[x] ()Definition: Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.
-
getValidityPeriod
Gets the value(s) for validityPeriod (). creating it if it does not exist. Will not returnnull
.Definition: This indicates the validity period of a prescription (stale dating the Prescription)
-
setValidityPeriod
Sets the value(s) for validityPeriod ()Definition: This indicates the validity period of a prescription (stale dating the Prescription)
-
getNumberOfRepeatsAllowedElement
Gets the value(s) for numberOfRepeatsAllowed (). creating it if it does not exist. Will not returnnull
.Definition: An integer indicating the number of additional times (aka refills or repeats) the patient can receive the prescribed medication. Usage Notes: This integer does NOT include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets.
-
getNumberOfRepeatsAllowed
Gets the value(s) for numberOfRepeatsAllowed (). creating it if it does not exist. This method may returnnull
.Definition: An integer indicating the number of additional times (aka refills or repeats) the patient can receive the prescribed medication. Usage Notes: This integer does NOT include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets.
-
setNumberOfRepeatsAllowed
public MedicationOrder.DispenseRequest setNumberOfRepeatsAllowed(ca.uhn.fhir.model.primitive.PositiveIntDt theValue) Sets the value(s) for numberOfRepeatsAllowed ()Definition: An integer indicating the number of additional times (aka refills or repeats) the patient can receive the prescribed medication. Usage Notes: This integer does NOT include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets.
-
setNumberOfRepeatsAllowed
Sets the value for numberOfRepeatsAllowed ()Definition: An integer indicating the number of additional times (aka refills or repeats) the patient can receive the prescribed medication. Usage Notes: This integer does NOT include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets.
-
getQuantity
Gets the value(s) for quantity (). creating it if it does not exist. Will not returnnull
.Definition: The amount that is to be dispensed for one fill.
-
setQuantity
Sets the value(s) for quantity ()Definition: The amount that is to be dispensed for one fill.
-
getExpectedSupplyDuration
Gets the value(s) for expectedSupplyDuration (). creating it if it does not exist. Will not returnnull
.Definition: Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.
-
setExpectedSupplyDuration
Sets the value(s) for expectedSupplyDuration ()Definition: Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.
-