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

Populate user assignements into PractitionerDetails contained field #109

Closed
Rkareko opened this issue Jan 16, 2025 · 0 comments · Fixed by #115
Closed

Populate user assignements into PractitionerDetails contained field #109

Rkareko opened this issue Jan 16, 2025 · 0 comments · Fixed by #115
Assignees

Comments

@Rkareko
Copy link
Collaborator

Rkareko commented Jan 16, 2025

The current implementation stores the user assignment resources in the FhirPractitionerDetails class.
During parsing of the bundle on the android app the HAPI FHIR JsonParser only populates 1 item for each of the fields in the FhirPractitionerDetails even though the payload from the server contains multiple values. This issue is documented here

The HAPI FHIR JsonParser parses all resource entries in the contained field correctly.
As such, the fix is to populate the PractitionerDetails.contained field with the user assigned resources such as locations, teams, groups e.t.c

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

Successfully merging a pull request may close this issue.

1 participant