...
- The list of global property variable names (that the rest of the code references) that maps to the names of the global properties (in the global properties table, and that is displayed through the UI)
- openmrs-module-registrationcore/api/src/main/java/org/openmrs/module/registrationcore/RegistrationCoreConstants.java
- Global properties definitions, descriptions and default values are set:
- openmrs-module-registrationcore/omod/src/main/resources/config.xml
- Note that these values will only be applied if the global property does not already exist. if it already exists, this config.xml file will not write over the current value.
- To configure dependancies on other modules there are 4 main files to be changed
- openmrs-module-registrationcore/pom.xml
- openmrs-module-registrationcore/api/pom.xml
- openmrs-module-registrationcore/omod/pom.xml
- openmrs-module-registrationcore/omod/src/main/resources/config.xml
PIX/PDQ Implementation
The fields that are sent to and from the MPI via PIX/PDQ are hardcoded in openmrs-module-registrationcore/api/src/main/java/org/openmrs/module/registrationcore/api/mpi/pixpdq/PixPdqMessageUtil.java
The hl7 message that is sent from MPI → OpenMRS is parsed by interpretPIDSegments. The patient demographic fields that it extracts are hardcoded in this method.
The hl7 message that is sent from OpenMRS → MPI is constructed by createAdmit which calls updateMSH to construct the Message Header and updatePID to construct the Patient Identification segment.
Patient Demographics Query (PDQ)
See section 3.21.4.1 Patient Demographics Query in the following document: http://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_TF_Vol2a.pdf for specifications and explanations of terms such as MSH, QPD, PID
An alternative reference for Patient Identification (PID) Segments is: http://www.hl7.eu/refactored/segPID.html
To manually send PDQ or PIX messages or just better understand how the messages are composed, download the HAPI Test Panel https://github.com/hapifhir/hapi-hl7v2/releases
configuring a sending connection to a local OpenEMPI instance over MLLP running default settings
OpenEMPI
Testing messages with your local OpenEMPI instance
The MLLP port for PDQ is set in the following file: ~path-to-openempi~/openempi-entity-3.5.0c/conf/PdSupplierConnections.xml
Errors
Patient Identifier Collision
...