Package ca.uhn.fhir.mdm.rules.similarity
Interface IMdmFieldSimilarity
- All Known Implementing Classes:
HapiNumericSimilarity
,HapiStringSimilarity
public interface IMdmFieldSimilarity
Measure how similar two IBase (resource fields) are to one another. 1.0 means identical. 0.0 means completely different.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
similarity
(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBase theLeftBase, org.hl7.fhir.instance.model.api.IBase theRightBase, boolean theExact)
-
Method Details
-
similarity
double similarity(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBase theLeftBase, org.hl7.fhir.instance.model.api.IBase theRightBase, boolean theExact)
-