
Package org.hl7.fhir.r5.openehr
Class DV_SCALE
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.openehr.DATA_VALUE
org.hl7.fhir.r5.openehr.DV_ORDERED
org.hl7.fhir.r5.openehr.DV_SCALE
- 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
A data type that represents scale values, where there is:
a) implied ordering, b) no implication that the distance between each value is constant, and c) the total number of values is finite; d) non-integer values are allowed.
Example:
````
Borg CR 10 Scale
0 No Breathlessness at all
0.5 Very Very Slight (Just Noticeable)
1 Very Slight
2 Slight Breathlessness
3 Moderate
... etc
````
For scores that include only Integers, DV_SCALE may also be used, but DV_ORDINAL should be supported to accommodate existing data instances of that type.
- 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 DV_CODED_TEXTCoded textual representation of this value in the scale range, which may be strings made from symbols or other enumerations of terms such as no breathlessness, very very slight, slight breathlessness.protected DecimalTypeReal number value of Scale item.Fields inherited from class org.hl7.fhir.r5.openehr.DV_ORDERED
normal_range, normal_status, other_reference_rangesList -
Constructor Summary
ConstructorsConstructorDescriptionDV_SCALE()ConstructorDV_SCALE(DV_CODED_TEXT symbol, BigDecimal value) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidcopyValues(DV_SCALE dst) booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) getValue()booleanbooleanhasValue()booleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setSymbol(DV_CODED_TEXT value) setValue(double value) setValue(long value) setValue(BigDecimal value) setValueElement(DecimalType value) protected DV_SCALEMethods 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_rangesListMethods inherited from class org.hl7.fhir.r5.openehr.DATA_VALUE
copyValuesMethods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBaseMethods 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, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Field Details
-
symbol
Coded textual representation of this value in the scale range, which may be strings made from symbols or other enumerations of terms such as no breathlessness, very very slight, slight breathlessness. Codes come from archetypes. In some cases, a scale may include values that have no code/symbol. In this case, the symbol will be a DV-CODED-TEXT including the terminology_id and a blank String value for code_string. -
value
Real number value of Scale item.
-
-
Constructor Details
-
DV_SCALE
public DV_SCALE()Constructor -
DV_SCALE
Constructor
-
-
Method Details
-
getSymbol
- Returns:
symbol(Coded textual representation of this value in the scale range, which may be strings made from symbols or other enumerations of terms such as no breathlessness, very very slight, slight breathlessness. Codes come from archetypes. In some cases, a scale may include values that have no code/symbol. In this case, the symbol will be a DV-CODED-TEXT including the terminology_id and a blank String value for code_string.)
-
hasSymbol
-
setSymbol
- Parameters:
value-symbol(Coded textual representation of this value in the scale range, which may be strings made from symbols or other enumerations of terms such as no breathlessness, very very slight, slight breathlessness. Codes come from archetypes. In some cases, a scale may include values that have no code/symbol. In this case, the symbol will be a DV-CODED-TEXT including the terminology_id and a blank String value for code_string.)
-
getValueElement
- Returns:
value(Real number value of Scale item.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value
-
hasValueElement
-
hasValue
-
setValueElement
- Parameters:
value-value(Real number value of Scale item.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value
-
getValue
- Returns:
- Real number value of Scale item.
-
setValue
- Parameters:
value- Real number value of Scale item.
-
setValue
- Parameters:
value- Real number value of Scale item.
-
setValue
- Parameters:
value- Real number value of Scale item.
-
listChildren
- Overrides:
listChildrenin classDV_ORDERED
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classDV_ORDERED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classDV_ORDERED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classDV_ORDERED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classDV_ORDERED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classDV_ORDERED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classDV_ORDERED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDV_ORDERED- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDV_ORDERED- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copyin classDV_ORDERED
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDV_ORDERED
-
equalsShallow
- Overrides:
equalsShallowin classDV_ORDERED
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDV_ORDERED
-