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

DiagnosticReport posted for newly posted Patient is not found by standard search methods using information from Patient #82

Open
NACHC-CAD opened this issue Nov 24, 2022 · 0 comments

Comments

@NACHC-CAD
Copy link

I'm trying to find DiagnosticReport resources for a given patient using the SmartHealthIt R4 server for testing (https://r4.smarthealthit.org/).

I've loaded a new Patient and new DiagnosticReport using the id of the patient, for example:

A Patient resource that contains this:
"resourceType": "Patient",
"id": "1435573",

And a DiagnosticReport that has this:

"subject": {
"reference": "Patient/1435573"
}

None of these searches returns the DiagnosticReport. The queries below are based on Hapi FHIR: searching for patient identifier using Postman. All of the queries give basically an empty bundle (contains only the self url) except for the last that gives an invalid query error.

Queries:

https://r4.smarthealthit.org/DiagnosticReport?subject=1435573

https://r4.smarthealthit.org/DiagnosticReport?patient.identifier=1435573

https://r4.smarthealthit.org/DiagnosticReport?subject=Patient/1435573

https://r4.smarthealthit.org/DiagnosticReport?subject=https://r4.smarthealthit.org/Patient/1435573

https://r4.smarthealthit.org/DiagnosticReport?subject=http://r4.smarthealthit.org/Patient/1435573

https://r4.smarthealthit.org/DiagnosticReport?subject.reference=1435573 (invalid parameter chain error)

More details are available here:
https://stackoverflow.com/questions/74510589/fhir-not-finding-diagnosticreport-for-patient-id-on-smarthealthit-server

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

1 participant