|
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 | |
|---|
| 1 | import apiClient from './api';
|
|---|
| 2 |
|
|---|
| 3 | export 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.