Bug in original RPMS code.
Bug in original RPMS code.

If you are the last patient and there are no younger patients, then you
will crash with an undefined error. Added quit if empty just in case.

Send to Mike.
shabiel/rpms-immunizations