Package org.hl7.fhir.r5.model
Class Dosage
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.Element
org.hl7.fhir.r5.model.DataType
org.hl7.fhir.r5.model.BackboneType
org.hl7.fhir.r5.model.Dosage
- 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.IBaseDatatype
,org.hl7.fhir.instance.model.api.IBaseElement
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.ICompositeType
Dosage Type: Indicates how the medication is/was taken or should be taken by the patient.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<CodeableConcept> Supplemental instructions to the patient on how to take the medication (e.g.protected BooleanType
Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option).protected List
<CodeableConcept> Indicates whether the Medication is only taken based on a precondition for taking the Medication (CodeableConcept).protected List
<Dosage.DosageDoseAndRateComponent> Depending on the resource,this is the amount of medication administered, to be administered or typical amount to be administered.protected Quantity
Upper limit on medication per administration.protected Quantity
Upper limit on medication per lifetime of the patient.Upper limit on medication per unit of time.protected CodeableConcept
Technique for administering medication.protected StringType
Instructions in terms that are understood by the patient or consumer.protected CodeableConcept
How drug should enter body.protected IntegerType
Indicates the order in which the dosage instructions should be applied or interpreted.protected CodeableConcept
Body site to administer to.protected StringType
Free text dosage instructions e.g.protected Timing
When medication should be administered.Fields inherited from class org.hl7.fhir.r5.model.BackboneType
modifierExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
copyValues
(Dosage dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
boolean
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) getRoute()
int
getSite()
getText()
String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasRoute()
boolean
boolean
boolean
hasSite()
boolean
hasText()
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) setAdditionalInstruction
(List<CodeableConcept> theAdditionalInstruction) setAsNeeded
(boolean value) setAsNeededElement
(BooleanType value) setAsNeededFor
(List<CodeableConcept> theAsNeededFor) setDoseAndRate
(List<Dosage.DosageDoseAndRateComponent> theDoseAndRate) setMaxDosePerLifetime
(Quantity value) setMaxDosePerPeriod
(List<Ratio> theMaxDosePerPeriod) setMethod
(CodeableConcept value) setPatientInstruction
(String value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setRoute
(CodeableConcept value) setSequence
(int value) setSequenceElement
(IntegerType value) setSite
(CodeableConcept value) setTextElement
(StringType value) protected Dosage
Methods inherited from class org.hl7.fhir.r5.model.BackboneType
addModifierExtension, addModifierExtension, checkNoModifiers, copyExtensions, copyNewExtensions, copyValues, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, hasExtension, hasExtension, hasModifierExtension, setModifierExtension
Methods inherited from class org.hl7.fhir.r5.model.DataType
copyValues, getTranslation, isTranslatable
Methods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getExtensionString, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getStandardsStatus, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement, setStandardsStatus
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, 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
-
Field Details
-
sequence
Indicates the order in which the dosage instructions should be applied or interpreted. -
text
Free text dosage instructions e.g. SIG. -
additionalInstruction
Supplemental instructions to the patient on how to take the medication (e.g. "with meals" or"take half to one hour before food") or warnings for the patient about the medication (e.g. "may cause drowsiness" or "avoid exposure of skin to direct sunlight or sunlamps"). -
patientInstruction
Instructions in terms that are understood by the patient or consumer. -
timing
When medication should be administered. -
asNeeded
Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option). -
asNeededFor
Indicates whether the Medication is only taken based on a precondition for taking the Medication (CodeableConcept). -
site
Body site to administer to. -
route
How drug should enter body. -
method
Technique for administering medication. -
doseAndRate
Depending on the resource,this is the amount of medication administered, to be administered or typical amount to be administered. -
maxDosePerPeriod
Upper limit on medication per unit of time. -
maxDosePerAdministration
Upper limit on medication per administration. -
maxDosePerLifetime
Upper limit on medication per lifetime of the patient.
-
-
Constructor Details
-
Dosage
public Dosage()Constructor
-
-
Method Details
-
getSequenceElement
- Returns:
sequence
(Indicates the order in which the dosage instructions should be applied or interpreted.). This is the underlying object with id, value and extensions. The accessor "getSequence" gives direct access to the value
-
hasSequenceElement
-
hasSequence
-
setSequenceElement
- Parameters:
value
-sequence
(Indicates the order in which the dosage instructions should be applied or interpreted.). This is the underlying object with id, value and extensions. The accessor "getSequence" gives direct access to the value
-
getSequence
- Returns:
- Indicates the order in which the dosage instructions should be applied or interpreted.
-
setSequence
- Parameters:
value
- Indicates the order in which the dosage instructions should be applied or interpreted.
-
getTextElement
- Returns:
text
(Free text dosage instructions e.g. SIG.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
-
hasTextElement
-
hasText
-
setTextElement
- Parameters:
value
-text
(Free text dosage instructions e.g. SIG.). 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 e.g. SIG.
-
setText
- Parameters:
value
- Free text dosage instructions e.g. SIG.
-
getAdditionalInstruction
- Returns:
additionalInstruction
(Supplemental instructions to the patient on how to take the medication (e.g. "with meals" or"take half to one hour before food") or warnings for the patient about the medication (e.g. "may cause drowsiness" or "avoid exposure of skin to direct sunlight or sunlamps").)
-
setAdditionalInstruction
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAdditionalInstruction
-
addAdditionalInstruction
-
addAdditionalInstruction
-
getAdditionalInstructionFirstRep
- Returns:
- The first repetition of repeating field
additionalInstruction
, creating it if it does not already exist {3}
-
getPatientInstructionElement
- Returns:
patientInstruction
(Instructions in terms that are understood by the patient or consumer.). This is the underlying object with id, value and extensions. The accessor "getPatientInstruction" gives direct access to the value
-
hasPatientInstructionElement
-
hasPatientInstruction
-
setPatientInstructionElement
- Parameters:
value
-patientInstruction
(Instructions in terms that are understood by the patient or consumer.). This is the underlying object with id, value and extensions. The accessor "getPatientInstruction" gives direct access to the value
-
getPatientInstruction
- Returns:
- Instructions in terms that are understood by the patient or consumer.
-
setPatientInstruction
- Parameters:
value
- Instructions in terms that are understood by the patient or consumer.
-
getTiming
- Returns:
timing
(When medication should be administered.)
-
hasTiming
-
setTiming
- Parameters:
value
-timing
(When medication should be administered.)
-
getAsNeededElement
- Returns:
asNeeded
(Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option).). This is the underlying object with id, value and extensions. The accessor "getAsNeeded" gives direct access to the value
-
hasAsNeededElement
-
hasAsNeeded
-
setAsNeededElement
- Parameters:
value
-asNeeded
(Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option).). This is the underlying object with id, value and extensions. The accessor "getAsNeeded" gives direct access to the value
-
getAsNeeded
- Returns:
- Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option).
-
setAsNeeded
- Parameters:
value
- Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option).
-
getAsNeededFor
- Returns:
asNeededFor
(Indicates whether the Medication is only taken based on a precondition for taking the Medication (CodeableConcept).)
-
setAsNeededFor
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAsNeededFor
-
addAsNeededFor
-
addAsNeededFor
-
getAsNeededForFirstRep
- Returns:
- The first repetition of repeating field
asNeededFor
, creating it if it does not already exist {3}
-
getSite
- Returns:
site
(Body site to administer to.)
-
hasSite
-
setSite
- Parameters:
value
-site
(Body site to administer to.)
-
getRoute
- Returns:
route
(How drug should enter body.)
-
hasRoute
-
setRoute
- Parameters:
value
-route
(How drug should enter body.)
-
getMethod
- Returns:
method
(Technique for administering medication.)
-
hasMethod
-
setMethod
- Parameters:
value
-method
(Technique for administering medication.)
-
getDoseAndRate
- Returns:
doseAndRate
(Depending on the resource,this is the amount of medication administered, to be administered or typical amount to be administered.)
-
setDoseAndRate
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasDoseAndRate
-
addDoseAndRate
-
addDoseAndRate
-
getDoseAndRateFirstRep
- Returns:
- The first repetition of repeating field
doseAndRate
, creating it if it does not already exist {3}
-
getMaxDosePerPeriod
- Returns:
maxDosePerPeriod
(Upper limit on medication per unit of time.)
-
setMaxDosePerPeriod
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasMaxDosePerPeriod
-
addMaxDosePerPeriod
-
addMaxDosePerPeriod
-
getMaxDosePerPeriodFirstRep
- Returns:
- The first repetition of repeating field
maxDosePerPeriod
, creating it if it does not already exist {3}
-
getMaxDosePerAdministration
- Returns:
maxDosePerAdministration
(Upper limit on medication per administration.)
-
hasMaxDosePerAdministration
-
setMaxDosePerAdministration
- Parameters:
value
-maxDosePerAdministration
(Upper limit on medication per administration.)
-
getMaxDosePerLifetime
- Returns:
maxDosePerLifetime
(Upper limit on medication per lifetime of the patient.)
-
hasMaxDosePerLifetime
-
setMaxDosePerLifetime
- Parameters:
value
-maxDosePerLifetime
(Upper limit on medication per lifetime of the patient.)
-
listChildren
- Overrides:
listChildren
in classBackboneType
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChild
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneType
- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copy
in classBackboneType
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classBackboneType
-
equalsShallow
- Overrides:
equalsShallow
in classBackboneType
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneType
-