ibrahimhuycn / LISmini

Laboratory Information System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable entry of passport number for foriegn patients

ibrahimhuycn opened this issue · comments

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.

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

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

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