PackagesCanonicalsLogsProblems
    Packages
    rs/il.fhir.r4.dgmc@0.1.23
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-condition
description: DGMC Condition
package_name: rs/il.fhir.r4.dgmc
derivation: constraint
name: DGMCCondition
type: Condition
elements:
  category:
    array: true
    min: 2
    index: 11
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: pattern}
      min: 2
      slices:
        dgmc-component:
          match:
            coding:
            - {system: 'http://fhir.dgmc.health.gov.il/cs/diagnosis-component'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.dgmc.health.gov.il/cs/diagnosis-component'}
            _required: true
            type: CodeableConcept
            index: 12
            elements:
              coding:
                elements:
                  system: {index: 13}
                  code: {index: 14}
                  display: {index: 15}
                required: [code, display, system]
        ilcore:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-condition-category'}
            _required: true
            index: 16
            elements:
              coding:
                elements:
                  system: {index: 17}
                  code: {index: 18}
                  display: {index: 19}
                required: [code, display, system]
  clinicalStatus:
    index: 5
    elements:
      coding:
        index: 6
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/condition-clinical'}
            type: uri
            index: 7
          code: {index: 8}
          display: {index: 9}
        required: [code, display, system]
    required: [coding]
  encounter:
    elements:
      reference: {index: 36}
    required: [reference]
  recordedDate: {index: 37}
  id: {index: 0}
  recorder:
    elements:
      reference: {index: 38}
    required: [reference]
  code:
    elements:
      coding:
        index: 20
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            cml:
              match: {system: null}
              schema:
                _required: true
                index: 21
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/diagnosis-code-uri'}
                    index: 22
                  code: {index: 23}
                  display: {index: 24}
                required: [code, display, system]
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 25
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 26
                  code: {index: 27}
                  display: {index: 28}
                required: [code, display, system]
    required: [coding]
  identifier:
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        Rowid:
          match: {system: null}
          schema:
            _required: true
            index: 2
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-diagnosis-rowid-uri'}
                index: 3
              value: {index: 4}
            required: [system, value]
  bodySite:
    index: 29
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: coding.system, type: value}
      min: null
      slices:
        dgmc-side:
          match:
            coding: {system: 'http://snomed.info/sct'}
          schema:
            index: 30
            elements:
              coding:
                index: 31
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 32
                  code:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/body-site-laterlity'}
                    index: 33
                  display: {index: 34}
                required: [display, system]
  verificationStatus:
    elements:
      coding:
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/condition-ver-status'}
            type: uri
            index: 10
  subject:
    elements:
      reference: {index: 35}
    required: [reference]
package_version: 0.1.23
class: profile
kind: resource
url: http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-condition
base: http://fhir.health.gov.il/StructureDefinition/il-core-condition
version: 0.1.23
required: [clinicalStatus, id, identifier, recordedDate]