PackagesCanonicalsLogsProblems
    Packages
    de.gecco@0.9.3
    https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/diagnosis-covid-19
description: Profile to capture the diagnosis of disease caused by 2019 novel coronavirus. Includes the stage at diagnosis.
package_name: de.gecco
derivation: constraint
name: DiagnosisCovid19
type: Condition
elements:
  verificationStatus:
    mustSupport: true
    index: 0
    elements:
      coding:
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            conditionVerificationStatus:
              match: {system: 'http://terminology.hl7.org/CodeSystem/condition-ver-status'}
              schema:
                pattern:
                  type: Coding
                  value: {system: 'http://terminology.hl7.org/CodeSystem/condition-ver-status'}
                _required: true
                index: 2
                elements:
                  system: {index: 3}
                  code: {index: 4}
                required: [system, code]
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: required, valueSet: 'https://www.netzwerk-universitaetsmedizin.de/fhir/ValueSet/verification-status'}
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                _required: true
                index: 5
              min: 1
              max: 1
    required: [coding]
  category:
    mustSupport: true
    index: 6
    elements:
      coding:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            infectiousDiseases:
              match: {code: '394807007', system: 'http://snomed.info/sct'}
              schema:
                pattern:
                  type: Coding
                  value: {code: '394807007', system: 'http://snomed.info/sct'}
                _required: true
                index: 8
                elements:
                  system: {index: 9}
                  code: {index: 10}
                required: [system, code]
    required: [coding]
  code:
    elements:
      coding:
        pattern:
          type: Coding
          value: {code: '840539006'}
        index: 11
        slicing:
          slices:
            sct:
              match: {}
              schema:
                pattern:
                  type: Coding
                  value: {code: '840539006'}
                _required: true
                index: 11
              min: 1
    required: [coding]
  stage:
    mustSupport: true
    index: 12
    elements:
      summary:
        mustSupport: true
        index: 13
        elements:
          coding:
            mustSupport: true
            index: 14
            slicing:
              rules: open
              discriminator:
              - {path: system, type: pattern}
              min: null
              slices:
                snomed:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    binding: {strength: preferred, valueSet: 'https://www.netzwerk-universitaetsmedizin.de/fhir/ValueSet/stage-at-diagnosis'}
                    mustSupport: true
                    index: 15
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: true
                        index: 16
                      code: {mustSupport: true, index: 17}
                    required: [system, code]
      type:
        mustSupport: true
        index: 18
        elements:
          coding:
            mustSupport: true
            index: 19
            slicing:
              rules: open
              discriminator:
              - {path: system, type: pattern}
              min: null
              slices:
                loinc:
                  match: {system: 'http://loinc.org'}
                  schema:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {code: 88859-4, system: 'http://loinc.org'}
                    index: 20
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 21
                      code:
                        mustSupport: true
                        pattern: {type: Code, value: 88859-4}
                        index: 22
                    required: [system, code]
    required: [summary, type]
package_version: 0.9.3
class: profile
kind: resource
url: https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/diagnosis-covid-19
base: https://www.medizininformatik-initiative.de/fhir/core/modul-diagnose/StructureDefinition/Diagnose
version: '0.9'
required: [category]