source: frontend/node_modules/.cache/babel-loader/255a91dba254280c3beae8a5fd6fa1d85557b57333122fddf0f10fbf2ca12d34.json

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago

Fix frontend appearance

  • Property mode set to 100644
File size: 2.1 KB
Line 
1{"ast":null,"code":"import apiClient from './api';\nconst ENDPOINT = '/medical-records';\nexport const medicalRecordService = {\n getMedicalRecordById: id => apiClient.get(`${ENDPOINT}/${id}`),\n getMedicalRecordByPatientId: patientId => apiClient.get(`${ENDPOINT}/patient/${patientId}`),\n searchMedicalRecords: params => apiClient.get(`${ENDPOINT}/search`, {\n params\n }),\n getAllergiesForMedicalRecord: medicalRecordId => apiClient.get(`${ENDPOINT}/${medicalRecordId}/allergies`),\n getSymptomsForMedicalRecord: medicalRecordId => apiClient.get(`${ENDPOINT}/${medicalRecordId}/symptoms`)\n};","map":{"version":3,"names":["apiClient","ENDPOINT","medicalRecordService","getMedicalRecordById","id","get","getMedicalRecordByPatientId","patientId","searchMedicalRecords","params","getAllergiesForMedicalRecord","medicalRecordId","getSymptomsForMedicalRecord"],"sources":["C:/Users/User/Downloads/medora5/frontend/src/services/medicalRecordService.js"],"sourcesContent":["import apiClient from './api';\n\nconst ENDPOINT = '/medical-records';\n\nexport const medicalRecordService = {\n getMedicalRecordById: (id) => apiClient.get(`${ENDPOINT}/${id}`),\n\n getMedicalRecordByPatientId: (patientId) => apiClient.get(`${ENDPOINT}/patient/${patientId}`),\n\n searchMedicalRecords: (params) => apiClient.get(`${ENDPOINT}/search`, { params }),\n\n getAllergiesForMedicalRecord: (medicalRecordId) => apiClient.get(`${ENDPOINT}/${medicalRecordId}/allergies`),\n\n getSymptomsForMedicalRecord: (medicalRecordId) => apiClient.get(`${ENDPOINT}/${medicalRecordId}/symptoms`),\n};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,OAAO;AAE7B,MAAMC,QAAQ,GAAG,kBAAkB;AAEnC,OAAO,MAAMC,oBAAoB,GAAG;EAClCC,oBAAoB,EAAGC,EAAE,IAAKJ,SAAS,CAACK,GAAG,CAAC,GAAGJ,QAAQ,IAAIG,EAAE,EAAE,CAAC;EAEhEE,2BAA2B,EAAGC,SAAS,IAAKP,SAAS,CAACK,GAAG,CAAC,GAAGJ,QAAQ,YAAYM,SAAS,EAAE,CAAC;EAE7FC,oBAAoB,EAAGC,MAAM,IAAKT,SAAS,CAACK,GAAG,CAAC,GAAGJ,QAAQ,SAAS,EAAE;IAAEQ;EAAO,CAAC,CAAC;EAEjFC,4BAA4B,EAAGC,eAAe,IAAKX,SAAS,CAACK,GAAG,CAAC,GAAGJ,QAAQ,IAAIU,eAAe,YAAY,CAAC;EAE5GC,2BAA2B,EAAGD,eAAe,IAAKX,SAAS,CAACK,GAAG,CAAC,GAAGJ,QAAQ,IAAIU,eAAe,WAAW;AAC3G,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
Note: See TracBrowser for help on using the repository browser.