Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


The ITI-65 is describing how to use MHD/REST in order to provide a document. This operation uses the POST method to provide a document within the request body encapsulated in a FHIR bundle.
The URL endpoint for this operation is https://api.qa.brusafe.be/mhd/provide
The FHIR bundle encapsulating the document should have the following three resources within :
A Document manifest, Document reference and the document itself encoded in B64 and within a Binary resource.
All those resources are to be sent with a POST operation in the bundle.


Example :


Code Block
firstline10
titleExample
<?xml version="1.0" encoding="UTF-8"?>

...


<Bundle xmlns="http://hl7.org/fhir">

...


<id value="e8670b21-5d69-4f1d-be74-ce469e70cd6a"/>

...


<meta>

...


<profile value="http://ihe.net/fhir/tag/iti-65"/>

...


</meta>

...


<type value="transaction"/>

...


<entry>

...


<resource>

...


<DocumentManifest xmlns="http://hl7.org/fhir">

...


<text>

...


<status value="generated"/>

...


<div xmlns="http://www.w3.org/1999/xhtml">Test MHD Document used for the Brusafe+ TST Document Recipient</div>

...


</text>

...


<contained>

...


<Patient xmlns="http://hl7.org/fhir">

...


<id value="patient"/>

...


<identifier>

...


<system value="urn:oid:1.3.6.1.4.1.21297.100.1.1"/>

...


<value value="99030300268"/>

...


</identifier>

...


<active value="true"/>

...


<name>

...


<use value="official"/>

...


<family value="OF-SYSTELAB-MODULAB"/>

...


<given value="MARIA"/>

...


</name>

...


<telecom>

...


<use value="home"/>

...


</telecom>

...


<gender value="female"/>

...


<birthDate value="1983-09-20"/>

...


<address>

...


<city value="SABADELL"/>

...


<postalCode value="08203"/>

...


</address>

...


</Patient>

...


</contained>

...


<contained>

...


<Practitioner xmlns="http://hl7.org/fhir">

...


<id value="author"/>

...


<identifier>

...


<system value="urn:oid:1.3.6.1.4.1.21367.13.20.2000"/>

...


<value value="TEST"/>

...


</identifier>

...


<name>

...


<family value="practFAMILYMANIFname"/>

...


<given value="practGIVENMANIFname"/>

...


</name>

...


<practitionerRole>

...


<managingOrganization>

...


<reference value="practMANIForg"/>

...


</managingOrganization>

...


<role>

...


<coding>

...


<code value="practMANIFrole"/>

...


</coding>

...


</role>

...


<specialty>

...


<coding>

...


<code value="practMANIFspecialty"/>

...


</coding>

...


</specialty>

...


</practitionerRole>

...


</Practitioner>

...


</contained>

...


<masterIdentifier>

...


<system value="urn:ietf:rfc:3986"/>

...


<value value="1.3.6.1.4.1.21367.2011.2.1.219.182013000010070052.146011"/>

...


</masterIdentifier>

...


<subject>

...


<reference value="#patient"/>

...


</subject>

...


<type>

...


<coding>

...


<system value="2.16.840.1.113883.6.96"/>

...


<code value="823651000000106"/>

...


<display value="Clinical note"/>

...


</coding>

...


</type>

...


<author>

...


<reference value="#author"/>

...


</author>

...


<created value="2016-04-15T11:02:48+02:00"/>

...


<source value="1.3.6.1.4.1.21367.2011.2.1.219"/>

...


<status value="current"/>

...


<description value="A description of this manifest"/>

...


<content>

...


<pReference>

...


<reference value="61a2b6e1-1d1b-41e1-b763-aef04877ba4b"/>

...


</pReference>

...


</content>

...


</DocumentManifest>

...


</resource>

...


<request>

...


<method value="POST"/>

...


<url value="DocumentManifest"/>

...


</request>

...


</entry>

...


<entry>

...


<resource>

...


<DocumentReference xmlns="http://hl7.org/fhir">

...


<id value="61a2b6e1-1d1b-41e1-b763-aef04877ba4b"/>

...


<contained>

...


<Patient xmlns="http://hl7.org/fhir">

...


<id value="patient"/>

...


<identifier>

...


<system value="urn:oid:1.3.6.1.4.1.21297.100.1.1"/>

...


<value value="99030300268"/>

...


</identifier>

...


<active value="true"/>

...


<name>

...


<use value="official"/>

...


<family value="OF-SYSTELAB-MODULAB"/>

...


<given value="MARIA"/>

...


</name>

...


<telecom>

...


<use value="home"/>

...


</telecom>

...


<gender value="female"/>

...


<birthDate value="1983-09-20"/>

...


<address>

...


<city value="SABADELL"/>

...


<postalCode value="08203"/>

...


</address>

...


</Patient>

...


</contained>

...


<contained>

...


<Practitioner xmlns="http://hl7.org/fhir">

...


<id value="author"/>

...


<identifier>

...


<system value="urn:oid:1.3.6.1.4.1.21367.13.20.2000"/>

...


<value value="TEST"/>

...


</identifier>

...


<name>

...


<family value="practFAMILYname"/>

...


<given value="practGIVENname"/>

...


</name>

...


<practitionerRole>

...


<role>

...


<coding>

...


<code value="practrole"/>

...


<system value="1.3.6.1.4.1.21367.13.20.2000"/>

...


</coding>

...


</role>

...


<specialty>

...


<coding>

...


<code value="practspecialty"/>

...


<system value="1.3.6.1.4.1.21367.13.20.2000"/>

...


</coding>

...


</specialty>

...


</practitionerRole>

...


</Practitioner>

...


</contained>

...


<masterIdentifier>

...


<system value="urn:ietf:rfc:3986"/>

...


<value value="1.3.6.1.4.1.21367.2011.2.1.219.169010097005308081.14607"/>

...


</masterIdentifier>

...


<type>

...


<coding>

...


<system value="1.3.6.1.4.1.21367.100.1"/>

...


<code value="DEMO-Consult"/>

...


<display value="Consultation"/>

...


</coding>

...


</type>

...


<class>

...


<coding>

...


<system value="2.16.840.1.113883.6.96"/>

...


<code value="11221000146107"/>

...


<display value="Note"/>

...


</coding>

...


</class>

...


<subject>

...


<reference value="#patient"/>

...


</subject>

...


<author>

...


<reference value="#author"/>

...


</author>

...


<indexed value="2016-04-15T11:02:48.160+02:00"/>

...


<status value="current"/>

...


<description value="A description of this document"/>

...


<securityLabel>

...


<coding>

...


<system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>

...


<code value="N"/>

...


<display value="Normal"/>

...


</coding>

...


</securityLabel>

...


<content>

...


<attachment>

...


<contentType value="text/xml"/>

...


<language value="en-US"/>

...


<url value="Binary/09d841bf-5e84-4f38-acba-05baf70b46bd"/>

...


<size value="25003"/>

...


<hash value="pb4Q1/p9aZZxlsxRero2z/Jlz9U="/>

...


<title value="Brusafe+ Test Document MHD"/>

...


</attachment>

...


<format>

...


<system value="1.3.6.1.4.1.19376.1.2.3"/>

...


<code value="urn:ihe:rad:TEXT"/>

...


<display value="Text Report (XDS-I.b)"/>

...


</format>

...


</content>

...


<context>

...


<event>

...


<coding>

...


<system value="2.16.840.1.113883.6.96"/>

...


<code value="823651000000106"/>

...


<display value="Clinical Note"/>

...


</coding>

...


</event>

...


<period>

...


<start value="2016-04-15T11:02:48+02:00"/>

...


<end value="2016-04-15T11:02:48+02:00"/>

...


</period>

...


<facilityType>

...


<coding>

...


<system value="1.3.6.1.4.1.12559.11.4.9"/>

...


<code value="Outpatient"/>

...


<display value="Outpatient"/>

...


</coding>

...


</facilityType>

...


<practiceSetting>

...


<coding>

...


<system value="2.16.840.1.113883.6.96"/>

...


<code value="159285000"/>

...


<display value="Medical laboratory technician"/>

...


</coding>

...


</practiceSetting>

...


<sourcePatientInfo>

...


<reference value="#patient"/>

...


</sourcePatientInfo>

...


</context>

...


</DocumentReference>

...


</resource>

...


<request>

...


<method value="POST"/>

...


<url value="DocumentReference"/>

...


</request>

...


<fullUrl value="61a2b6e1-1d1b-41e1-b763-aef04877ba4b"/>

...


</entry>

...


<entry>

...


<resource>

...


<Binary xmlns="http://hl7.org/fhir">

...


<id value="09d841bf-5e84-4f38-acba-05baf70b46bd"/>

...


<content value="DOCUMENT IN B64"/>

...


</Binary>

...


</resource>

...


<request>

...


<method value="POST"/>

...


<url value="Binary"/>

...


</request>

...


<fullUrl value="Binary/09d841bf-5e84-4f38-acba-05baf70b46bd"/>

...


</entry>

...


</Bundle>