
Package org.hl7.fhir.r5.openehr
Class DV_AMOUNT
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.ICompositeType
- Direct Known Subclasses:
DV_COUNT
,DV_DURATION
,DV_ENCAPSULATED
,DV_PROPORTION
,DV_QUANTITY
public abstract class DV_AMOUNT
extends DV_QUANTIFIED
implements org.hl7.fhir.instance.model.api.ICompositeType
Abstract class defining the concept of relative quantified 'amounts'. For relative quantities, the + and - operators are defined (unlike descendants of DV_ABSOLUTE_QUANTITY, such as the date/time types).
- 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
FieldsModifier and TypeFieldDescriptionprotected BooleanType
If True, indicates that when this object was created, accuracy was recorded as a percent value; if False, as an absolute quantity value.Fields inherited from class org.hl7.fhir.r5.openehr.DV_QUANTIFIED
accuracy, magnitude_status
Fields inherited from class org.hl7.fhir.r5.openehr.DV_ORDERED
normal_range, normal_status, other_reference_rangesList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract DV_AMOUNT
copy()
void
copyValues
(DV_AMOUNT 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) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setAccuracy_is_percent
(boolean value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) Methods inherited from class org.hl7.fhir.r5.openehr.DV_QUANTIFIED
copyValues, getAccuracy, getMagnitude_status, getMagnitude_statusElement, hasAccuracy, hasMagnitude_status, hasMagnitude_statusElement, setAccuracy, setMagnitude_status, setMagnitude_statusElement
Methods inherited from class org.hl7.fhir.r5.openehr.DV_ORDERED
addOther_reference_ranges, addOther_reference_ranges, copyValues, getNormal_range, getNormal_status, getOther_reference_rangesFirstRep, getOther_reference_rangesList, hasNormal_range, hasNormal_status, hasOther_reference_ranges, setNormal_range, setNormal_status, setOther_reference_rangesList
Methods inherited from class org.hl7.fhir.r5.openehr.DATA_VALUE
copyValues
Methods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBase
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, executeFunction, 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, removeChild, setCopyUserData, setUserData, setUserDataINN, setXhtml
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
-
Field Details
-
accuracy_is_percent
If True, indicates that when this object was created, accuracy was recorded as a percent value; if False, as an absolute quantity value.
-
-
Constructor Details
-
DV_AMOUNT
public DV_AMOUNT()Constructor
-
-
Method Details
-
getAccuracy_is_percentElement
- Returns:
accuracy_is_percent
(If True, indicates that when this object was created, accuracy was recorded as a percent value; if False, as an absolute quantity value.). This is the underlying object with id, value and extensions. The accessor "getAccuracy_is_percent" gives direct access to the value
-
hasAccuracy_is_percentElement
-
hasAccuracy_is_percent
-
setAccuracy_is_percentElement
- Parameters:
value
-accuracy_is_percent
(If True, indicates that when this object was created, accuracy was recorded as a percent value; if False, as an absolute quantity value.). This is the underlying object with id, value and extensions. The accessor "getAccuracy_is_percent" gives direct access to the value
-
getAccuracy_is_percent
- Returns:
- If True, indicates that when this object was created, accuracy was recorded as a percent value; if False, as an absolute quantity value.
-
setAccuracy_is_percent
- Parameters:
value
- If True, indicates that when this object was created, accuracy was recorded as a percent value; if False, as an absolute quantity value.
-
listChildren
- Overrides:
listChildren
in classDV_QUANTIFIED
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDV_QUANTIFIED
- 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 classDV_QUANTIFIED
- 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 classDV_QUANTIFIED
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDV_QUANTIFIED
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDV_QUANTIFIED
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDV_QUANTIFIED
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDV_QUANTIFIED
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDV_QUANTIFIED
- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copy
in classDV_QUANTIFIED
-
copyValues
-
equalsDeep
- Overrides:
equalsDeep
in classDV_QUANTIFIED
-
equalsShallow
- Overrides:
equalsShallow
in classDV_QUANTIFIED
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDV_QUANTIFIED
-