TreatmentType and ProsthesisType database shcema and data updated. Lab dispatch wired through new data.

This commit is contained in:
2026-07-06 20:40:19 +03:30
parent 3e81c110a3
commit 667b08ed0c
48 changed files with 1813 additions and 275 deletions

View File

@@ -0,0 +1,13 @@
import { apiClient } from './client';
import type { ProsthesisCatalogEntry } from '@/types/treatment-catalog';
export const prosthesisCatalogApi = {
list: async (
labOrganizationId?: string,
): Promise<{ success: boolean; data: ProsthesisCatalogEntry[] }> => {
const response = await apiClient.get('/prosthesis-catalog', {
params: labOrganizationId ? { labOrganizationId } : undefined,
});
return response.data;
},
};