Skip to content

Instantly share code, notes, and snippets.

@KevinMayfield
Last active August 4, 2017 13:01
Show Gist options
  • Save KevinMayfield/2bd323a9b25e7a2fe97cfb27a46ebf58 to your computer and use it in GitHub Desktop.
Save KevinMayfield/2bd323a9b25e7a2fe97cfb27a46ebf58 to your computer and use it in GitHub Desktop.
<Bundle xmlns="http://hl7.org/fhir">
<type value="message"/>
<entry>
<resource>
<MessageHeader xmlns="http://hl7.org/fhir">
<timestamp value="2017-08-04T13:55:49.934+01:00"/>
<event>
<system value="https://fhir.uhs.nhs.uk/message-event-type"/>
<code value="task-create"/>
</event>
<source>
<endpoint value="https:///ordercomms.uhs.nhs.uk"/>
</source>
<receiver>
<reference value="https://ordercoms.system.org"/>
</receiver>
<responsible>
<reference value="https://resultsviewer.system.org"/>
</responsible>
</MessageHeader>
</resource>
</entry>
<entry>
<resource>
<Order xmlns="http://hl7.org/fhir">
<identifier>
<system value="https://fhir.uhs.nhs.uk/OrderComms/Order"/>
<value value="ABCDE"/>
</identifier>
<subject>
<reference value="#pat"/>
</subject>
<source>
<reference value="#pracsource"/>
</source>
<target>
<reference value="#pracdestination"/>
</target>
<reasonCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="324861000000109"/>
<display value="Review of patient laboratory test report"/>
</coding>
</reasonCodeableConcept>
<detail>
<reference value="#report"/>
</detail>
</Order>
</resource>
</entry>
<entry>
<resource>
<Patient xmlns="http://hl7.org/fhir">
<id value="pat"/>
<meta>
<versionId value="1"/>
<lastUpdated value="2017-08-04T13:07:29.000+01:00"/>
<profile value="https://fhir.hl7.org.uk/StructureDefinition/CareConnect-Patient-1"/>
</meta>
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-CareConnect-EthnicCategory-1">
<valueCodeableConcept>
<coding>
<system value="https://fhir.hl7.org.uk/CareConnect-EthnicCategory-1"/>
<code value="01"/>
<display value="British - Mixed British"/>
</coding>
</valueCodeableConcept>
</extension>
<identifier>
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1">
<valueCodeableConcept>
<coding>
<system value="https://fhir.hl7.org.uk/CareConnect-NHSNumberVerificationStatus-1"/>
<code value="01"/>
<display value="Number present and verified"/>
</coding>
</valueCodeableConcept>
</extension>
<system value="https://fhir.nhs.uk/Id/nhs-number"/>
<value value="9876543210"/>
</identifier>
<active value="true"/>
<name>
<use value="usual"/>
<family value="Kanfeld"/>
<given value="Bernie"/>
<prefix value="Miss"/>
</name>
<gender value="female"/>
<birthDate value="1998-03-19"/>
<address>
<use value="home"/>
<line value="10 Field Jardin"/>
<line value="Long Eaton"/>
<city value="Nottingham"/>
<postalCode value="NG10 1ZZ"/>
</address>
<maritalStatus>
<coding>
<system value="http://hl7.org/fhir/v3/MaritalStatus"/>
<code value="S"/>
<display value="Never Married"/>
</coding>
</maritalStatus>
</Patient>
</resource>
</entry>
<entry>
<resource>
<Practitioner xmlns="http://hl7.org/fhir">
<id value="pracsource"/>
<meta>
<versionId value="1"/>
<lastUpdated value="2017-08-04T13:07:28.000+01:00"/>
<profile value="https://fhir.hl7.org.uk/StructureDefinition/CareConnect-Practitioner-1"/>
</meta>
<identifier>
<system value="https://fhir.nhs.uk/Id/sds-user-id"/>
<value value="PT1357"/>
</identifier>
<name>
<family value="Riley"/>
<given value="Amber"/>
<prefix value="Dr."/>
</name>
<telecom>
<system value="phone"/>
<value value="0115 9876543"/>
<use value="work"/>
</telecom>
<address>
<use value="work"/>
<line value="Kirkgate"/>
<city value="Derby"/>
<postalCode value="DE7 1QQ"/>
</address>
<gender value="female"/>
</Practitioner>
</resource>
</entry>
<entry>
<resource>
<Organization xmlns="http://hl7.org/fhir">
<id value="pracdestination"/>
<meta>
<versionId value="2"/>
<lastUpdated value="2017-08-04T13:07:27.000+01:00"/>
<profile value="https://fhir.hl7.org.uk/StructureDefinition/CareConnect-Organization-1"/>
</meta>
<identifier>
<system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
<value value="C81010"/>
</identifier>
<type>
<coding>
<system value="http://hl7.org/fhir/organization-type"/>
<code value="prov"/>
<display value="Healthcare Provider"/>
</coding>
</type>
<name value="The Moir Medical Centre"/>
<telecom>
<system value="phone"/>
<value value="0115 9737320"/>
<use value="work"/>
</telecom>
<address>
<use value="work"/>
<line value="Regent Street"/>
<line value="Long Eaton"/>
<city value="Nottingham"/>
<postalCode value="NG10 1QQ"/>
</address>
</Organization>
</resource>
</entry>
<entry>
<resource>
<DiagnosticReport xmlns="http://hl7.org/fhir">
<id value="report"/>
<meta>
<profile value="https://fhir.nhs.uk/StructureDefinition/dds-report-1-0"/>
</meta>
<identifier>
<system value="https://fhir.uhs.nhs.uk/HICSS/DiagnosticReport"/>
<value value="B50129418U-CC_CA"/>
</identifier>
<status value="final"/>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="15220000"/>
<display value="Laboratory test"/>
</coding>
</code>
<subject>
<reference value="#pat"/>
</subject>
<effectiveDateTime value="2017-04-25T09:35:00+01:00"/>
<issued value="2017-04-25T09:35:00.000+01:00"/>
<performer>
<reference value="#pracsource"/>
</performer>
</DiagnosticReport>
</resource>
</entry>
</Bundle>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment