I have trouble to set up another Patient Identifier Type using OpenMRS 2.1.3 with the ref app 2.8.0.
I get a validation error when I want to confirm the new patient:
The reference application overwrites your values on restart. Can you instead use the default OpenMRS ID identifier type? Just edit it to have the attributes that you would want for your identifier type. The other alternative is, create a ticket to prevent the overwriting of the custom value for emr.primaryIdentifierType.
Following your advice I changed the OpenMRS ID to fit my needs. But I’m now getting the following error: “Validation errors found: Select a preferred identifier”.
I’m able to create a patient using the findPatient.htm form.
I have empty the following table in mysql:
idgen_auto_generation_option, idgen_seq_id_gen, idgen_identifier_source, because I needed to change the source from Local Identifier Generator to Local Pool of identifiers.
I removed as well the Identifier validator and change the name of the OpenMRS ID.
Does any of this step could affect the validation in the registration app?
I just did it now, but I only add a new source without deleting the existing one. However I changed the auto-generation.
Sadly I still get the same error.