This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*** GLOBAL Scope ***/ | |
| /*** GLOBAL Scope --- Map Functions --- ***/ | |
| function $co(key, value) { if (arguments.length == 1) { return connectorMap.get(key); } else { return connectorMap.put(key, value); } } | |
| function $c(key, value) { if (arguments.length == 1) { return channelMap.get(key); } else { return channelMap.put(key, value); } } | |
| function $s(key, value) { if (arguments.length == 1) { return sourceMap.get(key); } else { return sourceMap.put(key, value); } } | |
| function $gc(key, value) { if (arguments.length == 1) { return globalChannelMap.get(key); } else { return globalChannelMap.put(key, value); } } | |
| function $g(key, value) { if (arguments.length == 1) { return globalMap.get(key); } else { return globalMap.put(key, value); } } | |
| function $cfg(key, value) { if (arguments.length == 1) { return configurationMap.get(key); } else { return configurationMap.put(key, value); } } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- 20201125T1403 EST - Fix bug in xpath not correctly matching values to correct channel | |
| -- 20201125T1430 EST - Updated formatting only using: http://poorsql.com/ with minor hand edits | |
| -- 20201125T1430 EST - Updated formatting only using: http://poorsql.com/ with minor hand edits | |
| -- 20210321T1140 EST - Postgres 12+ XPATH works differently and required entry/ where as 9.6 requires it to be missing | |
| -- | |
| -- Jon Bartels | |
| -- Similar query for SQL Server is here - https://stackoverflow.com/questions/58942371/get-space-used-by-mirth-per-channel-in-sql-server | |
| -- | |
| SELECT NAME AS CHANNEL_NAME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * ChannelUtils | |
| * @param config: {name, user, password, url, dbClass, cacheConnection, cacheName} | |
| * @param config.name: a db connection name must be unique or will cause issues | |
| * @param config.user: user name to use for db connection | |
| * @param config.password: db user password | |
| * @param config.url: db url | |
| * @param config.dbClass: db class - Default: org.postgresql.Driver | |
| * @param config.cacheConnection: Should cache the connection? true/false | |
| * @param config.cacheName: default - cachedConnection:ChannelUtils:channelName:config.name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM node:13-alpine as base | |
| LABEL maintainer="Isaak Eriksson <[email protected]>" | |
| ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true | |
| ENV PUPPETEER_EXECUTABLE_PATH /usr/bin/chromium-browser | |
| WORKDIR /src | |
| RUN apk update && apk add --no-cache --virtual \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- 20201125T1403 EST - Fix bug in xpath not correctly matching values to correct channel | |
| -- 20201125T1430 EST - Updated formatting only using: http://poorsql.com/ with minor hand edits | |
| -- 20201125T1432 EST - Removed CID from final output as it was only there for debugging xpath issues | |
| -- 20210321T1140 EST - Postgres 13+ XPATH works differently see: https://gist.github.com/MichaelLeeHobbs/40b4b7cf70ecbe30b73eed763367e626 | |
| -- | |
| -- Jon Bartels | |
| -- Similar query for SQL Server is here - https://stackoverflow.com/questions/58942371/get-space-used-by-mirth-per-channel-in-sql-server | |
| -- | |
| SELECT NAME AS CHANNEL_NAME |
Mirth Connect is awesome! One common question on the forums and Slack is how to manage SSL connctions. These questions mainly focus on HTTPS but also include TCP connections.
Switch to https://openintegrationengine.org/. The open source fork of Mirth Connect.
Open Integration Engine comes (with a free TLS plugin)[https://openintegrationengine.org/free-tls-plugin-update-2025-12-19/]. It supports more modern best practices for certificate management, has a better UI, and is freely available under an open-source license.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FORTIDATE %{YEAR:year}\-%{MONTHNUM:month}\-%{MONTHDAY:day} |
You should install VirtualBox and Vagrant before you start.
You should create a Vagrantfile in an empty directory with the following content:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import fs from 'fs'; | |
| export default class X12 { | |
| constructor(file) { | |
| if (file.includes('/')) { | |
| fs.readFile(file, 'utf8', (err, contents) => { | |
| return this.parseTextToJSON(contents); | |
| }); | |
| } else { |
NewerOlder
