PackagesCanonicalsLogsProblems
    Packages
    laniado.test.fhir.r4@0.1.45
    http://fhir.laniado.org.il/StructureDefinition/laniado-condition
description: Laniado Proposed Condition Profile
package_name: laniado.test.fhir.r4
derivation: constraint
name: LaniadoCondition
type: Condition
elements:
  onset:
    choices: [onsetDateTime]
    index: 61
  clinicalStatus:
    elements:
      coding:
        index: 12
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: null
          slices:
            acute:
              match: {}
              schema:
                index: 13
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 14
                  code:
                    pattern: {type: Code, value: '2704003'}
                    index: 15
                  display:
                    pattern: {type: String, value: Acute disease}
                    index: 16
            chronic:
              match: {}
              schema:
                index: 17
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 18
                  code:
                    pattern: {type: Code, value: '27624003'}
                    index: 19
                  display:
                    pattern: {type: String, value: Chronic disease}
                    index: 20
  encounter:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/encounter-department']
    index: 59
  evidence:
    elements:
      code:
        index: 68
        slicing:
          rules: open
          discriminator:
          - {path: coding.system, type: value}
          min: null
          slices:
            kIcdTeur:
              match:
                coding: {system: 'http://fhir.laniado.org.il/CodeSystem/k-icd-teur'}
              schema:
                array: true
                max: 2
                index: 69
                elements:
                  coding:
                    extensions:
                      icdTeurInd: {url: 'http://fhir.laniado.org.il/StructureDefinition/ext-laniado-condition-evidence-identifier', min: 1, max: 1, type: Extension, index: 71}
                    elements:
                      extension:
                        index: 70
                        slicing:
                          slices:
                            icdTeurInd:
                              match: {}
                              schema: {type: Extension, url: 'http://fhir.laniado.org.il/StructureDefinition/ext-laniado-condition-evidence-identifier', index: 71}
                              min: 1
                              max: 1
                      system:
                        pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-icd-teur'}
                        index: 72
                      code: {index: 73}
                      userSelected:
                        pattern: {type: Boolean, value: true}
                        index: 74
                    required: [extension, system, code]
  abatement:
    choices: [abatementDateTime]
    index: 64
  asserter:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-practitioner']
    index: 67
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        k-sug-rec:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.laniado.org.il/StructureDefinition/ext-k-sug-rec', index: 1}
          min: 1
          max: 1
  recorder:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-practitioner']
    index: 66
  severity:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/condition-severity'}
    index: 21
    elements:
      coding:
        index: 22
        slicing:
          rules: open
          discriminator:
          - {path: value, type: value}
          min: null
          slices:
            severe:
              match: {value: null}
              schema:
                index: 23
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 24
                  code:
                    pattern: {type: Code, value: '24484000'}
                    index: 25
                  display:
                    pattern: {type: String, value: Severe}
                    index: 26
            moderate:
              match: {value: null}
              schema:
                index: 27
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 28
                  code:
                    pattern: {type: Code, value: '6736007'}
                    index: 29
                  display:
                    pattern: {type: String, value: Moderate}
                    index: 30
            mild:
              match: {value: null}
              schema:
                index: 31
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 32
                  code:
                    pattern: {type: Code, value: '255604002'}
                    index: 33
                  display:
                    pattern: {type: String, value: Mild}
                    index: 34
  code:
    elements:
      coding:
        index: 35
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            laniado:
              match: {system: 'http://fhir.laniado.org.il/CodeSystem/k-icd-lan'}
              schema:
                _required: true
                index: 36
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-icd-lan'}
                    index: 37
                required: [system]
            icd9cm:
              match: {system: 'http://hl7.org/fhir/sid/icd-9-cm'}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/icd9-cm-diagnoses'}
                index: 38
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://hl7.org/fhir/sid/icd-9-cm'}
                    index: 39
                required: [system]
            icd9il:
              match: {system: 'http://fhir.health.gov.il/cs/icd9il'}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/icd9il-diagnoses'}
                index: 40
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/icd9il'}
                    index: 41
                required: [system]
    required: [coding]
  identifier:
    index: 2
    elements:
      system: {index: 3}
      value: {short: The value that is unique within the system., index: 4}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        laniado:
          match: {system: 'http://fhir.laniado.org.il/Identifier/condition'}
          schema:
            short: Condition (emr_icd)
            index: 5
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/condition'}
                index: 6
              assigner:
                elements:
                  reference:
                    pattern: {type: String, value: Organization/01604}
                    index: 7
                  identifier:
                    index: 8
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                        index: 9
                      value:
                        pattern: {type: String, value: '01604'}
                        index: 10
                  display:
                    pattern: {type: String, value: בית חולים לניאדו}
                    index: 11
                required: [identifier]
  onsetDateTime: {type: dateTime, choiceOf: onset, index: 62}
  bodySite:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/body-site'}
    array: true
    max: 2
    index: 42
    slicing:
      rules: closed
      discriminator:
      - {path: $this, type: value}
      min: null
      max: 2
      slices:
        right:
          match: {}
          schema:
            index: 43
            elements:
              coding:
                index: 44
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 45
                  code:
                    pattern: {type: Code, value: '24028007'}
                    index: 46
                  display:
                    pattern: {type: String, value: Right}
                    index: 47
            required: [coding]
        left:
          match: {}
          schema:
            index: 48
            elements:
              coding:
                index: 49
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 50
                  code:
                    pattern: {type: Code, value: '7771000'}
                    index: 51
                  display:
                    pattern: {type: String, value: Left}
                    index: 52
            required: [coding]
        bilateral:
          match: {}
          schema:
            index: 53
            elements:
              coding:
                index: 54
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 55
                  code:
                    pattern: {type: Code, value: '51440002'}
                    index: 56
                  display:
                    pattern: {type: String, value: Bilateral}
                    index: 57
            required: [coding]
  abatementDateTime: {type: dateTime, choiceOf: abatement, index: 65}
  subject:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-patient']
    index: 58
package_version: 0.1.45
extensions:
  k-sug-rec: {url: 'http://fhir.laniado.org.il/StructureDefinition/ext-k-sug-rec', min: 1, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://fhir.laniado.org.il/StructureDefinition/laniado-condition
base: http://fhir.health.gov.il/StructureDefinition/il-core-condition
version: null
required: [extension]