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.
Is your feature request related to a problem? Please describe.
The _text field is a narrative (typically encoded in HTML(!!!)) for rendering the resource on screen. It's not something we can use on Android easily, and it's typically not something the user cases about and wants to edit. It can be large, especially for resources originated from external systems (can be auto generated).
Describe the solution you'd like
We might want to strip out the _text field from resources downloaded from a server.
This will result in correct behaviour in syncing, only because we sync the patches rather than the whole resources... therefore, we also need to block changes to _text.
Describe alternatives you've considered
Keep the status quo
Make this optional so that developers can choose if to strip this out?
Make this generic so that developers can choose to strip any field(s) out, this can be very powerul. And we can provide a default setting which is to strip out _text
Is your feature request related to a problem? Please describe. The _text field is a narrative (typically encoded in HTML(!!!)) for rendering the resource on screen. It's not something we can use on Android easily, and it's typically not something the user cases about and wants to edit. It can be large, especially for resources originated from external systems (can be auto generated).
Describe the solution you'd like We might want to strip out the
_text
field from resources downloaded from a server.This will result in correct behaviour in syncing, only because we sync the patches rather than the whole resources... therefore, we also need to block changes to
_text
.Describe alternatives you've considered
_text
Additional context https://www.hl7.org/fhir/domainresource-definitions.html#DomainResource.text
This is releated to #1990
Would you like to work on the issue? NA