FHIR Chat · Anybody running into a MeasureReport create error? · Covid-19 Response

Stream: Covid-19 Response

Topic: Anybody running into a MeasureReport create error?


view this post on Zulip Nick Rupley (May 13 2020 at 23:07):

Does this ID look familiar to any clients out there testing against our (NextGen/Mirth) server?

eTT0jLbJk4eXszr4CCUWYFnhSQJ552IQfLNVpN5oGXeeyQbNqRd3kyOV8SJqFGFSA3

I noticed that some client hit our create endpoint with a resource payload that had that ID, and then expected to do a read against that ID. However I believe the intention behind the FHIR create interaction is for the server to auto-generate a new ID and return that info in the 201 response. So look at the response payload for the actual ID that was created. It should be in the Location response header, and also the full resource is included as the response payload (unless a return=minimal Prefer header was used).

You can also alternatively use the update interaction instead, if you want to create a resource while preserving your own ID. We have the "updateCreate" option enabled for the MeasureReport resource.

view this post on Zulip Michael Donnelly (May 13 2020 at 23:07):

I didn't interact with your server, but that looks like my ID.

view this post on Zulip Michael Donnelly (May 13 2020 at 23:07):

I'll check and confirm....

view this post on Zulip Michael Donnelly (May 13 2020 at 23:08):

Yep, definitely mine.

view this post on Zulip Michael Donnelly (May 13 2020 at 23:08):

Oh, I have a hunch.

view this post on Zulip Michael Donnelly (May 13 2020 at 23:08):

...

view this post on Zulip Michael Donnelly (May 13 2020 at 23:10):

https://connectathon.epic.com/Interconnect-Fhir-Unsecure/api/FHIR/R4/MeasureReport/eTT0jLbJk4eXszr4CCUWYFnhSQJ552IQfLNVpN5oGXeeyQbNqRd3kyOV8SJqFGFSA3

view this post on Zulip Nick Rupley (May 13 2020 at 23:12):

Could be that someone else pulled that from your server and pushed to mine :)

view this post on Zulip Michael Donnelly (May 13 2020 at 23:12):

That's what I'm figuring.

view this post on Zulip Michael Donnelly (May 13 2020 at 23:12):

That's a report that was created with a MeasureReport create interaction.

view this post on Zulip Michael Donnelly (May 13 2020 at 23:12):

So maybe they pushed to me, got the result, and then pushed that to you?

view this post on Zulip Michael Donnelly (May 13 2020 at 23:13):

Doesn't really help us figure out who it was.

view this post on Zulip Keith Boone (May 14 2020 at 00:37):

You might look at your audit event reports to see who created it ;-)

view this post on Zulip Nick Rupley (May 14 2020 at 00:39):

Right, I do have an IP address, but I didn't want to just blast that out publicly haha...

view this post on Zulip Michael Donnelly (May 14 2020 at 01:44):

Did you get a read from that IP address to the correct ID?

view this post on Zulip Nick Rupley (May 14 2020 at 02:38):

Checked again and yep, looks like they figured it out :)


Last updated: Apr 12 2022 at 19:14 UTC