Added sequence logic for pages with next_serial.
Merge branch 'master' of github.com:CreativeMobile/nordenhealth