PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@crl-0.9.0
    http://fhir.ch/ig/ch-crl/StructureDefinition/ch-crl-condition-disease
description: Definition of the Condition for diseases
package_name: ch.fhir.ig.ch
derivation: constraint
name: CHCRLConditionDisease
type: Condition
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        dateOfDiagnosis:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/condition-assertedDate', index: 1}
          min: 1
          max: 1
  category:
    index: 2
    elements:
      coding:
        index: 3
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            index: 4
          code:
            pattern: {type: Code, value: 69441-4}
            index: 5
          display:
            pattern: {type: String, value: Other significant causes or conditions of death}
            index: 6
        required: [display, system, code]
    required: [coding]
  code:
    short: Identification of the disease
    index: 7
    elements:
      coding:
        index: 8
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            icd-10-gm:
              match: {system: 'http://fhir.de/CodeSystem/dimdi/icd-10-gm'}
              schema:
                short: ICD-10-GM
                array: true
                index: 9
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/dimdi/icd-10-gm'}
                    index: 10
                  version: {index: 11}
                  code: {index: 12}
                  display: {index: 13}
                required: [version, display, system, code]
  subject:
    type: Reference
    short: Patient
    refers: ['http://fhir.ch/ig/ch-crl/StructureDefinition/ch-crl-patient']
    index: 14
    elements:
      reference: {index: 15}
    required: [reference]
package_version: crl-0.9.0
extensions:
  dateOfDiagnosis: {url: 'http://hl7.org/fhir/StructureDefinition/condition-assertedDate', min: 1, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://fhir.ch/ig/ch-crl/StructureDefinition/ch-crl-condition-disease
base: http://hl7.org/fhir/StructureDefinition/Condition
version: 0.9.0
required: [extension, category, code]