FHIR Chat · Location mapping widget · implementers

Stream: implementers

Topic: Location mapping widget


view this post on Zulip Francis Otieno (Oct 07 2021 at 12:27):

Looking for some help here. I would like to add a location mapping widget that allows one to collect details about a location (name of village, town . city, country, longitude and latitude ) and save it as a location resource with a link to a patient.
Usecase

  1. Fill in a questionnaire - name of the village, town, city, country
  2. Add a widget to get the location details/coordinates - Long/Lat
  3. Save resource Patient + Location
    How would I need to structure the questionnaire response or for those in a similar use case how did you go about it ?

view this post on Zulip Lloyd McKenzie (Oct 07 2021 at 13:30):

What is the intended relationship between the Patient and the Location? Is this for contact/exposure tracing?

view this post on Zulip Francis Otieno (Oct 07 2021 at 14:02):

Yes, I can see a link of the location to the patient , where they live/reside

view this post on Zulip Lloyd McKenzie (Oct 07 2021 at 16:27):

Where they live/reside would typically be captured in Patient.address. There's a standard extension to allow capturing GPS coordinates for an address. You generally wouldn't have a Location instance for the patient's address.

view this post on Zulip Francis Otieno (Oct 07 2021 at 16:50):

Perfect. Thanks a bunch @Lloyd McKenzie. You made my evening :)

view this post on Zulip Mike Lohmeier (Oct 07 2021 at 17:34):

Out of curiosity, what would have been the preferred solution if the location was not the patient's address? For example, if a patient had an asthma attack or sleep apnea event away from the home? Is adding an address with geo location extension to an extended Observation the preferred route.

view this post on Zulip Lloyd McKenzie (Oct 07 2021 at 17:53):

The fun bit there, is "location of subject when symptom occurred" and "location where observation was captured" aren't the same. The event-location extension can be used to capture the latter. We don't have a standard extension I'm aware of as-yet for the former.

view this post on Zulip Mike Lohmeier (Oct 07 2021 at 18:08):

Thanks, yep that makes sense on the differentiating between symptom and capture.

For the geo location values, is there any standard-extension work for accuracy or confidence values for latitude, longitude and altitude values in progress? The mobile devices will report accuracy for these values as well and the distribution of accuracy values is actually pretty ugly especially for poor gps chipsets.

Similarly, is there anything in the works for more than just geopoints in the standard-extensions? We have hotspot tools for both individual patients and population health that allow users to view hotspots that are polygons. We used geojson here for all geo and it worked really well to convey any type of geo data.

view this post on Zulip Lloyd McKenzie (Oct 07 2021 at 18:36):

Not via anything defined as yet, though you could submit a change request for us to define one.

view this post on Zulip John Silva (Oct 07 2021 at 19:02):

In the US (and probably Europe GDPR) this is PHI - Protected Health Information; so it would probably need to have patient approval and a particular scope for its use.

view this post on Zulip Jose Costa Teixeira (Oct 07 2021 at 19:11):

John Silva said:

In the US (and probably Europe GDPR) this is PHI - Protected Health Information; so it would probably need to have patient approval and a particular scope for its use.

it would need to have a valid purpose and scope for sharing, but not patient approval

view this post on Zulip Francis Otieno (Oct 08 2021 at 07:55):

@Lloyd McKenzie Circling back to this https://build.fhir.org/extension-geolocation.html Seems to be a future update and not in the R4 spec :(

view this post on Zulip Lloyd McKenzie (Oct 08 2021 at 16:19):

It exists in R4: http://hl7.org/fhir/extension-geolocation.html

view this post on Zulip Puranjay Khanijo (Dec 21 2021 at 13:25):

Hi, I'm currently working on my first issue of adding the location widget
I'm new to FHIR applications and could use some help

view this post on Zulip John Moehrke (Dec 21 2021 at 13:32):

This discussion site is for discussion about HL7/FHIR standard. Not any widget.

view this post on Zulip Puranjay Khanijo (Dec 21 2021 at 21:18):

John Moehrke said:

This discussion site is for discussion about HL7/FHIR standard. Not any widget.

I'm new to this chat, could u help me with where I should further discuss my issue

view this post on Zulip David Pyke (Dec 21 2021 at 21:20):

That's not a FHIR issue, I'm not sure anyone here can help

view this post on Zulip Puranjay Khanijo (Dec 21 2021 at 21:24):

@Francis Otieno discussed a questionnaire regarding that back in October. I have to implement that

view this post on Zulip David Pyke (Dec 21 2021 at 21:26):

You may want to reach out to him directly using the private message function

view this post on Zulip Grahame Grieve (Dec 22 2021 at 07:44):

it's not clear to me that 'adding a location widget' is not to do with FHIR...

view this post on Zulip Jose Costa Teixeira (Dec 28 2021 at 07:54):

I have a mapping widget that puts FHIR resources on a map. I don't do it for patients, but for servers


Last updated: Apr 12 2022 at 19:14 UTC