Situation
Hello Team,
I am having 3 issues while working with OpenEMR. I have posted the three issues one by one below :
-
PractitionerRole API returns 0 results when searching with practitioner FHIR ID
I am trying to get the PractitionerRole resource by passing the practitioner FHIR ID as a “practitioner” search parameter when doing a GET call on PractitionerRole API. Doing so i get 0 results even when the Practitioner ID is correct and 2 roles for that practitioner exists in the system.
When i change the GET request to use only PractitionerRole API without any search parameters, it correctly returns all the PractitionerRole resources for all the Practitioners in the system. However, query with search parameter is not returning the expected results -
DiagnosticReport API returns resources with incorrect reference of subject (patient)
I added clinical notes for a patient in OpenEMR, when reading these CN through API, the result count is 0 when a patient FHIR ID is passed as the search parameter to DiagnosticReport API. When the search parameter is removed the returned resources have incorrect reference of resource.
This issue is exactly same as Diagnostic Report FHIR API - #4 by adunsulag . However, there is no resolution posted. Did we resolved this issue? -
What are the SMART App considerations we need to make when designing our application that would integrate with OpenEMR’s SMART APP launch Framework.
-
Should the app support a specific browser?
-
Do we have any limited headers that needs to be set and used?
-
During a SMART on FHIR launch, what are the other details passed along with access_token and Id_toke? Does it include patient context like patient FHIR ID, encounter FHIR ID, patient name etc. Do we already have this documented as i couldnot find it.
OpenEMR Version
I’m using OpenEMR version 7.0.0
Browser:
I’m using: Edge
Operating System
I’m using: Linux
Logs
Did you check the logs? Yes
Was there anything pertinent in them? No. I cannot see any logs added in Admin >> System >> Logs for the FHIR APIs that i try to access through postman.
Please paste them here (surround with three backticks (```) for readability.
You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All