PackagesCanonicalsLogsProblems
    Packages
    telus.dw.emr.extract-1-1-21@1.1.21
    https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwDocumentReference
description: '**CHR:** Documents are uploaded and managed in the **Files** section of the patient chart (active and archived views). Files can be tagged, sorted, and downloaded. DSQ Lab, DSQ Imaging, and OLIS results also appear here as linked documents.'
package_name: telus.dw.emr.extract-1-1-21
derivation: constraint
name: DwDocumentReference
type: DocumentReference
elements:
  category:
    mustSupport: true
    index: 9
    elements:
      text: {mustSupport: true, index: 10}
  date: {mustSupport: true, index: 12}
  meta:
    elements:
      lastUpdated: {index: 1}
      source: {index: 2}
    required: [lastUpdated, source]
  docStatus: {mustSupport: true, index: 7}
  content:
    mustSupport: true
    index: 16
    elements:
      attachment:
        elements:
          contentType: {mustSupport: true, index: 17}
          data: {mustSupport: true, index: 18}
          url: {mustSupport: true, index: 19}
          size: {mustSupport: true, index: 20}
          hash: {mustSupport: true, index: 21}
          title: {mustSupport: true, index: 22}
          creation: {mustSupport: true, index: 23}
  type: {mustSupport: true, index: 8}
  author:
    type: Reference
    mustSupport: true
    refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwOrganization', 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPatient', 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitioner', 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitionerRole']
    index: 13
    elements:
      reference: {mustSupport: true, index: 14}
      display: {mustSupport: true, index: 15}
  extension:
    index: 4
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        ClinicianAnnotation:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/ext-ClinicianAnnotation', index: 5}
          min: 0
          max: 1
  id: {mustSupport: true, index: 0}
  identifier: {mustSupport: true, index: 6}
  context:
    elements:
      encounter:
        type: Reference
        mustSupport: true
        refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwEncounter']
        index: 24
      period: {mustSupport: true, index: 25}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPatient', 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitioner']
    index: 11
  text: {mustSupport: true, index: 3}
package_version: 1.1.21
extensions:
  ClinicianAnnotation: {url: 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/ext-ClinicianAnnotation', min: 0, max: 1, type: Extension, mustSupport: true, index: 5}
class: profile
kind: resource
url: https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwDocumentReference
base: http://hl7.org/fhir/StructureDefinition/DocumentReference
version: 2.0.0
required: [id, text, identifier, subject]