This is a passthrough mediator for to storing and retrieving PLM questionnare mappings to and from OCL through OpenHIM
- Clone the openhim-mediator-plm-qmap repo into the /usr/share folder.
- Create “openhim-mediator-plm-qmap.service” file with the following content and save it in /etc/system/system/
[Unit]
Description=OpenHIM PLM QMAP mediator
[Service]
WorkingDirectory=/usr/share/openhim-mediator-plm-qmap
ExecStart=/usr/bin/npm start
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=plm-qmap-mediator
Environment=NODE_ENV=production
User=openhim-core
Group=openhim-core
[Install]
-
Run
systemctl start openhim-mediator-plm-qmap.service
-
After successful installation, configure the mediator with the following settings -
- Create a channel through which the mediator is accessed and use the following settings -
For more information on API endpoints, please read POSTMAN documentation - https://documenter.getpostman.com/view/10981858/SzmjyuQC?version=latest