From 0359ec1b44d09defd397e943c0b6d4a394ec6be8 Mon Sep 17 00:00:00 2001
From: Simon Willison We have logic that derives vaccine inventory and availability based on a combination of recently filed reports and recently scraped source locations. The Vaccines offered: {{ derived.vaccines_offered|default:"-" }} According to
+ {% if derived.vaccines_offered_provenance_report %}report: {{ derived.vaccines_offered_provenance_report }}
+ {% else %}
+ source location: {{ derived.vaccines_offered_provenance_source_location }}
+ {% endif %}
+ on {{ derived.vaccines_offered_last_updated_at }}
+ {% if derived.vaccines_offered_provenance_report and derived.most_recent_source_location_on_vaccines_offered %}
+ {{ location }}
{{ location.public_id }} - {{ location.full_address }}
+Derived availability and inventory
location.derived_availability_and_inventory()
method for this location currently returns:{{ derived_availability_and_inventory }}
+Most recent source location with an opinion was {{ derived.most_recent_source_location_on_vaccines_offered }} on {{ derived.most_recent_source_location_on_vaccines_offered.last_imported_at }} which said {{ derived.most_recent_source_location_on_vaccines_offered.vaccines_offered }}
+ {% endif %}
+ {% if derived.vaccines_offered_provenance_source_location and derived.most_recent_report_on_vaccines_offered %}
+ Most recent report with an opinion was {{ derived.most_recent_report_on_vaccines_offered }} on {{ derived.most_recent_report_on_vaccines_offered.created_at }} which said {{ derived.most_recent_report_on_vaccines_offered.vaccines_offered }}
+ {% endif %}
+
+ Accepts appointments:{% if derived.accepts_appointments %}True{% else %} {{ derived.accepts_appointments }}{% endif %}, + Accepts walk-ins:{% if derived.accepts_walkins %}True{% else %} {{ derived.accepts_walkins }}{% endif %}
+According to + {% if derived.appointments_walkins_provenance_report %}report: {{ derived.appointments_walkins_provenance_report }} [{{ derived.appointments_walkins_provenance_report.availability }}] + {% else %} + source location: {{ derived.appointments_walkins_provenance_source_location }} which said {{ derived.appointments_walkins_provenance_source_location.import_json.availability }} + {% endif %} + on {{ derived.appointments_walkins_last_updated_at }} + {% if derived.appointments_walkins_provenance_report and derived.most_recent_source_location_on_availability %} +
Most recent source location with an opinion was {{ derived.most_recent_source_location_on_availability }} on {{ derived.most_recent_source_location_on_availability.last_imported_at }} which said {{ derived.most_recent_source_location_on_availability.import_json.availability }}+ {% endif %} + {% if derived.vaccines_offered_provenance_source_location and derived.most_recent_report_on_availability %} +
Most recent report with an opinion was {{ derived.most_recent_report_on_availability }} on {{ derived.most_recent_report_on_availability.created_at }} which said {{ derived.most_recent_report_on_availability.availability }}+ {% endif %} + + +
{{ derived_raw }}+
Availability:
+Availability timeline:
Vaccines offered:
+Vaccines offered timeline:
{{ content }}