
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 HISTORY
The data of this observation, in the form of a history of values which may be of any complexity.protected HISTORY
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.Fields inherited from class org.hl7.fhir.r5.openehr.CARE_ENTRY
guideline_id, protocol
Fields inherited from class org.hl7.fhir.r5.openehr.ENTRY
encoding, language, other_participationsList, provider, subject, workflow_id
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()
void
copyValues
(OBSERVATION dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(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) boolean
hasData()
boolean
hasState()
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) protected OBSERVATION
Methods inherited from class org.hl7.fhir.r5.openehr.CARE_ENTRY
copyValues, getGuideline_id, getProtocol, hasGuideline_id, hasProtocol, setGuideline_id, setProtocol
Methods 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_id
Methods inherited from class org.hl7.fhir.r5.openehr.CONTENT_ITEM
copyValues
Methods inherited from class org.hl7.fhir.r5.openehr.LOCATABLE
copyValues
Methods 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, setUid
Methods inherited from class org.hl7.fhir.r5.openehr.Any
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
-
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:
listChildren
in classCARE_ENTRY
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in 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:
getProperty
in 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:
setProperty
in classCARE_ENTRY
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classCARE_ENTRY
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classCARE_ENTRY
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classCARE_ENTRY
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classCARE_ENTRY
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classCARE_ENTRY
- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copy
in classCARE_ENTRY
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classCARE_ENTRY
-
equalsShallow
- Overrides:
equalsShallow
in classCARE_ENTRY
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classCARE_ENTRY
-