pulkit | Fixing a bunch of gotchas in patient registration crud