Mobile access to Health Documents (MHD)
5.0.1-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 5.0.1-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

## Extension: Holds values from DocumentEntry.referenceIdList that are not appropriate for .context or .basedOn

Official URL: https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-referenceId | Version: 5.0.1-current
Active as of 2026-01-13 | Computable Name: ReferenceId

This extension holds values from DocumentEntry.referenceIdList that are not appropriate for .context or .basedOn. This extension can hold any identifier that is related to the DocumentReference. This extension is added for FHIR R5 as DocumentReference does not have a .context.related element, and this extension will not be needed in R6 as there is a DocumentReference.related element there.

Context of Use

This extension may be used on the following element(s)

- Element ID: `DocumentReference`

Usage info

Usages:

- Use this Extension: MHD DocumentReference Minimal
- Examples for this Extension: Bundle/ex-comprehensiveProvideDocumentBundleComplete, Bundle/ex-unContainedComprehensiveProvideDocumentBundleComplete, DocumentReference/ex-DocumentReferenceComprehensive, DocumentReference/ex-DocumentReferenceComprehensiveDelayedAssembly and DocumentReference/ex-DocumentReferenceUnContainedFully

You can also check for usages in the FHIR IG Statistics

### Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

- Differential Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Holds values from DocumentEntry.referenceIdList that are not appropriate for .context or .basedOn
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-referenceId"
value[x] |  | 1..1 | Identifier | Value of extension
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Holds values from DocumentEntry.referenceIdList that are not appropriate for .context or .basedOn
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-referenceId"
value[x] |  | 1..1 | Identifier | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Identifier: This extension holds values from DocumentEntry.referenceIdList that are not appropriate for .context or .basedOn. This extension can hold any identifier that is related to the DocumentReference. This extension is added for FHIR R5 as DocumentReference does not have a .context.related element, and this extension will not be needed in R6 as there is a DocumentReference.related element there.

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Holds values from DocumentEntry.referenceIdList that are not appropriate for .context or .basedOn
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-referenceId"
value[x] |  | 1..1 | Identifier | Value of extension
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Holds values from DocumentEntry.referenceIdList that are not appropriate for .context or .basedOn
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-referenceId"
value[x] |  | 1..1 | Identifier | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Identifier: This extension holds values from DocumentEntry.referenceIdList that are not appropriate for .context or .basedOn. This extension can hold any identifier that is related to the DocumentReference. This extension is added for FHIR R5 as DocumentReference does not have a .context.related element, and this extension will not be needed in R6 as there is a DocumentReference.related element there.

Other representations of profile: CSV, Excel, Schematron

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`