Migration: more checks on practitioner, diagnosis, letter empty values when migrating