Difference between revisions of "Current Context"
Brett Esler (Talk | contribs) |
Brett Esler (Talk | contribs) (→Current Patient Identifier) |
||
Line 32: | Line 32: | ||
==Current Patient Identifier== | ==Current Patient Identifier== | ||
+ | Will return a resource <id> valueString value when a user is currently logged into the clinical system and a patient record is open and in focus. NOTE: mulitple patients can be open in the clinical system at one time this call indicates the patient record that in the active (current focus) window on screen. | ||
+ | |||
+ | This can be used to obtain current patient details via <fhir-host>/Patient/<id> | ||
+ | |||
===Read=== | ===Read=== | ||
<pre>GET <fhir-host>/Observation/CTX-PATIENT</pre> | <pre>GET <fhir-host>/Observation/CTX-PATIENT</pre> | ||
Line 56: | Line 60: | ||
</Observation> | </Observation> | ||
</pre> | </pre> | ||
− | |||
==Current Organisation Identifier== | ==Current Organisation Identifier== |
Revision as of 17:27, 13 September 2017
Current application context can be queried using well known Observation resource identifiers.
Contents
Current Provider Identifier
Will return a resource <id> valueString value when a user is currently logged into the clinical system.
This can be used to obtain practitioner details via <fhir-host>/Practitioner/<id>
Read
GET <fhir-host>/Observation/CTX-PROVIDER
Example
<Observation xmlns="http://hl7.org/fhir"> <id value="CTX-PROVIDER" /> <text> <div xmlns="http://www.w3.org/1999/xhtml"> <p> Context: PROVIDER - 2</p> </div> </text> <status value="final" /> <code> <coding> <system value="http://oridashi.com.au/system/code/context" /> <code value="PROVIDER" /> <display value="Provider Context" /> </coding> </code> <effectiveDateTime value="2016-10-14T13:21:34.3487834+11:00" /> <valueString value="2" /> </Observation>
Current Patient Identifier
Will return a resource <id> valueString value when a user is currently logged into the clinical system and a patient record is open and in focus. NOTE: mulitple patients can be open in the clinical system at one time this call indicates the patient record that in the active (current focus) window on screen.
This can be used to obtain current patient details via <fhir-host>/Patient/<id>
Read
GET <fhir-host>/Observation/CTX-PATIENT
Example
<Observation xmlns="http://hl7.org/fhir"> <text> <div xmlns="http://www.w3.org/1999/xhtml"> <p> Context: PATIENT - 4</p> </div> </text> <name> <coding> <system value="http://oridashi.com.au/system/code/context"/> <code value="PATIENT"/> <display value="Patient Context"/> </coding> </name> <valueString value="4"/> <appliesDateTime value="2014-02-03T15:01:08Z"/> <status value="final"/> <reliability value="ok"/> </Observation>
Current Organisation Identifier
Will return a resource <id> valueString value if a user is currently logged into the clinical system.
This can be used to obtain organization/clinic details via <fhir-host>/Organization/<id>
Read
GET <fhir-host>/Observation/CTX-ORGANISATION
Example
<Observation xmlns="http://hl7.org/fhir"> <id value="CTX-ORGANISATION" /> <text> <div xmlns="http://www.w3.org/1999/xhtml"> <p> Context: ORGANISATION - 0</p> </div> </text> <status value="final" /> <code> <coding> <system value="http://oridashi.com.au/system/code/context" /> <code value="ORGANISATION" /> <display value="Organisation Context" /> </coding> </code> <effectiveDateTime value="2016-10-14T13:42:32.5587489+11:00" /> <valueString value="0" /> </Observation>
Current Application Context
Will return a valueString value if a user is currently logged into the clinical system, represents the currently active view on screen.
Read
GET <fhir-host>/Observation/CTX-APPLICATION
Example
<Observation xmlns="http://hl7.org/fhir"> <text> <div xmlns="http://www.w3.org/1999/xhtml"> <p> Context: APPLICATION - MEDICATION.LIST</p> </div> </text> <name> <coding> <system value="http://oridashi.com.au/system/code/context"/> <code value="APPLICATION"/> <display value="Application Context"/> </coding> </name> <valueString value="MEDICATION.LIST"/> <appliesDateTime value="2014-02-03T14:50:03Z"/> <status value="final"/> <reliability value="ok"/> </Observation>
Value Set
- MEDICATION.LIST - current medications list
- MEDICALHISTORY.LIST - past medical history list
- IMMUNISATION.LIST - immunisations list
- INVESTIGATION.LIST - investigations list
- PRESCRIBING - prescribing medications entry
- PATHOLOGY.ORDER - ordering pathology entry
- IMAGING.ORDER - ordering imaging entry