working on filling numbers: archiving dead then transferred out patients first before the normal ones