
Class NameMatcher
java.lang.Object
ca.uhn.fhir.mdm.rules.matcher.fieldmatchers.NameMatcher
- All Implemented Interfaces:
IMdmFieldMatcher
Similarity measure for two IBase name fields
-
Constructor Summary
ConstructorsConstructorDescriptionNameMatcher(ca.uhn.fhir.context.FhirContext theFhirContext, MdmNameMatchModeEnum theMatchMode) -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(org.hl7.fhir.instance.model.api.IBase theLeftBase, org.hl7.fhir.instance.model.api.IBase theRightBase, MdmMatcherJson theParams) Checks if theLeftBase and theRightBase match, returning true if they do and false otherwise.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.mdm.rules.matcher.models.IMdmFieldMatcher
isMatchingEmptyFields
-
Constructor Details
-
NameMatcher
public NameMatcher(ca.uhn.fhir.context.FhirContext theFhirContext, MdmNameMatchModeEnum theMatchMode)
-
-
Method Details
-
matches
public boolean matches(org.hl7.fhir.instance.model.api.IBase theLeftBase, org.hl7.fhir.instance.model.api.IBase theRightBase, MdmMatcherJson theParams) Description copied from interface:IMdmFieldMatcherChecks if theLeftBase and theRightBase match, returning true if they do and false otherwise.- Specified by:
matchesin interfaceIMdmFieldMatcher
-