
Package org.hl7.fhir.r5.openehr
Class DV_STATE
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_STATE
- 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
For representing state values which obey a defined state machine, such as a variable representing the states of an instruction or care process.
- 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 BooleanTypeIndicates whether this state is a terminal state, such as 'aborted', 'completed' etc. from which no further transitions are possible.protected DV_CODED_TEXTThe state name. -
Constructor Summary
ConstructorsConstructorDescriptionDV_STATE()ConstructorDV_STATE(DV_CODED_TEXT value, boolean is_terminal) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidcopyValues(DV_STATE dst) booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()booleangetNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) getValue()booleanbooleanbooleanhasValue()booleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setIs_terminal(boolean value) setIs_terminalElement(BooleanType value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setValue(DV_CODED_TEXT value) protected DV_STATEMethods 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
-
value
The state name. State names are determined by a state/event table defined in archetypes, and coded using openEHR Terminology or local archetype terms, as specified by the archetype. -
is_terminal
Indicates whether this state is a terminal state, such as 'aborted', 'completed' etc. from which no further transitions are possible.
-
-
Constructor Details
-
DV_STATE
public DV_STATE()Constructor -
DV_STATE
Constructor
-
-
Method Details
-
getValue
- Returns:
value(The state name. State names are determined by a state/event table defined in archetypes, and coded using openEHR Terminology or local archetype terms, as specified by the archetype.)
-
hasValue
-
setValue
- Parameters:
value-value(The state name. State names are determined by a state/event table defined in archetypes, and coded using openEHR Terminology or local archetype terms, as specified by the archetype.)
-
getIs_terminalElement
- Returns:
is_terminal(Indicates whether this state is a terminal state, such as 'aborted', 'completed' etc. from which no further transitions are possible.). This is the underlying object with id, value and extensions. The accessor "getIs_terminal" gives direct access to the value
-
hasIs_terminalElement
-
hasIs_terminal
-
setIs_terminalElement
- Parameters:
value-is_terminal(Indicates whether this state is a terminal state, such as 'aborted', 'completed' etc. from which no further transitions are possible.). This is the underlying object with id, value and extensions. The accessor "getIs_terminal" gives direct access to the value
-
getIs_terminal
- Returns:
- Indicates whether this state is a terminal state, such as 'aborted', 'completed' etc. from which no further transitions are possible.
-
setIs_terminal
- Parameters:
value- Indicates whether this state is a terminal state, such as 'aborted', 'completed' etc. from which no further transitions are possible.
-
listChildren
- Overrides:
listChildrenin classBase
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDATA_VALUE- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copyin classDATA_VALUE
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classBase
-
equalsShallow
- Overrides:
equalsShallowin classBase
-
isEmpty
-