Ideas for GSOC 2023

Here’s an idea:

:spiral_notepad: O3: Migrate forms to React Hook Form

  • We currently have a bunch of forms written in O3 in vanilla React. These forms, though functional, are not the most performant or extensible and for the most part, lack validation. React Hook Forms offers easy-to-use validation out of the box, performance and tiny bundle size. The task is to refactor existing forms to use the React Hook Form library and Zod for schema validations. The forms that this refactor would target include:
    • Start Visit form
    • Allergy form
    • Programs form
    • Conditions form
    • Visit Notes form
    • Appointments form
    • Vitals and Biometrics form
    • Medication Order form
    • Patient Registration (heaviest lift, written in Formik)
  • Scope: Medium. Needs good knowledge of React, HTML, CSS and TypeScript.
8 Likes