Package org.hl7.fhir.dstu2.model
Class MedicationDispense.MedicationDispenseDosageInstructionComponent
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.MedicationDispense.MedicationDispenseDosageInstructionComponent
- 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:
MedicationDispense
public static class MedicationDispense.MedicationDispenseDosageInstructionComponent
extends BackboneElement
implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected CodeableConcept
Additional instructions such as "Swallow with plenty of water" which may or may not be coded.protected Type
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).protected Type
The amount of therapeutic or other substance given at one administration event.protected Ratio
The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time, e.g.protected CodeableConcept
A coded value indicating the method by which the medication is intended to be or was introduced into or on the body.protected Type
Identifies the speed with which the medication was or will be introduced into the patient.protected CodeableConcept
A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject.protected Type
A coded specification of the anatomic site where the medication first enters the body.protected StringType
Free text dosage instructions can be used for cases where the instructions are too complex to code.protected Timing
The timing schedule for giving the medication to the patient.Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getDose()
getRate()
getRoute()
getSite()
getText()
boolean
boolean
boolean
boolean
boolean
hasDose()
boolean
boolean
boolean
boolean
boolean
hasRate()
boolean
boolean
boolean
hasRoute()
boolean
hasSite()
boolean
boolean
boolean
hasText()
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setAsNeeded
(Type value) setMaxDosePerPeriod
(Ratio value) setMethod
(CodeableConcept value) void
setProperty
(String name, Base value) setRoute
(CodeableConcept value) setTextElement
(StringType value) 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, addExtension, copyValues, getExtension, getExtensionByUrl, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtension
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
addModifierExtension, getModifierExtension, hasModifierExtension
-
Field Details
-
text
Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. -
additionalInstructions
Additional instructions such as "Swallow with plenty of water" which may or may not be coded. -
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
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). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule. -
site
A coded specification of the anatomic site where the medication first enters the body. -
route
A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject. -
method
A coded value indicating the method by which the medication is intended to be or was introduced into or on the body. -
dose
The amount of therapeutic or other substance given at one administration event. -
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
The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time, e.g. 1000mg in 24 hours.
-
-
Constructor Details
-
MedicationDispenseDosageInstructionComponent
-
-
Method Details
-
getTextElement
- Returns:
text
(Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
-
hasTextElement
-
hasText
-
setTextElement
public MedicationDispense.MedicationDispenseDosageInstructionComponent setTextElement(StringType value) - Parameters:
value
-text
(Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
-
getText
- Returns:
- Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication.
-
setText
- Parameters:
value
- Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication.
-
getAdditionalInstructions
- Returns:
additionalInstructions
(Additional instructions such as "Swallow with plenty of water" which may or may not be coded.)
-
hasAdditionalInstructions
-
setAdditionalInstructions
public MedicationDispense.MedicationDispenseDosageInstructionComponent setAdditionalInstructions(CodeableConcept value) - Parameters:
value
-additionalInstructions
(Additional instructions such as "Swallow with plenty of water" which may or may not be coded.)
-
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
-
setTiming
- 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
- 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). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.)
-
getAsNeededBooleanType
- 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). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAsNeededBooleanType
-
getAsNeededCodeableConcept
- 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). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAsNeededCodeableConcept
-
hasAsNeeded
-
setAsNeeded
- 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). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.)
-
getSite
- Returns:
site
(A coded specification of the anatomic site where the medication first enters the body.)
-
getSiteCodeableConcept
- Returns:
site
(A coded specification of the anatomic site where the medication first enters the body.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasSiteCodeableConcept
-
getSiteReference
- Returns:
site
(A coded specification of the anatomic site where the medication first enters the body.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasSiteReference
-
hasSite
-
setSite
- Parameters:
value
-site
(A coded specification of the anatomic site where the medication first enters the body.)
-
getRoute
- Returns:
route
(A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject.)
-
hasRoute
-
setRoute
public MedicationDispense.MedicationDispenseDosageInstructionComponent setRoute(CodeableConcept value) - Parameters:
value
-route
(A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject.)
-
getMethod
- Returns:
method
(A coded value indicating the method by which the medication is intended to be or was introduced into or on the body.)
-
hasMethod
-
setMethod
public MedicationDispense.MedicationDispenseDosageInstructionComponent setMethod(CodeableConcept value) - Parameters:
value
-method
(A coded value indicating the method by which the medication is intended to be or was introduced into or on the body.)
-
getDose
- Returns:
dose
(The amount of therapeutic or other substance given at one administration event.)
-
getDoseRange
- Returns:
dose
(The amount of therapeutic or other substance given at one administration event.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasDoseRange
-
getDoseSimpleQuantity
- Returns:
dose
(The amount of therapeutic or other substance given at one administration event.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasDoseSimpleQuantity
-
hasDose
-
setDose
- Parameters:
value
-dose
(The amount of therapeutic or other substance given at one administration event.)
-
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
- 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
-
getRateRange
- 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
-
hasRate
-
setRate
- 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
- Returns:
maxDosePerPeriod
(The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time, e.g. 1000mg in 24 hours.)
-
hasMaxDosePerPeriod
-
setMaxDosePerPeriod
public MedicationDispense.MedicationDispenseDosageInstructionComponent 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, e.g. 1000mg in 24 hours.)
-
listChildren
- Overrides:
listChildren
in classBackboneElement
-
setProperty
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
- Specified by:
copy
in classBackboneElement
-
equalsDeep
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
-