Stream: implementers
Topic: Identify Sender
Radha Rajendran (Mar 01 2021 at 14:46):
Hi, Can anyone please explain how to identify sender application when receiving patient resource. if its bundle we can use message header. Without bundle how to identify the sender of the resource ?
Lloyd McKenzie (Mar 01 2021 at 14:49):
If you're making a RESTful search, you know what server you're querying from. There'll also be a fullUrl in the Bundle that tells you the specific server the data came from. If you're just doing a read (and don't get back a Bundle), you should know what URL you were doing the read against, but there'll be a 'Location' header in the response that will tell you the URL as well.
Kevan Riley (Mar 01 2021 at 14:52):
@Radha Rajendran You may also what to look into Provenance. If you are concern with where did this information originate prior to coming to the FHIR Server endpoint, then a Provenance resource is where that information would be found (or stored).
John Moehrke (Mar 01 2021 at 15:43):
Often with REST, even when it is a Bundle... the sender is identified using OAuth. See SMART-on-FHIR or IHE-IUA. Both are profiles on OAuth for use with http REST and FHIR.
Radha Rajendran (Mar 02 2021 at 05:14):
John Moehrke said:
Often with REST, even when it is a Bundle... the sender is identified using OAuth. See SMART-on-FHIR or IHE-IUA. Both are profiles on OAuth for use with http REST and FHIR.
Thank you very much
Radha Rajendran (Mar 02 2021 at 05:19):
Kevan Riley said:
Radha Rajendran You may also what to look into Provenance. If you are concern with where did this information originate prior to coming to the FHIR Server endpoint, then a Provenance resource is where that information would be found (or stored).
Thank you very much
Radha Rajendran (Mar 02 2021 at 05:20):
Lloyd McKenzie said:
If you're making a RESTful search, you know what server you're querying from. There'll also be a fullUrl in the Bundle that tells you the specific server the data came from. If you're just doing a read (and don't get back a Bundle), you should know what URL you were doing the read against, but there'll be a 'Location' header in the response that will tell you the URL as well.
Thank you very much
Radha Rajendran (Mar 02 2021 at 08:14):
What implementation are you all using to identify sender of the resource (Provenance or OAuth/OpenID or any other option )?
Lloyd McKenzie (Mar 02 2021 at 14:08):
By 'sender' do you mean system or user?
Last updated: Apr 12 2022 at 19:14 UTC