Skip to content

symptomatic/covid19-geomapping

Repository files navigation

COVID19 on FHIR Hackathon

This project implements HL7 SANER - Situation Awareness for Novel Epidemic Response, and was submitted to the Datavant Pandemic Response Hackathon and the MIT Covid19 Challenge.

In particular, this package is responsible for geocoding FHIR Patient demographics into Latitude/Longitude using FHIR Location and then rendering a geojson data layer for use with Google Maps and other GIS applications. This project has full programmtic access to the Google Maps API, including markers, heatmaps, reverse geocoding, routing, and many other features. The following screenshot illustrates it's ability to display (synthetic) COVID19 patient address data in a heatmap. Data in the screenshot was generated with the Synthea patient population simulator.

Covid19Geomapping-SyntheaHeatmap

Prerequisites

This project requires the following platform libraries and projects:

Design Documents

The primary goal behind this hackathon is to stand up a COVID19 specific version of the Epidemiology on FHIR module, so we can map hospital EHR data onto Google Maps. Primary workflow will look something like this:

  • Query hospital FHIR compliant EHRs for COVID19 related LOINC and SNOMED codes.
  • Do patient demographic lookups with the received patient Ids to determine home addresses.
  • Geocode the home addresses into latitude/longitude, and assemble into a geojson file.
  • Display housing markers on Google Maps.
  • Display a heatmap on Google Maps.

This project is a fork of the Epidemiology on FHIR module, written for my graduate studies in Biomedical Informatics at the University of Chicago.

Installation

This project is best run on Macintosh with Chrome, and is intended to run on Linux servers in an AWS cloud environment. Compiling to Docker is supported, but an advanced feature.

# install Meteor, if you don't already have it
# this is the build tool / compiler  
curl https://install.meteor.com/ | sh  

# clone the Node on FHIR boilerplate
# this boilerplate is similar to WordPress
# and supports a plugin/package architecture
git clone https://github.com/symptomatic/node-on-fhir  
cd node-on-fhir  

# clone this package into the project
cd packages
git clone https://github.com/symptomatic/covid19-on-fhir  
git clone https://github.com/symptomatic/covid19-geomapping  

# install dependencies
cd ..
meteor npm install

# run the application  
meteor run --extra-packages symptomatic:covid19-on-fhir,symptomatic:covid19-geomapping --settings packages/covid19-on-fhir/configs/settings.covid19.maps.json   

Note installation will be greatly helped if you get yourself a Google Maps API key: https://developers.google.com/maps/documentation/javascript/get-api-key

After getting it, put it into configs/settings.covid19.maps.localhost.json. Put it under public.google.maps.apiKey.

FAQ

Who is your intended user?
The underlying mapping technology has applications for just about every stakeholder, but there seems to be particular need at the population health level (placement of testing centers, tracking overall spread), the field dispatch level (EMTs, police, social workers), and the individual patient levels.

Do you have addresses of COVID 19 patients or would that be a HIPAA/privacy issue?
Yes, we can actually get to the addresses of COVID19 patients via FHIR. They will be patients who have visited hospitals or drive through clinics and been part of the official health networks, rather than self-reported data. But we can get to that data for the hackathon. As for HIPAA, that use case will need to be installed with Provider Launch Context and run from a HIPAA zone (but we've already set our database up in one, and are preparing for that). We were initially worried that we would need to bounce data through Google geocoding servers to map addresses into latitude/longitude (which we will probably do with the online demo and synthetic data), but we have a lead on a docker image of a geocoding server that we can run from within our own HIPAA zone. So, full steam ahead with COVID19 patient address data in a HIPAA compliant manner.

References

Team Acknowledgements

  • Jason Walonoski, Bioinformatics (Synthea)
  • James Agnew, FHIR Hosting (Smile CDR)
  • Chris Hafey, DBA Backup, Business Administration, (Fomerly Nucleus.io)
  • Andrei Rusu, Quality Control, (Nightwatch.js)
  • Jae Brodsky, Statistician
  • Sarah Sims, Business Administration
  • David Donohue, Medical Advisory Board

Acknowledgements (Product Development, Review, & Early Testing)

  • Ken Salyards (SAMSHA, Health and Human Services)
  • Andrea Pitkus, PhD, MLS, (UW School of Medicine and Public Health)
  • Viet Nguyen, MD, (Board Member at Health Level Seven International)
  • Brett Johnson (Personalized Medicine Strategic Planning)
  • Mohit Saigal (Customer Focused IT and PM Leader)
  • Brian Jackson (Academic Clinical Pathologist)
  • Russell Hamm (Evangalist)
  • Rex Stock (Evangalist)

A Prayer for Health Care Workers

May the One who blessed our ancestors
Bless all those who put themselves at risk to care for the sick
Physicians and nurses and orderlies
Technicians and home health aides
EMTs and pharmacists
(And bless especially _______)
Who navigate the unfolding dangers of the world each day,
To tend to those they have sworn to help.
Bless them in their coming home and bless them in their going out.
Ease their fear. Sustain them.
Source of all breath, healer of all beings,
Protect them and restore their hope.
Strengthen them, that they may bring strength;
Keep them in health, that they may bring healing.
Help them know again a time when they can breathe without fear.
Bless the sacred work of their hands.
May this plague pass from among us, speedily and in our days.

  • Rabbi Ayelet Cohen, March 2020

About

Covid19 Geomapping (on FHIR)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published