|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openehr.rm.RMObject
org.openehr.rm.composition.EventContext
public final class EventContext
Documents the clinical context of the clinical session (or encounter). The context information recorded here are independent of the attributes recorded in the version audit, which document the system interaction context, ie the context of a user interacting with the health record system. Clinical sessions include patient contacts, and any other business activity, such as pathology investigations which take place on behalf of the patient.
Instances of this class are immutable
| Constructor Summary | |
|---|---|
EventContext(PartyReference healthCareFacility,
DvInterval<DvDateTime> time,
PartyReference composer,
java.util.List<Participation> participations,
java.lang.String location,
DvCodedText setting,
ItemStructure otherContext,
TerminologyService terminologyService)
Constructs an EventContext |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Equals if values are the same |
PartyReference |
getComposer()
The person primarily responsible for the content of the Composition (not necessarily its entry into the EHR system). |
PartyReference |
getHealthCareFacility()
The health care facility under whose care the event took place. |
java.lang.String |
getLocation()
The actual location where the session occurred, eg "microbiol lab 2", "home", "ward A3" and so on. |
ItemStructure |
getOtherContext()
Other optional context which will be archetyped. |
java.util.List<Participation> |
getParticipations()
Parties involved in the clinical session. |
DvCodedText |
getSetting()
The setting in which the clinical session took place. |
DvInterval<DvDateTime> |
getTime()
Start and end times of the clinical session |
int |
hashCode()
Return a hash code of this event context |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventContext(PartyReference healthCareFacility,
DvInterval<DvDateTime> time,
PartyReference composer,
java.util.List<Participation> participations,
java.lang.String location,
DvCodedText setting,
ItemStructure otherContext,
TerminologyService terminologyService)
healthCareFacility - time - composer - participations - null if not specifiedlocation - null if not specifiedsetting - otherContext - terminologyService -
java.lang.IllegalArgumentException| Method Detail |
|---|
public PartyReference getHealthCareFacility()
public DvInterval<DvDateTime> getTime()
public PartyReference getComposer()
public java.util.List<Participation> getParticipations()
public java.lang.String getLocation()
public DvCodedText getSetting()
public ItemStructure getOtherContext()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto -
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||