web stats
Mirth Community - Search Results

Go Back   Mirth Community > Search Forums

Showing results 1 to 18 of 18
Search took 0.00 seconds.
Search: Posts Made By: derickmiller
Forum: Support 06-09-2017, 08:03 AM
Replies: 0
Views: 1,254
Posted By derickmiller
Checking for token expiration

We have a channel that calls an API and gets a token. The token is returned and we are able to use the token in other API calls. The issue I have is, I don't want to have to make a call to get a new...
Forum: Support 09-13-2016, 05:35 AM
Replies: 14
Views: 4,682
Posted By derickmiller
Finally Solved the issue. Here is my final code....

Finally Solved the issue. Here is my final code. Thanks for everyones help.


var dbConn = DatabaseConnectionFactory.createDatabaseConnection(
'net.sourceforge.jtds.jdbc.Driver',...
Forum: Support 09-13-2016, 04:25 AM
Replies: 14
Views: 4,682
Posted By derickmiller
After testing I figured out that the Null value...

After testing I figured out that the Null value is coming from the last patient in the DB. I can not figure out why it is grabbing that patients data instead of the data for the patient on the source...
Forum: Support 09-12-2016, 11:39 AM
Replies: 14
Views: 4,682
Posted By derickmiller
Ok, I removed those as well. Now I do get...

Ok, I removed those as well. Now I do get something returned, but it is NULL. This is still not correct as there is a value in that column for the data in question.

...
Forum: Support 09-12-2016, 11:23 AM
Replies: 14
Views: 4,682
Posted By derickmiller
ok, that makes sense. I switched it back to...

ok, that makes sense. I switched it back to 'MiddleName', as I do not want it as a variable, but I still go no value in PID5.3. What else could the issue be.
Forum: Support 09-12-2016, 11:15 AM
Replies: 14
Views: 4,682
Posted By derickmiller
Ok, now I am confused. I changed the variable...

Ok, now I am confused. I changed the variable name to MN so i would not get them mixed up. But when you say I am using a variable of MiddleName but it is not declared, I am not sure what you are...
Forum: Support 09-12-2016, 11:04 AM
Replies: 14
Views: 4,682
Posted By derickmiller
My last post was a mistype, I have the variable...

My last post was a mistype, I have the variable names correct. Regardless I still get nothing returned and no errors. Here is current script being used.

var lastname =...
Forum: Support 09-12-2016, 10:44 AM
Replies: 14
Views: 4,682
Posted By derickmiller
Made the changes above, but know I get nothing in...

Made the changes above, but know I get nothing in PID 5.3

var lastname = msg['PID']['PID.5]['PID.5.1'].toString()
var firstname = msg['PID']['PID.5]['PID.5.2'].toString()
var dbConn =...
Forum: Support 09-12-2016, 07:58 AM
Replies: 14
Views: 4,682
Posted By derickmiller
Narupley thanks for the info, but I am not quite...

Narupley thanks for the info, but I am not quite following you. Can you give an example
Forum: Support 09-12-2016, 07:41 AM
Replies: 14
Views: 4,682
Posted By derickmiller
Retrieve data from database

Hello.... I am trying to retrieve data from a DB using a Java script in the transformer. Everything seems to working, no errors, but when it runs instead of returning the value from the database, all...
Forum: Support 08-18-2016, 12:17 PM
Replies: 0
Views: 1,688
Posted By derickmiller
Help posting ORU message to an API

Hello.... I have been tasked to take an incoming HL7 ORU message and Post that result to an API. I am very familiar with Mirth and HL7, but have never had to do anything with an API. Just looking for...
Forum: Support 08-09-2016, 08:54 AM
Replies: 4
Views: 4,216
Posted By derickmiller
Thanks I went with a preprocessor script and was...

Thanks I went with a preprocessor script and was able to resolve the issue.
Forum: Support 08-09-2016, 07:35 AM
Replies: 4
Views: 4,216
Posted By derickmiller
Thanks Narupley. How would I go about checking...

Thanks Narupley. How would I go about checking for any line that has 3 alphanumeric characters followed by the field separator (e.g. "|"), and remove line breaks from any other line that doesn't fit...
Forum: Support 08-09-2016, 06:52 AM
Replies: 4
Views: 4,216
Posted By derickmiller
Removing Carriage Return and Line Feed from OBX segments for Embedded PDF HL7

Mirth 3.4.0

When trying to process an embedded PDF, Mirth is seeing the carriage returns and line feeds at the end of each OBX line and causing it to error. I need to know how to remove these in...
Forum: Support 07-29-2016, 08:06 AM
Replies: 5
Views: 1,927
Posted By derickmiller
Thanks siddharth, but it is only copying into the...

Thanks siddharth, but it is only copying into the first OBX segment. I need it to copy in any of the first OBX segments. It looks Mirth count them in order regardless if follows a new RXA segment. I...
Forum: Support 07-29-2016, 05:45 AM
Replies: 5
Views: 1,927
Posted By derickmiller
Copy PV1.20 to OBX 5.1 if OBX 5.1 is present

Trying to figure this one out, and having no luck. We are using Mirth 3.4. We are receiving messages where there may or may not be an OBX segment. If there is an OBX segment we want to copy the value...
Forum: Support 07-26-2016, 12:43 PM
Replies: 1
Views: 2,463
Posted By derickmiller
Figured it out, once I got an error that was...

Figured it out, once I got an error that was found on the form. This was the solution.


msg['OBX'][0]['OBX.5']['OBX.5.1'] = msg['PV1']['PV1.20'] ['PV1.20.1'];
msg['OBX'][1]['OBX.5']['OBX.5.1'] =...
Forum: Support 07-26-2016, 11:31 AM
Replies: 1
Views: 2,463
Posted By derickmiller
How to copy a value from one segment to another only if the value exist

Hello. I am trying to find out how to copy a value in the PV1 segment to the OBX segment but not into not every OBX segment. For example if PV1.20 is populated, I want to copy it into the first OBX...
Showing results 1 to 18 of 18

 
Forum Jump

All times are GMT -8. The time now is 02:59 AM.


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