Class MedicationOrder.DosageInstruction
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.MedicationOrder.DosageInstruction
-
- 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
public static class MedicationOrder.DosageInstruction extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: MedicationOrder.dosageInstruction ()Definition: Indicates how the medication is to be used by the patient
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DosageInstruction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeableConceptDtgetAdditionalInstructions()Gets the value(s) for additionalInstructions ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ca.uhn.fhir.model.api.IDatatypegetAsNeeded()Gets the value(s) for asNeeded[x] ().ca.uhn.fhir.model.api.IDatatypegetDose()Gets the value(s) for dose[x] ().RatioDtgetMaxDosePerPeriod()Gets the value(s) for maxDosePerPeriod ().CodeableConceptDtgetMethod()Gets the value(s) for method ().ca.uhn.fhir.model.api.IDatatypegetRate()Gets the value(s) for rate[x] ().CodeableConceptDtgetRoute()Gets the value(s) for route ().ca.uhn.fhir.model.api.IDatatypegetSite()Gets the value(s) for site[x] ().StringgetText()Gets the value(s) for text ().ca.uhn.fhir.model.primitive.StringDtgetTextElement()Gets the value(s) for text ().TimingDtgetTiming()Gets the value(s) for timing ().booleanisEmpty()MedicationOrder.DosageInstructionsetAdditionalInstructions(CodeableConceptDt theValue)Sets the value(s) for additionalInstructions ()MedicationOrder.DosageInstructionsetAsNeeded(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for asNeeded[x] ()MedicationOrder.DosageInstructionsetDose(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for dose[x] ()MedicationOrder.DosageInstructionsetMaxDosePerPeriod(RatioDt theValue)Sets the value(s) for maxDosePerPeriod ()MedicationOrder.DosageInstructionsetMethod(CodeableConceptDt theValue)Sets the value(s) for method ()MedicationOrder.DosageInstructionsetRate(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for rate[x] ()MedicationOrder.DosageInstructionsetRoute(CodeableConceptDt theValue)Sets the value(s) for route ()MedicationOrder.DosageInstructionsetSite(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for site[x] ()MedicationOrder.DosageInstructionsetText(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for text ()MedicationOrder.DosageInstructionsetText(String theString)Sets the value for text ()MedicationOrder.DosageInstructionsetTiming(TimingDt theValue)Sets the value(s) for timing ()-
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
-
-
-
-
Constructor Detail
-
DosageInstruction
public DosageInstruction()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getTextElement
public ca.uhn.fhir.model.primitive.StringDt getTextElement()
Gets the value(s) for text (). creating it if it does not exist. Will not returnnull.Definition: Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing.
-
getText
public String getText()
Gets the value(s) for text (). creating it if it does not exist. This method may returnnull.Definition: Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing.
-
setText
public MedicationOrder.DosageInstruction setText(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for text ()Definition: Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing.
-
setText
public MedicationOrder.DosageInstruction setText(String theString)
Sets the value for text ()Definition: Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing.
-
getAdditionalInstructions
public CodeableConceptDt getAdditionalInstructions()
Gets the value(s) for additionalInstructions (). creating it if it does not exist. Will not returnnull.Definition: Additional instructions such as \"Swallow with plenty of water\" which may or may not be coded.
-
setAdditionalInstructions
public MedicationOrder.DosageInstruction setAdditionalInstructions(CodeableConceptDt theValue)
Sets the value(s) for additionalInstructions ()Definition: Additional instructions such as \"Swallow with plenty of water\" which may or may not be coded.
-
getTiming
public TimingDt getTiming()
Gets the value(s) for timing (). creating it if it does not exist. Will not returnnull.Definition: The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions. For example: \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\".
-
setTiming
public MedicationOrder.DosageInstruction setTiming(TimingDt theValue)
Sets the value(s) for timing ()Definition: The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions. For example: \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\".
-
getAsNeeded
public ca.uhn.fhir.model.api.IDatatype getAsNeeded()
Gets the value(s) for asNeeded[x] (). creating it if it does not exist. Will not returnnull.Definition: Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).
-
setAsNeeded
public MedicationOrder.DosageInstruction setAsNeeded(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for asNeeded[x] ()Definition: Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).
-
getSite
public ca.uhn.fhir.model.api.IDatatype getSite()
Gets the value(s) for site[x] (). creating it if it does not exist. Will not returnnull.Definition: A coded specification of the anatomic site where the medication first enters the body
-
setSite
public MedicationOrder.DosageInstruction setSite(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for site[x] ()Definition: A coded specification of the anatomic site where the medication first enters the body
-
getRoute
public CodeableConceptDt getRoute()
Gets the value(s) for route (). creating it if it does not exist. Will not returnnull.Definition: A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.
-
setRoute
public MedicationOrder.DosageInstruction setRoute(CodeableConceptDt theValue)
Sets the value(s) for route ()Definition: A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.
-
getMethod
public CodeableConceptDt getMethod()
Gets the value(s) for method (). creating it if it does not exist. Will not returnnull.Definition: A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. For examples, Slow Push; Deep IV.
-
setMethod
public MedicationOrder.DosageInstruction setMethod(CodeableConceptDt theValue)
Sets the value(s) for method ()Definition: A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. For examples, Slow Push; Deep IV.
-
getDose
public ca.uhn.fhir.model.api.IDatatype getDose()
Gets the value(s) for dose[x] (). creating it if it does not exist. Will not returnnull.Definition: The amount of therapeutic or other substance given at one administration event.
-
setDose
public MedicationOrder.DosageInstruction setDose(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for dose[x] ()Definition: The amount of therapeutic or other substance given at one administration event.
-
getRate
public ca.uhn.fhir.model.api.IDatatype getRate()
Gets the value(s) for rate[x] (). creating it if it does not exist. Will not returnnull.Definition: Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours
-
setRate
public MedicationOrder.DosageInstruction setRate(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for rate[x] ()Definition: Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours
-
getMaxDosePerPeriod
public RatioDt getMaxDosePerPeriod()
Gets the value(s) for maxDosePerPeriod (). creating it if it does not exist. Will not returnnull.Definition: The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.
-
setMaxDosePerPeriod
public MedicationOrder.DosageInstruction setMaxDosePerPeriod(RatioDt theValue)
Sets the value(s) for maxDosePerPeriod ()Definition: The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.
-
-