web stats
Proprietary types - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 08-02-2007, 07:22 AM
bolota bolota is offline
Mirth Newb
 
Join Date: Jul 2007
Posts: 15
bolota
Default Proprietary types

Hi everyone.
I've started to investigate Mirth a couple days ago, and I have a newbbie's question.
Is it possible to create a channel that receives a proprietary type and somehow transform that data into an hl7 message(s)?
The following is an example message that I need to parse.


MESSAGE_TYPE <NEW>
MODALITY <007004>
PATIENT_FORE_NAME <JOHN>
PATIENT_MIDDLE_NAME <JACOB>
PATIENT_LAST_NAME <SMITH>
PATIENT_ID <007000042>
PATIENT_BIRTH_DATE <20020829>
PATIENT_SEX <M>
EXAM_ID <00701398470257>
EXAM_TYPE <CLISTER OPACO C/ DUPLO CONTRASTE>
REFERRING_PHYSICIAN <020039 ALFREDO>
EXAM_TIME <124500>
EXAM_DATE <20061107>
PROCEDURE_CODE <0070257>

Thanks in advance...
Reply With Quote
  #2  
Old 08-02-2007, 10:30 AM
albertosaez albertosaez is offline
 
Join Date: Sep 2006
Location: Valladolid, Spain
Posts: 842
albertosaez is an unknown quantity at this point
Default Re:Proprietary types

You can use te preproecessor and the replace JS function to convert the message into XML and then into hl7
Reply With Quote
  #3  
Old 08-03-2007, 06:01 AM
bolota bolota is offline
Mirth Newb
 
Join Date: Jul 2007
Posts: 15
bolota
Default Re:Proprietary types

Thanks Alberto.
By the way, is it possible to reverse the process, i.e., create a channel that receives hl7 messages and transform them into my proprietary type?
Reply With Quote
  #4  
Old 08-03-2007, 06:31 AM
albertosaez albertosaez is offline
 
Join Date: Sep 2006
Location: Valladolid, Spain
Posts: 842
albertosaez is an unknown quantity at this point
Default Re:Proprietary types

This is easiest than the previous quiestion.

You have to get all the data form the HL7 message to variables, using the mapper.

Then, using a template at the destination, create the format you need.

Post edited by: albertosaez, at: 08/03/2007 07:31
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to handle random message types chronofish Support 5 02-23-2009 07:53 AM
Integrating proprietary formats in mirth hatzlj Development 1 08-11-2008 08:44 AM
creating channels for various types of HL7 message shifting_18 Support 2 05-07-2007 05:29 PM
Can one transformer apply to all message types? jbartels Support 2 04-20-2007 12:57 PM
How to filter and process different message types? tintinn Support 2 09-24-2006 09:51 PM


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


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