PackagesCanonicalsLogsProblems
    Packages
    OntarioacCDRFHIRImplementationGuide-0.10.00@0.1.0
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-DocumentReference
description: null
package_name: OntarioacCDRFHIRImplementationGuide-0.10.00
derivation: constraint
name: CDRDocumentReference
type: DocumentReference
elements:
  category:
    binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/document-category'}
    mustSupport: true
    index: 12
  date: {mustSupport: true, index: 14}
  meta:
    index: 0
    elements:
      profile:
        pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-DocumentReference'}
        index: 1
    required: [profile]
  docStatus: {mustSupport: true, index: 3}
  content:
    mustSupport: true
    index: 18
    elements:
      attachment:
        mustSupport: true
        index: 19
        elements:
          contentType: {mustSupport: true, index: 20}
          data: {mustSupport: true, index: 21}
          url: {mustSupport: true, index: 22}
          title: {mustSupport: true, index: 23}
  type:
    mustSupport: true
    index: 4
    elements:
      coding:
        index: 5
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            slice-local-document-type:
              match: {system: null}
              schema:
                binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/local-document-type'}
                _required: true
                index: 6
                elements:
                  system: {index: 7}
                  code: {index: 8}
                required: [system, code]
            slice-provincial-document-type:
              match: {system: null}
              schema:
                binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/provincial-document-type'}
                index: 9
                elements:
                  system: {index: 10}
                  code: {index: 11}
                required: [system, code]
  author:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-practitioner']
    index: 15
  custodian:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Organization']
    index: 17
  identifier: {mustSupport: true, index: 2}
  context:
    mustSupport: true
    index: 24
    elements:
      encounter:
        type: Reference
        refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Encounter']
        index: 25
      related:
        type: Reference
        mustSupport: true
        refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-observation-for-document']
        index: 26
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Patient']
    index: 13
  authenticator:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-practitioner']
    index: 16
package_version: 0.1.0
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-DocumentReference
base: http://hl7.org/fhir/StructureDefinition/DocumentReference
version: null
required: [docStatus, author, identifier, subject, type, date]