http://hl7.org/fhir/StructureDefinition/DocumentReference|5.0.0

A reference to a document of any kind for any purpose. While the term “document” implies a more narrow focus, for this resource this “document” encompasses *any* serialized object with a mime-type, it includes formal patient-centric documents (CDA), clinical notes, scanned paper, non-patient specific documents like policy text, as well as a photo, video, or audio recording acquired or used in healthcare. The DocumentReference resource provides metadata about the document so that the document can be discovered and managed. The actual content may be inline base64 encoded data or provided by direct reference.
description: A reference to a document of any kind for any purpose. While the term “document” implies a more narrow focus, for this resource this “document” encompasses *any* serialized object with a mime-type, it includes formal patient-centric documents (CDA), clinical notes, scanned paper, non-patient specific documents like policy text, as well as a photo, video, or audio recording acquired or used in healthcare.  The DocumentReference resource provides metadata about the document so that the document can be discovered and managed.  The actual content may be inline base64 encoded data or provided by direct reference.
derivation: specialization
name: DocumentReference
type: DocumentReference
elements:
  practiceSetting:
    isModifier: false
    short: Additional details about where the content was created (e.g. clinical specialty)
    mustSupport: false
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/c80-practice-codes'}
    isSummary: false
    index: 13
  description: {isModifier: false, short: Human-readable description, mustSupport: false, isSummary: true, index: 25}
  category:
    isModifier: false
    short: Categorization of document
    mustSupport: false
    array: true
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/referenced-item-category'}
    isSummary: true
    index: 7
  date: {isModifier: false, short: When this document reference was created, mustSupport: false, isSummary: true, index: 15}
  docStatus:
    isModifier: false
    short: registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
    mustSupport: false
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/composition-status|5.0.0'}
    isSummary: true
    index: 4
  content:
    min: 1
    isModifier: false
    short: Document referenced
    index: 27
    mustSupport: false
    array: true
    elements:
      attachment: {isModifier: false, short: Where to access the document, mustSupport: false, isSummary: true, index: 28}
      profile:
        isModifier: false
        short: Content profile rules for the document
        mustSupport: false
        array: true
        isSummary: true
        index: 29
        elements:
          value:
            isModifier: false
            short: Code|uri|canonical
            mustSupport: false
            choices: []
            isSummary: true
            index: 31
        required: [value]
    required: [attachment]
    isSummary: true
  attester:
    isModifier: false
    short: Attests to accuracy of the document
    mustSupport: false
    array: true
    isSummary: false
    index: 17
    elements:
      mode:
        isModifier: false
        short: personal | professional | legal | official
        mustSupport: false
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/composition-attestation-mode'}
        isSummary: false
        index: 18
      time: {isModifier: false, short: When the document was attested, mustSupport: false, isSummary: false, index: 19}
      party: {isModifier: false, short: Who attested the document, mustSupport: false, isSummary: false, index: 20}
    required: [mode]
  type:
    isModifier: false
    short: Kind of document (LOINC if possible)
    mustSupport: false
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/doc-typecodes'}
    isSummary: true
    index: 6
  modality:
    isModifier: false
    short: Imaging modality used
    mustSupport: false
    array: true
    binding: {strength: extensible, valueSet: 'http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_33.html'}
    isSummary: true
    index: 5
  facilityType:
    isModifier: false
    short: Kind of facility where patient was seen
    mustSupport: false
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/c80-facilitycodes'}
    isSummary: false
    index: 12
  author: {isModifier: false, short: Who and/or what authored the document, mustSupport: false, array: true, isSummary: true, index: 16}
  event:
    isModifier: false
    short: Main clinical acts documented
    mustSupport: false
    array: true
    binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActCode'}
    isSummary: false
    index: 10
  custodian: {isModifier: false, short: Organization which maintains the document, mustSupport: false, isSummary: false, index: 21}
  status:
    isModifier: true
    short: current | superseded | entered-in-error
    mustSupport: false
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/document-reference-status|5.0.0'}
    isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
    isSummary: true
    index: 3
  identifier: {isModifier: false, short: Business identifiers for the document, mustSupport: false, array: true, isSummary: true, index: 0}
  bodySite:
    isModifier: false
    short: Body part included
    mustSupport: false
    array: true
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/body-site'}
    isSummary: true
    index: 11
  relatesTo:
    isModifier: false
    short: Relationships to other documents
    mustSupport: false
    array: true
    isSummary: true
    index: 22
    elements:
      code:
        isModifier: false
        short: The relationship type with another document
        mustSupport: false
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/document-relationship-type'}
        isSummary: true
        index: 23
      target: {isModifier: false, short: Target of the relationship, mustSupport: false, isSummary: true, index: 24}
    required: [target, code]
  context: {isModifier: false, short: Context of the document content, mustSupport: false, array: true, isSummary: false, index: 9}
  period: {isModifier: false, short: Time of service that is being documented, mustSupport: false, isSummary: true, index: 14}
  basedOn: {isModifier: false, short: Procedure that caused this media to be created, mustSupport: false, array: true, isSummary: false, index: 2}
  version: {isModifier: false, short: An explicitly assigned identifer of a variation of the content in the DocumentReference, mustSupport: false, isSummary: true, index: 1}
  securityLabel:
    isModifier: false
    short: Document security-tags
    mustSupport: false
    array: true
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/security-label-examples'}
    isSummary: true
    index: 26
  subject: {isModifier: false, short: Who/what is the subject of the document, mustSupport: false, isSummary: true, index: 8}
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/DocumentReference
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 5.0.0
required: [status, content]