## Union of http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference and http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/cmc-document-reference

This is the set of resources that conform to either of the profiles US Core ADI DocumentReference Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference) and Document Reference Attachment (http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/cmc-document-reference). 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 |  | 0..* |  | A reference to a document
meta | Σ | 0..1 | Meta | Metadata about the resource
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): left: A human language.; right: 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 | left: Extension; right: Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
masterIdentifier | Σ | 0..1 | Identifier | Master Version Specific Identifier
identifier | S Σ | 0..* | Identifier | left: Other identifiers for the document; right: Business identifiers for the document
status | ?!S Σ | 1..1 | code | current | superseded | entered-in-error Binding: ?? (required): The status of the document reference.
docStatus | Σ | 0..1 | code | left: preliminary | final | amended | entered-in-error; right: registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown Binding Description: (required) ⚠: Status of the underlying document.
type | S Σ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (extensible): left: Advance Directives Content Type; right: Precise type of clinical document.
category | S Σ | 0..* | CodeableConcept | Categorization of document Binding: ?? (example): left: High-level kind of a clinical document at a macro level.; right: High-level kind of document at a macro level.
subject | S Σ | 0..1 | Reference(Resource) | Who/what is the subject of the document
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
authenticator | S | 0..1 | Reference(US Core Practitioner Profile S | US Core Organization Profile | US Core PractitionerRole Profile) | Who/what authenticated the document
custodian |  | 0..1 | Reference(Organization) | Organization which maintains the document
relatesTo | Σ | 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 |  | left: replaces | transforms | signs | appends; right: The relationship type with another document Binding Description: (extensible) ⚠: left: The type of relationship between documents.; right: The type of relationship between the documents.
code |  |  | code |
code |  |  | CodeableConcept |
target | Σ | 1..1 | Reference(DocumentReference) | Target of the relationship
description | Σ | 0..1 |  | Human-readable description
description |  |  | string |
description |  |  | markdown |
securityLabel | Σ | 0..* | CodeableConcept | Document security-tags Binding: ?? (extensible): left: Security Labels from the Healthcare Privacy and Security Classification System.; right: Example Security Labels from the Healthcare Privacy and Security Classification System.
content | S Σ | 1..* | BackboneElement | Document referenced
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
attachment | S Σ C | 1..1 | Attachment | Where to access the document Constraints: us-core-6
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
contentType | S Σ | 0..1 | code | Mime type of the content, with charset etc. Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png
language | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
Example General: en-AU
data | S C | 0..1 | base64Binary | Data inline, base64ed
url | S Σ C | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png
size | Σ | 0..1 | unsignedInt | 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 | Σ | 0..1 | dateTime | Date attachment was first created
format | S Σ | 0..1 | Coding | Format/content rules for the document Binding: ?? (extensible)
profile | Σ | 0..* | BackboneElement | Content profile rules for the document
context | Σ | 0..* |  | left: Clinical context of document; right: Context of the document content
contextAll Types |  |  |  | Content/Rules for all Types
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
encounter |  | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document content
event |  | 0..* | CodeableConcept | Main clinical acts documented Binding: ?? (example): This list of codes represents the main clinical acts being documented.
period | Σ | 0..1 | Period | Time of service that is being documented
facilityType |  | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (example): XDS Facility Type.
practiceSetting |  | 0..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).
sourcePatientInfo |  | 0..1 | Reference(Patient) | Patient demographics from source
related |  | 0..* | Reference(Resource) | Related identifiers or resources
context |  |  | BackboneElement |
context |  |  | Reference(Appointment | Encounter | EpisodeOfCare) |
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
modality | Σ | 0..* | CodeableConcept | Imaging modality used Binding: ?? (extensible): Type of acquired data in the instance.
event |  | 0..* | CodeableReference() | Main clinical acts documented Binding: ?? (example): This list of codes represents the main clinical acts being documented.
bodySite | Σ | 0..* | CodeableReference(BodyStructure) | Body part included Binding: ?? (example): SNOMED CT Body site concepts
facilityType | C | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (example): XDS Facility Type.
practiceSetting | C | 0..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 | Σ | 0..1 | Period | Time of service that is being documented
attester |  | 0..* | BackboneElement | Attests to accuracy of the document
Documentation for this format