-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from MeasureAuthoringTool/feature/MAT-7801-res…
…ulttype-null-fix MAT-7801: handle possible null expression result type when building expressionToReturnTypeMap
- Loading branch information
Showing
4 changed files
with
143 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
library QM61 version '0.0.000' | ||
|
||
using QICore version '6.0.0' | ||
|
||
include QICoreCommon version '3.0.000' called QICoreCommon | ||
include FHIRHelpers version '4.4.000' called FHIRHelpers | ||
include SupplementalDataElements version '4.3.000' called SDE | ||
include Hospice version '7.0.000' called Hospice | ||
include Status version '2.0.000' called Status | ||
|
||
codesystem "LOINC": 'http://loinc.org' | ||
codesystem "SNOMEDCT": 'http://snomed.info/sct' | ||
|
||
valueset "Clinical Oral Evaluation": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.125.12.1003' | ||
valueset "Dental Caries": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.125.12.1004' | ||
valueset "Discharged to Health Care Facility for Hospice Care": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.207' | ||
valueset "Discharged to Home for Hospice Care": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.209' | ||
valueset "Encounter Inpatient": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307' | ||
|
||
code "Discharge to healthcare facility for hospice care (procedure)": '428371000124100' from "SNOMEDCT" display 'Discharge to healthcare facility for hospice care (procedure)' | ||
code "Discharge to home for hospice care (procedure)": '428361000124107' from "SNOMEDCT" display 'Discharge to home for hospice care (procedure)' | ||
code "Hospice care [Minimum Data Set]": '45755-6' from "LOINC" display 'Hospice care [Minimum Data Set]' | ||
code "Yes (qualifier value)": '373066001' from "SNOMEDCT" display 'Yes (qualifier value)' | ||
|
||
parameter "Measurement Period" Interval<DateTime> | ||
|
||
context Patient | ||
|
||
|
||
define "Initial Population": | ||
AgeInYearsAt(date from start of "Measurement Period")in Interval[1, 20] | ||
and exists ( "Qualifying Encounters" ) | ||
|
||
define "Qualifying Encounters": | ||
(([Encounter: "Clinical Oral Evaluation"]).isEncounterPerformed()) ValidEncounter | ||
where ValidEncounter.period.toInterval() during day of "Measurement Period" | ||
|
||
define "Denominator": | ||
"Initial Population" | ||
|
||
define "Denominator Exclusions": | ||
Hospice."Has Hospice Services" | ||
|
||
define "Numerator": | ||
exists ["QICore Condition Problems Health Concerns": "Dental Caries"] DentalCaries | ||
where DentalCaries.prevalenceInterval() overlaps "Measurement Period" | ||
|
||
define "SDE Ethnicity": | ||
SDE."SDE Ethnicity" | ||
|
||
define "SDE Payer": | ||
SDE."SDE Payer" | ||
|
||
define "SDE Race": | ||
SDE."SDE Race" | ||
|
||
define "SDE Sex": | ||
SDE."SDE Sex" | ||
|
||
define "SDE Eth": | ||
SDE."SDE Eth" |