@oystehr/sdk
Version:
Oystehr SDK
32 lines (31 loc) • 1.66 kB
TypeScript
import { ErxV1AllergySearchParams, ErxV1AllergySearchResponse, ErxV1CancelOrderParams, ErxV1CancelOrderResponse, ErxV1CancelPrescriptionParams, ErxV1CancelPrescriptionResponse, ErxV1MedicationSearchParams, ErxV1MedicationSearchResponse, ErxV1SyncPatientParams, ErxV1SyncPatientResponse, OystehrClientRequest } from '../..';
import { SDKResource } from '../../client/client';
import { OystehrConfig } from '../../config';
export declare class ErxV1 extends SDKResource {
#private;
constructor(config: OystehrConfig);
/**
* Retrieve patient properties from FHIR service and sync them with eRx service
*/
syncPatient(params: ErxV1SyncPatientParams, request?: OystehrClientRequest): Promise<ErxV1SyncPatientResponse>;
/**
* Search for allergies
*/
allergySearch(params: ErxV1AllergySearchParams, request?: OystehrClientRequest): Promise<ErxV1AllergySearchResponse>;
/**
* Cancel photon order
*/
cancelOrder(params: ErxV1CancelOrderParams, request?: OystehrClientRequest): Promise<ErxV1CancelOrderResponse>;
/**
* Cancel photon prescription
*/
cancelPrescription(params: ErxV1CancelPrescriptionParams, request?: OystehrClientRequest): Promise<ErxV1CancelPrescriptionResponse>;
/**
* Search for medications. Provide at least one of code or name filters
*/
medicationSearch(params: ErxV1MedicationSearchParams, request?: OystehrClientRequest): Promise<ErxV1MedicationSearchResponse>;
/**
* Search for medications. Provide at least one of code or name filters
*/
medicationSearch(request?: OystehrClientRequest): Promise<ErxV1MedicationSearchResponse>;
}