tosulliv: substantial refactoring to accomodate recording construction
of patient instance up submission of patient instance.