- Initial Population =
- AND: Occurrence A of $EncounterInpatient
- Measure Population =
- AND: "Occurrence A of Encounter, Performed: Emergency Department Visit" <= 1 hour(s) ends before or concurrent with start of Occurrence A of $EncounterInpatient
- Measure Population Exclusions =
- Measure Observation =
- Median of:
- Datetime difference of:
- "Occurrence A of Encounter, Performed: Emergency Department Visit (discharge datetime)"
- "Occurrence A of Encounter, Performed: Emergency Department Visit (admission datetime)"
- Stratifications =
- Stratification 1 =
- AND NOT: "Diagnosis, Active: Psychiatric/Mental Health Patient (ordinality: Principal)" starts during "Occurrence A of Encounter, Performed: Emergency Department Visit"
- Stratification 2 =
- AND: "Diagnosis, Active: Psychiatric/Mental Health Patient (ordinality: Principal)" starts during "Occurrence A of Encounter, Performed: Emergency Department Visit"
- $EncounterInpatient =
- "Encounter, Performed: Encounter Inpatient" satisfies all
- (length of stay <= 120 day(s))
- ends during "Measurement Period"
- "Diagnosis, Active: Psychiatric/Mental Health Patient" using "Psychiatric/Mental Health Patient Grouping Value Set (2.16.840.1.113883.3.117.1.7.1.299)"
- "Encounter, Performed: Emergency Department Visit" using "Emergency Department Visit SNOMEDCT Value Set (2.16.840.1.113883.3.117.1.7.1.292)"
- "Encounter, Performed: Encounter Inpatient" using "Encounter Inpatient SNOMEDCT Value Set (2.16.840.1.113883.3.666.5.307)"
- Attribute: "Ordinality: Principal" using "Principal SNOMEDCT Value Set (2.16.840.1.113883.3.117.1.7.1.14)"
- "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 AdministrativeGender Value Set (2.16.840.1.113762.1.4.1)"