BBMRI.de/GBA Implementation Guide
1.2.0 - CI Build

BBMRI.de/GBA Implementation Guide - Local Development build (v1.2.0). See the Directory of published versions

Library: Patient Quality Reports

Official URL: https://fhir.bbmri.de/Library/PatientQualityReports Version: 1.2.0
Active as of 2023-09-01 Computable Name: PatientQualityReports

This library contains various expressions used in different patient related quality reports.

Related Artifacts

depends-onhttp://hl7.org/fhir/Library/FHIR-ModelInfo|4.0.0
depends-onhttp://hl7.org/fhir/Library/FHIRHelpers|4.0.0
depends-onICD-10
depends-onhttp://fhir.de/CodeSystem/dimdi/icd-10-gm

Contents

text/cql

library Retrieve
using FHIR version '4.0.0'
include FHIRHelpers version '4.0.0'

codesystem icd10: 'http://hl7.org/fhir/sid/icd-10'
codesystem icd10Gm: 'http://fhir.de/CodeSystem/dimdi/icd-10-gm'

context Patient

define InInitialPopulation:
  true

define AgeClass:
  (AgeInYears() div 10) * 10

define Gender:
  Patient.gender

define HasCovid19:
  exists([Condition: Code 'U07.1' from icd10]) or
  exists([Condition: Code 'U07.2' from icd10]) or
  exists([Condition: Code 'U07.1' from icd10Gm]) or
  exists([Condition: Code 'U07.2' from icd10Gm])

Content not shown - (application/elm+xml, size = 11Kb)