Status
public enum Status : Equatable, RawRepresentable, Codable, Sendable
All defined states of a task (see gemSysL_eRp chapter 2.4.6 “Konzept Status E-Rezept”)
-
The task has been initialized but is not yet ready to be acted upon.
Declaration
Swift
case draft -
The task is ready (open) to be performed, but no action has yet been taken.
Declaration
Swift
case ready -
The task has been started by a pharmacy but is not yet complete. If the task is in this state it is blocked for any operation (e.g. redeem or delete)
Declaration
Swift
case inProgress -
The task was not completed and has been deleted.
Declaration
Swift
case cancelled -
The task has been completed which means it has been accepted by a pharmacy
Declaration
Swift
case completed -
The task state is not defined as subset of eRp status
Declaration
Swift
case undefined(status: String) -
This status is not part of the FHIR task status and is computed on device only. Status is computed in
ErxTaskEntity+ErxTaskDeclaration
Swift
case computed(status: ComputedStatus) -
Extra error status (not FHIR)
Declaration
Swift
case error(Error) -
Declaration
Swift
public enum ComputedStatus : String, Sendable -
The associated
RawValuetypeDeclaration
Swift
public typealias RawValue = String -
Creates a new instance with the specified raw value.
Declaration
Swift
public init?(rawValue: RawValue) -
The corresponding value of the raw type.
Declaration
Swift
public var rawValue: RawValue { get } -
Declaration
Swift
public enum Error : Swift.Error, RawRepresentable
View on GitHub
Status Enumeration Reference