-
Notifications
You must be signed in to change notification settings - Fork 59
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
[Server Side] Add the Practitioner Details Fetch endpoint #853
[Server Side] Add the Practitioner Details Fetch endpoint #853
Comments
Suppose I'm a supervisor app and I need the details on the HCWs I'm managing to show them in a list, see their assigned tasks, maybe modify assignments or details. How would I get the details for a set of practitioners? |
As per our discussion @dubdabasoduba , a practitioner can be assigned to several organizations/teams at a time, which in return can cause a practitioner to be tied up to numerous locations. Therefore, we will keep the provision of multiple location hierarchies in the response payload. |
any comment on this? |
Apologies @pld for missing your prior comment. Wrt the modification of assignments and details, this would require a separate POST end-point. |
No worries, ok that sounds good! As you've explained, based on the way the APIs are scoped this is not relevant to the work we're doing towards this specific issue, that makes sense to me, thanks! |
@rehammuzzamil Do we have a PR for this work ? What's the status? |
Yes @f-odhiambo , the following three PRs are for the practitioner details end-point.
There is one pre-requisite PR on JPA Server to bump up HAPI FHIR Versions to mitigate log4j vulnerabilities. It is failing CI as there were a few changes done on the HAPI version >= 5.6.0 and refactoring were not done on the JPA project. Therefore, it is a kind of a blocker (from the HAPI side) to merge this opened PR. As per my suggestion shared with @dubdabasoduba , we can merge our Practitioner Details end-point opened PRs and let the version upgrade one in the backlog to fix it later. |
Updated by @rehammuzzamil on Mar 22nd Practitioner Details End-point:
|
Brief Updates as of 13th July, 2022:
|
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
/practitioner-details/{keycloak-uuid}
, the method is aGET
identifier
in the Practitioner object.Sample endpoint calls to fetch the data.
- Practitioner assigned care teams
https://fhir.labs.smartregister.org/fhir/LocationHierarchy?identifier=93bc9c3d-6321-41b0-9b93-1275d7114e22
Additional context
The text was updated successfully, but these errors were encountered: