From 0fbead54f5d943a85cc165c7ed018fa71e670239 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Sat, 1 Feb 2020 09:38:50 -0600 Subject: [PATCH] bug fix with procedure codes --- edi/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edi/parser.py b/edi/parser.py index 6f39f92..17215c2 100644 --- a/edi/parser.py +++ b/edi/parser.py @@ -72,7 +72,7 @@ def format_time(value): return ":".join([value[:2],value[2:] ])[:5] def format_proc(value): if ':' in value : - return {"procedure_type":value.split(':')[0].strip(),"procedure_code":value.split(':')[1].strip()} + return {"type":value.split(':')[0].strip(),"code":value.split(':')[1].strip()} else: return value def format_diag(value):