Feature Ideas - kylewalters18/obulamu GitHub Wiki

login page prompt for username and password - upon successfull login - store username in client side state landing page return to landing page button upon press, return to landing page search patients button goto search patients page enter new patient button goto enter new patient page logout button upon press, return to login page and erase staff_id from memory search patients page fields for: first_name last_name date_of_birth address_village search patients button greyed out until 1 (one) of the above fields is populated with a valid entry upon press, display all mataching patients in results table below this button results table one row per patient that matched search table columns are first_name, last_name, date_of_birth, address_village upon row select, emit action that changes patient_id of state to selected row view patient button greyed out until patient selected from results table upon press, goto patient information page create new visit button greyed out until patient selected from results table return to landing page button upon press, return to landing page logout button upon press, return to login page and erase staff_id from memory patient information page return to landing page button upon press, return to landing page display of: first_name last_name date_of_birth address_village patient_history field to append to patient history view record button upon press, goto patient record page logout button upon press, return to login page and erase staff_id from memory patient record page return to landing page button upon press, return to landing page patient name patient record timeline timeline with interspersed notes and vitals with most recent at top datetime that note or vial was taken on left, box for notes, table row for vitals addend button in top left of each notes box allows for adding to notes notes that are addendum will have the note that was clicked as the parent note id in the notes table logout button upon press, return to login page and erase staff_id from memory enter new patient page fields for entering first_name last_name date_of_birth address_village patient_history submit button greyed out until first_name, last_name, date_of_birth, are populated with valid entries upon press if successfully uploaded to server goto create new visit page with new patient as stored else stay on enter new patient page (fields remain populated) with message that says "cannot sync with server" logout button upon press, return to login page and erase staff_id from memory create new visit page return to landing page button upon press, return to landing page fields for: visit datetime - prepoulated with current system time note all vitals file button upon press, all populated fields are saved a new visit should always be created if the note field is populated, a new note should be created if any of the vitals are populated, a new vital record should should be populated after server is updated, return to patient record page logout button upon press, return to login page and erase staff_id from memory