web stats
Mirth Community - Search Results

Go Back   Mirth Community > Search Forums

Showing results 1 to 25 of 29
Search took 0.00 seconds.
Search: Posts Made By: schillert
Forum: Support 08-08-2019, 11:52 PM
Replies: 2
Views: 93
Posted By schillert
I've only done some xslt processing on the...

I've only done some xslt processing on the "normal" XML representation of HL7 messages. I start with

<xsl:template match="/HL7Message">

In order to check for a specific value of a field I do
...
Forum: Support 08-08-2019, 01:01 AM
Replies: 6
Views: 265
Posted By schillert
Sorry for the complete and utter nonsense-code...

Sorry for the complete and utter nonsense-code from my earlier post.
I have tested the code below with your sample message and it works.

var results = <body/>;
var workToDo=false;
for each (seg...
Forum: Support 08-02-2019, 06:58 AM
Replies: 1
Views: 187
Posted By schillert
Just a vague idea: Every pruning result is...

Just a vague idea: Every pruning result is recorded in the EVENT Table of mirthdb.
The table looks like this:

mysql> describe EVENT;...
Forum: Support 08-02-2019, 06:06 AM
Replies: 6
Views: 265
Posted By schillert
This should help. The trick is to iterate over...

This should help. The trick is to iterate over the whole message.

var results = new XML('<tbody></tbody>');
var tr;

for each (seg in msg.children()) {
switch (seg.name().toString()) {...
Forum: Support 08-02-2019, 05:20 AM
Replies: 5
Views: 283
Posted By schillert
Are you sure optid is unique?

Are you sure optid is unique?
Forum: Support 07-17-2019, 02:02 AM
Replies: 2
Views: 300
Posted By schillert
Hi, your message indicates that you have to...

Hi,
your message indicates that you have to pull the file from a SMB-Share
So you have to use the CIFS-library.

var...
Forum: Support 07-10-2019, 06:40 AM
Replies: 4
Views: 760
Posted By schillert
The CIFS-library supports only SMB1. To...

The CIFS-library supports only SMB1.

To connect to non SMB1-shares you have to

- either run Mirth as a domain user which has access to the share
- or add the computer account of the...
Forum: Support 07-10-2019, 04:02 AM
Replies: 4
Views: 249
Posted By schillert
Hi, the strings in all map-variables are...

Hi,

the strings in all map-variables are Java-strings, while strings in JavaScript-variables are JavaScript-strings. This is sometimes confusing.
Try a cast:
...
Forum: Support 07-10-2019, 01:28 AM
Replies: 4
Views: 249
Posted By schillert
Hi, try var mapping="var...

Hi,

try

var mapping="var firstname=msg['PID']['PID.5']['PID.5.2'].toString()"
eval(mapping);

This results in the variable 'firstname' being created with the desired value.
You can fetch...
Forum: Support 04-17-2019, 06:01 AM
Replies: 1
Views: 215
Posted By schillert
A bunch of tables gets created upon saving a new...

A bunch of tables gets created upon saving a new channel all sharing a common suffix. This suffix is the local channel id.
Example: table d_ma36 is the attachment table for the channel with local...
Forum: Support 04-17-2019, 01:18 AM
Replies: 6
Views: 386
Posted By schillert
If you use default encoding Mirth will use the...

If you use default encoding Mirth will use the charset the java vm is running with. Under Linux this is mostly UTF-8 - under Windows this is most likely Windows 1272(in western Europe).
Choosing a...
Forum: Support 04-15-2019, 11:23 PM
Replies: 2
Views: 435
Posted By schillert
I guess the result of your database query looks...

I guess the result of your database query looks like this

<result>
<receivingapplication>LABADT</receivingapplication>
<security>P</security>
<sendingapplication>ADT1</sendingapplication>...
Forum: Support 04-15-2019, 06:41 AM
Replies: 6
Views: 386
Posted By schillert
Hi, this should do it.

Hi,

this should do it.
Forum: Support 04-08-2019, 01:27 AM
Replies: 2
Views: 457
Posted By schillert
Hi, here is a rather pedestrian approach...

Hi,

here is a rather pedestrian approach which works.
I'm just writing the JSON object into a string.
tmp = "";
var numCols=msg["row"].children().length();
for each (seg in...
Forum: Support 04-03-2019, 02:59 AM
Replies: 1
Views: 338
Posted By schillert
Re-enable DICOM vocabulary in "Message Trees"

since I work quite a lot with DICOM I would like to see the tag descriptions back
which vanished with version 3.3.

I have a suggestion:

In the method processXmlElement in the TreePanel class...
Forum: Support 11-20-2018, 04:06 AM
Replies: 1
Views: 450
Posted By schillert
Your getDate uses 24-hour format "HH". Try "hh"....

Your getDate uses 24-hour format "HH". Try "hh". You can use the documentation for java class java.text.SimpleDateFormat - for that's what's being used.
Forum: Support 11-20-2018, 02:16 AM
Replies: 2
Views: 1,767
Posted By schillert
I guess you just convert your PDF page by page...

I guess you just convert your PDF page by page into JPEG and add an attachment for each page. You then trust Mirth to re-attach them for you.

That's the way DICOM is handled in Mirth. The DICOM...
Forum: Support 11-20-2018, 12:58 AM
Replies: 2
Views: 453
Posted By schillert
You could split your channel into 2 with 1...

You could split your channel into 2 with 1 destination each.

The message would go to the first channel.

In its destination's response transformer you can check for SENT and only then use...
Forum: Support 10-29-2018, 02:27 AM
Replies: 4
Views: 501
Posted By schillert
How about something like var...

How about something like

var varname="interface_id";
if(sourceMap.containsKey(varname) {
var xx=sourceMap.get(varname)
} else if (channelMap.containsKey(varname) {
var...
Forum: Support 10-29-2018, 02:04 AM
Replies: 3
Views: 604
Posted By schillert
Your 2.xml starts with a BOM (EF BB BF). This...

Your 2.xml starts with a BOM (EF BB BF). This leads to confusion in the parser
Forum: Support 09-06-2018, 10:36 PM
Replies: 4
Views: 815
Posted By schillert
Hi, try this in a destination connector...

Hi,

try this in a destination connector transformer step.
The trick is the "split" of the string

var obx5 = msg["OBX"]["OBX.5"]["OBX.5.1"].toString().split(/\\.br\\/);

tmp=new...
Forum: Support 08-16-2018, 04:15 AM
Replies: 11
Views: 9,973
Posted By schillert
insertChildAfter works properly

look at the following snippet:

delete tmp['FT1']['FT1.20'];
tmp["FT1"].insertChildAfter(tmp["FT1"]["FT1.19"][0], new XML("<FT1.20><FT1.20.1>" + CC +...
Forum: Support 09-26-2013, 05:36 AM
Replies: 3
Views: 5,818
Posted By schillert
Failure writing to database: We use MySql. I...

Failure writing to database: We use MySql. I experienced database locks due to a long running queries that made Mirth give up to try to write an attachment or message.
The pruning process for...
Forum: Support 09-24-2013, 06:36 AM
Replies: 1
Views: 1,081
Posted By schillert
As of now I don't know of a built-in DICOM...

As of now I don't know of a built-in DICOM worklist that gets fed by HL7 ORM messages.

I have been toying with the idea of installing the OFFIS DCMTK on the machine which runs Mirth. The package...
Forum: Support 09-24-2013, 06:25 AM
Replies: 3
Views: 5,818
Posted By schillert
I also encountered this (or a very similar)...

I also encountered this (or a very similar) problem.

Suppose your attachment doesn't get written into the database.

addAttachment won't throw an exception but just carry on.

When composing...
Showing results 1 to 25 of 29

 
Forum Jump

All times are GMT -8. The time now is 10:01 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation