FHIR Chat · Linking user to patient and/or practitioner record · implementers

Stream: implementers

Topic: Linking user to patient and/or practitioner record


view this post on Zulip santiago gil (Oct 08 2018 at 17:44):

Hello there guys, I wanted to know if anyone here has experience linking a user to a patient or a practitioner. For example, when User1 logs in he is linked to a patient and all of his records.

view this post on Zulip nicola (RIO/SS) (Oct 10 2018 at 20:01):

This question is out of specification scope and upto implementers. In aidbox we provide FHIR-like custom resource User, which can be linked to Patient or Practitioner or both. And we used a lot in our apps. Im working on post about this, which is scheduled for next week.

view this post on Zulip Grahame Grieve (Oct 10 2018 at 20:02):

we say no to a User resource about once a year ;-). Have you looked at SCIM?

view this post on Zulip Grahame Grieve (Oct 10 2018 at 20:07):

I use SCIM with a custom SCIM extension to link user to patient or practitioner

view this post on Zulip Michele Mottini (Oct 10 2018 at 21:15):

We are using Person for that - we map it from our internal users, with links to Patient or Practitioner as appropriate

view this post on Zulip Lloyd McKenzie (Oct 10 2018 at 22:34):

The issue with that is that Person can't be an actor - it can't have responsibility, can't be pointed to as an author, performer, target or anything else. Person's sole purpose is to maintain a shared set of demographics and identity across all of the other demographic resources.

view this post on Zulip John Moehrke (Oct 11 2018 at 17:49):

What kind of an Actor is needed that is beyond the list of Actor types we have today? Thus user identity, as managed by a User Identity Management system (like SCIM) is a good Identifier element in Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson)

view this post on Zulip Christiaan Knaap (Oct 21 2018 at 15:46):

Vonk allows you to give it a SMART on FHIR 'patient' claim in the OIDC token. Internally that translates to a patient compartment that the user will be confined to.

view this post on Zulip Grahame Grieve (Oct 22 2018 at 10:10):

what's the syntax for that?

view this post on Zulip John Moehrke (Oct 22 2018 at 13:39):

@Christiaan Knaap is that simply using SMART-on-FHIR patient launch context parameter? http://docs.smarthealthit.org/authorization/scopes-and-launch-context/

view this post on Zulip John Moehrke (Oct 22 2018 at 13:44):

I would expect the Resource Server within the agent kind of Resources (Patient, Practitioner, etc) to have a .identifier that is mapped authoritatively to the OIDC identity. Mapping the other way puts too much reliance on well-behaved OIDC authorities, that are typically not healthcare specific. Thus I would expect a search within the Resource Server (or some federated id authority) for those agent kind of Resources that have the OIDC identity.

view this post on Zulip Christiaan Knaap (Oct 29 2018 at 12:18):

@Christiaan Knaap is that simply using SMART-on-FHIR patient launch context parameter? http://docs.smarthealthit.org/authorization/scopes-and-launch-context/

Yes indeed. Only extra we provide is that the contents of the claim can be a more complex filter on patient than just its 'id'. Details are in the documentation.


Last updated: Apr 12 2022 at 19:14 UTC