As part of our registration process I wish to generate an external id (for paper file management purposes) than follows a particular structure.
I have created an xform for patient registration - marginally modified from the default (label changes) - and followed the instructions at https://wiki.openmrs.org/display/docs/XForms+Module+Patient+Registration including those for idgen.
I have created a new patient identifier type using our desired structure and successfully populated an initial identifier pool.
However, when I come to register a test patient with the xform the patient identifier field is not auto populated but requires mandatory keyboard entry. However, the validation rules follow those expected.
Further when a valid id is typed and the form submitted an error message "Patient is missing the following required identifier(s): OpenMRS ID" is given.
Can anyone suggest what I am doing wrong?