NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #3069 most downloaded on PyPI
FHIR Core library
Latest stable
1.1.12
Last release 1 months ago
18 Oct 2026
Release timing varies
gaps range from 8 days to 7 months
Nearly every release is documented
notes for 19 of 19 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
28 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
Global model_config customization for FHIR models #21 [developer-rpai]
New feature
Global model_config customization for FHIR models #21 [developer-rpai]
Make Id constraints customizable again: max_length and pattern are now resolved from fhir_core.constraints.TYPES_ID_MAX_LENGTH / TYPES_ID_PATTERN at schema build time, so patching those values before the FHIR models are imported relaxes validation as documented nazrulworld/fhir.resources#173
Fixes
Accept leap seconds (23:59:60) in the dateTime, instant and time types as the FHIR specification allows. Python's datetime cannot represent a second of 60, so such a value is validated and kept as the original string nazrulworld/fhir.resources#212
Annotate **pydantic_kwargs as typing.Any on the serializer methods (model_dump, model_dump_json, model_dump_yaml, model_dump_xml, dict, json), so strict type checkers no longer see them as Unknown.
Omit empty lists from model_dump(), model_dump_json() and model_dump_yaml() output, like None values, as FHIR elements are never empty (the XML serializer already left them out). They are kept when exclude_none=False is passed nazrulworld/fhir.resources#74
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Reject None elements in lists of complex types; primitive lists keep their null placeholders nazrulworld/fhir.resources#208 [asaraog]
Reject None elements in lists of complex types; primitive lists keep their null placeholders nazrulworld/fhir.resources#208 [asaraog]
Serialize the FHIR uuid type as the URI the specification asks for, urn:uuid:<uuid>, instead of a bare UUID nazrulworld/fhir.resources#180
Restore the lower bounds on unsignedInt and positiveInt so negative values no longer validate nazrulworld/fhir.resources#207 [asaraog]
Resolve the FHIR version prefix through the class MRO so model_dump_xml() works on subclasses nazrulworld/fhir.resources#209 [asaraog]
Fix KeyError during model_dump() when a subclass overrides a field's default and drops its alias nazrulworld/fhir.resources#182 [asaraog]
Fix issue #23 with annotated_types package after 0.8.0
Fix issue #23 with annotated_types package after 0.8.0
Fix regression where input to Decimal type can lose exponent i.e. 1.0 remains 1.0 not 1 #20
Fix regression where input to Decimal type can lose exponent i.e. 1.0 remains 1.0 not 1 #20
For primitive type's value required validation, empty extension is now acceptable.
Fixes: Decimal values lose precision during serialization — Decimal('19') becomes 19.0 in both model_dump() and model_dump_json() fhir.resources#203 [
Fixes: Decimal values lose precision during serialization — Decimal('19') becomes 19.0 in both model_dump() and model_dump_json() fhir.resources#203 [cmodevcodes]
Fixes error in supporting multiple fhir version into xml utilities.
Fixes error in supporting multiple fhir version into xml utilities.
Fix FHIR_TYPES_MAPS global state prevents using multiple FHIR versions in same process https://github.com/nazrulworld/fhir.resources/issues/202
Fix FHIR_TYPES_MAPS global state prevents using multiple FHIR versions in same process https://github.com/nazrulworld/fhir.resources/issues/202
Fixes the issue #16 "Encounter.class missing when serializing to XML".
Fixes the issue #16 "Encounter.class missing when serializing to XML".
Fixes the issue #14 "Wrong serialization of Instant type" [dhallam].
Fixes the issue #13 "pyright struggles with default position args".
Fixes the issue #13 "pyright struggles with default position args".
Fixes business logic for xml serializer, when summary move is active.
Fixes business logic for xml serializer, when summary move is active.
Fixes nested ignoring (non primitive field serialization), if summary mode is enabled.
Fixes nested ignoring (non primitive field serialization), if summary mode is enabled.
Issue #12 missing xmlparser argument for FHIRAbstractModel.model_validate_xml.
Extra field property name is_summery_element has been renamed to summary_element_property
Extra field property name is_summery_element has been renamed to summary_element_property
Issue 11: _ Added support for FHIR _summary based filter during serialization.
New features
Issue 11: <https://github.com/nazrulworld/fhir-core/issues/11>_ Added support for FHIR _summary based filter during serialization.
Issue: deprecated access of model_fields in Pydantic model instances. https://github.com/nazrulworld/fhir-core/issues/9.
Fixes
Issue: deprecated access of model_fields in Pydantic model instances. https://github.com/nazrulworld/fhir-core/issues/9.
External issue https://github.com/nazrulworld/fhir.resources/issues/175
Fixes
External issue https://github.com/nazrulworld/fhir.resources/issues/175
XML serialization/deserialization support has been added.
XML serialization/deserialization support has been added.
Remove dependency on typed-ast as it is not needed and won't work in later Python versions.
Fix typo in test case.
Raising 'ValueError' has been suspended inside Fhir Model Validation 'fhir_model_validator()', if None value is provided.
Improves missing value validation message, as error type is now model_field_validation.missing.
Improves missing value validation message, as error type is now model_field_validation.missing.
Improve validation error message.
Improve validation error message.
Version policy updated, now .bx suffix has been removed.
Version policy updated, now .bx suffix has been removed.
Fixes
Business logic for None type validation against FHIR Model validator as None value is acceptable! Instead, you should make Pydantic field optional.
Issue: AttributeError: 'NoneType' object has no attribute '__resource_type__' https://github.com/nazrulworld/fhir.resources/issues/164#issuecomment-23
Fixes
Issue: AttributeError: 'NoneType' object has no attribute '__resource_type__' https://github.com/nazrulworld/fhir.resources/issues/164#issuecomment-2338404044
YAML dump & validate options are added into FHIRAbstractModel.
YAML dump & validate options are added into FHIRAbstractModel.
typing hint added for the function ´´create_fhir_type´´ and ´´create_fhir_element_or_resource_type´´.
typing hint added for the function ´´create_fhir_type´´ and ´´create_fhir_element_or_resource_type´´.
Core configurations for types Id & String are coming from constraint module.
Core configurations for types Id & String are coming from constraint module.
Default maximum char length Id is now 255.
Fixes the function that is checking is_primitive, as missing bytes and bytesarray are added.
Fixes the function that is checking is_primitive, as missing bytes and bytesarray are added.
Encoding is handled for Base64Binary type.
- Fixes extension serialization.
Fixes extension serialization.
Fixes the function that is checking is_primitive.
Fixes the function that is checking is_primitive.
Fixes validator for Resource & Element types.
Fixes pattern as string for some of primitives types. fx UriType.
Bugfixes
Fixes pattern as string for some of primitives types. fx UriType.
Fixes model serializer.
The first beta release! and this release is not stable enough to use in production.
The first beta release! and this release is not stable enough to use in production.
One column per month.