Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: added styles to the sidebar (#125) * feat: added montserrat font * feat: added styles to the sidebar * fix: modify the height and width of the icon * fix: modify width and color * feat: added a new color * fix: added a color for the border bottom * feat: scrum 140 UI ux update student data (#126) * feat: Added datalayer method for calling the api * feat: Implemented update student information view * feat: udpated tests * feat: Added update student info logic * feat: main CSS styling added (#124) * feat: main CSS styling added * feat: added a glow to the Icon Button * fix: added more width to the searchBar * feat: added getGeneralPatientInfo to SearchView * feat: added function to calculate age * feat: added deco for SearchView * feat: added PatientCard component and story * fix: reconfigured route due to missclick and moved to assets folder * feat: implemented search and result pages, result pages handles promises resolving with Suspense and promiseWrapper * fix: chaged stories to match the new view structure, pending test.jsx file * fix: removed unused API call * fix: now endpoint returns id, cui, names, and birthdate * fix: now receiving and formatting data from search patient endpoint * fix: now View only calls searchPatientApiCall to get the data properlly * fix: refactored stories and tests for SearchPatientView * fix: now bottom deco adjusts to screen * fix: added JSDoc to date utils functions * fix: fixed visuals * feat: integrated custom hook for getting the window measures * fix: fixed weird interaction with layout * fix: added responsiveness and fixed mixing up of async and promise resolving * fix: now PatientCard handles promise errors and View handles empty query errors * fix: now cards container has overflow y property * fix: restored default view * fix: removed unnecessary React.Fragment * feat: endpoint get for collaborator (#128) * feat: endpoint get for collaborator * fix: id correction for collaborator * feat: general update UI UX was made (#127) * feat: Added empty data return to studentinfo (#130) * feat: Added empty data return to studentinfo * fix: varios styles improvements to update patient * fix: routing navigation error * feat: colaborator view (#131) * feat: colaborator view * feat: colaborator view * fix: fixed being unable to change patient sex (#133) * fix: bug fixed, female option fixed (#136) * fix: bug fixed, female option fixed * fix: tests fixed * fix: scrum 201 componentes de carga en datos generales (#135) * feat: Adde throbber and improved default search view styles * fix: search patient secondary view styles * feat: Added throbbers to update general information view * fix: endpoint shouldn't fail if data doesn't exists * fix: carnet update bug on general tab (#138) * fix: Added padding to error message in UpdateGeneralInformationView (#137) * fix: Added padding to error message in UpdateGeneralInformationView * fix: Removed a comment * fix: reordered dashboard icons (#142) * feat: gui and css to the surgical history view (#129) * feat: added surgical history path * feat: added api response for surgical history * fix: fixed padding top for the name * feat: added surgical history * feat: added surgical and appointment card * feat: added cursor pointer and change colors based on theme * fix: change the border width for the card * fix: fixed the get and update function * fix: change route erros * feat: added new features to surgical history view * fix: import updatesurgicalhistory method * feat: added JSDoc * feat: added padding to return button * feat: added read only prop * feat: added read only to base input and drop down * fix: fixed update information error in surgery history * fix: modify truncate function * fix: fixed an error in add new surgical history function * fix: fixed a React error in Input * feat: added storybook and vitest * fix: change story component name * fix: fixed the returns * feat: added an index path * fix: added an error state * feat: added surgical history to sidebar * fix: fixed api functions * feat: added toast * feat: added toast to the proyect * fix: update InformationCard * feat: added Suspense to the view * fix: eliminate some duplicated files * fix: fixed vitest * fix: fix JSDoc and space in button * fix: fix a bug * fix: changed the format of get and update surgical history endpoint * fix: fixed api call * fix: fixed storybook * fix: fixed not displaying errors * fix: fixed error in test * fix: fixed order by year --------- Co-authored-by: ElrohirGT <[email protected]> * feat: added familiar traumatological get put methods (#143) * feat: added mapping functions for API responses * feat: added test helper functions for familiar and traumatological history * feat: added GET and PUT methods for familiar and traumatological endpoints * feat: added GET endpoint and integration test for familiar history * feat: added PUT endpoint and integration test for familiar history * feat: added GET endpoint and integration test for traumatological history * feat: added PUT endpoint and integration test for traumatological history * feat: added defaultValues for both endpoints * fix: fixed JSDoc * fix: fixed GET endpoints to respond with 200 status on no data for patient * feat: scrum 32 sso cognito backend (#134) * feat: Cognito User Pool configuration for authentication * fix: Added debug flag to sam command * feat: Added UVG background image * feat: Added basic login view * feat: Added cognito identity * feat: added folders for Logout and Register views * fix: fixed storybook component names * fix: fixed being unable to change patient sex (#133) * fix: bug fixed, female option fixed (#136) * fix: bug fixed, female option fixed * fix: tests fixed * fix: scrum 201 componentes de carga en datos generales (#135) * feat: Adde throbber and improved default search view styles * fix: search patient secondary view styles * feat: Added throbbers to update general information view * fix: endpoint shouldn't fail if data doesn't exists * fix: carnet update bug on general tab (#138) * fix: Added padding to error message in UpdateGeneralInformationView (#137) * fix: Added padding to error message in UpdateGeneralInformationView * fix: Removed a comment * fix: reordered dashboard icons (#142) * feat: gui and css to the surgical history view (#129) * feat: added surgical history path * feat: added api response for surgical history * fix: fixed padding top for the name * feat: added surgical history * feat: added surgical and appointment card * feat: added cursor pointer and change colors based on theme * fix: change the border width for the card * fix: fixed the get and update function * fix: change route erros * feat: added new features to surgical history view * fix: import updatesurgicalhistory method * feat: added JSDoc * feat: added padding to return button * feat: added read only prop * feat: added read only to base input and drop down * fix: fixed update information error in surgery history * fix: modify truncate function * fix: fixed an error in add new surgical history function * fix: fixed a React error in Input * feat: added storybook and vitest * fix: change story component name * fix: fixed the returns * feat: added an index path * fix: added an error state * feat: added surgical history to sidebar * fix: fixed api functions * feat: added toast * feat: added toast to the proyect * fix: update InformationCard * feat: added Suspense to the view * fix: eliminate some duplicated files * fix: fixed vitest * fix: fix JSDoc and space in button * fix: fix a bug * fix: changed the format of get and update surgical history endpoint * fix: fixed api call * fix: fixed storybook * fix: fixed not displaying errors * fix: fixed error in test * fix: fixed order by year --------- Co-authored-by: ElrohirGT <[email protected]> * feat: moved out functions from SearchView to a new file * fix: removed unused imports * feat: responsiveness implemented and css touch-ups * feat: implemented LogoutView, storybook and responsive styles * feat: Added cognito file * feat: improved stability * feat: Implemented suspense in RegisterView * feat: Added register route * fix: updated vite config to fix AWS issue * feat: Added register view as index * fix: Cognito initialization error on tests --------- Co-authored-by: XavierLopez25 <[email protected]> Co-authored-by: Angel Ortega <[email protected]> Co-authored-by: Bianca Calderón <[email protected]> Co-authored-by: DanielDubon <[email protected]> Co-authored-by: Nahomy Castro <[email protected]> Co-authored-by: Xavier López (Nathan) <[email protected]> * feat: Added env variables to frontend deployment * fix: deploy commands * fix: linter errors * fix: linter errors * feat: scrum 95 personal medical history endpoints (#150) * feat: Added personal history GET/UPDATE handlers * fix: endpoints configuration * fix: integration tests * feat: Added documentation for medical history versioning (#149) * feat: Added documentation for medical history versioning * docs: added documentation for traumatological and familiar history --------- Co-authored-by: XavierLopez25 <[email protected]> * feat: scrum 95 personal medical history endpoints (#151) * feat: Added personal history GET/UPDATE handlers * fix: endpoints configuration * fix: integration tests * fix: Incorrect data format * fix: integration test * feat: Stash popped * feat: Added endpoint documentation * feat: Added endpoint documentation * feat: loading state on addpatient added (#140) * Feat/scrum 93 view traumatological update new (#146) * feat: endpoint para actualizar datos colaborador (#112) * feat: endpoint para actualizar datos colaborador * fix: createResponse added, path fixed * feat: scrum 139 implement update student data endpoint (#113) * fix: Integration tests for updatePatient endpoint * feat: Implemented update student data endpoint * fix: integration tests * fix: Integration tests for endpoint * feat: Improved update-student-data query (#116) * feat: added update get patient surgical history (#114) * feat: added test function for update surgical history * feat: added GET and PUT methods for surgical-history * feat: added integration test for GET surgical patient history * feat: added GET surgical patient history endpoint * feat: added integration test for PUT surgical patient history * feat: added PUT surgical patient history endpoint * fix: removed parameter 'id' * fix: made changes with respect to the change of PUT method not receiving id as a parameter URL anymore * fix: added missing logic when hasSurgicalEvent is false and added CORS headers * fix: updated some responses to return an array if the status is 200 * feat: Added default dashboard sidebar component and refactores some code (#117) * fix: frontend tests (#118) * feat: Fixed view tests for components * fix: Removed caching in backend dev build * fix: CI/CD now runs on the PR code * feat: get student info endpoint (#119) * refactor: update patient view (#120) * refactor: Added suspense support * fix: view tests * feat: Added CSS conventions * feat: added a theme file to use in pages (#122) * feat: added style props to components (#123) * feat: added style and children props * fix: eliminate children prop * feat: added style props to dropdown * feat: added style props to base input * feat: added style props to date input * feat: added style props to radio input * feat: added style props to search input * fix: fixed button to base button and story * feat: added an Icon button * fix: fixed an error in search story * fix: change button to base button in search patient view * fix: update JSDoc * fix: update the addpatientview story * fix: modify jsDoc * fix: modify style jsDoc * feat: added styles to add patient view (#121) * fix: fixed to receive styles as props * feat: added a fontstyle to radio button * feat: added styles to addpatientview page * feat: added sanitas logo to assets * fix: Border width * fix: fullscreen view configuration * fix: change margin to padding and px to rem * feat: added theme elements to page * fix: change position of the button * fix: change title color to theme color and change the logo import route * fix: change button css * fix: fixed storybook --------- Co-authored-by: ElrohirGT <[email protected]> * feat: added styles to the sidebar (#125) * feat: added montserrat font * feat: added styles to the sidebar * fix: modify the height and width of the icon * fix: modify width and color * feat: added a new color * fix: added a color for the border bottom * feat: scrum 140 UI ux update student data (#126) * feat: Added datalayer method for calling the api * feat: Implemented update student information view * feat: udpated tests * feat: Added update student info logic * feat: main CSS styling added (#124) * feat: main CSS styling added * feat: added a glow to the Icon Button * fix: added more width to the searchBar * feat: added getGeneralPatientInfo to SearchView * feat: added function to calculate age * feat: added deco for SearchView * feat: added PatientCard component and story * fix: reconfigured route due to missclick and moved to assets folder * feat: implemented search and result pages, result pages handles promises resolving with Suspense and promiseWrapper * fix: chaged stories to match the new view structure, pending test.jsx file * fix: removed unused API call * fix: now endpoint returns id, cui, names, and birthdate * fix: now receiving and formatting data from search patient endpoint * fix: now View only calls searchPatientApiCall to get the data properlly * fix: refactored stories and tests for SearchPatientView * fix: now bottom deco adjusts to screen * fix: added JSDoc to date utils functions * fix: fixed visuals * feat: integrated custom hook for getting the window measures * fix: fixed weird interaction with layout * fix: added responsiveness and fixed mixing up of async and promise resolving * fix: now PatientCard handles promise errors and View handles empty query errors * fix: now cards container has overflow y property * fix: restored default view * fix: removed unnecessary React.Fragment * feat: endpoint get for collaborator (#128) * feat: endpoint get for collaborator * fix: id correction for collaborator * feat: general update UI UX was made (#127) * feat: Added empty data return to studentinfo (#130) * feat: Added empty data return to studentinfo * fix: varios styles improvements to update patient * fix: routing navigation error * feat: colaborator view (#131) * feat: colaborator view * feat: colaborator view * fix: fixed being unable to change patient sex (#133) * fix: bug fixed, female option fixed (#136) * fix: bug fixed, female option fixed * fix: tests fixed * fix: scrum 201 componentes de carga en datos generales (#135) * feat: Adde throbber and improved default search view styles * fix: search patient secondary view styles * feat: Added throbbers to update general information view * fix: endpoint shouldn't fail if data doesn't exists * fix: carnet update bug on general tab (#138) * fix: Added padding to error message in UpdateGeneralInformationView (#137) * fix: Added padding to error message in UpdateGeneralInformationView * fix: Removed a comment * fix: reordered dashboard icons (#142) * feat: gui and css to the surgical history view (#129) * feat: added surgical history path * feat: added api response for surgical history * fix: fixed padding top for the name * feat: added surgical history * feat: added surgical and appointment card * feat: added cursor pointer and change colors based on theme * fix: change the border width for the card * fix: fixed the get and update function * fix: change route erros * feat: added new features to surgical history view * fix: import updatesurgicalhistory method * feat: added JSDoc * feat: added padding to return button * feat: added read only prop * feat: added read only to base input and drop down * fix: fixed update information error in surgery history * fix: modify truncate function * fix: fixed an error in add new surgical history function * fix: fixed a React error in Input * feat: added storybook and vitest * fix: change story component name * fix: fixed the returns * feat: added an index path * fix: added an error state * feat: added surgical history to sidebar * fix: fixed api functions * feat: added toast * feat: added toast to the proyect * fix: update InformationCard * feat: added Suspense to the view * fix: eliminate some duplicated files * fix: fixed vitest * fix: fix JSDoc and space in button * fix: fix a bug * fix: changed the format of get and update surgical history endpoint * fix: fixed api call * fix: fixed storybook * fix: fixed not displaying errors * fix: fixed error in test * fix: fixed order by year --------- Co-authored-by: ElrohirGT <[email protected]> * feat: Vista para antecedentes traumatológicos --------- Co-authored-by: ElrohirGT <[email protected]> Co-authored-by: Xavier López (Nathan) <[email protected]> Co-authored-by: DanielDubon <[email protected]> Co-authored-by: ElrohirGT <[email protected]> Co-authored-by: Nahomy Castro <[email protected]> Co-authored-by: Angel Ortega <[email protected]> * feat: added gui to familiar history (#152) * feat: added path to router and methods in datalayer * fix: eliminated error useState * fix: fixed width in components * feat: added familiar type in card * fix: fixed width in elements * feat: added styles to familiar history * fix: added backend elements to fix search problem * fix: fixed styles in traumatological view * fix: fixed a bug in dropdown * fix: pendejo bug --------- Co-authored-by: ElrohirGT <[email protected]> * feat: adding gui to familiar history view (#153) * feat: added path to router and methods in datalayer * fix: eliminated error useState * fix: fixed width in components * feat: added familiar type in card * fix: fixed width in elements * feat: added styles to familiar history * fix: added backend elements to fix search problem * fix: fixed styles in traumatological view * fix: fixed a bug in dropdown * fix: pendejo bug * fix: fixing update method * fix: fixed a height in input * fix: fixed get and update functions in familiar history view * feat: added view card * fix: typo error * feat: added storybook * feat: added tests to familiar history view * fix: remove console logs --------- Co-authored-by: ElrohirGT <[email protected]> * feat: scrum 32 sso cognito backend (#148) * feat: endpoint para actualizar datos colaborador (#112) * feat: endpoint para actualizar datos colaborador * fix: createResponse added, path fixed * feat: scrum 139 implement update student data endpoint (#113) * fix: Integration tests for updatePatient endpoint * feat: Implemented update student data endpoint * fix: integration tests * fix: Integration tests for endpoint * feat: Improved update-student-data query (#116) * feat: added update get patient surgical history (#114) * feat: added test function for update surgical history * feat: added GET and PUT methods for surgical-history * feat: added integration test for GET surgical patient history * feat: added GET surgical patient history endpoint * feat: added integration test for PUT surgical patient history * feat: added PUT surgical patient history endpoint * fix: removed parameter 'id' * fix: made changes with respect to the change of PUT method not receiving id as a parameter URL anymore * fix: added missing logic when hasSurgicalEvent is false and added CORS headers * fix: updated some responses to return an array if the status is 200 * feat: Added default dashboard sidebar component and refactores some code (#117) * fix: frontend tests (#118) * feat: Fixed view tests for components * fix: Removed caching in backend dev build * fix: CI/CD now runs on the PR code * feat: get student info endpoint (#119) * refactor: update patient view (#120) * refactor: Added suspense support * fix: view tests * feat: Added CSS conventions * feat: added a theme file to use in pages (#122) * feat: added style props to components (#123) * feat: added style and children props * fix: eliminate children prop * feat: added style props to dropdown * feat: added style props to base input * feat: added style props to date input * feat: added style props to radio input * feat: added style props to search input * fix: fixed button to base button and story * feat: added an Icon button * fix: fixed an error in search story * fix: change button to base button in search patient view * fix: update JSDoc * fix: update the addpatientview story * fix: modify jsDoc * fix: modify style jsDoc * feat: added styles to add patient view (#121) * fix: fixed to receive styles as props * feat: added a fontstyle to radio button * feat: added styles to addpatientview page * feat: added sanitas logo to assets * fix: Border width * fix: fullscreen view configuration * fix: change margin to padding and px to rem * feat: added theme elements to page * fix: change position of the button * fix: change title color to theme color and change the logo import route * fix: change button css * fix: fixed storybook --------- Co-authored-by: ElrohirGT <[email protected]> * feat: added styles to the sidebar (#125) * feat: added montserrat font * feat: added styles to the sidebar * fix: modify the height and width of the icon * fix: modify width and color * feat: added a new color * fix: added a color for the border bottom * feat: scrum 140 UI ux update student data (#126) * feat: Added datalayer method for calling the api * feat: Implemented update student information view * feat: udpated tests * feat: Added update student info logic * feat: main CSS styling added (#124) * feat: main CSS styling added * feat: added a glow to the Icon Button * fix: added more width to the searchBar * feat: added getGeneralPatientInfo to SearchView * feat: added function to calculate age * feat: added deco for SearchView * feat: added PatientCard component and story * fix: reconfigured route due to missclick and moved to assets folder * feat: implemented search and result pages, result pages handles promises resolving with Suspense and promiseWrapper * fix: chaged stories to match the new view structure, pending test.jsx file * fix: removed unused API call * fix: now endpoint returns id, cui, names, and birthdate * fix: now receiving and formatting data from search patient endpoint * fix: now View only calls searchPatientApiCall to get the data properlly * fix: refactored stories and tests for SearchPatientView * fix: now bottom deco adjusts to screen * fix: added JSDoc to date utils functions * fix: fixed visuals * feat: integrated custom hook for getting the window measures * fix: fixed weird interaction with layout * fix: added responsiveness and fixed mixing up of async and promise resolving * fix: now PatientCard handles promise errors and View handles empty query errors * fix: now cards container has overflow y property * fix: restored default view * fix: removed unnecessary React.Fragment * feat: endpoint get for collaborator (#128) * feat: endpoint get for collaborator * fix: id correction for collaborator * feat: general update UI UX was made (#127) * feat: Added empty data return to studentinfo (#130) * feat: Added empty data return to studentinfo * fix: varios styles improvements to update patient * fix: routing navigation error * feat: colaborator view (#131) * feat: colaborator view * feat: colaborator view * feat: Cognito User Pool configuration for authentication * fix: Added debug flag to sam command * fix: fixed being unable to change patient sex (#133) * fix: bug fixed, female option fixed (#136) * fix: bug fixed, female option fixed * fix: tests fixed * fix: scrum 201 componentes de carga en datos generales (#135) * feat: Adde throbber and improved default search view styles * fix: search patient secondary view styles * feat: Added throbbers to update general information view * fix: endpoint shouldn't fail if data doesn't exists * fix: carnet update bug on general tab (#138) * fix: Added padding to error message in UpdateGeneralInformationView (#137) * fix: Added padding to error message in UpdateGeneralInformationView * fix: Removed a comment * feat: Added UVG background image * fix: reordered dashboard icons (#142) * feat: Added basic login view * feat: Added cognito identity * feat: gui and css to the surgical history view (#129) * feat: added surgical history path * feat: added api response for surgical history * fix: fixed padding top for the name * feat: added surgical history * feat: added surgical and appointment card * feat: added cursor pointer and change colors based on theme * fix: change the border width for the card * fix: fixed the get and update function * fix: change route erros * feat: added new features to surgical history view * fix: import updatesurgicalhistory method * feat: added JSDoc * feat: added padding to return button * feat: added read only prop * feat: added read only to base input and drop down * fix: fixed update information error in surgery history * fix: modify truncate function * fix: fixed an error in add new surgical history function * fix: fixed a React error in Input * feat: added storybook and vitest * fix: change story component name * fix: fixed the returns * feat: added an index path * fix: added an error state * feat: added surgical history to sidebar * fix: fixed api functions * feat: added toast * feat: added toast to the proyect * fix: update InformationCard * feat: added Suspense to the view * fix: eliminate some duplicated files * fix: fixed vitest * fix: fix JSDoc and space in button * fix: fix a bug * fix: changed the format of get and update surgical history endpoint * fix: fixed api call * fix: fixed storybook * fix: fixed not displaying errors * fix: fixed error in test * fix: fixed order by year --------- Co-authored-by: ElrohirGT <[email protected]> * feat: added folders for Logout and Register views * fix: fixed storybook component names * fix: fixed being unable to change patient sex (#133) * fix: bug fixed, female option fixed (#136) * fix: bug fixed, female option fixed * fix: tests fixed * fix: scrum 201 componentes de carga en datos generales (#135) * feat: Adde throbber and improved default search view styles * fix: search patient secondary view styles * feat: Added throbbers to update general information view * fix: endpoint shouldn't fail if data doesn't exists * fix: carnet update bug on general tab (#138) * fix: Added padding to error message in UpdateGeneralInformationView (#137) * fix: Added padding to error message in UpdateGeneralInformationView * fix: Removed a comment * fix: reordered dashboard icons (#142) * feat: gui and css to the surgical history view (#129) * feat: added surgical history path * feat: added api response for surgical history * fix: fixed padding top for the name * feat: added surgical history * feat: added surgical and appointment card * feat: added cursor pointer and change colors based on theme * fix: change the border width for the card * fix: fixed the get and update function * fix: change route erros * feat: added new features to surgical history view * fix: import updatesurgicalhistory method * feat: added JSDoc * feat: added padding to return button * feat: added read only prop * feat: added read only to base input and drop down * fix: fixed update information error in surgery history * fix: modify truncate function * fix: fixed an error in add new surgical history function * fix: fixed a React error in Input * feat: added storybook and vitest * fix: change story component name * fix: fixed the returns * feat: added an index path * fix: added an error state * feat: added surgical history to sidebar * fix: fixed api functions * feat: added toast * feat: added toast to the proyect * fix: update InformationCard * feat: added Suspense to the view * fix: eliminate some duplicated files * fix: fixed vitest * fix: fix JSDoc and space in button * fix: fix a bug * fix: changed the format of get and update surgical history endpoint * fix: fixed api call * fix: fixed storybook * fix: fixed not displaying errors * fix: fixed error in test * fix: fixed order by year --------- Co-authored-by: ElrohirGT <[email protected]> * feat: moved out functions from SearchView to a new file * fix: removed unused imports * feat: responsiveness implemented and css touch-ups * feat: implemented LogoutView, storybook and responsive styles * feat: Added cognito file * feat: improved stability * feat: Implemented suspense in RegisterView * feat: Added register route * fix: updated vite config to fix AWS issue * feat: Added register view as index * fix: Cognito initialization error on tests * feat: added familiar traumatological get put methods (#143) * feat: added mapping functions for API responses * feat: added test helper functions for familiar and traumatological history * feat: added GET and PUT methods for familiar and traumatological endpoints * feat: added GET endpoint and integration test for familiar history * feat: added PUT endpoint and integration test for familiar history * feat: added GET endpoint and integration test for traumatological history * feat: added PUT endpoint and integration test for traumatological history * feat: added defaultValues for both endpoints * fix: fixed JSDoc * fix: fixed GET endpoints to respond with 200 status on no data for patient * feat: Register view done * feat: Added super important comment * feat: added signUp, signOut and getSession async functions * feat: protected search route with cognito session jwt * feat: protected search route with RequireAuth component * fix: removed comments * fix: added navigation between views * feat: added logout function * feat: added RequireAuth component and storybook * fix: fixed test with session validation mock * refactor: register user logic * refactor: Using suspense on require auth * refactor: Completely removed useEffect and added auth getSession refactor * fix: stories to new props * feat: updated datalayer logic * fix: fixed RequireAuth stories * fix: added JSDoc * fix: Removed private keys * feat: Added is production constant * refactor: cognito pool creation * fix: import * fix: datalayer search endpoint * fix: type password to form --------- Co-authored-by: Bianca Calderón <[email protected]> Co-authored-by: Xavier López (Nathan) <[email protected]> Co-authored-by: DanielDubon <[email protected]> Co-authored-by: Nahomy Castro <[email protected]> Co-authored-by: Angel Ortega <[email protected]> Co-authored-by: XavierLopez25 <[email protected]> * feat: Changed default route (#157) * feat: nonpatological history endpoints (#159) * feat: added defaultValues generation for Non Patolohical patient history * feat: added maping function for Non Pathological patient history * feat: added helper function for non pathological patient history testing * feat: added GET endpoint for Non Pathological patient history * feat: added PUT endpoint for Non Pathological patient history * feat: added configuration for new endpoints on template * fix: Removed useless await --------- Co-authored-by: ElrohirGT <[email protected]> * feat: added GUI to personal history (#160) * feat: added GUI to personal history * fix: Router bug * feat: finished personal history dataLayer and stories * fix: added missing function * fix: added another missing function * fix: changed style and added function in storybook --------- Co-authored-by: ElrohirGT <[email protected]> * feat: nonpatological history endpoints (#159) * feat: added defaultValues generation for Non Patolohical patient history * feat: added maping function for Non Pathological patient history * feat: added helper function for non pathological patient history testing * feat: added GET endpoint for Non Pathological patient history * feat: added PUT endpoint for Non Pathological patient history * feat: added configuration for new endpoints on template * fix: Removed useless await --------- Co-authored-by: ElrohirGT <[email protected]> * feat: added GUI to personal history (#160) * feat: added GUI to personal history * fix: Router bug * feat: finished personal history dataLayer and stories * fix: added missing function * fix: added another missing function * fix: changed style and added function in storybook --------- Co-authored-by: ElrohirGT <[email protected]> * fix: deploy backend url * fix: deploy backend url * fix: SanitasAPI stage name * fix: Added a second url parameter for cognito protected endpoints * fix: invalid template value * feat: Added a SanitasAPI output to template * feat: Added SecureBackendURL to deploy * fix: CORS cognito validation * feat: added autoconfirmation of email * fix: deploy backend url * fix: deploy backend url * fix: SanitasAPI stage name * fix: Added a second url parameter for cognito protected endpoints * fix: invalid template value * feat: Added a SanitasAPI output to template * feat: Added SecureBackendURL to deploy * fix: CORS cognito validation * feat: added autoconfirmation of email * feat: added biome toolchain (#139) * feat: endpoint para actualizar datos colaborador (#112) * feat: endpoint para actualizar datos colaborador * fix: createResponse added, path fixed * feat: scrum 139 implement update student data endpoint (#113) * fix: Integration tests for updatePatient endpoint * feat: Implemented update student data endpoint * fix: integration tests * fix: Integration tests for endpoint * feat: Improved update-student-data query (#116) * feat: added update get patient surgical history (#114) * feat: added test function for update surgical history * feat: added GET and PUT methods for surgical-history * feat: added integration test for GET surgical patient history * feat: added GET surgical patient history endpoint * feat: added integration test for PUT surgical patient history * feat: added PUT surgical patient history endpoint * fix: removed parameter 'id' * fix: made changes with respect to the change of PUT method not receiving id as a parameter URL anymore * fix: added missing logic when hasSurgicalEvent is false and added CORS headers * fix: updated some responses to return an array if the status is 200 * feat: Added default dashboard sidebar component and refactores some code (#117) * fix: frontend tests (#118) * feat: Fixed view tests for components * fix: Removed caching in backend dev build * fix: CI/CD now runs on the PR code * feat: get student info endpoint (#119) * refactor: update patient view (#120) * refactor: Added suspense support * fix: view tests * feat: Added CSS conventions * feat: added a theme file to use in pages (#122) * feat: added style props to components (#123) * feat: added style and children props * fix: eliminate children prop * feat: added style props to dropdown * feat: added style props to base input * feat: added style props to date input * feat: added style props to radio input * feat: added style props to search input * fix: fixed button to base button and story * feat: added an Icon button * fix: fixed an error in search story * fix: change button to base button in search patient view * fix: update JSDoc * fix: update the addpatientview story * fix: modify jsDoc * fix: modify style jsDoc * feat: added styles to add patient view (#121) * fix: fixed to receive styles as props * feat: added a fontstyle to radio button * feat: added styles to addpatientview page * feat: added sanitas logo to assets * fix: Border width * fix: fullscreen view configuration * fix: change margin to padding and px to rem * feat: added theme elements to page * fix: change position of the button * fix: change title color to theme color and change the logo import route * fix: change button css * fix: fixed storybook --------- Co-authored-by: ElrohirGT <[email protected]> * feat: added styles to the sidebar (#125) * feat: added montserrat font * feat: added styles to the sidebar * fix: modify the height and width of the icon * fix: modify width and color * feat: added a new color * fix: added a color for the border bottom * feat: scrum 140 UI ux update student data (#126) * feat: Added datalayer method for calling the api * feat: Implemented update student information view * feat: udpated tests * feat: Added update student info logic * feat: main CSS styling added (#124) * feat: main CSS styling added * feat: added a glow to the Icon Button * fix: added more width to the searchBar * feat: added getGeneralPatientInfo to SearchView * feat: added function to calculate age * feat: added deco for SearchView * feat: added PatientCard component and story * fix: reconfigured route due to missclick and moved to assets folder * feat: implemented search and result pages, result pages handles promises resolving with Suspense and promiseWrapper * fix: chaged stories to match the new view structure, pending test.jsx file * fix: removed unused API call * fix: now endpoint returns id, cui, names, and birthdate * fix: now receiving and formatting data from search patient endpoint * fix: now View only calls searchPatientApiCall to get the data properlly * fix: refactored stories and tests for SearchPatientView * fix: now bottom deco adjusts to screen * fix: added JSDoc to date utils functions * fix: fixed visuals * feat: integrated custom hook for getting the window measures * fix: fixed weird interaction with layout * fix: added responsiveness and fixed mixing up of async and promise resolving * fix: now PatientCard handles promise errors and View handles empty query errors * fix: now cards container has overflow y property * fix: restored default view * fix: removed unnecessary React.Fragment * feat: endpoint get for collaborator (#128) * feat: endpoint get for collaborator * fix: id correction for collaborator * feat: general update UI UX was made (#127) * feat: Added empty data return to studentinfo (#130) * feat: Added empty data return to studentinfo * fix: varios styles improvements to update patient * fix: routing navigation error * feat: colaborator view (#131) * feat: colaborator view * feat: colaborator view * fix: fixed being unable to change patient sex (#133) * fix: bug fixed, female option fixed (#136) * fix: bug fixed, female option fixed * fix: tests fixed * fix: scrum 201 componentes de carga en datos generales (#135) * feat: Adde throbber and improved default search view styles * fix: search patient secondary view styles * feat: Added throbbers to update general information view * fix: endpoint shouldn't fail if data doesn't exists * fix: carnet update bug on general tab (#138) * feat: Removed dprint and oxlint * fix: Added padding to error message in UpdateGeneralInformationView (#137) * fix: Added padding to error message in UpdateGeneralInformationView * fix: Removed a comment * fix: A lot of linter suggestions and formatting * feat: Added biome config * fix: linter and formatting errors * fix: linter errors * fix: linter and formatting * feat: Removed JS linter and formatter precommit hook * fix: updated CI/CD to new toolchain * fix: linter errors * fix: Backend formatting * fix: frontend formatting * chore: Formatted code with biome * chore: Formatted code with biome * fix: Applied linter fixes * fix: backend stuff * fix: fixable lints * fix: linter errors * fix: More linter errors * fix: linter errors * fix: test --------- Co-authored-by: Bianca Calderón <[email protected]> Co-authored-by: Xavier López (Nathan) <[email protected]> Co-authored-by: DanielDubon <[email protected]> Co-authored-by: Nahomy Castro <[email protected]> Co-authored-by: Angel Ortega <[email protected]> * feat: Added user pool domain for verification * feat: added biome toolchain (#139) * feat: endpoint para actualizar datos colaborador (#112) * feat: endpoint para actualizar datos colaborador * fix: createResponse added, path fixed * feat: scrum 139 implement update student data endpoint (#113) * fix: Integration tests for updatePatient endpoint * feat: Implemented update student data endpoint * fix: integration tests * fix: Integration tests for endpoint * feat: Improved update-student-data query (#116) * feat: added update get patient surgical history (#114) * feat: added test function for update surgical history * feat: added GET and PUT methods for surgical-history * feat: added integration test for GET surgical patient history * feat: added GET surgical patient history endpoint * feat: added integration test for PUT surgical patient history * feat: added PUT surgical patient history endpoint * fix: removed parameter 'id' * fix: made changes with respect to the change of PUT method not receiving id as a parameter URL anymore * fix: added missing logic when hasSurgicalEvent is false and added CORS headers * fix: updated some responses to return an array if the status is 200 * feat: Added default dashboard sidebar component and refactores some code (#117) * fix: frontend tests (#118) * feat: Fixed view tests for components * fix: Removed caching in backend dev build * fix: CI/CD now runs on the PR code * feat: get student info endpoint (#119) * refactor: update patient view (#120) * refactor: Added suspense support * fix: view tests * feat: Added CSS conventions * feat: added a theme file to use in pages (#122) * feat: added style props to components (#123) * feat: added style and children props * fix: eliminate children prop * feat: added style props to dropdown * feat: added style props to base input * feat: added style props to date input * feat: added style props to radio input * feat: added style props to search input * fix: fixed button to base button and story * feat: added an Icon button * fix: fixed an error in search story * fix: change button to base button in search patient view * fix: update JSDoc * fix: update the addpatientview story * fix: modify jsDoc * fix: modify style jsDoc * feat: added styles to add patient view (#121) * fix: fixed to receive styles as props * feat: added a fontstyle to radio button * feat: added styles to addpatientview page * feat: added sanitas logo to assets * fix: Border width * fix: fullscreen view configuration * fix: change margin to padding and px to rem * feat: added theme elements to page * fix: change position of the button * fix: change title color to theme color and change the logo import route * fix: change button css * fix: fixed storybook --------- Co-authored-by: ElrohirGT <[email protected]> * feat: added styles to the sidebar (#125) * feat: added montserrat font * feat: added styles to the sidebar * fix: modify the height and width of the icon * fix: modify width and color * feat: added a new color * fix: added a color for the border bottom * feat: scrum 140 UI ux update student data (#126) * feat: Added datalayer method for calling the api * feat: Implemented update student information view * feat: udpated tests * feat: Added update student info logic * feat: main CSS styling added (#124) * feat: main CSS styling added * feat: added a glow to the Icon Button * fix: added more width to the searchBar * feat: added getGeneralPatientInfo to SearchView * feat: added function to calculate age * feat: added deco for SearchView * feat: added PatientCard component and story * fix: reconfigured route due to missclick and moved to assets folder * feat: implemented search and result pages, result pages handles promises resolving with Suspense and promiseWrapper * fix: chaged stories to match the new view structure, pending test.jsx file * fix: removed unused API call * fix: now endpoint returns id, cui, names, and birthdate * fix: now receiving and formatting data from search patient endpoint * fix: now View only calls searchPatientApiCall to get the data properlly * fix: refactored stories and tests for SearchPatientView * fix: now bottom deco adjusts to screen * fix: added JSDoc to date utils functions * fix: fixed visuals * feat: integrated custom hook for getting the window measures * fix: fixed weird interaction with layout * fix: added responsiveness and fixed mixing up of async and promise resolving * fix: now PatientCard handles promise errors and View handles empty query errors * fix: now cards container has overflow y property * fix: restored default view * fix: removed unnecessary React.Fragment * feat: endpoint get for collaborator (#128) * feat: endpoint get for collaborator * fix: id correction for collaborator * feat: general update UI UX was made (#127) * feat: Added empty data return to studentinfo (#130) * feat: Added empty data return to studentinfo * fix: varios styles improvements to update patient * fix: routing navigation error * feat: colaborator view (#131) * feat: colaborator view * feat: colaborator view * fix: fixed being unable to change patient sex (#133) * fix: bug fixed, female option fixed (#136) * fix: bug fixed, female option fixed * fix: tests fixed * fix: scrum 201 componentes de carga en datos generales (#135) * feat: Adde throbber and improved default search view styles * fix: search patient secondary view styles * feat: Added throbbers to update general information view * fix: endpoint shouldn't fail if data doesn't exists * fix: carnet update bug on general tab (#138) * feat: Removed dprint and oxlint * fix: Added padding to error message in UpdateGeneralInformationView (#137) * fix: Added padding to error message in UpdateGeneralInformationView * fix: Removed a comment * fix: A lot of linter suggestions and formatting * feat: Added biome config * fix: linter and formatting errors * fix: linter errors * fix: linter and formatting * feat: Removed JS linter and formatter precommit hook * fix: updated CI/CD to new toolchain * fix: linter errors * fix: Backend formatting * fix: frontend formatting * chore: Formatted code with biome * chore: Formatted code with biome * fix: Applied linter fixes * fix: backend stuff * fix: fixable lints * fix: linter errors * fix: More linter errors * fix: linter errors * fix: test --------- Co-authored-by: Bianca Calderón <[email protected]> Co-authored-by: Xavier López (Nathan) <[email protected]> Co-authored-by: DanielDubon <[email protected]> Co-authored-by: Nahomy Castro <[email protected]> Co-authored-by: Angel Ortega <[email protected]> * feat: Added user pool domain for verification * fix: template typo * fix: template typo * feat: endpoint for allergic history added (#154) * feat: endpoint for alllergic history added * fix: URL chenged for template.yaml * fix: endpoint update added * fix: modifications added * fix: number of parameters fixed * fix: name correction * fix: name correction * fix: change in name and structure * fix: changes in get endpoint * fix: changes implemented * fix: hook time extended * fix: error on default values * Merge conflicts resolved in defaultValues.mjs * Merge conflicts resolved in index.mjs * Merge conflicts resolved in testHelpers.mjs * Merge conflicts resolved in template.yaml * Update update-allergic-history-patient.integration.test.mjs * fix: formatter issues * fix: formatter issues * fix: formatter issues * fix: linting problems fixed * fix: update patient tests * fix: Create Patient endpoint fixed * fix: linting and formmatter fixed * fix: documentation added to readme.md * fix: documentation added to readme.md --------- Co-authored-by: ElrohirGT <[email protected]> * feat: gui to non pathological history (#155) * feat: added non pathological routes and starting gui * fix: fixed an error in nav and router * feat: added styles to the view * feat: added functions to get and update * feat: added the blood type * feat: added update function * feat: added readOnly feature and min elements to write * feat: added toast error to prevent adding null data * feat: added full graphical user interface and page functionalities * feat: added storybook and tests * fix: fixed lint errors * fix: fixed linter errors * feat: added a props function * feat: added formated file * fix: fixed a lint error * feat: Added subcategory --------- Co-authored-by: ElrohirGT <[email protected]> Co-authored-by: ElrohirGT <[email protected]> * feat: backend integration tests (#162) * fix: Removed pg_setup service * feat: updated flake dependencies * feat: using custom devenv * feat: specified custom pg_hba.conf setting * feat: Added local rules * feat: Added integration tests to CI * fix: sleep timer * feat: workflows can cancel if new updates are received * feat: Removed tui from process-compose (#164) * fix: integration tests on ci (#166) * feat: Removed tui from process-compose * feat: Added more wait time for tests * fix: integration tests on ci (#167) * feat: Removed tui from process-compose * feat: Added more wait time for tests * feat: Changed localhost to explicit ip * fix: integration tests on ci (#168) * feat: Removed tui from process-compose * feat: Added more wait time for tests * feat: Changed localhost to explicit ip * fix: Integration tests reference to backend url * feat: Added headers log * feat: Added req headers log (#170) * feat: endpoint for allergic history added (#154) * feat: endpoint for alllergic history added * fix: URL chenged for template.yaml * fix: endpoint update added * fix: modifications added * fix: number of parameters fixed * fix: name correction * fix: name correction * fix: change in name and structure * fix: changes in get endpoint * fix: changes implemented * fix: hook time extended * fix: error on default values * Merge conflicts resolved in defaultValues.mjs * Merge conflicts resolved in index.mjs * Merge conflicts resolved in testHelpers.mjs * Merge conflicts resolved in template.yaml * Update update-allergic-history-patient.integration.test.mjs * fix: formatter issues * fix: formatter issues * fix: formatter issues * fix: linting problems fixed * fix: update patient tests * fix: Create Patient endpoint fixed * fix: linting and formmatter fixed * fix: documentation added to readme.md * fix: documentation added to readme.md --------- Co-authored-by: ElrohirGT <[email protected]> * feat: gui to non pathological history (#155) * feat: added non pathological routes and starting gui * fix: fixed an error in nav and router * feat: added styles to the view * feat: added functions to get and update * feat: added the blood type * feat: added update function * feat: added readOnly feature and min elements to write * feat: added toast error to prevent adding null data * feat: added full graphical user interface and page functionalities * feat: added storybook and tests * fix: fixed lint errors * fix: fixed linter errors * feat: added a props function * feat: added formated file * fix: fixed a lint error * feat: Added subcategory --------- Co-authored-by: ElrohirGT <[email protected]> Co-authored-by: ElrohirGT <[email protected]> * feat: backend integration tests (#162) * fix: Removed pg_setup service * feat: updated flake dependencies * feat: using custom devenv * feat: specified custom pg_hba.conf setting * feat: Added local rules * feat: Added integration tests to CI * fix: sleep timer * feat: workflows can cancel if new updates are received * feat: Removed tui from process-compose (#164) * fix: integration tests on ci (#166) * feat: Removed tui from process-compose * feat: Added more wait time for tests * fix: integration tests on ci (#167) * feat: Removed tui from process-compose * feat: Added more wait time for tests * feat: Changed localhost to explicit ip * fix: integration tests on ci (#168) * feat: Removed tui from process-compose * feat: Added more wait time for tests * feat: Changed localhost to explicit ip * fix: Integration tests reference to backend url * feat: Added headers log --------- Co-authored-by: Bianca Calderón <[email protected]> Co-authored-by: Nahomy Castro <[email protected]> * feat: Added authorization to forms and views (#165) * feat: Added component RequireAuth to forms * feat: authorizing cognito * fix: linting and format checked * fix: fixing display logic for trauma history (#173) * fix: fixed an error in height * feat: added trauma information card * fix: fixed an error sending the info to JSON in trauma history * fix: add a change showing info in InformationCard * fix: fixed the bug showing info in trauma history * fix: fixed some bugs * fix: fixed some error in tests * feat: allergic view enpoint (#169) * feat: allergic view endpoint * feat: allergic view added * feat: improveed view * fix: allergic name typo and lint errors * fix: allergic name typo and lint errors * feat: stories tests and lint error fix * fix: version is no longer cleared and console logs were removed. * fix: tests fix because of capitalization error * feat: role detection (#172) * feat: Added doctor table * feat: Added insert of doctor to DB * feat: Added JWT decoder * feat: Added DB is doctor method * docs: Improved JSDoc * feat: Added permission checking logic * chore: formatting code * feat: Added some JWT test helpers * feat: Added createAuth header function * feat: Added role protection to search-patient endpoint * fix: Removed console.log * feat: Added GetRole function * fix: Removed unused authorizer property * feat: Added basic get role implementation * fix: tests * fix: Removed empty code * chore: linting and formatting * feat: psy endpoint was finished (#174) * fix: datalayer functions (#176) * fix: Added authorization header * fix: Endpoints URLs * fix: Removed extra authorizer values and restapiid * fix: datalayer JWT tokens * feat: gynecoobstetric history endpoints (#175) * fix: refactorized the database table for ANTECEDENTES_GINECOOBSTETRICOS * feat: added helper function for generating default values for gynecological patient history * feat: added mapping function for formatting database response * feat: added test helper function for endpoint testing * feat: added endpoints to the template * feat: added GET endpoint with integration tests * feat: added PUT endpoint with integration tests * fix: removed authorizer on endpoints * fix: resolved conflicts * fix: removedconflict typo * Update README.md (#179) * feat: view was finished (#178) * feat: cambios en la logica cui y subtitulos (#177) * feat: cambios en la logica cui y subtitulos * fix: arreglo de suspense * fix: test and repetition in code * fix: handle of update * fix: updates in collaborator fixed * fix: spam of success toast fixed * fix: linting fixed * fix: disable option outside edit mode * fix: datalayer code duplication * fix: datalayer code duplication (#182) * fix: role detection security (#183) * fix: Added JWT parsing for isDoctor * fix: test helpers * fix: Added authorization to update family endpoint * fix: Added JWT validation in gyneco * fix: authorization header on non-pathological * fix: Added update patient security checks * fix: Added authorization to personal history * fix: Added authorization logic to psychiatric * fix: Added authorization to surgical * fix: Added authorization to traumatological * fix: updated flake reference to oficial devenv * Revert "fix: updated flake reference to oficial devenv" This reverts commit 48650c7caf1a667ab8ce0a4db01ed466f5d4e029. * feat: update feature was added to allergic history (#184) * feat: update feature was added to allergic history * fix: format fix * fix: console log removed * fix: format error and center save button * feat: scrum 246 view traumatological update (#186) * feat: basic structure * feat: basic structure added * feat: basic structure added * fix: able to edit fields * feat: Update for traumatological view implemented * console.log erased * fix: handle cancel fixed * Update index.jsx * fix: fixing update method in surgical view (#189) * fix: fixing update method in surgical view * fix: fixed disabled in dropdown and an error canceling the edition * fix: fixed cancel method * fix: fixed cancel update (#194) * fix: fixed cancel update * fix: fixed cancel method in non pathologic * fix: fixing global width * fix: fixing patient name * fix: update feature familiar view (#192) * feat: adding update method * feat: adding toast to trauma * fix: fixed a toast * fix: fixing update method * fix: trying to add update to relatives * fix: fixed update method * fix: fixed update in array elements * fix: finished all the updates in familiar view * fix: fixed isEditable in base button * fix: dropdown * fix: fixed dropdown * feat: update and cancel personal view (#196) * feat: update and cancel personal view * fix: empty data fixed * fix: linting * feat: handling empty fields * fix: tests, empty fields * fix: tests, empty fields * feat: git init base UI was made(only base UI working PRE BETA) (#190) * feat: git init base UI was made(only base UI working PRE BETA) * feat: base UI finished, test aren't working * feat: UI UPDATE with add more meds is working everything done, lint pending and UI tests * feat: tests and UI were refactorized all working * feat: nahomy UI changes were made * fix: fixing bug in dropdown (#200) * feat: adding name and image to web (#199) * fix: patient general data refactoring (#193) * fix: Refactored collaborator endpoint * chore: Formatting and linting * feat: Added security checks to update collaborator data * fix: update collaborator and student data * fix: tests * fix: update patient redundancy * fix: Seguros field * fix: backend behaviour and insurance * fix: Removed zombi code * feat: Added collapsable component * fix: Endpoints * fix: Changed to default devenv * fix: Added temporal nixpkgs version for samcli * fix: Removed redundancy * feat: Added contact information * fix: tests * fix: integration tests and backend * fix: UI * fix: Big general loading * fix: Suspense bug * fix: tests * fix: main data styles * fix: general styles * fix: gapping * fix: Section padding * fix: Stiling * fix: deleted zombi code * feat: student surgery history (#197) * feat: scrum 231 student login and surgery history * fix: fixed the linting * fix: changed format again * feat: added endpoints for student surgical history * fix: extracted checking function * fix: fixed lint warnings * fix: formatting * fix: fixed tests * fix: cleaned some errors in integration tests * fix: eliminated horizontal scroll bar and did some responsive changes * fix: format * fix: fixed crash on login --------- Co-authored-by: ElrohirGT <[email protected]> * feat: add patient form patient pov (#198) * feat: Added CreatePatientView * feat: Added GetLinkedPatient endpoint * feat: Added LinkAccountToPatient endpoint * fix: test helper * fix: formatting * fix: Refactored endpoint to create patient * fix: Typo * feat: Implemented getlinked patient endpoint * fix: linter suggestions * feat: Added LinkPatientView * feat: Added patient views to router * fix: storybook * feat: Added link patient capability * fix: link patient * fix: Story * fix: integration tests * feat: view for obs and gyn view (#180) * feat: added elements for the ob and gyn view * feat: added name to other diagnosis * fix: fixed an error in css * feat: added elements to the view * feat: finished the view * feat: added GET and PUT integration to view, pending linting warnings to fix * fix: added linting and formatting * feat: added stories for ObGyn view, pending error state to be implemented since view doesn't have it * fix: added empty state handling in view and story * fix: linting and format * feat: added tests for obgyn view * fix: formatting * feat: adding edit icon and some changes * fix: fixed error on add other diagnosis button and formatting * fix: fixed operations sections dropdown bug * fix: formatting * fix: fixed tests to match frontend updates * fix: fixing pr --------- Co-authored-by: Xavier López (Nathan) <[email protected]> Co-authored-by: XavierLopez25 <[email protected]> * fix: role detection security (#183) * fix: Added JWT parsing for isDoctor * fix: test helpers * fix: Added authorization to update family endpoint * fix: Added JWT validation in gyneco * fix: authorization header on non-pathological * fix: Added update patient security checks * fix: Added authorization to personal history * fix: Added authorization logic to psychiatric * fix: Added authorization to surgical * fix: Added authorization to traumatological * fix: updated flake reference to oficial devenv * Revert "fix: updated flake reference to oficial devenv" This reverts commit 48650c7caf1a667ab8ce0a4db01ed466f5d4e029. * feat: update feature was added to allergic history (#184) * feat: update feature was added to allergic history * fix: format fix * fix: console log removed * …
- Loading branch information