Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Configuration to connect insurance-integration application

Configuration in /opt/openmrs/bahmnicore.properties file

imisconnect.uri=http://192.168.33.20[address]:8092/insurance-integration/
imisconnect.user=admin
imisconnect.password=haha

Configurations in application.properties file

Configuration Parameter

Value

Explanation

spring.datasource.initialization-mode

always

Spring Boot automatically creates the schema of an embedded DataSource. Tables are creating as scripted in file schema-postgres.sql

spring.datasource.platform

postgres

datasource platform

spring.datasource.url

jdbc:postgresql://localhost:5432/insurance

Url for accessing datasource

spring.datasource.username

[username]

username for datasource

spring.datasource.password

[password]

password for datasource

spring.datasource.hikari.connection-timeout

[seconds in millis]

datasource connection timeout

spring.liquibase.enabled

[true,false]

log4j.config.file

log4j.properties

Name of your log4j properties file

server.port=8092

[port]

port number of insurance-connect service

server.servlet.context-path=/insurance-integration/

[context-path]

logs can be accessed from path /var/log/[context-path]/insurance-integration.log

openmrs.odoo.api

http://[address]8050/openmrs/ws/rest/v1/example/patient/

odoo.host

[hostIP]

odoo.port

[host port]

odoo.database

[database name]

odoo.user

[odoo db user]

odoo.password

[odoo db password]

imisconnect.user

[imisconnect user]

imisconnect.password

[imisconnect password]

imisconnect.errortrace.include

[true,false]

This is used to decide on including error Stack Trace

imisconnect.claimresource.save

[true,false]

This is used to decide on saving claimresource in insurance db

imisconnect.eligresource.save

[true,false]

This is used to decide on saving Eligiibility resource in insurance db

icd.dottedFormat=true

[true,false]

This is used to accept the dotted format of ICD code

openimis.api.url

https://[address]/api/api_fhir/

openimis.api.user

[openimis.api.username]

openimis.api.password

[openimis.api.userpassword]

openimis.enterer.id

[Openimis enterer id ]

We can get this from user login id in openimis system

openimis.healthFacility.id

[healthFacility.id from Openimis for your location]

openimis.fhir.api.elig

https://[address]/api/api_fhir/EligibilityRequest/

openimis.fhir.api.claim

https://[address]/api/api_fhir/Claim/

openmrs.root.url

http://[address]:8050/openmrs/ws/rest/v1

openmrs.fhir.url

http://[address]/openmrs/ws/fhir/Person/

openmrs.user

[openmrs.user]

openmrs.password

[openmrs.password]

Configuration in log4j.properties

Configuration param

Explanation

log4j.rootLogger=ERROR, sql, Appender1

[LogLevel], [SQLAppender] [ConsoleAppender]

Define LogLevel for appending logs in console and sql, SQLAppender is for saving the the logs in db, ConsoleAppender is for appending logs in console of insurance-connect service