bug fix with procedure codes
This commit is contained in:
parent
a4913c0ba8
commit
0fbead54f5
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue