Health Information Exchange Open Source (HIEOS) is an open source implementation of, primarily server-side, Integrating the Healthcare Enterprise (IHE) Integration Profiles including Cross Enterprise Document Sharing (XDS.b) and Cross Community Access (XCA) integration profiles.
For more information about HIEOS and related downloads, please visit their website.
- Setup MySQL database
adt
,log
,omar
,repo
withadt schema
,log schema
,registry schema
,repository schema
. - Copy
mysql-connector-java-5.1.10-bin.jar
underGLASFHISH_ROOT/domains/domain1/lib/ext
directory. - Copy
all application deployable files
toGLASFHISH_ROOT/domains/domain1/autodeploy
directory. - Create an environment variable named
HIEOSxCodesFile
, and set its value to point tocodes.xml
file. - Create an environment variable named
HIEOSxConfigFile
, and set its value to point toxconfig.xml
file. - Create an environment variable named
HIEOSxSchemaDir
, and set its value to point toschema
folder. - Create an environment variable named
HIEOSxLogDir
, and set its value tologs
folder.
After start up glassfish, log into the web management interface as admin, for example, http://localhost:4848
.
Go to Resources>JDBC>Connection Pool
, create following MySql connection pools hieos-adt-pool
, hieos-log-pool
, hieos-registry-pool
, hieos-repo-pool
- Resource Type:
javax.sql.ConnectionPoolDataSource
- Vendor:
MySQL
- Setup
Password
,Url
,User
value from the “Additional Properties section” and delete others. - After finished, click
ping
to verify connection.
Go to Resources>JDBC>JDBC Resources
, create following JDBC Resources
- Click
New
, set JNDI Name: jdbc/hieos-adt, Pool Name: hieos-adt-pool, clickOK
. - Click
New
, set JNDI Name: jdbc/hieos-adt, Pool Name: hieos-adt-pool, clickOK
. - Click
New
, Set JNDI Name: jdbc/hieos-registry, Pool Name: hieos-registry-pool, clickOK
. - Click
New
, Set JNDI Name: jdbc/hieos-repo, Pool Name: hieos-repo-pool, clickOK
.
- Go to
Resources>JMS Resources>Connection Factories
, selectNew
, Enter JNDI Name:jms/XLoggerFactory
, Select Resource Type:javax.jms.QueueConnectionFactory
, Delete all the properties. - Go to
Resources>JMS Resources>Connection Factories
, selectNew
, Enter JNDI Name:jms/XLogger
, Select Physical Destination Name:PhysicalQueue
, Select Resource Type:javax.jms.Queue
.
Go to Application Server>JVM Settings>JVM Options>Add JVM Option
, create new property as -Dcom.vangent.hieos.xconfig=${com.sun.aas.instanceRoot}/applications/j2ee-modules/xref/config/xconfig.xml
Restart server after configuration, verify by following links http://localhost:8080/axis2/services/listServices
The docker images bhits/hieos:1.2.1 is configured with domain.xml
which including all above configuration. Connection pool is using MySQL docker containers.
docker run --name hieos --link="adt-db.c2s.com" --link="log-db.c2s.com" --link="repo-db.c2s.com" --link="registry-db.c2s.com" -d bhits/hieos:1.2.1
To fully run bhits/hieos:1.2, please refer following docker-compose.yml
,
version: '2'
services:
...
hieos.c2s.com:
image: bhits/hieos:1.2.1
ports:
- "80:8080"
- "81:4848"
restart: always
adt-db.c2s.com:
image: mysql:5.7.19
environment:
MYSQL_ROOT_PASSWORD: admin
MYSQL_DATABASE: adt
volumes:
- ${C2S_BASE_PATH}/java/C2S_PROPS/hieos-db/adt:/docker-entrypoint-initdb.d
command: mysqld --lower_case_table_names=1 --skip-ssl
restart: always
log-db.c2s.com:
...
repo-db.c2s.com:
...
registry-db.c2s.com:
...
- View license information for the software contained in this image.
- HIEOS 1.2 artifacts in this repository are downloaded from HIEOS.
If you have any questions, comments, or concerns please see Consent2Share project site.
Please use GitHub Issues page to report issues.