merge codes and concat values when de-duping encounters
Merge pull request #179 from pelargir/smarter-encounter-dedup

Smarter de-duping of encounter entries