PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.dgmc@0.1.21
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-condition
description: DGMC Condition
package_name: il.fhir.r4.dgmc
derivation: constraint
name: DGMCCondition
type: Condition
elements:
  category:
    array: true
    min: 2
    index: 10
    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
            index: 11
            elements:
              coding:
                elements:
                  system: {index: 12}
                  code: {index: 13}
                  display: {index: 14}
                required: [display, system, code]
        ilcore:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-condition-category'}
            _required: true
            index: 15
            elements:
              coding:
                elements:
                  system: {index: 16}
                  code: {index: 17}
                  display: {index: 18}
                required: [display, system, code]
  clinicalStatus:
    index: 5
    elements:
      coding:
        index: 6
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/condition-clinical'}
            index: 7
          code: {index: 8}
          display: {index: 9}
        required: [display, system, code]
    required: [coding]
  encounter:
    elements:
      reference: {index: 26}
    required: [reference]
  recordedDate: {index: 27}
  id: {index: 0}
  recorder:
    elements:
      reference: {index: 28}
    required: [reference]
  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: [value, system]
  bodySite:
    index: 19
    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: 20
            elements:
              coding:
                index: 21
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 22
                  code:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/body-site-laterlity'}
                    index: 23
                  display: {index: 24}
                required: [display, system]
  subject:
    elements:
      reference: {index: 25}
    required: [reference]
package_version: 0.1.21
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.21
required: [clinicalStatus, id, identifier, recordedDate]