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

## Extension: The repositoryUniqueId where the document lives

Official URL: https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-RetrieveLocationUID | Version: 4.2.4-current
Active as of 2025-11-06 | Computable Name: RetrieveLocationUID

The globally unique, immutable, identifier of the repositoryUniqueId entity where the document exists. The format of the identifier is an OID.

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-findDocumentReferencesResponse

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 | The repositoryUniqueId where the document lives
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-RetrieveLocationUID"
value[x] |  | 1..1 | Identifier | Value of extension
system |  | 0..1 | uri | The namespace for the identifier value Required Pattern: urn:ietf:rfc:3986
value | C | 0..1 | string | The value that is unique Constraints: mhd-startswithoid
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | The repositoryUniqueId where the document lives
id |  | 0..1 | string | 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-RetrieveLocationUID"
value[x] |  | 1..1 | Identifier | Value of extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: urn:ietf:rfc:3986
value | Σ C | 0..1 | string | The value that is unique Constraints: mhd-startswithoid Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Identifier: The globally unique, immutable, identifier of the repositoryUniqueId entity where the document exists. The format of the identifier is an OID.

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | The repositoryUniqueId where the document lives
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-RetrieveLocationUID"
value[x] |  | 1..1 | Identifier | Value of extension
system |  | 0..1 | uri | The namespace for the identifier value Required Pattern: urn:ietf:rfc:3986
value | C | 0..1 | string | The value that is unique Constraints: mhd-startswithoid
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | The repositoryUniqueId where the document lives
id |  | 0..1 | string | 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-RetrieveLocationUID"
value[x] |  | 1..1 | Identifier | Value of extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: urn:ietf:rfc:3986
value | Σ C | 0..1 | string | The value that is unique Constraints: mhd-startswithoid Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Identifier: The globally unique, immutable, identifier of the repositoryUniqueId entity where the document exists. The format of the identifier is an OID.

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Extension.value[x].use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Extension.value[x].type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.

#### 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()`
mhd-startswithoid | error | Extension.value[x].value | value must start with urn:oid: | `startsWith('urn:oid:')`