Stream: Covid-19 Response
Topic: Anybody running into a MeasureReport create error?
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.
Michael Donnelly (May 13 2020 at 23:07):
I didn't interact with your server, but that looks like my ID.
Michael Donnelly (May 13 2020 at 23:07):
I'll check and confirm....
Michael Donnelly (May 13 2020 at 23:08):
Yep, definitely mine.
Michael Donnelly (May 13 2020 at 23:08):
Oh, I have a hunch.
Michael Donnelly (May 13 2020 at 23:08):
...
Michael Donnelly (May 13 2020 at 23:10):
Nick Rupley (May 13 2020 at 23:12):
Could be that someone else pulled that from your server and pushed to mine :)
Michael Donnelly (May 13 2020 at 23:12):
That's what I'm figuring.
Michael Donnelly (May 13 2020 at 23:12):
That's a report that was created with a MeasureReport create interaction.
Michael Donnelly (May 13 2020 at 23:12):
So maybe they pushed to me, got the result, and then pushed that to you?
Michael Donnelly (May 13 2020 at 23:13):
Doesn't really help us figure out who it was.
Keith Boone (May 14 2020 at 00:37):
You might look at your audit event reports to see who created it ;-)
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...
Michael Donnelly (May 14 2020 at 01:44):
Did you get a read from that IP address to the correct ID?
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