I have an HL7 feed coming into Mirth via LLP
1. I would like to take a certain field from the message and use the values to look up data in a SQL 2000 database based on that value.
2. If the record exists, return data from database to the field in the HL7 message
3. If not, insert a new record into the database.
4. Send the newly encoded data out through the same channel to Cloverleaf.
I have attached my channel.
I can't see where the data is actually being replaced in the Encoded Message tab.
Any help would be appreciated.
One more thing, on the Wiki there is an entry named "Mapping HL7 fields to database values" under Examples, but there isn't an example available. If I can get this to work, then I will post this example over there.
Thanks,
Austin
TestHL7.xml (15368 bytes)
Post edited by: ajadams2, at: 06/21/2007 06:31
1. I would like to take a certain field from the message and use the values to look up data in a SQL 2000 database based on that value.
2. If the record exists, return data from database to the field in the HL7 message
3. If not, insert a new record into the database.
4. Send the newly encoded data out through the same channel to Cloverleaf.
I have attached my channel.
I can't see where the data is actually being replaced in the Encoded Message tab.
Any help would be appreciated.
One more thing, on the Wiki there is an entry named "Mapping HL7 fields to database values" under Examples, but there isn't an example available. If I can get this to work, then I will post this example over there.
Thanks,
Austin
TestHL7.xml (15368 bytes)
Post edited by: ajadams2, at: 06/21/2007 06:31
Comment