opensrp / opensrp-client

Android app for Frontline Health Workers (FHWs).
Other
15 stars 32 forks source link

Need to Capture Timestamp of Encounter #569

Open csc5k opened 6 years ago

csc5k commented 6 years ago

Niklas from Unicef is looking for some data to justify the cost of electronic immunization registries. One of the questions he's looking to quantify is time savings by using the app. While we need to know what their pre-live times were to determine whether time is saved, we can still try to show the duration of a "visit" in a few ways.

First, we would define a "visit" as a unique combination of patient, provider, and date of service. All encounters with the same patient, provider, and date of service would roll up to represent a visit. We could look to include items like facility if patient + provider + date of service is not comprehensive enough.

With this definition of a visit, we can demonstrate the length of each visit in a couple of ways:

  1. Capture the timestamps of when a patient's chart is opened and closed (ideal)
  2. Capture the timestamp of when a patient's chart is opened (i.e. encounter start) and compare against the timestamp of the last encounter for that patient/date of service/provider combo