
Package org.hl7.fhir.r5.openehr
Class OBSERVATION
- 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
public class OBSERVATION
extends CARE_ENTRY
implements org.hl7.fhir.instance.model.api.ICompositeType
Entry subtype for all clinical data in the past or present, i.e. which (by the time it is recorded) has already occurred. OBSERVATION data is expressed using the class HISTORY, which guarantees that it is situated in time. OBSERVATION is used for all notionally objective (i.e. measured in some way) observations of phenomena, and patient-reported phenomena, e.g. pain. Not to be used for recording opinion or future statements of any kind, including instructions, intentions, plans etc.
- 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 HISTORYThe data of this observation, in the form of a history of values which may be of any complexity.protected HISTORYOptional recording of the state of subject of this observation during the observation process, in the form of a separate history of values which may be of any complexity.Fields inherited from class org.hl7.fhir.r5.openehr.CARE_ENTRY
guideline_id, protocolFields inherited from class org.hl7.fhir.r5.openehr.ENTRY
encoding, language, other_participationsList, provider, subject, workflow_idFields 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(OBSERVATION dst) booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getData()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) getState()String[]getTypesForProperty(int hash, String name) booleanhasData()booleanhasState()booleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setProperty(int hash, String name, Base value) setProperty(String name, Base value) protected OBSERVATIONMethods inherited from class org.hl7.fhir.r5.openehr.CARE_ENTRY
copyValues, getGuideline_id, getProtocol, hasGuideline_id, hasProtocol, setGuideline_id, setProtocolMethods inherited from class org.hl7.fhir.r5.openehr.ENTRY
addOther_participations, addOther_participations, copyValues, getEncoding, getLanguage, getOther_participationsFirstRep, getOther_participationsList, getProvider, getSubject, getWorkflow_id, hasEncoding, hasLanguage, hasOther_participations, hasProvider, hasSubject, hasWorkflow_id, setEncoding, setLanguage, setOther_participationsList, setProvider, setSubject, setWorkflow_idMethods inherited from class org.hl7.fhir.r5.openehr.CONTENT_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
-
data
The data of this observation, in the form of a history of values which may be of any complexity. -
state
Optional recording of the state of subject of this observation during the observation process, in the form of a separate history of values which may be of any complexity. State may also be recorded within the History of the data attribute.
-
-
Constructor Details
-
OBSERVATION
public OBSERVATION()Constructor -
OBSERVATION
Constructor
-
-
Method Details
-
getData
- Returns:
data(The data of this observation, in the form of a history of values which may be of any complexity.)
-
hasData
-
setData
- Parameters:
value-data(The data of this observation, in the form of a history of values which may be of any complexity.)
-
getState
- Returns:
state(Optional recording of the state of subject of this observation during the observation process, in the form of a separate history of values which may be of any complexity. State may also be recorded within the History of the data attribute.)
-
hasState
-
setState
- Parameters:
value-state(Optional recording of the state of subject of this observation during the observation process, in the form of a separate history of values which may be of any complexity. State may also be recorded within the History of the data attribute.)
-
listChildren
- Overrides:
listChildrenin classCARE_ENTRY
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classCARE_ENTRY- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copyin classCARE_ENTRY
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classCARE_ENTRY
-
equalsShallow
- Overrides:
equalsShallowin classCARE_ENTRY
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classCARE_ENTRY
-