Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save KevinMayfield/516ca6eb42345e879f93a6eb158b5c34 to your computer and use it in GitHub Desktop.
Save KevinMayfield/516ca6eb42345e879f93a6eb158b5c34 to your computer and use it in GitHub Desktop.
<Task xmlns="http://hl7.org/fhir">
<meta>
<profile value="https://fhir.uhs.nhs.uk/StructuredDefinition/Task_1"/>
</meta>
<contained>
<Patient xmlns="http://hl7.org/fhir">
<id value="pat"/>
<identifier>
<system value="https://fhir.nhs.uk/Id/nhs-number"/>
<value value="9876543210"/>
</identifier>
</Patient>
</contained>
<contained>
<Practitioner xmlns="http://hl7.org/fhir">
<id value="dr"/>
<identifier>
<system value="https://fhir.nhs.uk/Id/sds-user-id"/>
<value value="123455"/>
</identifier>
<name>
<family value="McSurname"/>
<given value="Jeremy"/>
<prefix value="Dr"/>
</name>
</Practitioner>
</contained>
<identifier>
<system value="https://tools.ietf.org/html/rfc4122"/>
<value value="1d67c2d6-4f45-11e7-b114-b2f933d5fe66"/>
</identifier>
<basedOn>
<reference value="https://fhir.uhs.nhs.uk/OrderComms/ProcedureRequest/123OrderId"/>
</basedOn>
<status value="completed"/>
<for>
<reference value="#pat"/>
</for>
<executionPeriod>
<end value="2017-08-07T15:56:09+01:00"/>
</executionPeriod>
<requester>
<agent>
<reference value="#dr"/>
</agent>
</requester>
<performerType>
<coding>
<system value="http://hl7.org/fhir/task-performer-type"/>
<code value="performer"/>
<display value="Performer"/>
</coding>
</performerType>
<reason>
<coding>
<system value="http://hl7.org/fhir/task-performer-type"/>
<code value="324861000000109"/>
<display value="Review of patient laboratory test report"/>
</coding>
</reason>
</Task>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment