PackagesCanonicalsLogsProblems
    Packages
    leumit.fhir.r4@0.7.1
    http://fhir.leumit.co.il/StructureDefinition/leumit-diag-tmr
description: Leumit Diagnosis records - Source System:Tamar
package_name: leumit.fhir.r4
derivation: constraint
name: LeumitDiagTmr
type: Condition
elements:
  category:
    index: 7
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/condition-category'}
            index: 8
  clinicalStatus:
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/condition-clinical'}
            index: 5
  encounter:
    elements:
      reference: {index: 24}
    required: [reference]
  id: {index: 0}
  recorder:
    elements:
      reference: {index: 25}
    required: [reference]
  severity:
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 9
  code:
    elements:
      coding:
        index: 10
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 11
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 12
                  code: {index: 13}
                required: [system, code]
            icd9:
              match: {system: 'http://fhir.health.gov.il/ValueSet/icd9-cm-diagnoses'}
              schema:
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.health.gov.il/ValueSet/icd9-cm-diagnoses'}
                    index: 15
                  code: {index: 16}
                required: [system, code]
            icd10:
              match: {system: 'http://hl7.org/fhir/sid/icd-10'}
              schema:
                index: 17
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://hl7.org/fhir/sid/icd-10'}
                    index: 18
                  code: {index: 19}
                required: [system, code]
            icd9local:
              match: {system: 'http://fhir.leumit.co.il/cs/icd9-local'}
              schema:
                index: 20
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.leumit.co.il/cs/icd9-local'}
                    index: 21
                  code: {index: 22}
                required: [system, code]
  identifier:
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: 1
      max: 1
      slices:
        tmr:
          match: {system: 'http://fhir.leumit.co.il/identifier/diag-tmr'}
          schema:
            _required: true
            index: 2
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.leumit.co.il/identifier/diag-tmr'}
                index: 3
              value: {index: 4}
            required: [value, system]
  verificationStatus:
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/condition-ver-status'}
            index: 6
  subject:
    elements:
      reference: {index: 23}
    required: [reference]
package_version: 0.7.1
class: profile
kind: resource
url: http://fhir.leumit.co.il/StructureDefinition/leumit-diag-tmr
base: http://fhir.health.gov.il/StructureDefinition/il-core-condition
version: 0.7.1
required: [id, identifier]