Skip to content

Expected library size inquiry #34

Open

Description

@gomez-andres

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?

Activity

  1. p2-apple commented on Feb 5, 2025

    @p2-apple
    Member

    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.

  2. added
    enhancement
    question
    on Feb 5, 2025
  3. self-assigned this
    on Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementquestion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions