CAVaccineInventory / vaccinatethestates

💉🇺🇸 the most comprehensive map of COVID-19 vaccination sites in America

Home Page:https://www.vaccinatethestates.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use "Appointment required" tag instead of "Appointments available" tag

rhkeeler opened this issue · comments

looks like we're using the "Appointments available" tag as the counterpart to "Walk-ins accepted". That tag indicates vaccine supply, not whether the site requires appointment; probably we were going for "Appointments required". But I think the logic here should be

  • If a location is tagged only "Appointments required", we show "Appointments required"
  • If a location is tagged only "Walk-ins accepted", we show something like "Walk-ins only"
  • If a location is tagged with both or with "Appointments or walk-ins accepted", we show two pills, something like "Appointments accepted" "Walk-ins accepted"

alternately, we could just use the tags "Appointments accepted", "Walk-ins accepted", or show them both. But that's a little less descriptive for the individual cases, I think.

@rhkeeler this is the code on VIALs end: https://github.com/CAVaccineInventory/vial/blob/c8bf6ad9ff418c4f46cc8ff0dfaeb2cb99377212/vaccinate/api/export_mapbox.py#L107

  • available_appointments field is set to true if they select "Yes" in scooby to appointments available.
  • available_walkins field is set to true if they select walk-ins or walkins/appointments

Vial exports to mapbox an available_appointments field that is set to true if the availability tag for "appointments_available" is used, and an available_walkins field that is set to true if the availability tags for "appointments_or_walkins" or "walk_ins_accepted" is used.

  1. It sounds like you want to expose a new field from mapbox, say required_appointments or something, that is set to true if the "appointment_required" availability tag is used?

  2. Is there any reason to not continue showing appointments available in the UI? Seems kind of valuable if we know that to show that? We could show appointments available if that is true, and if not show appointments required instead

  1. yep
  2. I think the appointments required info from our reports is much less likely to get stale. appointments available will be handled through the real-time appointment availability system. Also, I think it should look different in the UI, so there aren't too many different states in that area while the eye is scanning down the list.