google / android-fhir

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.
https://google.github.io/android-fhir/
Apache License 2.0
465 stars 246 forks source link

Handle empty repeated group header. #2574

Closed santosh-pingle closed 1 week ago

santosh-pingle commented 1 week ago

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).

Fixes #726

Description In paginated layout, empty repeated group header was shown.

issue : It was creating empty answer component for repeated group item while packing repeated group header. fix :

  1. do not create empty response item component for repeated group header.
  2. do not filter empty answer component for repeated group

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

santosh-pingle commented 1 week ago

https://github.com/google/android-fhir/assets/86107848/44b2c49f-4874-4e1d-9a9f-4a21892a11be