The DispatchReceivedStatus encounter should be Synced to SF using corresponding DispatchStatus with - voiding status, last modified date time, and sourceId. For the remaining fields use the mapping metadata approach.
Need DispatchStatusLineItemId to be saved while creating DispatchStatus.DispatchLineItems in Avni
Save error record for missing mapping for a field, its coded answers, or missing DispatchReceivedStatus in Avni.
The sync should resume from the previous point if an uncaught exception occurs.