PackagesCanonicalsLogsProblems
    Packages
    rs/ca.on.ehr.r4@1.0.0-snapshot6
    http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-composition-document
description: null
package_name: rs/ca.on.ehr.r4
derivation: constraint
name: CompositionDocumentEHR
type: Composition
elements:
  category:
    type: CodeableConcept
    short: Concept - reference to a terminology or just  text
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/document-classcodes'}
    mustSupport: true
    index: 9
    elements:
      coding:
        index: 10
        elements:
          system: {index: 11}
        required: [system]
    required: [coding]
  date: {mustSupport: true, index: 15}
  meta:
    mustSupport: true
    index: 0
    elements:
      lastUpdated: {mustSupport: true, index: 1}
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-encounter']
    index: 13
    elements:
      reference: {mustSupport: true, index: 14}
    required: [reference]
  section:
    mustSupport: true
    index: 31
    elements:
      id: {index: 32}
      code:
        type: CodeableConcept
        short: Concept - reference to a terminology or just  text
        mustSupport: true
        index: 33
        elements:
          coding:
            index: 34
            elements:
              system: {index: 35}
            required: [system]
        required: [coding]
      text: {mustSupport: true, index: 36}
      entry:
        type: Reference
        mustSupport: true
        refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-binary']
        index: 37
        elements:
          reference: {mustSupport: true, index: 38}
        required: [reference]
    required: [id]
  type:
    type: CodeableConcept
    short: Concept - reference to a terminology or just  text
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/doc-typecodes'}
    mustSupport: true
    index: 6
    elements:
      coding:
        index: 7
        elements:
          system: {index: 8}
        required: [system]
    required: [coding]
  title: {mustSupport: true, index: 18}
  author:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-organization', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole']
    index: 16
    elements:
      reference: {mustSupport: true, index: 17}
    required: [reference]
  event:
    mustSupport: true
    index: 25
    elements:
      period:
        mustSupport: true
        index: 26
        elements:
          start: {mustSupport: true, index: 27}
          end: {mustSupport: true, index: 28}
        required: [start]
      detail:
        type: Reference
        mustSupport: true
        refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-serviceRequest']
        index: 29
        elements:
          reference: {mustSupport: true, index: 30}
        required: [reference]
    required: [period]
  custodian:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-organization']
    index: 19
    elements:
      reference: {mustSupport: true, index: 20}
    required: [reference]
  status: {mustSupport: true, index: 5}
  identifier:
    mustSupport: true
    index: 2
    elements:
      system: {mustSupport: true, index: 3}
      value: {mustSupport: true, index: 4}
    required: [system, value]
  relatesTo:
    mustSupport: true
    index: 21
    elements:
      code: {mustSupport: true, index: 22}
      target:
        mustSupport: true
        choices: []
        index: 24
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient']
    index: 12
package_version: 1.0.0-snapshot6
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-composition-document
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 1.0.0
required: [custodian, identifier, section, subject]