I'd like to change Pydantic settings like extra="ignore" for all FHIR models without subclassing every generated resource (Patient, Observation, etc.) from fhir.resources.
FHIRAbstractModel hardcodes extra="forbid", and per-class overrides don't scale with codegen'd models.
Is there a supported way to configure this globally? Happy to PR something if you have a preferred approach
I'd like to change Pydantic settings like extra="ignore" for all FHIR models without subclassing every generated resource (Patient, Observation, etc.) from fhir.resources.
FHIRAbstractModel hardcodes extra="forbid", and per-class overrides don't scale with codegen'd models.
Is there a supported way to configure this globally? Happy to PR something if you have a preferred approach