diff --git a/src/Redux/actions.tsx b/src/Redux/actions.tsx index 73e1a839519..a3f1d429906 100644 --- a/src/Redux/actions.tsx +++ b/src/Redux/actions.tsx @@ -7,10 +7,6 @@ export const getUserList = (params: object, key?: string) => { return fireRequest("userList", [], params, null, key); }; -export const getAnyFacility = (id: number | string, key?: string) => { - return fireRequest("getAnyFacility", [], {}, { id: id }, key); -}; - export const getFacilityUsers = (id: string, params?: object) => { return fireRequest( "getFacilityUsers", @@ -68,9 +64,6 @@ export const getAllPatient = (params: object, altKey: string) => { export const getPatient = (pathParam: object) => { return fireRequest("getPatient", [], {}, pathParam); }; -export const patchPatient = (params: object, pathParam: object) => { - return fireRequest("patchPatient", [], params, pathParam); -}; // District/State/Local body/ward export const getDistrictByName = (params: object) => { @@ -142,10 +135,6 @@ export const externalResultList = (params: object, altKey: string) => { return fireRequest("externalResultList", [], params, null, altKey); }; -export const externalResult = (pathParam: object) => { - return fireRequest("externalResult", [], {}, pathParam); -}; - // Investigation export const listInvestigations = ( @@ -155,55 +144,6 @@ export const listInvestigations = ( return fireRequest("listInvestigations", [], params, null, altKey); }; -export const listInvestigationGroups = (params: object) => { - return fireRequest("listInvestigationGroups", [], params); -}; - -export const createInvestigation = ( - params: object, - consultation_external_id: string -) => { - return fireRequest("createInvestigation", [], params, { - consultation_external_id: consultation_external_id, - }); -}; - -export const getInvestigationSessions = ( - params: object, - consultation_external_id: string -) => { - return fireRequest("getInvestigationSessions", [], params, { - consultation_external_id: consultation_external_id, - }); -}; - -export const getInvestigation = ( - params: object, - consultation_external_id: string -) => { - return fireRequest("getInvestigation", [], params, { - consultation_external_id: consultation_external_id, - }); -}; - -export const getPatientInvestigation = ( - params: object, - patient_external_id: string -) => { - return fireRequest("getPatientInvestigation", [], params, { - patient_external_id: patient_external_id, - }); -}; - -export const editInvestigation = ( - params: object, - consultation_external_id: string -) => { - return fireRequest("editInvestigation", [], params, { - consultation_external_id: consultation_external_id, - }); -}; - // ICD11 export const listICD11Diagnosis = (params: object) => { return fireRequest("listICD11Diagnosis", [], params, null);