Stream: implementers
Topic: Link between practitioner and organization
Lauri Karppinen (Mar 21 2019 at 08:19):
HI! Is there some way to reference from practitioner to organization or vice versa? Only relation between practitioner and organization I found is: practitioner.qualification.issuer element but this does not look like a link I need... Descriptions says: "Organization that regulates and issues the qualification". I need link between practitioner and organization because there can be several different organizations and/or practitioners related to one study.
Morten Ernebjerg (Mar 21 2019 at 12:24):
You probably want PractitionerRole: http://hl7.org/fhir/practitionerrole.html . It is a separate resource so it allows m-to-n relations between docs & orgs, and it also allows you to specify in which capacity the practitioner is linked to the organization in question.
Lauri Karppinen (Mar 21 2019 at 12:33):
I did check practitionerRole earlier and I was considering that I might need to add that to our implementation. With practitionerRole I'm facing the same problem. If there is multiple organizations or multiple practitioners involved in one study. There is practitioner Σ 0..1 Reference(Practitioner) and organization Σ 0..1 Reference(Organization).
Morten Ernebjerg (Mar 21 2019 at 13:50):
Right, to link multiple practitioners to a single org you would need one PractitionerRole resource per Practitioner (and similar if you were linking the same doc to multiple orgs). But maybe I am not understanding the use case quite right, is the underlying goal that you want to link a bunch of docs and/or orgs to another resource that represents the study (ResearchStudy resource)?
Lauri Karppinen (Mar 22 2019 at 08:20):
Ok thanks I think I got it. I'm still figuring this out a little bit. I would not like to add another resource if it's not necessary. I actually have a provenance resource which I use to present activity made by practitioner (UPDATE/CREATE). Could this actually be the way to tie organization and practitioner together? At the moment I'm referencing from provenance.agent.who to practitioner. I don't know why I didn't get this idea sooner. I could reference to both: practitioner and organization from provenance and that would tie them together? Would this kind of solution be reasonable?
Lauri Karppinen (Mar 22 2019 at 08:37):
Just noticed that provenance.agent.who is 1...1, so does not work because I can't add both practitioner and organization to that. If there is no another way I guess I have to add practitionerRole. to my implementation.
Lauri Karppinen (Mar 22 2019 at 08:41):
Now I had another idea. What if I put link in provenance.agent.who to practitioner and provenance.agent.onBehalfOf to organization? That way I would not have to add practitionerRole at all and organization and practitioner would be tied together. Can someone confirm does this sound like a reasonable way to use these resources I have in use?
Morten Ernebjerg (Mar 22 2019 at 11:39):
Hm , not sure if this is the right way to go, but I don't know enough about Provenance to really judge it - @Lloyd McKenzie is this maybe your turf? (or your ping forwarding turf :smile:)
Lauri Karppinen (Mar 22 2019 at 12:15):
Thanks for the help so far! I hope it's the right way. At least it seems like a right way. provenance.agent.who presents "Who participated" and agent.onBehalfOf presents "Who the agent is representing".
John Moehrke (Mar 22 2019 at 12:57):
Provenance is not the solution. Provenance is for recording the provenance of the target.
PractitionerRole is the intended linkage between a Practitioner and one-or-more Organizations. Why is that not useful?
John Moehrke (Mar 22 2019 at 12:58):
I see you mentioned involvement in a study. Did you look at CareTeam?
John Moehrke (Mar 22 2019 at 13:00):
It would be easier to help if you could describe the scenario. Simply identifying the technical need to link Practitioner and Organization does not give us much to go on to help you pick the 'best' solution. There is also Group, List.
Lloyd McKenzie (Mar 22 2019 at 14:36):
If you need a Practitioner and also need the Organization and or the role, PractitionerRole is the only 'correct' solution.
Lauri Karppinen (Mar 25 2019 at 06:23):
Sounds like I have no other choice than add practitionerRole. Clad that I asked so the implementation will be correct. Thanks a lot for the help :)
Lloyd McKenzie (Mar 25 2019 at 13:50):
That's what the community is here for :) Thanks for asking - because not everyone does...
Last updated: Apr 12 2022 at 19:14 UTC