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.
-
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? -
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 showappointments available
if that is true, and if not showappointments required
instead
- yep
- 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.