Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta.source & Provenance #111

Open
awatson1978 opened this issue Sep 10, 2020 · 6 comments
Open

Meta.source & Provenance #111

awatson1978 opened this issue Sep 10, 2020 · 6 comments

Comments

@awatson1978
Copy link
Collaborator

Hello,
Quick question for the Intermediary/Hub implementations. Is there any guidance regarding how to model Provenance? We're going with Meta.source for the time being as we proxy MeasureReports from Cerner and relay them to LeidosWeb/NHSN. But that assumes the MeasureReport is correctly formatted to begin with, and we're just relaying it on. Also interested in the use cases around relaying APIs (such as from state or municipal governments, nursing home networks, etc); or if we have calculations and operations on the reports.
Thanks!

@JohnMoehrke
Copy link
Collaborator

Yes @awatson1978 . The Basic Provenance IG explicitly covers intermediary.
http://www.hl7.org/fhir/us/core/2019Sep/basic-provenance.html

@awatson1978
Copy link
Collaborator Author

Great. I'll start implementing that in the Gateway/Proxy context.

Next question... the LeidosWeb HAPI server is overwriting Meta.source. Is that expected behavior?

@awatson1978
Copy link
Collaborator Author

awatson1978 commented Sep 11, 2020

Also, this IG spells out how to do provenance for GET operations, but not POST operations?

@JohnMoehrke
Copy link
Collaborator

POST will be dependent on the capability of your POST use.
Posting a bundle can just include the Provenance
Posting a single resource might be able to use the X header, if the server supports it. http://build.fhir.org/provenance.html#header

So what more is needed? How is this need related to SANER? The issue definition seemed generic and not specific to SANER.

@JohnMoehrke JohnMoehrke reopened this Sep 11, 2020
@awatson1978
Copy link
Collaborator Author

Yes, I agree X-Header is the way to go for the PUSH functionality, but it will need to be added to the SANER spec as an implementation detail.

I'm concerned that X-Header doesn't get carried along with the payload though. So, in the case of a municipal or state government acting as an intermediary and merging data into the reports from, say, nursing homes or schools, I'd think that we'd need a proper Bundle. Which, to date, we haven't been testing in the SANER spec or in the Inferno testing.

@JohnMoehrke
Copy link
Collaborator

An intermediary that is not going to reflect the X-header, MUST that point forward us a transaction bundle that includes the Provenance detail.

I am more worried that the x-header is simply not supported at all. So I would tend to say that SANER, if provenance is needed, MUST require the use of batch/transaction style of POST, rather than individual resource (create) post. Where that bundle contains the measure and the provenance of that measure. This is far more likely to be supported everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants