Mobile access to Health Documents (MHD)
4.2.4-current - ci-build

Mobile access to Health Documents (MHD), published by IHE IT Infrastructure Technical Committee. This guide is not an authorized publication; it is the continuous build for version 4.2.4-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/ITI.MHD/ and changes regularly. See the Directory of published versions

## Example Bundle: Provide Document Bundle with Comprehensive metadata of one document which replaces another document

Profile: MHD Comprehensive Provide Document Bundle

Security Label: test health data (Details: ActReason code HTEST = 'test health data')

Bundle ex-comprehensiveProvideDocumentBundleReplace of type transaction

Entry 1 - fullUrl = urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300001

Resource List:

> SubmissionSet with Patient

Request:

    POST List

Entry 2 - fullUrl = urn:uuid:aaaaaaaa-bbbb-cccc-ffff-e00333300002

Resource Parameters:

> Profile: MHD DocumentReference Patch Parameters

> ## Parameters

> operation |
> path | DocumentReference.status
> type | replace
> value | superseded

Request:

    PATCH DocumentReference/ex-documentreference

Entry 3 - fullUrl = urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300002

Resource DocumentReference:

> Profile: MHD DocumentReference Comprehensive

> Security Label: test health data (Details: ActReason code HTEST = 'test health data')

> identifier: Identifier type for XDS UniqueId/urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012

> status: Current

> type: Patient summary Document

> category: History of Immunization note

> subject: John Schmidt Other, DoB: 1923-07-25

> date: 2020-02-02 23:50:50-0500

> ### RelatesTos

> - | Code | Target
> * | Replaces | DocumentReference: status = current

> securityLabel: restricted

> > content

> > ### Attachments

> > - | ContentType | Language | Url | Size | Hash | Title | Creation
> > * | text/plain | en | Binary: text/plain (32 bytes base64) | 24 | `ZThlMzE3MjE0MzAwMTU4N2NiNzUwODQ0NmFhMDkyZWI1MTk5NTgwOQ==` | Thanks for all the fish | 2020-02-02 23:50:50-0500

> > Dee Schmidt (no stated gender), DoB Unknown ( http://example.org/patients#mrn-1234)

Request:

    POST DocumentReference

Entry 4 - fullUrl = urn:uuid:aaaaaaaa-bbbb-cccc-eeee-e00333300003

Resource Binary:

> Security Label: test health data (Details: ActReason code HTEST = 'test health data')

> contentType: text/plain

> data: `VGhhbmtzIGZvciBhbGwgdGhlIGZpc2g=`

Request:

    POST Binary