ErxTaskFHIRDataStore
public class ErxTaskFHIRDataStore : ErxRemoteDataStore
-
Declaration
Swift
public init(fhirClient: FHIRClient)
-
Declaration
Swift
public func fetchTask(by id: ErxTask.ID, accessCode: String?) -> AnyPublisher<ErxTask?, RemoteStoreError>
-
Declaration
Swift
public func listAllTasks(after referenceDate: String?) -> AnyPublisher<PagedContent<[ErxTask]>, RemoteStoreError>
-
Declaration
Swift
public func listTasksNextPage(of previousPage: eRpKit .PagedContent<[eRpKit.ErxTask]>) -> AnyPublisher<eRpKit.PagedContent<[eRpKit.ErxTask]>, eRpKit.RemoteStoreError>
-
Declaration
Swift
public func delete(tasks: [ErxTask]) -> AnyPublisher<Bool, RemoteStoreError>
-
Declaration
Swift
public func redeem(order: ErxTaskOrder) -> AnyPublisher<ErxTaskOrder, RemoteStoreError>
-
Declaration
Swift
public func fetchAuditEvent(by id: ErxAuditEvent.ID) -> AnyPublisher<ErxAuditEvent?, RemoteStoreError>
-
Declaration
Swift
public func listAllAuditEvents( after referenceDate: String? = nil, for locale: String? = nil ) -> AnyPublisher<PagedContent<[ErxAuditEvent]>, RemoteStoreError>
-
Declaration
Swift
public func listAuditEventsNextPage(from url: URL, locale: String?) -> AnyPublisher<PagedContent<[ErxAuditEvent]>, RemoteStoreError>
-
Declaration
Swift
public func listAllCommunications( after referenceDate: String?, for _: ErxTask.Communication.Profile ) -> AnyPublisher<[ErxTask.Communication], RemoteStoreError>
-
Declaration
Swift
public func listMedicationDispenses( for taskId: String ) -> AnyPublisher<[ErxMedicationDispense], RemoteStoreError>
-
Declaration
Swift
public func fetchChargeItem(by id: ErxChargeItem.ID) -> AnyPublisher<ErxChargeItem?, RemoteStoreError>
-
Declaration
Swift
public func listAllChargeItems(after referenceDate: String?) -> AnyPublisher<[ErxChargeItem], RemoteStoreError>
-
Declaration
Swift
public func delete(chargeItems: [ErxChargeItem]) -> AnyPublisher<Bool, RemoteStoreError>
-
Declaration
Swift
public func fetchConsents() -> AnyPublisher<[ErxConsent], RemoteStoreError>
-
Declaration
Swift
public func grantConsent( _ consent: ErxConsent ) -> AnyPublisher<ErxConsent?, RemoteStoreError>
-
Declaration
Swift
public func revokeConsent( _ category: ErxConsent.Category ) -> AnyPublisher<Bool, RemoteStoreError>