My Oracle Support Banner

Matching Algorithm Fails When A Field Is Used More Than Once In Mefa.xml (Doc ID 2290836.1)

Last updated on APRIL 02, 2021

Applies to:

Oracle Healthcare Master Person Index - Version and later
Information in this document applies to any platform.


When configuring the matching algorithm and the same data object field is used more than once, the matching algorithm fails to work correctly. It missed aligns the data from the database with the data from the record being matched.

The issue can be reproduced at will with the following steps:
1) Add the following lines to MatchConfigFile.cfg:

What the above is doing is saying that if either record has the DefaultNameFlag field set to a not-null value, apply a -40 weight. That way, default names such as "BABY" or "TWIN" do not create artificially strong matches.

3) Build and deploy the above changes (don't forget to regenerate the master index files).

4) Using the GUI, do an Advanced (Phonetic) search of a known record on the database, using the details from that record (eg. DOB, sex, medicare number, first name, last name)

5) Check the weight being reported -- it won't be what you expect for an exact match on details. If you have debugs switched on, you can also see the entries in the log file that show how there is one match test missing from the debugs, and how the data is misaligned (it's misaligned from immediately after the first time a duplicate field appears, hence why the instructions above said to make the two DefaultNameFlag match tests the first ones in the list).




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.