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

A reference to a document of any kind for any purpose. Provides metadata about the document so that the document can be discovered and managed. The scope of a document is any seralized object with a mime-type, so includes formal patient centric documents (CDA), cliical notes, scanned paper, and non-patient specific documents like policy text.
description: A reference to a document of any kind for any purpose. Provides metadata about the document so that the document can be discovered and managed. The scope of a document is any seralized object with a mime-type, so includes formal patient centric documents (CDA), cliical notes, scanned paper, and non-patient specific documents like policy text.
derivation: specialization
name: DocumentReference
type: DocumentReference
elements:
  description: {short: Human-readable description, isSummary: true, index: 14}
  category:
    short: Categorization of document
    array: true
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/document-classcodes'}
    isSummary: true
    index: 5
  date: {short: When this document reference was created, isSummary: true, index: 7}
  docStatus:
    short: preliminary | final | amended | entered-in-error
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/composition-status|4.0.1'}
    isSummary: true
    index: 3
  content:
    min: 1
    short: Document referenced
    array: true
    isSummary: true
    index: 16
    elements:
      attachment: {short: Where to access the document, isSummary: true, index: 17}
      format:
        short: Format/content rules for the document
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/formatcodes'}
        isSummary: true
        index: 18
    required: [attachment]
  type:
    short: Kind of document (LOINC if possible)
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/c80-doc-typecodes'}
    isSummary: true
    index: 4
  author: {short: Who and/or what authored the document, array: true, isSummary: true, index: 8}
  masterIdentifier: {short: Master Version Specific Identifier, isSummary: true, index: 0}
  custodian: {short: Organization which maintains the document, index: 10}
  status:
    isModifier: true
    short: current | superseded | entered-in-error
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1'}
    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: 2
  identifier: {short: Other identifiers for the document, array: true, isSummary: true, index: 1}
  relatesTo:
    short: Relationships to other documents
    array: true
    isSummary: true
    index: 11
    elements:
      code:
        short: replaces | transforms | signs | appends
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1'}
        isSummary: true
        index: 12
      target: {short: Target of the relationship, isSummary: true, index: 13}
    required: [target, code]
  context:
    short: Clinical context of document
    isSummary: true
    index: 19
    elements:
      encounter: {short: Context of the document  content, array: true, index: 20}
      event:
        short: Main clinical acts documented
        array: true
        binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActCode'}
        index: 21
      period: {short: Time of service that is being documented, isSummary: true, index: 22}
      facilityType:
        short: Kind of facility where patient was seen
        binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/c80-facilitycodes'}
        index: 23
      practiceSetting:
        short: Additional details about where the content was created (e.g. clinical specialty)
        binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/c80-practice-codes'}
        index: 24
      sourcePatientInfo: {short: Patient demographics from source, index: 25}
      related: {short: Related identifiers or resources, array: true, index: 26}
  securityLabel:
    short: Document security-tags
    array: true
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/security-labels'}
    isSummary: true
    index: 15
  subject: {short: Who/what is the subject of the document, isSummary: true, index: 6}
  authenticator: {short: Who/what authenticated the document, index: 9}
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/DocumentReference
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.0.1
required: [status, content]