Skip to content

Commit

Permalink
Merge pull request #34 from medizininformatik-initiative/33-use-below…
Browse files Browse the repository at this point in the history
…-modifier-for-profile-queries-for-kds-measure

Add below modifier to queries and add query for pseudonymised patients
  • Loading branch information
juliangruendner authored Sep 17, 2024
2 parents 9e98fdb + 1b134f6 commit 8298839
Showing 1 changed file with 98 additions and 7 deletions.
105 changes: 98 additions & 7 deletions Documentation/example-measures/example-measure-kds.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"criteria": {
"language": "text/x-fhir-query",
"expression": "Condition?_profile=https://www.medizininformatik-initiative.de/fhir/core/modul-diagnose/StructureDefinition/Diagnose"
"expression": "Condition?_profile:below=https://www.medizininformatik-initiative.de/fhir/core/modul-diagnose/StructureDefinition/Diagnose"
},
"id": "initial-population-identifier-1"
},
Expand Down Expand Up @@ -163,7 +163,7 @@
},
"criteria": {
"language": "text/x-fhir-query",
"expression": "Observation?_profile=https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/ObservationLab"
"expression": "Observation?_profile:below=https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/ObservationLab"
},
"id": "initial-population-identifier-2"
},
Expand Down Expand Up @@ -254,7 +254,7 @@
},
"criteria": {
"language": "text/x-fhir-query",
"expression": "Patient?_profile= https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient"
"expression": "Patient?_profile:below=https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient"
},
"id": "initial-population-identifier-3"
},
Expand Down Expand Up @@ -345,7 +345,98 @@
},
"criteria": {
"language": "text/x-fhir-query",
"expression": "MedicationAdministration?_profile=https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationAdministration"
"expression": "Patient?_profile:below=https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert"
},
"id": "initial-population-identifier-3-1"
},
{
"code": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "measure-population"
}
]
},
"criteria": {
"language": "text/fhirpath",
"expression": "Patient"
},
"id": "measure-population-identifier-3-1"
},
{
"code": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "measure-observation"
}
]
},
"criteria": {
"language": "text/fhirpath",
"expression": "Patient.id.value"
},
"extension": [
{
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod",
"valueCode": "unique-count"
},
{
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-criteriaReference",
"valueString": "measure-population-identifier-3-1"
}
],
"id": "measure-observation-identifier-3-1"
}
],
"stratifier": [
{
"criteria": {
"language": "text/fhirpath",
"expression": "Patient.birthDate.exists()"
},
"code": {
"coding": [
{
"system": "http://fhir-data-evaluator/strat/system",
"code": "patient-pseudonymised-birthdate-exists"
}
]
},
"id": "strat-9-1"
},
{
"criteria": {
"language": "text/fhirpath",
"expression": "Patient.gender"
},
"code": {
"coding": [
{
"system": "http://fhir-data-evaluator/strat/system",
"code": "patient-pseudonymised-gender"
}
]
},
"id": "strat-10-1"
}
]
},
{
"population": [
{
"code": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "initial-population"
}
]
},
"criteria": {
"language": "text/x-fhir-query",
"expression": "MedicationAdministration?_profile:below=https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationAdministration"
},
"id": "initial-population-identifier-4"
},
Expand Down Expand Up @@ -436,7 +527,7 @@
},
"criteria": {
"language": "text/x-fhir-query",
"expression": "Procedure?_profile=https://www.medizininformatik-initiative.de/fhir/core/modul-prozedur/StructureDefinition/Procedure"
"expression": "Procedure?_profile:below=https://www.medizininformatik-initiative.de/fhir/core/modul-prozedur/StructureDefinition/Procedure"
},
"id": "initial-population-identifier-5"
},
Expand Down Expand Up @@ -527,7 +618,7 @@
},
"criteria": {
"language": "text/x-fhir-query",
"expression": "Consent?_profile=https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung"
"expression": "Consent?_profile:below=https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung"
},
"id": "initial-population-identifier-6"
},
Expand Down Expand Up @@ -1428,7 +1519,7 @@
},
"criteria": {
"language": "text/x-fhir-query",
"expression": "Specimen?_profile=https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/Specimen"
"expression": "Specimen?_profile:below=https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/Specimen"
},
"id": "initial-population-identifier-7"
},
Expand Down

0 comments on commit 8298839

Please sign in to comment.