FHIRModes is a Swift library for FHIR® resource data models.
feature
- Native Swift representations of FHIR resources, elements and data types
- Separate targets for DSTU2, STU3, R4, R4B, R5 and latest builds
- Mandatory non-nullability of mandatory parameters
- Enums for most closed code systems
- support value[x] type of enumeration
- Date/time parsing, validation, and conversion to and from NSDate
- Swift Codable support
Require
FHIRModes works with Swift 5.1 and newer. Running unit tests requires Swift 5.3 and newer.
Install
Swift Package Manageris the recommended way to add FHIRModes to your project:
- In Xcode 11 and newer, go to File » Swift Package Management » Add Package Dependency…
- Search for “FHIRModes” in the panel that appears or paste the full URL to the GitHub repository and select the package
- Choose the version that works best for you (usually the current version and “to the next major version”)
- To update dependencies, periodically select “Update to latest package version” from Xcode 11’s File » Swift Package Management menu
Alternatively, FHIRModels can bePackage.swift
Add to the file as a dependency:
dependencies: [
.package(url: "https://github.com/apple/FHIRModels.git",
.upToNextMajor(from: "0.5.0"))
]
existoperation methodsection on how to use the FHIR model.
#FHIRModes #Homepage #Documentation #Downloads #FHIR #Resource #Data #Model #Swift #Library #News Fast Delivery