Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save KevinMayfield/63869ac0d97d50dfe7ab77a6a1130bc1 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<Bundle xmlns="http://hl7.org/fhir">
<id value="307df70b-8e25-4408-b2eb-be23582e6689"/>
<type value="message"/>
<entry>
<fullUrl value="urn:uuid:5899ec4f-ce2f-49dd-b44c-39819b593888"/>
<resource>
<MessageHeader>
<id value="5899ec4f-ce2f-49dd-b44c-39819b593888"/>
<event>
<system value="https://fhir.leedsth.nhs.uk/CodeSystem/HL7v2-MessageEvent-1"/>
<code value="ADT-A01"/>
<display value="Admit/Visit Notification"/>
</event>
<destination>
<name value="Trust Integration Engine"/>
<endpoint value="http://tie.leedsth.nhs.uk/STU3/Bundle"/>
</destination>
<timestamp value="2019-04-30T09:16:00+00:00"/>
<source>
<name value="PatientCentre PAS"/>
<endpoint value="http://pas.leedsth.nhs.uk:1234"/>
</source>
<responsible>
<identifier>
<system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
<value value="RR8"/>
</identifier>
<display value="LEEDS TEACHING HOSPITALS NHS TRUST"/>
</responsible>
<focus>
<reference value="urn:uuid: TODO add in reference to Encounter"/>
</focus>
</MessageHeader>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:34bc9c3e-437d-490a-a91a-8f150545cf2f"/>
<resource>
<Encounter>
<id value="34bc9c3e-437d-490a-a91a-8f150545cf2f"/>
<meta>
<profile value="https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1"/>
</meta>
<identifier>
<system value="https://fhir.leedsth.nhs.uk/Id/Encounter/episode-number"/>
<value value="000031920-000000001"/>
</identifier>
<status value="arrived"/>
<class>
<system value="http://hl7.org/fhir/v3/ActCode"/>
<code value="IMP"/>
<display value="inpatient encounter"/>
</class>
<type>
<coding>
<system value="https://fhir.nhs.uk/STU3/CodeSystem/DCH-Specialty-1"/>
<code value="101"/>
<display value="UROLOGY"/>
</coding>
</type>
<subject>
<reference value="urn:uuid:114f9611-cc8b-45f6-b105-afe5117bdcc1"/>
<display value="TEST, LYNNEA"/>
</subject>
<participant>
<type>
<coding>
<system value="http://hl7.org/fhir/v3/ParticipationType"/>
<code value="PART"/>
</coding>
</type>
<individual>
<identifier>
<system value="https://fhir.nhs.uk/Id/sds-user-id"/>
<value value="C0735492"/>
</identifier>
</individual>
</participant>
<period>
<start value="2019-04-29T11:57:00.000+01:00"/>
</period>
<location>
<location>
<reference value="urn:uuid:51e58cf7-0a65-422f-87ec-8b4c375d368f"/>
<display value="ACCIDENT &amp; EMERGENCY LGI"/>
</location>
</location>
<serviceProvider>
<identifier>
<system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
<value value="RR8"/>
</identifier>
<display value="LEEDS TEACHING HOSPITALS NHS TRUST"/>
</serviceProvider>
</Encounter>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:114f9611-cc8b-45f6-b105-afe5117bdcc1"/>
<resource>
<Patient xmlns="http://hl7.org/fhir">
<id value="114f9611-cc8b-45f6-b105-afe5117bdcc1"/>
<meta>
<lastUpdated value="2019-04-29T13:50:47.181+00:00"/>
<profile value="https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"/>
</meta>
<identifier>
<system value="https://fhir.leedsth.nhs.uk/Id/pas-number"/>
<value value="0031740"/>
</identifier>
<identifier>
<system value="https://fhir.leedsth.nhs.uk/Id/internal-patient-number"/>
<value value="000031920"/>
</identifier>
<name>
<use value="official"/>
<family value="Test"/>
<given value="Lynnea"/>
</name>
<gender value="female"/>
<birthDate value="2003-05-01"/>
</Patient>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:51e58cf7-0a65-422f-87ec-8b4c375d368f"/>
<resource>
<Location>
<id value="51e58cf7-0a65-422f-87ec-8b4c375d368f"/>
<meta>
<profile value="https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1"/>
</meta>
<identifier>
<system value="https://fhir.nhs.uk/Id/ods-site-code"/>
<value value="RR813"/>
</identifier>
</Location>
</resource>
</entry>
</Bundle>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment