@@ -52,27 +52,44 @@ Configuring the OpenMRS-19 module
52
52
53
53
The MOTECH OpenMRS-19 module exposes a configuration file called openmrs.properties. This file is registered with the configuration
54
54
system. Based on what configuration mode the system is configured with, you can change the settings either by using the Admin UI(UI Mode) or
55
- the file in the config file location(File Mode). The default username and password match the defaults from OpenMRS(make sure
56
- that you change these in production environment).
55
+ the file in the config file location(File Mode). You can modify this file through the UI by clicking Admin > Manage Modules > Click the gear icon on the right of the OpenMRS module.
56
+
57
+ .. image :: img/openmrs_modules_click_gear_screenshot.png
58
+
59
+ The default username and password match the defaults from OpenMRS(make sure that you change these in production environment).
57
60
58
61
The table below describes the properties declared in the file and their default values, that will work with a default localhost
59
62
OpenMRS installation. The openmrs.motechIdName setting needs to match an identifier type from OpenMRS. More information on creating
60
63
the identifier type in OpenMRS can be found in the :std:ref: `next section<create_id_type> `
61
64
62
- +---------------------+----------------------------------------------------------------------+--------------------------------+
63
- | Key |Description |Default Value |
64
- +=====================+======================================================================+================================+
65
- | openmrs.url |The top level url at which the OpenMRS Instance is accessible. |`http://localhost:8080/openmrs` |
66
- | |Required since MOTECH integrates with OpenMRS through REST API calls. | |
67
- +---------------------+----------------------------------------------------------------------+--------------------------------+
68
- | openmrs.user |The OpenMRS username that MOTECH will use to identify with OpenMRS. |admin |
69
- +---------------------+----------------------------------------------------------------------+--------------------------------+
70
- | openmrs.password |The OpenMRS user password that MOTECH will use to identify with |Admin123 |
71
- | |OpenMRS. | |
72
- +---------------------+----------------------------------------------------------------------+--------------------------------+
73
- | openmrs.motechIdName |The name of the OpenMRS identifier used by MOTECH. This must match |MOTECH Id |
74
- | |the identifier that you will create in OpenMRS. | |
75
- +---------------------+----------------------------------------------------------------------+--------------------------------+
65
+ +-----------------------+----------------------------------------------------------------------+--------------------------------+
66
+ | Key |Description |Default Value |
67
+ +=======================+======================================================================+================================+
68
+ | openmrs.url |The top level url at which the OpenMRS Instance is accessible. |`http://localhost:8080/openmrs` |
69
+ | |Required since MOTECH integrates with OpenMRS through REST API calls. | |
70
+ | |Using HTTPS in the openmrs.url requires a valid SSL certificate for | |
71
+ | |connection. Otherwise, Java will return an error. For example, running | |
72
+ | |the Bahmni demo with Vagrant automatically redirects all traffic to | |
73
+ | |https regardless of the security certificate | |
74
+ | |(https://192.168.33.10/openmrs). You can get around this by pointing | |
75
+ | |to port 8080 as is done in the default value | |
76
+ | |(http://192.168.33.10:8080/openmrs). | |
77
+ +-----------------------+----------------------------------------------------------------------+--------------------------------+
78
+ | openmrs.user |The OpenMRS username that MOTECH will use to identify with OpenMRS. |admin |
79
+ +-----------------------+----------------------------------------------------------------------+--------------------------------+
80
+ | openmrs.password |The OpenMRS user password that MOTECH will use to identify with |Admin123 |
81
+ | |OpenMRS. | |
82
+ +-----------------------+----------------------------------------------------------------------+--------------------------------+
83
+ | openmrs.motechIdName |The name of the OpenMRS identifier used by MOTECH. This must match |MOTECH Id |
84
+ | |the identifier that you will create in OpenMRS. The default is MOTECH | |
85
+ | |Id, but it could easily be changed to anything. For example, one could | |
86
+ | |choose caseID if storing CommCare caseIDs in OpenMRS. | |
87
+ +-----------------------+----------------------------------------------------------------------+--------------------------------+
88
+ | openmrs.identifierTypes|By default, we support the one identifier type specified in | |
89
+ | |openmrs.motechIdName property. Define additional identifier types here | |
90
+ | |if you need to create or query an OpenMRS patient with multiple, | |
91
+ | |custom identifiers via MOTECH (comma separated, if more than one). | |
92
+ +-----------------------+----------------------------------------------------------------------+--------------------------------+
76
93
77
94
.. note ::
78
95
0 commit comments