ibrahimhuycn / LISmini

Laboratory Information System
0 stars 0 forks source link

Enable entry of passport number for foriegn patients #4

Open ibrahimhuycn opened 7 years ago

ibrahimhuycn commented 7 years ago

Add a radio button to select passport number or ID card Number on the form for adding new patients. Auto select country as Maldives if the ID card field is selected. Edit server tables too accommodate for the change.

ibrahimhuycn commented 6 years ago

UI changes to allow for entering of Passport numbers has been completed.

ibrahimhuycn commented 6 years ago

Needs to

  1. Validate Passport Numbers to a certain extent.
  2. Come up with a workflow for adding a patient with passport number. Note: This should be identical to that with national ID... Hopefully
ibrahimhuycn commented 6 years ago

Cannot find a way to validate Passport numbers using regex. Might need to setup a validation rule to return true for alpha numeric upper case strings of length 9.

https://stackoverflow.com/questions/1673947/how-to-validate-a-passport