chronic-care / onc-ac-project

ONC LEAP grant with AllianceChicago (AC) project planning and documentation
Apache License 2.0
0 stars 0 forks source link

New patient modal required questions feedback #125

Open kbertodatti opened 4 months ago

kbertodatti commented 4 months ago

On the "New Patient" modal, the red error message is not showing up for all of the required questions if they are blank. Please update so the required question error message is shown for the four missing fields: Language, Race, Ethnicity, and Administrative Gender.

image.png

For all the remaining fields, please use this error message: "Please select a valid option"

From Sravan: this can fixed in CBO app itself in "PatientCreation.tsx" file, by adding a one line code for those fields and including those fields in the a validating function in the same file

Repo for the CBO app (use Develop branch): https://github.com/chronic-care/acleap-referral