In 1.6, at least, you can’t have two identical identifiers of the same 
identifier type… we were just looking into this… I believe there is a 
PatientIdentifierValidator  that is called on all patient identifiers for a 
patient from the savePatient API method… in any case, start with the 
savePatient API method and you should be able to track it down from there.



From: [email protected] [mailto:[email protected]] On Behalf Of Burke Mamlin
Sent: Friday, January 20, 2012 2:10 PM
To: [email protected]
Subject: [OPENMRS-DEV] How is uniqueness enforced for patient identifiers?

We are working through some duplicate patient identifier issues at AMPATH and I 
could've sworn that uniqueness as a property of patient identifier types, yet 
it's not in the UI.[1]

How do we define that a patient identifier type must be unique within OpenMRS?  
Did we somehow lose this over time?!?

-Burke

[1] 
http://maml.in/xHkKVg<http://demo.openmrs.org/openmrs/admin/patients/patientIdentifierType.form?patientIdentifierTypeId=1>
________________________________
Click here to 
unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l> 
from OpenMRS Developers' mailing list

Reply via email to