FHIROperation
open class FHIROperation: CustomStringConvertible
Named operations to be performed against a FHIR REST endpoint.
-
Undocumented
Declaration
Swift
open class FHIROperation: CustomStringConvertible
-
Validate the receiver against its operation definition.
Declaration
Swift
open func validate(with definition: OperationDefinition) throwsParameters
withThe OperationDefinition with which to validate the operation
-
Return the relative server URL the operation will call.
Declaration
Swift
open func serverPath() throws -> String -
Perform the operation on the given server. You probably want to call
validateWith()first.Declaration
Swift
open func perform(onServer server: FHIRServer, callback: @escaping ((_ response: FHIRServerResponse) -> Void)) throwsParameters
on ServerThe server on which to perform the operation
-
Declaration
Swift
open var description: String
View on GitHub
Install in Dash
FHIROperation Class Reference