PackagesCanonicalsLogsProblems
    Packages
    laniado.test.fhir.r4@0.1.13
    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: 17
  evidence:
    elements:
      code:
        index: 24
        slicing:
          rules: open
          description: ''
          discriminator:
          - {path: coding.system, type: value}
          min: null
          slices:
            kIcdTeur:
              match:
                coding: {system: 'http://fhir.laniado.org.il/CodeSystem/k-icd-teur'}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.laniado.org.il/ValueSet/k-icd-teur'}
                constraint:
                  k-icd-teur-ver: {source: 'http://fhir.laniado.org.il/StructureDefinition/laniado-condition', severity: error, expression: 'coding.where(system=''http://fhir.laniado.org.il/CodeSystem/k-matzav-mishp'' and (version=''1'' or version=''2'')).exists()'}
                array: true
                max: 2
                index: 25
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-icd-teur'}
                        index: 26
                      version: {short: k_icd_teur number (1 or 2), index: 27}
                      code: {index: 28}
                      userSelected:
                        pattern: {type: Boolean, value: true}
                        index: 29
                    required: [version, system, code]
  abatement:
    choices: [abatementDateTime]
    index: 20
  asserter:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-practitioner']
    index: 23
  recorder:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-practitioner']
    index: 22
  severity:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/condition-severity'}
    index: 0
    elements:
      coding:
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: null
          slices:
            severe:
              match: {code: '24484000', system: 'http://snomed.info/sct', display: Severe}
              schema:
                pattern:
                  type: Coding
                  value: {code: '24484000', system: 'http://snomed.info/sct', display: Severe}
                index: 2
              min: 0
              max: 1
            moderate:
              match: {code: '6736007', system: 'http://snomed.info/sct', display: Moderate}
              schema:
                pattern:
                  type: Coding
                  value: {code: '6736007', system: 'http://snomed.info/sct', display: Moderate}
                index: 3
              min: 0
              max: 1
            mild:
              match: {code: '255604002', system: 'http://snomed.info/sct', display: Mild}
              schema:
                pattern:
                  type: Coding
                  value: {code: '255604002', system: 'http://snomed.info/sct', display: Mild}
                index: 4
              min: 0
              max: 1
  onsetDateTime: {type: dateTime, choiceOf: onset, index: 18}
  bodySite:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/body-site'}
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: null
      slices:
        right:
          match: {}
          schema:
            index: 6
            elements:
              coding:
                pattern:
                  type: Coding
                  value: {code: '24028007', system: 'http://snomed.info/sct', display: Right}
                index: 7
              text:
                pattern: {type: String, value: Right}
                index: 8
        left:
          match: {}
          schema:
            index: 9
            elements:
              coding:
                pattern:
                  type: Coding
                  value: {code: '7771000', system: 'http://snomed.info/sct', display: Left}
                index: 10
              text:
                pattern: {type: String, value: Left}
                index: 11
        bilateral:
          match: {}
          schema:
            index: 12
            elements:
              coding:
                pattern:
                  type: Coding
                  value: {code: '51440002', system: 'http://snomed.info/sct', display: Bilateral}
                index: 13
              text:
                pattern: {type: String, value: Bilateral}
                index: 14
  abatementDateTime: {type: dateTime, choiceOf: abatement, index: 21}
  subject:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-patient']
    index: 15
package_version: 0.1.13
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