muccg/rdrf

ADT_A05 error

Closed this issue · 1 comments

id2359 commented
ccg-user@ov-worker:~/log$ cat celery.log
[INFO:2023-04-27 11:05:23,591:tasks.py:50:handle_hl7_message] processing task for umrn L1114618
[INFO:2023-04-27 11:05:23,592:tasks.py:56:handle_hl7_message] HL7 handler: L1114618 ADT_A05 received
[ERROR:2023-04-27 11:05:23,700:tasks.py:61:handle_hl7_message] HL7 handler: L1114618 ADT_A05 failed: {'error': 'Error: \'NoneType\' object has no attribute \'error_message\'\nError Rep: AttributeError("\'NoneType\' object has no attribute \'error_message\'")', 'umrn': 'L1114618', 'update_type': 'determining patient', 'where': 'updating/creating patient'}
[INFO:2023-04-27 11:05:23,704:trace.py:131:info] Task rdrf.services.tasks.handle_hl7_message[4e8a7299-318b-4d43-8540-e4c8ac11a332] succeeded in 0.11338592896936461s: {'error': 'Error: \'NoneType\' object has no attribute \'error_message\'
Error Rep: AttributeError("\'NoneType\' object has no attribute \'error_message\'")', 'umrn': 'L1114618', 'update_type': 'determining patient', 'where': 'updating/creating patient'}
ccg-user@ov-worker:~/log$ cat 
id2359 commented

I'm now pretty confident this is a side affect of moving to python-hl7 0.4.5 from 0.4.2