PackagesCanonicalsLogsProblems
    Packages
    accdr.fhir.ig.pkg@0.9.0-alpha
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Condition
description: null
package_name: accdr.fhir.ig.pkg
derivation: constraint
name: Condition
type: Condition
elements:
  code:
    mustSupport: true
    index: 0
    elements:
      coding:
        mustSupport: true
        index: 1
        elements:
          system: {mustSupport: true, index: 2}
          code: {mustSupport: true, index: 3}
          display: {mustSupport: true, index: 4}
        required: [display, code]
      text: {mustSupport: true, index: 5}
    slicing:
      rules: open
      discriminator:
      - {path: coding.system, type: value}
      min: 1
      slices:
        slice-icd-10-ca-code:
          match:
            coding: {system: 'http://terminology.hl7.org/CodeSystem/icd10-CA'}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/ICD10CA'}
            mustSupport: true
            index: 6
            elements:
              coding:
                mustSupport: true
                index: 7
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/icd10-CA'}
                    mustSupport: true
                    index: 8
                  code: {mustSupport: true, index: 9}
                  display: {mustSupport: true, index: 10}
                required: [display, system, code]
            required: [coding]
        slice-snomed-ct-code:
          match:
            coding: {system: 'http://snomed.info/sct'}
          schema:
            binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode'}
            mustSupport: true
            index: 11
            elements:
              coding:
                mustSupport: true
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    index: 13
                  code: {mustSupport: true, index: 14}
                  display: {mustSupport: true, index: 15}
                required: [display, system, code]
            required: [coding]
package_version: 0.9.0-alpha
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Condition
base: http://hl7.org/fhir/StructureDefinition/Condition
version: null
required: [code]