PackagesCanonicalsLogsProblems
    Packages
    nr.gp.leumit@0.1.1
    http://fhir.leumit.co.il/StructureDefinition/leumit-diag-tmr
description: Leumit Diagnosis records - Source System:Tamar
package_name: nr.gp.leumit
derivation: constraint
name: LeumitDiagTmr
type: Condition
elements:
  id: {index: 0}
  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'}
                type: uri
                index: 3
              value: {index: 4}
            required: [system, value]
  code:
    elements:
      coding:
        index: 5
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 6
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 7
                  code: {index: 8}
                required: [code, system]
            icd9:
              match: {system: 'http://fhir.health.gov.il/ValueSet/icd9-cm-diagnoses'}
              schema:
                index: 9
                elements:
                  system:
                    pattern: {type: uri, value: 'http://fhir.health.gov.il/ValueSet/icd9-cm-diagnoses'}
                    type: uri
                    index: 10
                  code: {index: 11}
                required: [code, system]
            icd10:
              match: {system: 'http://hl7.org/fhir/sid/icd-10'}
              schema:
                index: 12
                elements:
                  system:
                    pattern: {type: uri, value: 'http://hl7.org/fhir/sid/icd-10'}
                    type: uri
                    index: 13
                  code: {index: 14}
                required: [code, system]
            icd9local:
              match: {system: 'http://fhir.leumit.co.il/cs/icd9-local'}
              schema:
                index: 15
                elements:
                  system:
                    pattern: {type: uri, value: 'http://fhir.leumit.co.il/cs/icd9-local'}
                    type: uri
                    index: 16
                  code: {index: 17}
                required: [code, system]
  subject:
    elements:
      reference: {index: 18}
    required: [reference]
  encounter:
    elements:
      reference: {index: 19}
    required: [reference]
  recorder:
    elements:
      reference: {index: 20}
    required: [reference]
package_version: 0.1.1
class: profile
kind: resource
url: http://fhir.leumit.co.il/StructureDefinition/leumit-diag-tmr
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-condition
version: null
required: [id, identifier]