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. package_name: ca.infoway.io.erec derivation: constraint name: DocumentReference type: DocumentReference elements: meta: {index: 0} identifier: elements: system: {mustSupport: true, index: 1} value: {mustSupport: true, index: 2} status: {mustSupport: true, index: 3} type: {mustSupport: true, index: 4} subject: type: Reference mustSupport: true refers: ['https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient'] index: 5 author: type: Reference mustSupport: true refers: ['https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Practitioner', 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole'] index: 6 content: mustSupport: true index: 7 elements: attachment: {mustSupport: true, index: 8} context: elements: related: type: Reference mustSupport: true refers: ['https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest'] index: 9 package_version: 1.0.0-dft-ballot class: profile kind: resource url: https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-DocumentReference base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 0.1.0