FHIRModels
FHIRModels copied to clipboard
Expected library size inquiry
I am trying to integrate my app with FHIRModels (specifically R4) and am finding that adding the library to an app adds up to 30MB to the app. This app won't be utilizing the full FHIR spec (which is quite vast). Are there any build optimizations that can be done outside of just importing R4 and FMCore? What is the expected increase in IPA size when adding this library?
That’s a good point. One option is to just include the resources you need in your own target, and then add the FHIR elements (such as Period, Address, …) as necessary. It’s probably a bit tedious but that way the size should come down.
I can think whether this could be automated via a script.