You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

In order to access the medical records of the selected patient, the "Find Document Reference" within the Documentation API folder and hit "Send".
The response should be FHIR bundle of the type 'searchset'. Each entry of the bundle represents a document as DocumentReference resources.
Entry example :


<entry>
        <fullUrl value="https://api.qa.brusafe.be/mhd/DocumentReference/1.3.6.1.4.1.12559.11.26.4.2.704"/>
        <resource>
            <DocumentReference xmlns="http://hl7.org/fhir">
                <id value="1.3.6.1.4.1.12559.11.26.4.2.704"/>
                <contained>
                    <Practitioner xmlns="http://hl7.org/fhir">
                        <id value="1"/>
                        <identifier>
                            <system value="urn:oid:1.3.5.35.1.4436.7"/>
                            <value value="888882"/>
                        </identifier>
                        <name>
                            <family value="Wiseman"/>
                            <given value="Bernard"/>
                            <prefix value="Dr."/>
                            <suffix value="Sr."/>
                        </name>
                    </Practitioner>
                </contained>
                <contained>
                    <Patient xmlns="http://hl7.org/fhir">
                        <id value="2"/>
                        <identifier>
                            <system value="urn:oid:1.3.6.1.4.1.21297.100.1.1"/>
                            <value value="99010100118"/>
                        </identifier>
                    </Patient>
                </contained>
                <masterIdentifier>
                    <system value="urn:ietf:rfc:3986"/>
                    <value value="urn:uuid:1.3.6.1.4.1.12559.11.26.4.2.704"/>
                </masterIdentifier>
                <status value="current"/>
                <type>
                    <coding>
                        <system value="http://snomed.info/sct"/>
                        <code value="10151000146103"/>
                        <display value="CTG-verslag"/>
                    </coding>
                </type>
                <class>
                    <coding>
                        <system value="http://snomed.info/sct"/>
                        <code value="371534008"/>
                        <display value="samenvatting"/>
                    </coding>
                </class>
                <subject>
                    <reference value="Patient/1.3.6.1.4.1.21297.100.1.1|99010100118"/>
                </subject>
                <indexed value="2017-02-28T10:57:55.000+01:00"/>
                <author>
                    <reference value="#1"/>
                </author>
                <description value="Test 01"/>
                <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"/>
                        <url value="https://api.qa.brusafe.be/mhd/Binary/1.3.6.1.4.1.12559.11.26.4.2.704"/>
                        <size value="6106"/>
                        <hash value="C1A3FCC6EC4B0BC6CBD283BACB462D33A007F922"/>
                    </attachment>
                    <format>
                        <system value="http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem"/>
                        <code value="urn:ihe:lab:xd-lab:2008"/>
                        <display value="Laboratory Report"/>
                    </format>
                </content>
                <context>
                    <facilityType>
                        <coding>
                            <system value="http://nictiz.nl/fhir/NamingSystem/organization-type"/>
                            <code value="L1"/>
                            <display value="Laboratorium"/>
                        </coding>
                    </facilityType>
                    <practiceSetting>
                        <coding>
                            <system value="http://snomed.info/sct"/>
                            <code value="309915006"/>
                            <display value="Cardiology department"/>
                        </coding>
                    </practiceSetting>
                    <sourcePatientInfo>
                        <reference value="#2"/>
                    </sourcePatientInfo>
                </context>
            </DocumentReference>
        </resource>
    </entry>


These entries contains metadata about the document. The important data to catch for the following step is the Document oid which is the element 'id' of a DocumentReference resource. In the example : '1.3.6.1.4.1.12559.11.26.4.2.704'
This id needs to be copied and paste on the collection variable "Document oid".
Another information can be extracted with the opportunity to go directly to the next step. In the element 'content', there is an url which can be call to retrieve the document. This information can be useful for further implementation but is not ideal when using Postman.

  • No labels