How to auto-generate patient IDs with HTML forms?

Please how can i auto generate a patient ID using an HTML form to create patient in OpenMRS

Which version of openmrs are you using? Did you have a look at? https://wiki.openmrs.org/display/docs/Idgen+Module

1 Like

Am using OpenMRS Version: 1.9.7 and the idgen only applies to the default openmrs create patient. Meanwhile i have designed a create patient form with HTML form entry and i can’t get the idgen to work on the HTML form. I have also gone through the documentation but nothing for HTML forms

1 Like

Hi, @barnaby85 did you solve this issue? I’m with the same challenge now and I’m using the Version 1.9.9 Build a595f9. Maybe @dkayiwa can you help me?

Can you make a REST call to the server to get a new ID?