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:

  1. In Xcode 11 and newer, go to File » Swift Package Management » Add Package Dependency…
  2. Search for “FHIRModes” in the panel that appears or paste the full URL to the GitHub repository and select the package
  3. Choose the version that works best for you (usually the current version and “to the next major version”)
  4. To update dependencies, periodically select “Update to latest package version” from Xcode 11’s File » Swift Package Management menu

Alternatively, FHIRModels can bePackage.swiftAdd 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

Leave a Comment

Your email address will not be published. Required fields are marked *