Skip to content

Commit

Permalink
remove unused redux actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Mar 11, 2024
1 parent f33db31 commit a8b3c20
Showing 1 changed file with 0 additions and 60 deletions.
60 changes: 0 additions & 60 deletions src/Redux/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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) => {
Expand Down Expand Up @@ -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 = (
Expand All @@ -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);
Expand Down

0 comments on commit a8b3c20

Please sign in to comment.