- Notifications
You must be signed in to change notification settings - Fork31
Swift library for FHIR® resource data models
License
apple/FHIRModels
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
FHIRModels is a Swift library forFHIR® resource data models.
- Native Swift representation of FHIR resources, elements and data types
- Separate targets for DSTU2, STU3, R4, R4B, R5 and latest build versions
- Enforced non-nullability of mandatory parameters
- Enums for most closed code systems
- Enums to support value[x] types
- Date/Time parsing, validation and conversion to and from NSDate
- Swift Codable support
FHIRModels works with Swift 5.7 and newer.
Swift Package Manager is the recommended way to add FHIRModels to your project:
- In Xcode 11 and newer, go to “File” » “Add Package Dependencies...”
- Search for “FHIRModels” in the panel that comes up or paste the full URL to the GitHub repository, then select the package
- Pick the versioning that best works for you (usually the current version and “up to next major”)
- In order to update the dependency, periodically select “Update to Latest Package Versions” from Xcode's “File” » ”Packages” menu
Alternatively, you can add FHIRModels to yourPackage.swift file as a dependency:
dependencies:[.package(url:"https://github.com/apple/FHIRModels.git",.upToNextMajor(from:"0.8.0"))]
Learn how to use FHIRModels in ourHow To section.
Please feel free to openGitHub issues for questions, suggestions or issues you may have.Because the majority of the codebase is generated we will not be able to accept Pull Requests at this time.
This work isAPACHE 2.0 licensed.
FHIR® is the registered trademark of HL7 and is used with the permission of HL7. Use of the FHIR trademark does not constitute endorsement of this product by HL7.
About
Swift library for FHIR® resource data models
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.