Great... I've got a skeleton created, so I will go ahead and create a repo on OpenMRS for this.
We are still running 1.10.x, so the module would have to support that. I've added 1.10.4 as the minimum required OpenMRS version in the module. Of course, we'd have t confirm that it still works with the latest version of the platform as well. I don't think this will be problem, though--or, at least as first, for simple metadata deployment.
Yes, let's look at standardizing and matching our metadata, and getting something in the Haiti Core module as a proof of concept.
For Patient Identifiers, it looks like we have 7 in our system:
ZL EMR ID -- our main Zamni Lasante identifier; this should be unique across all our OpenMRS instances, and (ideally) each patient should only end up with one
Dossier Number -- the number on a patient's paper record in a clinic. Sequential, and each clinic has it's own sequential set of numbers, with a unique prefix (ie A00001, A00002, etc). Because of the prefix, this ID should be unique across the entire ZL system, but we don't 100% guarantee this.
External Dossier Number -- I don't 100% remember what this one does, but I believe it is used to store dossier numbers from another another ZL EMR instance. For instance, if we import a patient from our Lacolline system into Mirebalais, their Lacolline dossier number would be stored as a "external dossier number" and a new dossier number for Mirebalais would be stored as "dossier number". This was something we set up awhile back for a quick-and-dirty import, and is not necesarily the path we'd want to take as we increase the data sharing between systems.
HIVEMR V1 -- the identifier of a patient in our legacy (pre OpenMRS) HIV system
User Entered Reference Number -- something we added for our Mental Health system; kind of a hack, a general-purpose place to store a number entered by the user.
Biometrics Reference Code -- something we created for a spike we did on adding fingerprint functionality. I don't think we currently use this, so this could be removed/changed.
Dental Dossier Number -- I forget the exact use case for this, but I believe it was something our Dental team asked for and I believe it is manually entered.
Thoughts on what we might want to share? I'm thinking we might want to share the identifier types for our "main" identifiers in each system--ie, ZL EMR ID, HIV EMR ID, legacy eSante ID, new eSante Plus ID? We'd probably want a shared identifier type for biometrics, but we don't necessarily need to use the one we have defined.
I could be able to easily add a bundle with a couple of these identifier types to "Haiti Identifier Bundle" to the new Haiti Core module, and then you could add your identifiers. Thoughts?
I'll start looking at Person Attributes and Location Attributes and post a follow-on message about what we've go there.