I'm trying to make use of VistA's TIU HL7 capabilities, and after a day or two of debugging the messages I'm sending and checking and rechecking the TIUHL7 Message Manager, I've gotten it down to only one error displayed in the message manager
ERR^TXA^9^^0000.00~SSN [000000029] lookup failed for AUTHOR/DICTATOR.
The relevant M code that returns this error is located in VitaA-M/TIUFLF2.m
|
| . I '+$G(TIU("AUDA")),+$G(TIU("AUSSN")) S TIU("AUDA")=+$$FIND1^DIC(200,"","X",+$G(TIU("AUSSN")),"SSN") I '+TIU("AUDA") D ERR^TIUHL7U1("TXA",9,"0000.00","SSN ["_TIU("AUSSN")_"] lookup failed for AUTHOR/DICTATOR.") Q |
|
I've made sure to pass in the SSN of the test doctor who is currently already in the database at all the relevant points the TIHUL7 guide specified. Is there some other reason why a lookup for the doctor via SSN would fail for TIU?
Here's the test HL7 message I was sending if that would help provide some context
MSH^~|\&^TIUHL7 EX SENDING APP^AREA51 ^TIUHL7^DISNEYLAND^20040621104503-0500^^MDM~T02^500167399^P^2.4^^^AL^AL^US
EVN^T01^20060105180000
PID^^^000000113~~~USSSA&&0363~SS|000000113~~~USSSA~SS~VA FACILITY NAME&500&L|000000113~~~USSSA&&0363~SS~VA FACILITY NAME&500&^^Carter~David~Jr~~L
PV1^^^^^000000113~~~USSSA~~VA facility&facility number&L~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^20041101062220.000-0400^20041128062220.000-0400^^^^^^^^
TXA^^CN^TEXT^^000000029~Alexander~Robert~Jr~~~~~USSSA~L~~~SS~facility&facility number&L^20041128062220.000-0400^20041128062220.000-0400^^000000029~Alexander~Robert~Jr~~~~~USSSA~L~~~SS~facility&facility number&L^000000029~Alexander~Robert~Jr~~~~~USSSA~L~~~SS~facility&facility number&L^^^123456789~~~USVHA~~VA facility&facility number&L~~^^^CRISIS NOTE^PA^U^AV^A
OBX^1^TX^^^Patient, Veterans Aloysius has been supported by the Home Telehealth Program.|The following information was submitted by the veteran through their Home Telehealth system.|- 28 sessions with the Congestive Heart Failure DIALOG | -28 sessions with the Chronic Pain DIALOG| - 28 BLOOD GLUCOSE observations | - 28 BLOOD PRESSURE observations |- 28 PAIN observations | - 28 PULSE observations | - 28 PULSE OXIMETRY observations | - 28 TEMPERATURE observations | - 28 WEIGHT observations