Overview of FHIRModels features and requirements
mainFHIRModels provides native Swift representations of FHIR resources, elements, and data types.
Key Features
- Versioned Targets: Separate targets are available for different FHIR versions:
DSTU2,STU3,R4,R4B,R5, and latest build versions. - Type Safety: Enforced non-nullability for mandatory parameters and enums for most closed code systems.
- Value[x] Support: Enums are used to support FHIR
value[x]types. - Data Handling: Includes Date/Time parsing, validation, and conversion to/from
NSDate. - Swift Integration: All models conform to
CodableandSendable.
Requirements
- Swift Version: 5.7 or newer.
- Platforms: macOS, iOS, watchOS, tvOS, and Linux.