-
Notifications
You must be signed in to change notification settings - Fork 485
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
Patient-everything operation didn't return related devices and patients referenced by "seealso" links #2816
Comments
Hi @Alan-Kuan, with the current implementation you must complete all bundle pages to have the complete set of results. If you have a scenario that isn't working it would be ideal if you could provide a sample to repo the behavior. We have an http script (see https://github.com/microsoft/fhir-server/blob/main/docs/rest/Readme.md for setup) that walks through the current behavior: https://github.com/microsoft/fhir-server/blob/main/docs/rest/PatientEverythingLinks.http |
Hi @brendankowitz, Sorry for the late reply. I got sick last week. I followed the sample today, but I still encountered the issue I described.
After I sent the request, I expected the response would contain those things metioned in the comment at once. However, I only saw the Patient "mum" and the HL7 organization.
After I sent this request with the next link, I received the cashew allergy intolerance and the appendectomy procedure this time. However, I did not receive the device-mum device.
I had to send the request with the parameter For retrieving the Patient "mother" and device-mother device, I had to send the request with the parameter My question is that whether what I saw was actually normal or unusual? |
@fhibf - Is this something you were looking into already ? |
Describe the bug
I was trying the patient-everything feature, but I encountered some unexpected behaviors.
GET /Patient/{{ patient.id }}/$everything
. I could retrieve more resources with the provided "next" link; however, I was not sure whether this was a normal behavior._type
with the valueDevice
to the GET request (GET /Patient/{{ patient.id }}/$everything?_type=Device
).FHIR Version?
R4
Data provider?
SQL Server
To Reproduce
These are resources in my DB:
I sent a request with the returned "next" link (
GET /Patient/{{ patient.id }}/$everything?ct={{ continuation token }}
).Expected behavior
The returned bundle contained Patient 2, the RelatedPerson, the CarePlan, the Procedure, and the Device.
Actual behavior
The returned bundle contained only the RelatedPerson, the CarePlan, and the Procedure, which were all "Patient Compartment".
AB#95696
The text was updated successfully, but these errors were encountered: