PackagesCanonicalsLogsProblems
    Packages
    ca.on.health.idms@1.0.9
    https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-DocumentReference
description: This is for the Generated Submission PDFs, Generated Letters and later Consent documents
package_name: ca.on.health.idms
derivation: constraint
name: IDMSDocumentReference
type: DocumentReference
elements:
  practiceSetting: {index: 26}
  description: {index: 33}
  category: {index: 20}
  date: {index: 28}
  docStatus: {index: 8}
  content:
    index: 35
    extensions: {}
    elements:
      extension: {index: 36}
      modifierExtension: {index: 37}
      attachment: {index: 38}
      profile:
        array: true
        max: 2
        index: 39
        extensions: {}
        elements:
          extension: {index: 40}
          modifierExtension: {index: 41}
  attester: {index: 30}
  type:
    index: 10
    extensions: {}
    elements:
      extension: {index: 11}
      coding:
        index: 12
        extensions: {}
        elements:
          extension: {index: 13}
          system:
            pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-Internal'}
            type: uri
            index: 14
          version: {index: 15}
          code:
            binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-DocumentReference-Types'}
            index: 16
          display: {index: 17}
          userSelected: {index: 18}
        required: [code, system]
      text: {index: 19}
    required: [coding]
  modality: {index: 9}
  facilityType: {index: 25}
  author: {type: Reference, index: 29}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        createdUser:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedUser', index: 1}
          min: 1
          max: 1
        createdDate:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedDate', index: 2}
          min: 1
          max: 1
        updatedUser:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedUser', index: 3}
          min: 1
          max: 1
        updatedDate:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedDate', index: 4}
          min: 1
          max: 1
  event: {index: 23}
  custodian: {index: 31}
  status: {index: 7}
  identifier: {index: 5}
  bodySite: {index: 24}
  relatesTo: {index: 32}
  context: {index: 22}
  period: {index: 27}
  basedOn: {type: Reference, index: 6}
  securityLabel: {index: 34}
  subject: {index: 21}
package_version: 1.0.9
extensions:
  createdUser: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedUser', min: 1, max: 1, type: Extension, index: 1}
  createdDate: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedDate', min: 1, max: 1, type: Extension, index: 2}
  updatedUser: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedUser', min: 1, max: 1, type: Extension, index: 3}
  updatedDate: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedDate', min: 1, max: 1, type: Extension, index: 4}
class: profile
kind: resource
url: https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-DocumentReference
base: http://hl7.org/fhir/StructureDefinition/DocumentReference
version: 1.0.0
required: [type]