{
voyage = nextEvent.voyage().get().voyageNumber().get().number().get();
new RegisterHandlingEvent( time, time, trackingId, type.name(), port, voyage ).register();
nextEvent = cargo.delivery().get().nextExpectedHandlingEvent().get();
time = nextEvent.time().get();
port = nextEvent.location().get().getCode();
type = nextEvent.handlingEventType().get();
}
while( type != HandlingEventType.CLAIM );
}