Skip to content

Instantly share code, notes, and snippets.

@IOPS-DEV
Last active August 17, 2020 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IOPS-DEV/b4fbf2b138f4abd07a408008f8b0d44f to your computer and use it in GitHub Desktop.
Save IOPS-DEV/b4fbf2b138f4abd07a408008f8b0d44f to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<Bundle xmlns="http://hl7.org/fhir">
<id value="c8350b51-3d00-4ff7-b80d-2146496b2361"/>
<meta>
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/ITK-Message-Bundle-1"/>
</meta>
<identifier>
<system value="https://tools.ietf.org/html/rfc4122"/>
<value value="03d187cc-96ee-44ca-b5bf-f8a7ca882bf1"/>
</identifier>
<type value="message"/>
<entry>
<fullUrl value="urn:uuid:6ec16f81-0031-4274-8608-8c581373defe"/>
<resource>
<MessageHeader>
<id value="6ec16f81-0031-4274-8608-8c581373defe"/>
<meta>
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/ITK-MessageHeader-2"/>
</meta>
<extension url="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-ITK-MessageHandling-2">
<!--The value of this handling specification is dependent on the response pattern.-->
<extension url="BusAckRequested">
<valueBoolean value="false"/>
</extension>
<extension url="InfAckRequested">
<valueBoolean value="true"/>
</extension>
<extension url="RecipientType">
<valueCoding>
<system value="https://fhir.nhs.uk/STU3/CodeSystem/ITK-RecipientType-1"/>
<code value="FA"/>
<display value="For Action"/>
</valueCoding>
</extension>
<extension url="MessageDefinition">
<valueReference>
<reference value="https://fhir.nhs.uk/STU3/MessageDefinition/ITK-Response-MessageDefinition-1"/>
</valueReference>
</extension>
<extension url="SenderReference">
<valueString value="None"/>
</extension>
<extension url="LocalExtension">
<valueString value="None"/>
</extension>
</extension>
<event>
<system value="https://fhir.nhs.uk/STU3/CodeSystem/ITK-MessageEvent-2"/>
<code value="ITK008M"/>
<display value="ITK Response"/>
</event>
<sender>
<reference value="urn:uuid:c3d47ef4-0409-40ac-8967-93dd8718e895"/>
</sender>
<timestamp value="2017-01-23T10:10:16+00:00"/>
<source>
<endpoint value="NOROT003"/>
</source>
<response>
<identifier value="8ab41a86-9ef8-401f-9f4f-de038de09f6b"/>
<code value="ok"/>
<details>
<reference value="urn:uuid:bdb944a3-e4c2-4dea-ba3d-f3f698c0aaf3"/>
</details>
</response>
</MessageHeader>
</resource>
</entry>
<!--Practitioner-->
<entry>
<fullUrl value="urn:uuid:c3d47ef4-0409-40ac-8967-93dd8718e895"/>
<resource>
<Practitioner>
<id value="c3d47ef4-0409-40ac-8967-93dd8718e895"/>
<meta>
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Header-Practitioner-1"/>
</meta>
<identifier>
<system value="https://fhir.nhs.uk/Id/sds-user-id"/>
<value value="099945750518"/>
</identifier>
<name>
<family value="Socrates"/>
<given value="Diane"/>
<prefix value="Dr"/>
</name>
</Practitioner>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:bdb944a3-e4c2-4dea-ba3d-f3f698c0aaf3"/>
<resource>
<OperationOutcome>
<id value="bdb944a3-e4c2-4dea-ba3d-f3f698c0aaf3"/>
<meta>
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/ITK-Response-OperationOutcome-1"/>
</meta>
<issue>
<severity value="information"/>
<code value="informational"/>
<details>
<coding>
<system value="https://fhir.nhs.uk/STU3/CodeSystem/ITK-ResponseCodes-1"/>
<code value="30004"/>
<display value="Patient known here and recently deceased (i.e. patient record current in GP practice
system at time of patient’s death and deduction subsequently occurred for this reason)"/>
</coding>
</details>
</issue>
</OperationOutcome>
</resource>
</entry>
</Bundle>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment