Mirth: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Docker Stack==
{|
|valign="top"|
<syntaxhighlight lang="bash">
mkdir -p ~/Documents/mirth-playground/
cd      ~/Documents/mirth-playground/
docker-compose -f stack.yml up  -d
docker-compose -f stack.yml logs -f
docker-compose -f stack.yml down
# onboarding
    open  http://172.17.0.3:8080 &>/dev/null &
xdg-open  http://172.17.0.3:8080 &>/dev/null &
# dashboard
    open https://172.17.0.3:8443 &>/dev/null &
xdg-open https://172.17.0.3:8443 &>/dev/null &
# page: https://172.17.0.3:8443
# user: admin
# pass: admin
docker exec -it mirth_apps bash
docker exec -it mirth_apps ls -lah
docker exec -it mirth_apps ps -aux
docker exec -it mirth_apps ls -lah ..
docker exec -it mirth_apps java -version
docker exec -it mirth_psql bash
docker exec -it mirth_psql psql -Umirthdb
SELECT * FROM person_password;
SELECT * FROM configuration;
SELECT * FROM schema_info;
SELECT * FROM person;
SELECT * FROM event;
</syntaxhighlight>
|valign="top"|
<syntaxhighlight lang="yaml">
cat << YML | tee ~/Documents/mirth-playground/stack.yml >/dev/null
version: "3.1"
services:
  mc:
    image: nextgenhealthcare/connect
    container_name: mirth_apps
    platform: linux/amd64
    environment:
      - DATABASE=postgres
      - DATABASE_URL=jdbc:postgresql://db:5432/mirthdb
      - DATABASE_MAX_CONNECTIONS=20
      - DATABASE_USERNAME=mirthdb
      - DATABASE_PASSWORD=mirthdb
      - DATABASE_MAX_RETRY=2
      - DATABASE_RETRY_WAIT=10000
      - KEYSTORE_STOREPASS=docker_storepass
      - KEYSTORE_KEYPASS=docker_keypass
      - VMOPTIONS=-Xmx512m
    ports:
      - 8080:8080/tcp
      - 8443:8443/tcp
    depends_on:
      - db
  db:
    image: postgres
    container_name: mirth_psql
    environment:
      - POSTGRES_USER=mirthdb
      - POSTGRES_PASSWORD=mirthdb
      - POSTGRES_DB=mirthdb
    expose:
      - 5432
YML
</syntaxhighlight>
|}
==Playground==
{|
| valign="top" |
<syntaxhighlight lang="bash">
sudo apt install icedtea-netx
apt search icedtea-netx
</syntaxhighlight>
| valign="top" |
<syntaxhighlight lang="bash">
sudo apt install libcanberra-gtk-module
apt search libcanberra-gtk-module
</syntaxhighlight>
| valign="top" |
<syntaxhighlight lang="bash">
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
javaws ~/Downloads/webstart.jnlp
</syntaxhighlight>
|-
| colspan="3" |
----
|-
| valign="top" |
| valign="top" |
| valign="top" |
|}
==References==
==References==
{|
{|
| valign="top" |
| valign="top" |
* [https://github.com/nextgenhealthcare/terraform-provider-cloudhealth Mirth » SCM » Connect » Terraform]
* [https://github.com/nextgenhealthcare/connect-docker Mirth » SCM » Connect » Docker]
* [https://amaron.be/en/what-is-mirth-connect-and-what-are-the-benefits-of-this-integration-engine/ Mirth » HL7 Integration Engine]
* [https://amaron.be/en/what-is-mirth-connect-and-what-are-the-benefits-of-this-integration-engine/ Mirth » HL7 Integration Engine]
* [https://www.nextgen.com/solutions/interoperability/mirth-integration-engine/mirth-connect-downloads Mirth » Connect » Download]
* [https://www.nextgen.com/solutions/interoperability/mirth-integration-engine/mirth-connect-downloads Mirth » Connect » Download]
* [https://amaron.be/en/academy/ Mirth » Amaron » Academy]
* [https://amaron.be/en/academy/ Mirth » Amaron » Academy]
* [https://github.com/nextgenhealthcare/connect-examples Mirth » Connect » Example]
* [https://mirthdownloadarchive.s3.amazonaws.com/index.html Mirth » Connect » Archive]
* [https://mirthdownloadarchive.s3.amazonaws.com/index.html Mirth » Connect » Archive]
* [https://www.nextgen.com/solutions/interoperability/mirth-partner-program Mirth » Partner Program]
* [https://www.nextgen.com/solutions/interoperability/mirth-partner-program Mirth » Partner Program]
* [https://en.wikipedia.org/wiki/Mirth_Connect Mirth » Connect » Wiki]
* [https://github.com/nextgenhealthcare/connect Mirth » SCM » Connect]
* [https://en.wikipedia.org/wiki/Mirth_Connect Mirth » Wiki » Connect]


| valign="top" |
| valign="top" |
* [https://github.com/hiddehs/nextgen-connect-chart Mirth » Hiddehs » Helm Chart]
* [https://github.com/nextgenhealthcare/fhir-example-channels Mirth » Fhir » Example]
* [https://medium.com/@enverkaradede/mirth-on-kubernetes-d97cb2852b91 Mirth » K8s » Example]


| valign="top" |
| valign="top" |
Line 30: Line 147:


| valign="top" |
| valign="top" |
* [https://askubuntu.com/questions/1134881/ JNLP » IcedTea » Cannot Run Any JNLP]
* [https://icedtea.classpath.org/download/ JNLP » IcedTea » Download]
* [https://github.com/nextgenhealthcare/sumologic-sdk-go NextGen » SumoLogic]
* [https://github.com/icedtea-git/icedtea/ JNLP » IcedTea » SCM]
* [https://docs.docker.com/reference/cli/docker/swarm/ Docker » Swarm]
* [https://docs.docker.com/reference/cli/docker/stack/ Docker » Stack]
* [https://en.wikipedia.org/wiki/IcedTea JNLP » IcedTea]
* [https://www.nextgen.com/ NextGen]
* [[Helm]]


| valign="top" |
| valign="top" |

Latest revision as of 12:58, 9 June 2024

Docker Stack

mkdir -p ~/Documents/mirth-playground/
cd       ~/Documents/mirth-playground/

docker-compose -f stack.yml up   -d
docker-compose -f stack.yml logs -f
docker-compose -f stack.yml down

# onboarding
    open  http://172.17.0.3:8080 &>/dev/null &
xdg-open  http://172.17.0.3:8080 &>/dev/null &

# dashboard
    open https://172.17.0.3:8443 &>/dev/null &
xdg-open https://172.17.0.3:8443 &>/dev/null &

# page: https://172.17.0.3:8443
# user: admin
# pass: admin


docker exec -it mirth_apps bash
docker exec -it mirth_apps ls -lah
docker exec -it mirth_apps ps -aux
docker exec -it mirth_apps ls -lah ..
docker exec -it mirth_apps java -version

docker exec -it mirth_psql bash
docker exec -it mirth_psql psql -Umirthdb
SELECT * FROM person_password;
SELECT * FROM configuration;
SELECT * FROM schema_info;
SELECT * FROM person;
SELECT * FROM event;
cat << YML | tee ~/Documents/mirth-playground/stack.yml >/dev/null
version: "3.1"
services:
  mc:
    image: nextgenhealthcare/connect
    container_name: mirth_apps
    platform: linux/amd64
    environment:
      - DATABASE=postgres
      - DATABASE_URL=jdbc:postgresql://db:5432/mirthdb
      - DATABASE_MAX_CONNECTIONS=20
      - DATABASE_USERNAME=mirthdb
      - DATABASE_PASSWORD=mirthdb
      - DATABASE_MAX_RETRY=2
      - DATABASE_RETRY_WAIT=10000
      - KEYSTORE_STOREPASS=docker_storepass
      - KEYSTORE_KEYPASS=docker_keypass
      - VMOPTIONS=-Xmx512m
    ports:
      - 8080:8080/tcp
      - 8443:8443/tcp
    depends_on:
      - db
  db:
    image: postgres
    container_name: mirth_psql
    environment:
      - POSTGRES_USER=mirthdb
      - POSTGRES_PASSWORD=mirthdb
      - POSTGRES_DB=mirthdb
    expose:
      - 5432
YML

Playground

sudo apt install icedtea-netx
apt search icedtea-netx
sudo apt install libcanberra-gtk-module
apt search libcanberra-gtk-module
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
javaws ~/Downloads/webstart.jnlp

References