description: 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. package_name: ihe.iti.mhd derivation: constraint name: ReferenceId type: Extension elements: extension: {index: 0} url: pattern: {type: Uri, value: 'https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-referenceId'} index: 1 value: choices: [valueIdentifier] index: 3 valueIdentifier: {type: Identifier, choiceOf: value, index: 4} package_version: 5.0.0-comment extensions: {} class: extension kind: complex-type url: https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-referenceId base: http://hl7.org/fhir/StructureDefinition/Extension version: 5.0.0-comment required: [valueIdentifier, value]