removed the completed log from the loop
create more meaninful api names, added patient ID clickable apis