PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-crl@0.2.1
    http://fhir.ch/ig/ch-crl/StructureDefinition/ch-crl-condition-disease
description: Condition for diseases
package_name: ch.fhir.ig.ch-crl
derivation: constraint
name: CHCRLConditionDisease
type: Condition
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      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:
        array: true
        min: 1
        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:
    type: CodeableConcept
    short: Identification of the disease
    binding: {strength: preferred, valueSet: 'http://fhir.de/CodeSystem/dimdi/icd-10-gm'}
    index: 7
    elements:
      coding:
        array: true
        min: 1
        index: 8
        elements:
          system: {index: 9}
          version: {index: 10}
          code: {index: 11}
          display: {index: 12}
        required: [version, display, system, code]
    required: [coding]
  subject:
    type: Reference
    short: Patient
    refers: ['http://fhir.ch/ig/ch-crl/StructureDefinition/ch-crl-patient']
    index: 13
    elements:
      reference: {index: 14}
    required: [reference]
package_version: 0.2.1
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.2.1
required: [category, code]