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.


Please be aware that this is a Beta version and the structure below might change.


Structure
<?xml version="1.0" encoding="UTF-8"?>
<Bundle xmlns="http://hl7.org/fhir">
    <type value="transaction"/>
    <entry>
        <fullUrl value="urn:uuid:96cf0274-9b2c-4bdc-b4c4-cb46f7a07097"/>
        <resource>
            <Patient xmlns="http://hl7.org/fhir">
                <!-- SNIP -->
            </Patient>
        </resource>
        <request>
            <method value="POST"/>
            <url value="Patient"/>
        </request>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:278764fb-06b6-4f4f-8cef-4abaa3682111"/>
        <resource>
            <DocumentManifest xmlns="http://hl7.org/fhir">
                <!-- SNIP -->
            </DocumentManifest>
        </resource>
        <request>
            <method value="POST"/>
            <url value="DocumentManifest"/>
        </request>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:2aa911db-9117-4e4b-97e4-d2f09dd28111"/>
        <resource>
            <DocumentReference xmlns="http://hl7.org/fhir">
                <!-- SNIP -->
            </DocumentReference>
        </resource>
        <request>
            <method value="POST"/>
            <url value="DocumentReference"/>
        </request>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:6d035264-66ac-4df2-8bf8-d9a9bbf46111"/>
        <resource>
            <Binary xmlns="http://hl7.org/fhir" >
                <!-- SNIP -->
            </Binary>
        </resource>
        <request>
            <method value="POST"/>
            <url value="Binary"/>
        </request>
    </entry>
</Bundle>
  • No labels