- Initial Population =
- AND: Age >= 18 year(s) at: "Encounter, Performed: Inpatient Encounter"
- AND: "Encounter, Performed: Inpatient Encounter (length of stay <= 120 day(s))" during "Measurement Period"
- Measure Population =
- AND:
- OR: "Diagnosis, Active: Diabetes Mellitus" starts during "Occurrence A of Encounter, Performed: Inpatient Encounter"
- OR: "Medication, Administered: Antidiabetics excluding metformin" starts during "Occurrence A of Encounter, Performed: Inpatient Encounter"
- OR: "Laboratory Test, Performed: Blood Glucose Testing (result > 200 mg/dL)" during "Occurrence A of Encounter, Performed: Inpatient Encounter"
- Measure Population Exclusions =
- OR: "Diagnosis, Active: Ketoacidosis/Hyperosmolarity Diagnosis" during "Occurrence A of Encounter, Performed: Inpatient Encounter"
- OR:
- Difference between dates of:
- "Occurrence A of Encounter, Performed: Operating Room Location (facility location arrival datetime)"
- "Occurrence A of Encounter, Performed: Operating Room Location (facility location departure datetime)"
- starts during "Occurrence A of Encounter, Performed: Inpatient Encounter"
- OR: Difference between dates <= 1 day(s) of:
- Intersection of:
- "Occurrence A of Encounter, Performed: Inpatient Encounter (admission datetime <= 1200 )"
- "Occurrence A of Encounter, Performed: Inpatient Encounter (admission datetime)"
- Intersection of:
- "Occurrence A of Encounter, Performed: Inpatient Encounter (admission datetime <= 1200 )"
- "Occurrence A of Encounter, Performed: Inpatient Encounter (discharge datetime)"
OR: Difference between dates <= 2 day(s) of:
- Intersection of:
- Union of:
- "Encounter, Performed: Inpatient Encounter (admission datetime > 1200 )"
- First: "Laboratory Test, Performed: Blood Glucose Testing (result > 400 mg/dL)" starts after or concurrent with start of "Occurrence A of Encounter, Performed: Inpatient Encounter (admission datetime <= 1200 )"
- "Occurrence A of Encounter, Performed: Inpatient Encounter (admission datetime)"
- Intersection of:
- Union of:
- "Encounter, Performed: Inpatient Encounter (admission datetime > 1200 )"
- First: "Laboratory Test, Performed: Blood Glucose Testing (result > 400 mg/dL)" starts after or concurrent with start of "Occurrence A of Encounter, Performed: Inpatient Encounter (admission datetime <= 1200 )"
- "Occurrence A of Encounter, Performed: Inpatient Encounter (discharge datetime)"
OR: Difference between dates <= 3 day(s) of:
- Intersection of:
- First: "Laboratory Test, Performed: Blood Glucose Testing (result > 400 mg/dL)" starts after or concurrent with start of "Occurrence A of Encounter, Performed: Inpatient Encounter (admission datetime > 1200 )"
- "Occurrence A of Encounter, Performed: Inpatient Encounter (admission datetime)"
- Intersection of:
- First: "Laboratory Test, Performed: Blood Glucose Testing (result > 400 mg/dL)" starts after or concurrent with start of "Occurrence A of Encounter, Performed: Inpatient Encounter (admission datetime > 1200 )"
- "Occurrence A of Encounter, Performed: Inpatient Encounter (discharge datetime)"
Measure Observation =
Stratification =
- "Diagnosis, Active: Diabetes Mellitus" using "Diabetes Mellitus Grouping Value Set (2.16.840.1.113883.3.1260.1.2255)"
- "Diagnosis, Active: Ketoacidosis/Hyperosmolarity Diagnosis" using "Ketoacidosis/Hyperosmolarity Diagnosis SNOMEDCT Value Set (2.16.840.1.113883.3.1260.1.1989)"
- "Encounter, Performed: Inpatient Encounter" using "Inpatient Encounter Grouping Value Set (2.16.840.1.113883.3.464.1003.101.12.1060)"
- "Encounter, Performed: Operating Room Location" using "Operating Room Location Grouping Value Set (2.16.840.1.113762.1.4.1066.26)"
- "Laboratory Test, Performed: Blood Glucose Testing" using "Blood Glucose Testing LOINC Value Set (2.16.840.1.113883.3.1260.1.2125)"
- "Medication, Administered: Antidiabetics excluding metformin" using "Antidiabetics excluding metformin RXNORM Value Set (2.16.840.1.113883.3.1260.1.1979)"
- "Patient Characteristic Ethnicity: Ethnicity" using "Ethnicity CDCREC Value Set (2.16.840.1.114222.4.11.837)"
- "Patient Characteristic Payer: Payer" using "Payer SOP Value Set (2.16.840.1.114222.4.11.3591)"
- "Patient Characteristic Race: Race" using "Race CDCREC Value Set (2.16.840.1.114222.4.11.836)"
- "Patient Characteristic Sex: ONC Administrative Sex" using "ONC Administrative Sex AdministrativeSex Value Set (2.16.840.1.113762.1.4.1)"