
Package org.hl7.fhir.r5.openehr
Class EVENT_CONTEXT
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.openehr.Any
org.hl7.fhir.r5.openehr.PATHABLE
org.hl7.fhir.r5.openehr.LOCATABLE
org.hl7.fhir.r5.openehr.EVENT_CONTEXT
- 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 EVENT_CONTEXT
extends LOCATABLE
implements org.hl7.fhir.instance.model.api.ICompositeType
Documents the context information of a healthcare event involving the subject of care and the health system. The context information recorded here are independent of the attributes recorded in the version audit, which document the system interaction context, i.e. the context of a user interacting with the health record system. Healthcare events include patient contacts, and any other business activity, such as pathology investigations which take place on behalf of the patient.
- 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_DATE_TIME
Optional end time of the clinical session.protected PARTY_IDENTIFIED
The health care facility under whose care the event took place.protected StringType
The actual location where the session occurred, e.g.protected ITEM_STRUCTURE
Other optional context which will be archetyped.protected List
<PARTICIPATION> Parties involved in the healthcare event.protected DV_CODED_TEXT
The clinical session context of this Composition, i.e. the contextual attributes of the clinical session.protected DV_DATE_TIME
Start time of the clinical session or other kind of event during which a provider performs a service of any kind for the patient.Fields inherited from class org.hl7.fhir.r5.openehr.PATHABLE
archetype_details, archetype_node_id, feeder_audit, linksList, name, uid
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorEVENT_CONTEXT
(DV_DATE_TIME start_time, DV_CODED_TEXT setting) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
copyValues
(EVENT_CONTEXT dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setEnd_time
(DV_DATE_TIME value) setLocation
(String value) setLocationElement
(StringType value) setOther_context
(ITEM_STRUCTURE value) setParticipationsList
(List<PARTICIPATION> theParticipations) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setSetting
(DV_CODED_TEXT value) setStart_time
(DV_DATE_TIME value) protected EVENT_CONTEXT
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
-
start_time
Start time of the clinical session or other kind of event during which a provider performs a service of any kind for the patient. -
end_time
Optional end time of the clinical session. -
location
The actual location where the session occurred, e.g. 'microbiology lab 2', 'home', 'ward A3' and so on. -
setting
The clinical session context of this Composition, i.e. the contextual attributes of the clinical session. -
other_context
Other optional context which will be archetyped. -
health_care_facility
The health care facility under whose care the event took place. This is the most specific workgroup or delivery unit within a care delivery enterprise that has an official identifier in the health system, and can be used to ensure medico-legal accountability. -
participationsList
Parties involved in the healthcare event. These would normally include the physician(s) and often the patient (but not the latter if the clinical session is a pathology test for example).
-
-
Constructor Details
-
EVENT_CONTEXT
public EVENT_CONTEXT()Constructor -
EVENT_CONTEXT
Constructor
-
-
Method Details
-
getStart_time
- Returns:
start_time
(Start time of the clinical session or other kind of event during which a provider performs a service of any kind for the patient.)
-
hasStart_time
-
setStart_time
- Parameters:
value
-start_time
(Start time of the clinical session or other kind of event during which a provider performs a service of any kind for the patient.)
-
getEnd_time
- Returns:
end_time
(Optional end time of the clinical session.)
-
hasEnd_time
-
setEnd_time
- Parameters:
value
-end_time
(Optional end time of the clinical session.)
-
getLocationElement
- Returns:
location
(The actual location where the session occurred, e.g. 'microbiology lab 2', 'home', 'ward A3' and so on.). This is the underlying object with id, value and extensions. The accessor "getLocation" gives direct access to the value
-
hasLocationElement
-
hasLocation
-
setLocationElement
- Parameters:
value
-location
(The actual location where the session occurred, e.g. 'microbiology lab 2', 'home', 'ward A3' and so on.). This is the underlying object with id, value and extensions. The accessor "getLocation" gives direct access to the value
-
getLocation
- Returns:
- The actual location where the session occurred, e.g. 'microbiology lab 2', 'home', 'ward A3' and so on.
-
setLocation
- Parameters:
value
- The actual location where the session occurred, e.g. 'microbiology lab 2', 'home', 'ward A3' and so on.
-
getSetting
- Returns:
setting
(The clinical session context of this Composition, i.e. the contextual attributes of the clinical session.)
-
hasSetting
-
setSetting
- Parameters:
value
-setting
(The clinical session context of this Composition, i.e. the contextual attributes of the clinical session.)
-
getOther_context
- Returns:
other_context
(Other optional context which will be archetyped.)
-
hasOther_context
-
setOther_context
- Parameters:
value
-other_context
(Other optional context which will be archetyped.)
-
getHealth_care_facility
- Returns:
health_care_facility
(The health care facility under whose care the event took place. This is the most specific workgroup or delivery unit within a care delivery enterprise that has an official identifier in the health system, and can be used to ensure medico-legal accountability.)
-
hasHealth_care_facility
-
setHealth_care_facility
- Parameters:
value
-health_care_facility
(The health care facility under whose care the event took place. This is the most specific workgroup or delivery unit within a care delivery enterprise that has an official identifier in the health system, and can be used to ensure medico-legal accountability.)
-
getParticipationsList
- Returns:
-
invalid reference
#participations
-
setParticipationsList
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasParticipations
-
addParticipations
-
addParticipations
-
getParticipationsFirstRep
- Returns:
- The first repetition of repeating field
invalid reference
#participations
-
listChildren
- Overrides:
listChildren
in classPATHABLE
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classPATHABLE
- 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 classPATHABLE
- 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 classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classPATHABLE
-
equalsShallow
- Overrides:
equalsShallow
in classPATHABLE
-
isEmpty
-