Added check that extdb has only unique records
Check that there are practice with different organisation code but same
name
add check if direct or inverse comparison was already made, in order to
reduce the output lines
added comments