You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When extracting a Questionnaire containing both Patient and Observation resources using the Android FHIR SDK, the extraction behavior is inconsistent:
On the first extraction attempt, both Patient and Observation resources are returned as expected.
On subsequent attempts, only the Patient resource is extracted.
This behavior suggests a potential issue with resource handling or caching during the extraction process.
Component
SDC Library.
To Reproduce
Create a Questionnaire containing Patient and Observation resources.
Perform an extraction using the SDC Library.
i). First attempt: Both Patient and Observation resources are returned.
ii). Subsequent attempts: Only the Patient resource is returned.
Expected behavior
Both Patient and Observation resources should consistently be extracted on every attempt.
Screenshots
Additional context
Add any other context about the problem here.
Would you like to work on the issue?
N/A
The text was updated successfully, but these errors were encountered:
@Itskiprotich You can use the code below to convert the resources (Questionnaire, QuestionnaireResponse) into a JSON string for posting here. FhirContext.forCached(FhirVersionEnum.R4).newJsonParser().encodeResourceToString(questionnaireResponse)
Describe the bug
When extracting a Questionnaire containing both Patient and Observation resources using the Android FHIR SDK, the extraction behavior is inconsistent:
On the first extraction attempt, both Patient and Observation resources are returned as expected.
On subsequent attempts, only the Patient resource is extracted.
This behavior suggests a potential issue with resource handling or caching during the extraction process.
Component
SDC Library.
To Reproduce
i). First attempt: Both Patient and Observation resources are returned.
ii). Subsequent attempts: Only the Patient resource is returned.
Expected behavior
Both Patient and Observation resources should consistently be extracted on every attempt.
Screenshots
Additional context
Add any other context about the problem here.
Would you like to work on the issue?
N/A
The text was updated successfully, but these errors were encountered: