The Android FHIR SDK is a set of Kotlin libraries for building offline-capable, mobile-first healthcare applications using the HL7® FHIR® standard on Android.
IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #2495
Description
Issue:
As pointed by @LZRS in the #2495 description ,
The sql query in the LocalChangeDao.getReferencesForLocalChangesshould use IN operator instead of = operator to fetch all LocalChangeResourceReferenceEntity for the passed LocalChange ids.
Changes:
Updated sql query to use IN.
Added test to check the usage of LocalChangeDao.getReferencesForLocalChanges with single and multiple LocalChange .
Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #2495
Description Issue: As pointed by @LZRS in the #2495 description , The sql query in the
LocalChangeDao.getReferencesForLocalChanges
should useIN
operator instead of=
operator to fetch all LocalChangeResourceReferenceEntity for the passed LocalChange ids.Changes:
IN
.LocalChangeDao.getReferencesForLocalChanges
with single and multiple LocalChange .Alternative(s) considered Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type Choose one: Bug fix
Screenshots (if applicable)
Checklist
./gradlew spotlessApply
and./gradlew spotlessCheck
to check my code follows the style guide of this project../gradlew check
and./gradlew connectedCheck
to test my changes locally.