AudaciousInquiry / fhir-saner

Situation Awareness for Novel Epidemic Response (COVID-19 driven project to track resource availability)
17 stars 0 forks source link

Identify Measure to Walk through for Example Case in PublicHealthMeasure Profile #106

Open keithboone opened 4 years ago

keithboone commented 4 years ago

Given a set of Measure Requirements, create the walk through for defining the measure in the IG.

Q: Should we demonstrate using FHIR Shorthand? Q: We probably want to start with the decision tree discussed Monday 7/26, pictured below -- there's more to this before it becomes a Measure though.

image

keithboone commented 4 years ago

Confirmed COVID-19 Patients Suspected COVID-19 Patients (Symptoms, Procedure Findings, lack of test or test negative) Previous Days Admission w/ COVID-19 (same as Confirmed COVID-19 Patients as of Date of Admission) Patients on a Ventilator Confirmed or Suspected COVID-19 Patients on a Ventilator Patients receiving Remdesivir

keithboone commented 4 years ago

To get to encounter, we are reliant on at least US Core Release 2.0 for constraints on Encounter resource, this is not a DSTU2 release!

Postive COVID-19 Patients admitted Yesterday

Encounter period.start = yesterday

[base]/Encounter/period=sa{YESTERDAY-1 day}&type=V3-ActCode|IMP

GREEN_BOX = resolve(implementation.url + /Encounter?period=sa{YESTERDAY-1 day}&type=V3-ActCode|IMP)

resolve(implementation.url + '/Observation?patient=' + %GREEN_BOX.patient + '&date=sa'

%GREEN_BOX.patient

%GREEN_BOX.resolve(diagnosis.condition).code in confirmed COVID-19 positive value set) OR %GREEN_BOX.reasonCode in confirmed COVID-19 positive value set) %GREEN_BOX.resolve(patient + /Condition).where( code in confirmed COVID-19 positive value set AND onsetDateTime > today()-60 days )