Hi,
I have an OpenHIE instance that I setup with OpenEMPI as the Client Registry and the OpenMRS based SHR that uses OpenXDS for document storage/sharing. OpenXDS comes with its own PIX/PDQ server and for one to successfully submit a document to the SHR, the patient is required to be existing in this little PIX/PDQ server. I know how to send a request manually to this PX/PDQ server to create a patient before I submit a document for them in a dev environment but this wouldn't be ideal in a typical production setting where we expect documents to be submitted for new patients that don't yet exist in all the involved systems. In our setup we have configured auto registration of patients in OpenEMPI and the SHR's OpenMRS instance except for this PIX/PQD server, I would expect the patient to be automatically created in this PIX/PDQ server used by OpenXDS possibly by toggling some property. I guess my questions are:
- Is it possible to configure the SHR/OpenXDS to auto register new patients with the PIX/PDQ server?
- Is there a way I can configure OpenXDS to use the 'real' Client Registry (OpenEMPI) that I setup instead of the one that comes with it? Or does the IHE XDS profile require the XDS server to maintain its own CR?
- If this isn't possible, can I make a feature request to make it happen? i.e. configure the SHR auto register new patients with OpenXDS's PIXS/PDQ server.
In the meantime I was thinking that I could register OpenXDS' PDX/PDQ server with OpenEMPI as a consumer to receive notifications from OpenEMPI when a patient is created or merged or updated, I'm a little skeptical of this approach because the notifications are most likely sent out asynchronously and the document request might sometimes reach the SHR and OpenXDS before the notification from OpenEMPI is processed by OpenXDS' PIX/PDX server which would mean the patient might not yet exist sometimes.
Any help with this will be appreciated.
Wyclif