Stream: smart/scheduling-links
Topic: Consumer: Lyft
Alan Fritzler (Apr 21 2021 at 17:48):
Hello, I work at Lyft and we're wondering if there's a way to bulk export all the active vaccine locations listed on VaccineFinder. Can anyone here point me in the right direction? Thanks!
Josh Mandel (Apr 21 2021 at 17:50):
Welcome! This chat is focused on standards for just this kind of information. It's still early days and we're iterating on the standards and building out support. https://github.com/smart-on-fhir/smart-scheduling-links/wiki/Connectathon-Plans describes the testing event we're conducting this month, and this spreadsheet includes a list of participating publication endpoints.
Josh Mandel (Apr 21 2021 at 17:51):
You can fetch a bulk-publish manifest and then fetch any output files with type: Location
.
Josh Mandel (Apr 21 2021 at 17:54):
You can fetch all locations from a publication endpoint (in this example: $BULK_PUBLISH
var) via:
wget -qO- $BULK_PUBLISH | tee 'manifest.json' | jq -r '.output | .[] | select(.type == "Location") | .url' | xargs -n 1 -P $PARALLEL_CONNECTIONS wget -q
Alan Fritzler (Apr 22 2021 at 19:07):
Thanks, Josh. Nice to virtually meet you and super helpful. Are there any plans to expose this data in other formats besides the endpoints? For example, publishing a periodically updated CSV?
Josh Mandel (Apr 22 2021 at 19:41):
We've been focused on FHIR as the "common denominator," but I bet you could build a FHIR-to-CSV mapping tool for this use case (skipping or collapsing some of the nested/repeating structures, perhaps) in like 200 lines of code ;-) It could be a good exercise!
Alan Fritzler (Apr 26 2021 at 23:25):
Gotcha. I'm not a developer but if you know someone that is working on this would be helpful to understand and re-purpose for my use case!
Josh Mandel (Apr 26 2021 at 23:37):
Sure thing. And if you have developers who would be interested in contributing, please send folks our way!
Last updated: Apr 12 2022 at 19:14 UTC