Current Context
From Hiasobi - FHIR
Revision as of 13:41, 14 October 2016 by Brett Esler (Talk | contribs)
Current application context can be queried using well known Observation resource identifiers.
Contents
Current Provider Identifier
Read
GET <fhir-host>/Observation/CTX-PROVIDER
Example
<Observation xmlns="http://hl7.org/fhir"> <id value="CTX-PROVIDER" /> <meta> <lastUpdated value="2016-10-14T13:21:34.349+11:00" /> </meta> <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
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 Patient List
Read
GET <fhir-host>/Observation/CTX-PATIENTLIST
Current Organisation Identifier
Read
GET <fhir-host>/Observation/CTX-ORGANISATION
Current Application Context
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