web stats
Mirth Community - Search Results

Go Back   Mirth Community > Search Forums

Showing results 1 to 25 of 31
Search took 0.00 seconds.
Search: Posts Made By: Jaypell22
Forum: Support 03-16-2017, 12:46 PM
Replies: 2
Views: 1,862
Posted By Jaypell22
Delete all OBX lines from a specific point

Hi All. Hoping this is quick and easy. I have the below code which deletes 6 lines down from a certain starting point. I need to change it to delete ALL lines from that starting point which in...
Forum: Support 02-26-2016, 06:51 AM
Replies: 3
Views: 3,289
Posted By Jaypell22
Thanks for the reply! Everything from "TEST...

Thanks for the reply! Everything from "TEST REPORT" until the first addendum is the original report. Then there are 3 addendums. Usually there will be 1 however I need to code to check if there are...
Forum: Support 02-25-2016, 04:11 PM
Replies: 3
Views: 3,289
Posted By Jaypell22
Question Rearrange OBX sections in ORU based on Addendums

Hi everyone. Any help with this would be appreciated. We are trying to rearrange the OBX section of an HL7 ORU message based on the following:

If no addendum leave original report as is

If 1...
Forum: Support 01-08-2015, 12:21 PM
Replies: 8
Views: 2,170
Posted By Jaypell22
Thumbs up Brilliant!! Thank you. Worked like a charm. ...

Brilliant!! Thank you. Worked like a charm. Only item I had to add was the below code to re-number the OBX lines. Again...thanks for your help!


var OBXCounter = 1;
for each (seg in msg..OBX)...
Forum: Support 01-08-2015, 10:42 AM
Replies: 8
Views: 2,170
Posted By Jaypell22
It does not seem to do anything. Below is one of...

It does not seem to do anything. Below is one of the exact messages I am processing.

MSH|^~\&|Mirth||Mirth||201501080752||ORU^R01|201501080752102500292|P|2.3...
Forum: Support 01-08-2015, 09:53 AM
Replies: 8
Views: 2,170
Posted By Jaypell22
Thanks for the quick reply Cory. I'm trying to...

Thanks for the quick reply Cory. I'm trying to find code that specifically looks at the line to see if it starts with "EXAM:" not equals. Any ideas?
Forum: Support 01-08-2015, 09:13 AM
Replies: 8
Views: 2,170
Posted By Jaypell22
Remove 1 OBX line based on beginning text

Hi All. I am trying to remove a single OBX line from an ORU that will not be on the same line number each time. This line will always begin with "EXAM:" in OBX.5 and may be capitalized, lower case...
Forum: Support 05-27-2014, 12:08 PM
Replies: 1
Views: 4,029
Posted By Jaypell22
Combine multiple OBX fields into one by removing carets ^

I have done some digging and havent come accross anything that works specific to this.

I need to remove the carets and make each field show up in OBX.5.1 separated by a comma. There is no...
Forum: Support 02-06-2014, 09:39 AM
Replies: 5
Views: 2,865
Posted By Jaypell22
Hey Guys. Still getting stuck with this. &BODY...

Hey Guys. Still getting stuck with this. &BODY shows up in all 3.1 fields however I am looking to get &IMP in 3.1 for every line starting where the word "Impression" shows up. It should look like...
Forum: Support 11-08-2013, 08:17 AM
Replies: 10
Views: 8,275
Posted By Jaypell22
Thanks Sandersmr, I will give that a shot as I...

Thanks Sandersmr, I will give that a shot as I don't need the info in the actual HL7 message however I am used to pulling info from HL7 messages to put into my DB.

Nick, Sorry for the confusion.
...
Forum: Support 11-08-2013, 06:47 AM
Replies: 10
Views: 8,275
Posted By Jaypell22
Thanks for the reply Nick. Is there a way to...

Thanks for the reply Nick.

Is there a way to bypass adding the split descriptions into NTE lines since I am going to be inserting them into a MySQL DB or is that a necessity? I wonder if there is...
Forum: Support 11-07-2013, 06:50 AM
Replies: 10
Views: 8,275
Posted By Jaypell22
Thanks for that info! I am trying to figure out...

Thanks for that info! I am trying to figure out how to separate those 2 or 3 results from the split into separate OBR fields. I was looking to use some random OBR fields to throw them into then I...
Forum: Support 10-29-2013, 12:56 PM
Replies: 10
Views: 8,275
Posted By Jaypell22
Extract data from a single OBX segment based on word separators

I am trying to figure out how to extract exam descriptions from an ORU message that will sometimes be separated by "and" or "\T\". The field will not always be on the same OBX line however will...
Forum: Support 10-10-2013, 08:18 AM
Replies: 17
Views: 8,982
Posted By Jaypell22
Looks Fantastic! Thank you for staying with me...

Looks Fantastic! Thank you for staying with me on this. I only have one item to confirm. It looks like it avoids adding a ~ if there is already one present within 80 characters. Is this the case?...
Forum: Support 10-10-2013, 05:57 AM
Replies: 17
Views: 8,982
Posted By Jaypell22
Implemented new code and everything looks good...

Implemented new code and everything looks good except for the additional ~'s needed where line breaks are. My original code put in ~ for each line break. The first result below is the latest...
Forum: Support 10-09-2013, 11:45 AM
Replies: 17
Views: 8,982
Posted By Jaypell22
Never in the Raw message however I do insert...

Never in the Raw message however I do insert various data in other fields per my code.
Forum: Support 10-09-2013, 11:29 AM
Replies: 17
Views: 8,982
Posted By Jaypell22
Yes Sry, should have thrown that out to you guys....

Yes Sry, should have thrown that out to you guys.

MSH|^~\&|HOSP||HOSP||201310091515||ORU^R01|201310091515341948794|P|2.3
PID|1|1234401834|1234401834||NAME^NAME^W||19600123|M||||||||||||...
Forum: Support 10-09-2013, 11:13 AM
Replies: 17
Views: 8,982
Posted By Jaypell22
Getting there, Now I get this as a result using...

Getting there, Now I get this as a result using the most recent code.

OBX|1|FT|||Referring Physician: MR DOCTOR, MD~~Patient Name: FIRST LAST~~~5>~~Exam: X-ray 2 view PA lateral...
Forum: Support 10-09-2013, 10:30 AM
Replies: 17
Views: 8,982
Posted By Jaypell22
So I have been playing around with this, made a...

So I have been playing around with this, made a few tweaks/fixes for capitalizations, and removed 2 "()" which were hanging things up. Everything processes now but look at the OBX. It deletes...
Forum: Support 10-09-2013, 07:54 AM
Replies: 17
Views: 8,982
Posted By Jaypell22
Thanks for your Help! I am hitting a snag right...

Thanks for your Help! I am hitting a snag right now however. Maybe you can understand the error. That is the first OBX Line that it gets stuck on. Let me know if you have any ideas - also if you...
Forum: Support 10-05-2013, 09:49 AM
Replies: 17
Views: 8,982
Posted By Jaypell22
Combining OBX lines into one AND inserting 80 character limit ~ tilde

Version 2.2.1.5861.
I am currently using the below code to create one OBX line from Multiple OBX lines. This has been working great however I now have to ensure there is a ~ no more than 80...
Forum: Support 09-17-2013, 12:18 PM
Replies: 10
Views: 8,140
Posted By Jaypell22
Thumbs up Thank you atibbits, this is priceless!

Thank you atibbits, this is priceless!
Forum: Support 09-06-2013, 12:37 PM
Replies: 2
Views: 3,569
Posted By Jaypell22
Thumbs up Thanks Nick! This was perfect.

Thanks Nick! This was perfect.
Forum: Support 09-04-2013, 09:40 AM
Replies: 2
Views: 3,569
Posted By Jaypell22
Destination Filter based on time of day

Good Morning.

I am trying to figure out the best way to limit sending to a specific destination based on time.

I suppose this can be done as a filter however I do not know where to begin with...
Forum: Support 08-11-2013, 09:31 AM
Replies: 2
Views: 1,387
Posted By Jaypell22
Thumbs up Thank you narupley for stopping me from banging...

Thank you narupley for stopping me from banging my head against the wall!

I had multiple columns with the same pt data due to early testing and importing of data. Some columns had data in the...
Showing results 1 to 25 of 31

 
Forum Jump

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


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