KenyaEMR patient merge function