Skip to content

Instantly share code, notes, and snippets.

@swk003
Last active February 28, 2018 21:58
Show Gist options
  • Save swk003/3fe6a98111228c9429119ce6a6a0f2d3 to your computer and use it in GitHub Desktop.
Save swk003/3fe6a98111228c9429119ce6a6a0f2d3 to your computer and use it in GitHub Desktop.
NRLS-ConsumerSearch-SinglePointerReturned-DocumentReference-Example-1 (XML)
<Bundle xmlns="http://hl7.org/fhir">
<id value="dd9724d1-7b61-44e2-9023-b72e6b966018"/>
<meta>
<versionId value="1c268b27-fcd9-45fc-92f7-3781b63c2593"/>
<lastUpdated value="2017-11-16T11:23:06.269+00:00"/>
</meta>
<type value="searchset"/>
<total value="1"/>
<link>
<relation value="self"/>
<url value="http://fhir.nhs.uk/DocumentReference?patient=https://demographics.spineservices.nhs.uk/STU3/Patient/9876543210&amp;_format=xml"/>
</link>
<entry>
<fullUrl value="https://fhirtest.uhn.ca/baseDstu3/DocumentReference/0353e505-f7be-4c20-8f4e-337e79a32c51"/>
<resource>
<DocumentReference>
<id value="0353e505-f7be-4c20-8f4e-337e79a32c51"/>
<meta>
<profile value="https://fhir.nhs.uk/STU3/StructureDefinition/NRLS-DocumentReference-1"/>
</meta>
<status value="current"/>
<type>
<coding>
<system value="http://snomed.info/sct"/>
<code value="718347000"/>
<display value="Mental health care plan"/>
</coding>
</type>
<subject>
<reference value="https://demographics.spineservices.nhs.uk/STU3/Patient/9876543210"/>
</subject>
<created value="2016-03-08T15:26:00+01:00"/>
<indexed value="2016-03-08T15:26:01+01:00"/>
<author>
<reference value="https://directory.spineservices.nhs.uk/STU3/Organization/RGD"/>
</author>
<custodian>
<reference value="https://directory.spineservices.nhs.uk/STU3/Organization/RR8"/>
</custodian>
<content>
<attachment>
<contentType value="application/pdf"/>
<url value="https://spine-proxy.national.ncrs.nhs.uk/p1.nhs.uk/MentalhealthCarePlanReportRGD.pdf"/>
<title value="Mental health Care Plan Report"/>
<creation value="2016-03-08T15:26:00+01:00"/>
</attachment>
</content>
</DocumentReference>
</resource>
<search>
<mode value="match"/>
</search>
</entry>
</Bundle>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment