Typealiases

The following typealiases are available globally.

  • A JSON dictionary, with String keys and Any values.

    Declaration

    Swift

    public typealias FHIRJSON = [String: Any]
  • The block signature for server interaction callbacks that return an error.

    Declaration

    Swift

    public typealias FHIRErrorCallback = ((FHIRError?) -> Void)
  • The block signature for most server interaction callbacks that return a resource and an error.

    Declaration

    Swift

    public typealias FHIRResourceErrorCallback = ((Resource?, FHIRError?) -> Void)