source: frontend/src/services/medicalItemsService.js@ f05de05

Last change on this file since f05de05 was f05de05, checked in by MBK <marija.karapandzova@…>, 4 months ago

Add pages and routing for lab tests, procedures and billing with api services

  • Property mode set to 100644
File size: 522 bytes
Line 
1import apiClient from './api';
2
3export const medicalItemsService = {
4 getDiagnosesForPatient: (patientId) => apiClient.get(`/diagnoses/patient/${patientId}`),
5
6 getPrescriptionsForMedicalRecord: (medicalRecordId) => apiClient.get(`/prescriptions/medical-record/${medicalRecordId}`),
7
8 getAllergiesForMedicalRecord: (medicalRecordId) => apiClient.get(`/medical-records/${medicalRecordId}/allergies`),
9
10 getSymptomsForMedicalRecord: (medicalRecordId) => apiClient.get(`/medical-records/${medicalRecordId}/symptoms`),
11};
Note: See TracBrowser for help on using the repository browser.