## Union of https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.UnContained.Comprehensive.DocumentReference and https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.UnContained.Comprehensive.DocumentReference

This is the set of resources that conform to either of the profiles MHD DocumentReference Comprehensive UnContained References Option (https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.UnContained.Comprehensive.DocumentReference) and MHD DocumentReference Comprehensive UnContained References Option (https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.UnContained.Comprehensive.DocumentReference). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DocumentReference | C | 0..* |  | A reference to a document Constraints: docRef-1, docRef-2
meta | Σ | 0..1 | Meta | Metadata about the resource
extension |  | 0..* | Extension | Additional content defined by implementations
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: ?? (required): IETF language tag for a human language
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Extension
identifier | S Σ | 1..* | Identifier | Business identifiers for the document
version | Σ | 0..1 | string | An explicitly assigned identifer of a variation of the content in the DocumentReference
basedOn |  | 0..* | Reference(Appointment | AppointmentResponse | CarePlan | Claim | CommunicationRequest | Contract | CoverageEligibilityRequest | DeviceRequest | EnrollmentRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | RequestOrchestration | ServiceRequest | SupplyRequest | VisionPrescription) | Procedure that caused this media to be created
status | ?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: ?? (required)
modality | Σ | 0..* | CodeableConcept | Imaging modality used Binding: ?? (extensible): Type of acquired data in the instance.
type | S Σ | 1..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (preferred): Precise type of clinical document.
category | S Σ | 1..1 | CodeableConcept | Categorization of document Binding: ?? (example): High-level kind of document at a macro level.
subject | S Σ | 1..1 | Reference(Patient) | Who/what is the subject of the document
context |  | 0..* | Reference(Appointment | Encounter | EpisodeOfCare) | Context of the document content
event |  | 0..* | CodeableReference() | Main clinical acts documented Binding: ?? (example): This list of codes represents the main clinical acts being documented.
extension |  | 0..* | Extension | Additional content defined by implementations
concept | Σ | 1..1 | CodeableConcept | Reference to a concept (by class)
reference | Σ | 0..1 | Reference() | Reference to a resource (by instance)
bodySite | Σ | 0..* | CodeableReference(BodyStructure) | Body part included Binding: ?? (example): SNOMED CT Body site concepts
facilityType | S | 1..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (example): XDS Facility Type.
practiceSetting | S | 1..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: ?? (example): Additional details about where the content was created (e.g. clinical specialty).
period | S Σ | 0..1 | Period | Time of service that is being documented
extension |  | 0..* | Extension | Additional content defined by implementations
start | Σ | 0..1 | dateTime | Starting time with inclusive boundary
end | Σ | 0..1 | dateTime | End time with inclusive boundary, if not ongoing
date | S Σ | 0..1 | instant | When this document reference was created
author | S Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson | CareTeam) | Who and/or what authored the document
attester |  | 0..1 | BackboneElement | Attests to accuracy of the document
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
mode |  | 1..1 | CodeableConcept | personal | professional | legal | official Binding: ?? (preferred): The way in which a person authenticated a document.
time |  | 0..1 | dateTime | When the document was attested
party |  | 1..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) | Who attested the document
custodian |  | 0..1 | Reference(Organization) | Organization which maintains the document
relatesTo | S Σ | 0..* | BackboneElement | Relationships to other documents
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
code | Σ | 1..1 | CodeableConcept | The relationship type with another document Binding: ?? (extensible): The type of relationship between the documents.
target | Σ | 1..1 | Reference(DocumentReference) | Target of the relationship
description | Σ | 0..1 | markdown | Human-readable description
securityLabel | S Σ | 1..* | CodeableConcept | Document security-tags Binding: ?? (example): Example Security Labels from the Healthcare Privacy and Security Classification System.
content | Σ | 1..1 | BackboneElement | Document referenced
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
attachment | Σ | 1..1 | Attachment | Where to access the document
extension |  | 0..* | Extension | Additional content defined by implementations
contentType | Σ | 1..1 | code | Mime type of the content, with charset etc. Binding: ?? (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: text/plain; charset=UTF-8, image/png
language | S Σ | 1..1 | code | Human language of the content (BCP-47) Binding: ?? (required): IETF language tag for a human language. Example General: en-AU
url | Σ | 1..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png
size | Σ | 0..1 | integer64 | Number of bytes of content (if url provided)
hash | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed)
title | Σ | 0..1 | string | Label to display in place of the data Example General: Official Corporate Logo
creation | S Σ | 1..1 | dateTime | Date attachment was first created
height |  | 0..1 | positiveInt | Height of the image in pixels (photo/video)
width |  | 0..1 | positiveInt | Width of the image in pixels (photo/video)
frames |  | 0..1 | positiveInt | Number of frames if > 1 (photo)
duration |  | 0..1 | decimal | Length in seconds (audio / video)
pages |  | 0..1 | positiveInt | Number of printed pages
profile | S Σ | 1..1 | BackboneElement | Content profile rules for the document
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | Σ | 1..1 | Coding | Code|uri|canonical Binding: ?? (preferred): Document Format Codes.
Documentation for this format