bug fix: procedure code default parsing

master
Steve L. Nyemba 4 years ago
parent ae0f768ec5
commit 52fc7e4b0f

@ -159,10 +159,12 @@ class Formatters :
def procedure(self,value):
for xchar in [':','<'] :
for xchar in [':','<','|'] :
if xchar in value and len(value.split(xchar)) > 1 :
#_value = {"type":value.split(':')[0].strip(),"code":value.split(':')[1].strip()}
_value = {"type":value.split(xchar)[0].strip(),"code":value.split(xchar)[1].strip()}
if value.split(xchar) >= 3 :
_value['modifier'] = value.split(xchar)[2]
break
else:
_value = str(value)

@ -8,7 +8,7 @@ import sys
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
args = {
"name":"healthcareio","version":"1.5.1",
"name":"healthcareio","version":"1.5.2",
"author":"Vanderbilt University Medical Center",
"author_email":"steve.l.nyemba@vumc.org",
"include_package_data":True,

Loading…
Cancel
Save