PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.ashmc@0.3.2
    http://fhir.ashmc.co.il/StructureDefinition/ashmc-diagnosis-condition
description: Profile for ASHMC Diagnosis Condition
package_name: il.fhir.r4.ashmc
derivation: constraint
name: ASHMCDiagnosisCondition
type: Condition
elements:
  id: {index: 0}
  extension:
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        status-change:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.ashmc.co.il/StructureDefinition/status-change', index: 2}
          min: 0
          max: 1
  identifier:
    index: 3
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        cml:
          match: {system: 'http://fhir.ashmc.co.il/identifier/cml-diagnosis-id'}
          schema:
            index: 4
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/cml-diagnosis-id'}
                index: 5
            required: [system]
  clinicalStatus:
    elements:
      coding:
        index: 6
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            hl7:
              match: {system: 'http://terminology.hl7.org/CodeSystem/condition-clinical'}
              schema:
                index: 7
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/condition-clinical'}
                    index: 8
                required: [system]
            ash:
              match: {system: 'http://fhir.ashmc.co.il/cs/cml-diag-clinical-status'}
              schema:
                index: 9
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/cml-diag-clinical-status'}
                    index: 10
                required: [system]
  verificationStatus:
    elements:
      coding:
        index: 11
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            hl7:
              match: {system: 'http://terminology.hl7.org/CodeSystem/condition-ver-status'}
              schema:
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/condition-ver-status'}
                    index: 13
                required: [system]
            ash:
              match: {system: 'http://fhir.ashmc.co.il/cs/cml-diag-ver-status'}
              schema:
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/cml-diag-ver-status'}
                    index: 15
                required: [system]
  category:
    index: 16
    slicing:
      slices:
        ilcore:
          match: {}
          schema:
            index: 16
            elements:
              coding:
                index: 17
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: system, type: value}
                  min: null
                  slices:
                    ash:
                      match: {system: 'http://fhir.ashmc.co.il/cs/cml-diag-category'}
                      schema:
                        index: 18
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/cml-diag-category'}
                            index: 19
                        required: [system]
  code:
    elements:
      coding:
        index: 20
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 21
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 22
                  code: {index: 23}
                required: [system, code]
            icd9:
              match: {system: 'http://terminology.hl7.org/CodeSystem/icd9cm'}
              schema:
                index: 24
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/icd9cm'}
                    index: 25
                  code: {index: 26}
                required: [system, code]
            local:
              match: {system: 'http://fhir.ashmc.co.il/cs/cml-diag-code'}
              schema:
                index: 27
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/cml-diag-code'}
                    index: 28
                  code: {index: 29}
                required: [system, code]
            extend:
              match: {system: 'http://fhir.ashmc.co.il/cs/cml-diag-extended-code'}
              schema:
                index: 30
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/cml-diag-extended-code'}
                    index: 31
                  code: {index: 32}
                required: [system, code]
  encounter:
    elements:
      identifier:
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/cml-enc-session-id'}
            index: 33
package_version: 0.3.2
extensions:
  status-change: {url: 'http://fhir.ashmc.co.il/StructureDefinition/status-change', min: 0, max: 1, type: Extension, index: 2}
class: profile
kind: resource
url: http://fhir.ashmc.co.il/StructureDefinition/ashmc-diagnosis-condition
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-condition
version: null
required: [id]