Fix failure to merge patients with identical names
authorKarsten Hilbert <karsten.hilbert@gmx.net>
Mon, 12 Nov 2012 10:39:04 +0000 (11:39 +0100)
committerKarsten Hilbert <karsten.hilbert@gmx.net>
Mon, 12 Nov 2012 10:48:04 +0000 (11:48 +0100)
commitb66c9c6e2be9392d82ec2fd76fdc6cff4502aa13
tree848e57c17e01fc9db6d8bd430f88830a4b097c53
parent5b49551bcbc3e6a68decf2a2cba3a450831ff6e1
Fix failure to merge patients with identical names

GNUmed would reject identical names to be merged since
names must be unique on (last, first) per person. However,
names may have different nicknames/comments, so update the
identical name to lastname + " (assimilated". This still
carries a risk of then-identical names failing the merge
but that's rather rare.

Conflicts:
gnumed/gnumed/client/business/gmPerson.py
gnumed/CHANGELOG
gnumed/gnumed/client/business/gmPerson.py