Shawn Dolley brought up a use case of handling GIS data especially in conjunction with wearable devices which could take measurements at any coordinate (not associated with an address). We (Mark, Jen, and Marc) discussed the following options after the meeting:
- Add lat and longitude as measurement_detail records.
- The actual measurement (ex. heart rate) would share the same context as the lat and long measurement records
- Add lat and long columns to contexts table
- This keeps contexts handling the where and when of a clinical code
- Potentially make the device a practitioner so we can track that a device made the measurement
- May need to add practitioner_details table to store other information about the device (manufacture, device id, etc). Would also be useful for regular practitioners to store information about them we currently aren't handling.
- Add a contexts_locations table that stores location information about a contexts
- Could move facility_id in here with lat and long so all location information associated with a context is in one table
- There would never be more than one contexts_location associated with one context so this table wouldn't be necessary other than to group things together
Shawn Dolley brought up a use case of handling GIS data especially in conjunction with wearable devices which could take measurements at any coordinate (not associated with an address). We (Mark, Jen, and Marc) discussed the following options after the meeting: