The autogenerated FHIR types are not required for the core functionality of FHIRClient, and additionally the file with the autogenerated FHIR types is extremely large (which means unnecessary parsing and precompilation in case they are not used). I think we could maybe strip down the package and move the autogenerated types to a separate package - only the downstream users that do not define their own FHIR types have to depend on it and load it. Moreover, FHIR types for other FHIR versions could be defined in additional packages.
The autogenerated FHIR types are not required for the core functionality of FHIRClient, and additionally the file with the autogenerated FHIR types is extremely large (which means unnecessary parsing and precompilation in case they are not used). I think we could maybe strip down the package and move the autogenerated types to a separate package - only the downstream users that do not define their own FHIR types have to depend on it and load it. Moreover, FHIR types for other FHIR versions could be defined in additional packages.