Skip to content

Instantly share code, notes, and snippets.

@judywawira
Created March 13, 2015 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save judywawira/e180449f559c305a1993 to your computer and use it in GitHub Desktop.
Save judywawira/e180449f559c305a1993 to your computer and use it in GitHub Desktop.
count = 0
if bilirubin < 34 ,
count +1
elif bilirubin = 34-50,
count +2
elif bilirubin > 50,
count +3
if albumin > 35 ,
count +1
elif albumin = 28-35,
count +2
elif albumin < 28,
count +3
if INR <1.7 ,
count +1
elif INR = 1.71-2.30,
count +2
elif INR > 2.30 ,
count +3
if Ascites = 'None',
count +1
elif ascites = 'mild',
count +2
elif ascites = 'moderate to severe'
count +3
if encephalopathy = 'None',
count +1
elif encephalopathy = 'gradeI-II'
count +2
elif encephalopathy = 'gradeII-III'
count +3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment