PackagesCanonicalsLogsProblems
    Packages
    laniado.test.fhir.r4@0.1.62
    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: 64
  clinicalStatus:
    elements:
      coding:
        index: 12
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          - {path: code, type: value}
          min: null
          slices:
            acute:
              match: {system: 'http://snomed.info/sct', code: '2704003'}
              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
                required: [system, code]
            chronic:
              match: {system: 'http://snomed.info/sct', code: '27624003'}
              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
                required: [system, code]
  encounter:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/encounter-department']
    index: 62
  evidence:
    elements:
      code:
        index: 71
        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: 72
                elements:
                  coding:
                    extensions:
                      icdTeurInd: {url: 'http://fhir.laniado.org.il/StructureDefinition/ext-condition-evidence-identifier', min: 1, max: 1, type: Extension, index: 74}
                    elements:
                      extension:
                        index: 73
                        slicing:
                          slices:
                            icdTeurInd:
                              match: {}
                              schema: {type: Extension, url: 'http://fhir.laniado.org.il/StructureDefinition/ext-condition-evidence-identifier', index: 74}
                              min: 1
                              max: 1
                      system:
                        pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-icd-teur'}
                        index: 75
                      code: {index: 76}
                      userSelected:
                        pattern: {type: Boolean, value: true}
                        index: 77
                    required: [extension, system, code]
  abatement:
    choices: [abatementDateTime]
    index: 67
  asserter:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-practitioner']
    index: 70
  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: 69
  severity:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/condition-severity'}
    index: 21
    elements:
      coding:
        index: 22
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          - {path: code, type: value}
          min: null
          slices:
            severe:
              match: {system: 'http://snomed.info/sct', code: '24484000'}
              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
                required: [system, code]
            moderate:
              match: {system: 'http://snomed.info/sct', code: '6736007'}
              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
                required: [system, code]
            mild:
              match: {system: 'http://snomed.info/sct', code: '255604002'}
              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
                required: [system, code]
  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: 65}
  bodySite:
    index: 42
    slicing:
      rules: closed
      discriminator:
      - {path: coding.system, type: value}
      - {path: coding.code, type: value}
      min: null
      slices:
        right:
          match:
            coding: {system: null, code: null}
          schema:
            index: 43
            elements:
              coding:
                index: 44
                slicing:
                  rules: open
                  discriminator:
                  - {path: code, type: value}
                  min: 1
                  slices:
                    default:
                      match: {code: '24028007'}
                      schema:
                        _required: true
                        index: 45
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 46
                          code:
                            pattern: {type: Code, value: '24028007'}
                            index: 47
                          display:
                            pattern: {type: String, value: Right}
                            index: 48
                        required: [system, code]
            required: [coding]
        left:
          match:
            coding: {system: null, code: null}
          schema:
            index: 49
            elements:
              coding:
                index: 50
                slicing:
                  rules: open
                  discriminator:
                  - {path: code, type: value}
                  min: 1
                  slices:
                    default:
                      match: {code: '7771000'}
                      schema:
                        _required: true
                        index: 51
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 52
                          code:
                            pattern: {type: Code, value: '7771000'}
                            index: 53
                          display:
                            pattern: {type: String, value: Left}
                            index: 54
                        required: [system, code]
            required: [coding]
        bilateral:
          match:
            coding: {system: null, code: null}
          schema:
            index: 55
            elements:
              coding:
                index: 56
                slicing:
                  rules: open
                  discriminator:
                  - {path: code, type: value}
                  min: 1
                  slices:
                    default:
                      match: {code: '51440002'}
                      schema:
                        _required: true
                        index: 57
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 58
                          code:
                            pattern: {type: Code, value: '51440002'}
                            index: 59
                          display:
                            pattern: {type: String, value: Bilateral}
                            index: 60
                        required: [system, code]
            required: [coding]
  abatementDateTime: {type: dateTime, choiceOf: abatement, index: 68}
  subject:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-patient']
    index: 61
package_version: 0.1.62
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]