public static class MedicationOrder.MedicationOrderDispenseRequestComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
expectedSupplyDuration
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.
|
protected Type |
medication
Identifies the medication being administered.
|
protected PositiveIntType |
numberOfRepeatsAllowed
An integer indicating the number of additional times (aka refills or repeats) the patient can receive the prescribed medication.
|
protected SimpleQuantity |
quantity
The amount that is to be dispensed for one fill.
|
protected Period |
validityPeriod
This indicates the validity period of a prescription (stale dating the Prescription).
|
modifierExtension| Constructor and Description |
|---|
MedicationOrderDispenseRequestComponent()
Constructor
|
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtensionaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Type medication
protected Period validityPeriod
protected PositiveIntType numberOfRepeatsAllowed
protected SimpleQuantity quantity
protected Duration expectedSupplyDuration
public MedicationOrderDispenseRequestComponent()
public Type getMedication()
medication (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.)public CodeableConcept getMedicationCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
medication (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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasMedicationCodeableConcept()
public Reference getMedicationReference() throws org.hl7.fhir.exceptions.FHIRException
medication (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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasMedicationReference()
public boolean hasMedication()
public MedicationOrder.MedicationOrderDispenseRequestComponent setMedication(Type value)
value - medication (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.)public Period getValidityPeriod()
validityPeriod (This indicates the validity period of a prescription (stale dating the Prescription).)public boolean hasValidityPeriod()
public MedicationOrder.MedicationOrderDispenseRequestComponent setValidityPeriod(Period value)
value - validityPeriod (This indicates the validity period of a prescription (stale dating the Prescription).)public PositiveIntType getNumberOfRepeatsAllowedElement()
numberOfRepeatsAllowed (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.). This is the underlying object with id, value and extensions. The accessor "getNumberOfRepeatsAllowed" gives direct access to the valuepublic boolean hasNumberOfRepeatsAllowedElement()
public boolean hasNumberOfRepeatsAllowed()
public MedicationOrder.MedicationOrderDispenseRequestComponent setNumberOfRepeatsAllowedElement(PositiveIntType value)
value - numberOfRepeatsAllowed (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.). This is the underlying object with id, value and extensions. The accessor "getNumberOfRepeatsAllowed" gives direct access to the valuepublic int getNumberOfRepeatsAllowed()
public MedicationOrder.MedicationOrderDispenseRequestComponent setNumberOfRepeatsAllowed(int value)
value - 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.public SimpleQuantity getQuantity()
quantity (The amount that is to be dispensed for one fill.)public boolean hasQuantity()
public MedicationOrder.MedicationOrderDispenseRequestComponent setQuantity(SimpleQuantity value)
value - quantity (The amount that is to be dispensed for one fill.)public Duration getExpectedSupplyDuration()
expectedSupplyDuration (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.)public boolean hasExpectedSupplyDuration()
public MedicationOrder.MedicationOrderDispenseRequestComponent setExpectedSupplyDuration(Duration value)
value - expectedSupplyDuration (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.)protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic MedicationOrder.MedicationOrderDispenseRequestComponent copy()
copy in class BackboneElementpublic boolean equalsDeep(Base other)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2018 University Health Network. All rights reserved.