View: Hide Browser | Browser on the left | Browser on the right | Dictionary
Report:General Info | Attributes | Relations | Constraints

Parent Package: composition
Class EVENT_CONTEXT


PATHABLE
   |
   +--EVENT_CONTEXT

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.

Attributes
SignatureOptionalityMultiplicityConstantDocumentation
 end_time : DV_DATE_TIME 0..1  --  Optional end time of the clinical session. 
 location : String 0..1  --  The actual location where the session occurred, e.g. “microbiol lab 2”, “home”, “ward A3” and so on. 
 other_context : ITEM_STRUCTURE 0..1  --  Other optional context which will be archetyped. 
 setting : DV_CODED_TEXT  --  The setting in which the clinical session took place. Coded using the openEHR Terminology, “setting” group. 
 start_time : 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. 

Attributes from Associations
SignatureOptionalityMultiplicityDocumentation
 health_care_facility : PARTY_REF0..1  --  
 composer : PARTY_REF --  
 participations : Set<PARTICIPATION>0..1 0..* 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). 
 health_care_facility : PARTY_IDENTIFIED0..1  -- 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. 


Constraints
NameExpression
setting_validinv: setting <> Void and Terminology(Terminology_id_openehr).has_code_for_group_id (Group_id_setting, setting.defining_code) 
participations_validityinv: participations <> Void implies not participations. is_empty 
start_time_validinv: start_time <> Void 
location_validinv: location <> Void implies not location.is_empty