Package org.hl7.fhir.dstu2.model
Class MedicationOrder.MedicationOrderDosageInstructionComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.Element
-
- org.hl7.fhir.dstu2.model.BackboneElement
-
- org.hl7.fhir.dstu2.model.MedicationOrder.MedicationOrderDosageInstructionComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- MedicationOrder
public static class MedicationOrder.MedicationOrderDosageInstructionComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptadditionalInstructionsAdditional instructions such as "Swallow with plenty of water" which may or may not be coded.protected TypeasNeededIndicates 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).protected TypedoseThe amount of therapeutic or other substance given at one administration event.protected RatiomaxDosePerPeriodThe maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time.protected CodeableConceptmethodA coded value indicating the method by which the medication is introduced into or onto the body.protected TyperateIdentifies the speed with which the medication was or will be introduced into the patient.protected CodeableConceptrouteA code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.protected TypesiteA coded specification of the anatomic site where the medication first enters the body.protected StringTypetextFree text dosage instructions can be used for cases where the instructions are too complex to code.protected TimingtimingThe timing schedule for giving the medication to the patient.-
Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description MedicationOrderDosageInstructionComponent()
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
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.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
text
protected StringType text
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.
-
additionalInstructions
protected CodeableConcept additionalInstructions
Additional instructions such as "Swallow with plenty of water" which may or may not be coded.
-
timing
protected Timing timing
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".
-
asNeeded
protected Type asNeeded
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).
-
site
protected Type site
A coded specification of the anatomic site where the medication first enters the body.
-
route
protected CodeableConcept route
A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.
-
method
protected CodeableConcept method
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.
-
dose
protected Type dose
The amount of therapeutic or other substance given at one administration event.
-
rate
protected Type rate
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.
-
maxDosePerPeriod
protected Ratio maxDosePerPeriod
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.
-
-
Constructor Detail
-
MedicationOrderDosageInstructionComponent
public MedicationOrderDosageInstructionComponent()
-
-
Method Detail
-
getTextElement
public StringType getTextElement()
- Returns:
text(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.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
-
hasTextElement
public boolean hasTextElement()
-
hasText
public boolean hasText()
-
setTextElement
public MedicationOrder.MedicationOrderDosageInstructionComponent setTextElement(StringType value)
- Parameters:
value-text(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.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
-
getText
public String getText()
- Returns:
- 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.MedicationOrderDosageInstructionComponent setText(String value)
- Parameters:
value- 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 CodeableConcept getAdditionalInstructions()
- Returns:
additionalInstructions(Additional instructions such as "Swallow with plenty of water" which may or may not be coded.)
-
hasAdditionalInstructions
public boolean hasAdditionalInstructions()
-
setAdditionalInstructions
public MedicationOrder.MedicationOrderDosageInstructionComponent setAdditionalInstructions(CodeableConcept value)
- Parameters:
value-additionalInstructions(Additional instructions such as "Swallow with plenty of water" which may or may not be coded.)
-
getTiming
public Timing getTiming()
- Returns:
timing(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".)
-
hasTiming
public boolean hasTiming()
-
setTiming
public MedicationOrder.MedicationOrderDosageInstructionComponent setTiming(Timing value)
- Parameters:
value-timing(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 Type getAsNeeded()
- Returns:
asNeeded(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).)
-
getAsNeededBooleanType
public BooleanType getAsNeededBooleanType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
asNeeded(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).)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAsNeededBooleanType
public boolean hasAsNeededBooleanType()
-
getAsNeededCodeableConcept
public CodeableConcept getAsNeededCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
asNeeded(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).)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAsNeededCodeableConcept
public boolean hasAsNeededCodeableConcept()
-
hasAsNeeded
public boolean hasAsNeeded()
-
setAsNeeded
public MedicationOrder.MedicationOrderDosageInstructionComponent setAsNeeded(Type value)
- Parameters:
value-asNeeded(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 Type getSite()
- Returns:
site(A coded specification of the anatomic site where the medication first enters the body.)
-
getSiteCodeableConcept
public CodeableConcept getSiteCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
site(A coded specification of the anatomic site where the medication first enters the body.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasSiteCodeableConcept
public boolean hasSiteCodeableConcept()
-
getSiteReference
public Reference getSiteReference() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
site(A coded specification of the anatomic site where the medication first enters the body.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasSiteReference
public boolean hasSiteReference()
-
hasSite
public boolean hasSite()
-
setSite
public MedicationOrder.MedicationOrderDosageInstructionComponent setSite(Type value)
- Parameters:
value-site(A coded specification of the anatomic site where the medication first enters the body.)
-
getRoute
public CodeableConcept getRoute()
- Returns:
route(A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.)
-
hasRoute
public boolean hasRoute()
-
setRoute
public MedicationOrder.MedicationOrderDosageInstructionComponent setRoute(CodeableConcept value)
- Parameters:
value-route(A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.)
-
getMethod
public CodeableConcept getMethod()
- Returns:
method(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.)
-
hasMethod
public boolean hasMethod()
-
setMethod
public MedicationOrder.MedicationOrderDosageInstructionComponent setMethod(CodeableConcept value)
- Parameters:
value-method(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 Type getDose()
- Returns:
dose(The amount of therapeutic or other substance given at one administration event.)
-
getDoseRange
public Range getDoseRange() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
dose(The amount of therapeutic or other substance given at one administration event.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasDoseRange
public boolean hasDoseRange()
-
getDoseSimpleQuantity
public SimpleQuantity getDoseSimpleQuantity() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
dose(The amount of therapeutic or other substance given at one administration event.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasDoseSimpleQuantity
public boolean hasDoseSimpleQuantity()
-
hasDose
public boolean hasDose()
-
setDose
public MedicationOrder.MedicationOrderDosageInstructionComponent setDose(Type value)
- Parameters:
value-dose(The amount of therapeutic or other substance given at one administration event.)
-
getRate
public Type getRate()
- Returns:
rate(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.)
-
getRateRatio
public Ratio getRateRatio() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
rate(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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasRateRatio
public boolean hasRateRatio()
-
getRateRange
public Range getRateRange() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
rate(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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasRateRange
public boolean hasRateRange()
-
hasRate
public boolean hasRate()
-
setRate
public MedicationOrder.MedicationOrderDosageInstructionComponent setRate(Type value)
- Parameters:
value-rate(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 Ratio getMaxDosePerPeriod()
- Returns:
maxDosePerPeriod(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.)
-
hasMaxDosePerPeriod
public boolean hasMaxDosePerPeriod()
-
setMaxDosePerPeriod
public MedicationOrder.MedicationOrderDosageInstructionComponent setMaxDosePerPeriod(Ratio value)
- Parameters:
value-maxDosePerPeriod(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.)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public MedicationOrder.MedicationOrderDosageInstructionComponent copy()
- Specified by:
copyin classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-