
Package org.hl7.fhir.r5.openehr
Class ELEMENT
- 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
The leaf variant of ITEM, to which a DATA_VALUE instance is attached.
- 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_TEXTFlavour of null value, e.g. 253|unknown|, 271|no information|, 272|masked|, and 273|not applicable|.protected DV_TEXTOptional specific reason for null value; if set, null_flavour must be set.protected DATA_VALUEProperty representing leaf value object of ELEMENT.Fields inherited from class org.hl7.fhir.r5.openehr.PATHABLE
archetype_details, archetype_node_id, feeder_audit, linksList, name, uid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidcopyValues(ELEMENT 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()booleanbooleanbooleanhasValue()booleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setNull_flavour(DV_CODED_TEXT value) setNull_reason(DV_TEXT value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setValue(DATA_VALUE value) protected ELEMENTMethods inherited from class org.hl7.fhir.r5.openehr.ITEM
copyValuesMethods inherited from class org.hl7.fhir.r5.openehr.LOCATABLE
copyValuesMethods inherited from class org.hl7.fhir.r5.openehr.PATHABLE
addLinks, addLinks, copyValues, getArchetype_details, getArchetype_node_id, getArchetype_node_idElement, getFeeder_audit, getLinksFirstRep, getLinksList, getName, getUid, hasArchetype_details, hasArchetype_node_id, hasArchetype_node_idElement, hasFeeder_audit, hasLinks, hasName, hasUid, setArchetype_details, setArchetype_node_id, setArchetype_node_idElement, setFeeder_audit, setLinksList, setName, setUidMethods inherited from class org.hl7.fhir.r5.openehr.Any
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
-
null_flavour
Flavour of null value, e.g. 253|unknown|, 271|no information|, 272|masked|, and 273|not applicable|. -
value
Property representing leaf value object of ELEMENT. In real data, any concrete subtype of DATA_VALUE can be used. -
null_reason
Optional specific reason for null value; if set, null_flavour must be set. Null reason may apply only to a minority of clinical data, commonly needed in reporting contexts.
-
-
Constructor Details
-
ELEMENT
public ELEMENT()Constructor
-
-
Method Details
-
getNull_flavour
- Returns:
null_flavour(Flavour of null value, e.g. 253|unknown|, 271|no information|, 272|masked|, and 273|not applicable|.)
-
hasNull_flavour
-
setNull_flavour
- Parameters:
value-null_flavour(Flavour of null value, e.g. 253|unknown|, 271|no information|, 272|masked|, and 273|not applicable|.)
-
getValue
- Returns:
value(Property representing leaf value object of ELEMENT. In real data, any concrete subtype of DATA_VALUE can be used.)
-
hasValue
-
setValue
- Parameters:
value-value(Property representing leaf value object of ELEMENT. In real data, any concrete subtype of DATA_VALUE can be used.)
-
getNull_reason
- Returns:
null_reason(Optional specific reason for null value; if set, null_flavour must be set. Null reason may apply only to a minority of clinical data, commonly needed in reporting contexts.)
-
hasNull_reason
-
setNull_reason
- Parameters:
value-null_reason(Optional specific reason for null value; if set, null_flavour must be set. Null reason may apply only to a minority of clinical data, commonly needed in reporting contexts.)
-
listChildren
- Overrides:
listChildrenin classPATHABLE
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classPATHABLE
-
equalsShallow
- Overrides:
equalsShallowin classPATHABLE
-
isEmpty
-