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):