HL7 Starter Kit – Free Project Tools HL7 Starter Kit

mirth_connect

Mirth Connect – Add Channel Metadata For Troubleshooting March 21, 2017

Thanks for visiting!

I saw this great tip from Galen Healthcare. Big thanks to them for this cool info. This will be a video soon but for now – here are instructions on how to use metadata in Mirth to troubleshoot.

“By adding these channel variables to the metadata of a channel, you can view the values for these variables on the message log screen and also speed up your searches when using the Advanced search filter and specifying the metadata you have defined.” -Galen Healthcare

Open up Mirth and follow instructions below to try it yourself OR download this Mirth Channel and run it:

Summary Tab > Custom Metadata > Add button

Column Name: EHR_ID

Variable Mapping: EHRID

MirthAddButton

Source Tab > Edit Transformer > Add New Step

Type: Mapper

Variable: EHRID (same as the value you entered in Variable Mapping above)

Mapping: msg['MSH']['MSH.3']['MSH.3.1'].toString() (or the location from your HL7 file coming in)

Default Value: leave blank

hl7 for dummies

Here is the HL7 to use to test your work. Copy and paste into Mirth’s SEND MESSAGE feature.

MSH|^~\&|AcumenEHR|AcumenEHR|MicroMD|MicroMD|201703092235||DFT^P03|4796932|P|2.3
EVN|P03|201703092235|
PID|1|21046|||Babnic^Robert^A||19401028|M||White|8573 Catarina Place^^Youngstown^OH^44514||(330)757-4318||||||300-32-4789
PV1|1|129225|12||||2^Barton^Daniel^^MD|^^^^||||||||||NPDB|||||||||||||||||||||||||||
FT1|1|||20170309|20170309|+|99244|||1||||||12|||I10^^I10|2^Barton^Daniel^^MD|||||99244|

 

Send above message into Channel:

hl7 for dummies

Here is a sample Mirth Channel with the instructions above, if you would like to try it. Again, use the HL7 above to send into the channel.

Here is the link:

Channel Metadata Example Channel Reader

close
mirth_connect

Mirth Connect – Add Channel Metadata For Troubleshooting

Leave a Reply

ViSO Tech

ViSO Tech

Thank you for visiting! Click Facebook icon above and let's connect.
mirth_connect

Mirth Connect – Add Channel Metadata For Troubleshooting March 21, 2017

Search