Skip to content

Instantly share code, notes, and snippets.

@KevinMayfield
Created July 3, 2017 07:57
Show Gist options
  • Save KevinMayfield/5ce742eb62ab167657320d0579cfd127 to your computer and use it in GitHub Desktop.
Save KevinMayfield/5ce742eb62ab167657320d0579cfd127 to your computer and use it in GitHub Desktop.
<OrderResponse xmlns="http://hl7.org/fhir">
<contained>
<Order xmlns="http://hl7.org/fhir">
<id value="order"/>
<subject>
<reference value="#pat"/>
</subject>
<reasonCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="324861000000109"/>
<display value="Review of patient laboratory test report"/>
</coding>
</reasonCodeableConcept>
<detail>
<reference value="https://fhir.uhs.nhs.uk/OrderComms/DiagnosticReport/12345ReportId"/>
</detail>
</Order>
</contained>
<contained>
<Patient xmlns="http://hl7.org/fhir">
<id value="pat"/>
<meta>
<profile value="https://fhir-test.hl7.org.uk/StructureDefinition/CareConnect-Patient-1"/>
</meta>
<identifier>
<system value="https://fhir.uhs.nhs.uk/PAS/Patient/"/>
<value value="1234DEF"/>
</identifier>
<name>
<family value="Kanfeld"/>
</name>
<gender value="female"/>
<birthDate value="1998-03-19"/>
</Patient>
</contained>
<contained>
<Practitioner xmlns="http://hl7.org/fhir">
<id value="prac"/>
<meta>
<profile value="https://fhir-test.hl7.org.uk/StructureDefinition/CareConnect-Practitioner-1"/>
</meta>
<identifier>
<system value="https://fhir.nhs.uk/Id/sds-user-id"/>
<value value="123455"/>
</identifier>
<name>
<family value="Example"/>
</name>
</Practitioner>
</contained>
<request>
<reference value="#order"/>
</request>
<date value="2017-07-03T08:55:10+01:00"/>
<who>
<reference value="#prac"/>
</who>
<orderStatus value="completed"/>
</OrderResponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment