Package ca.uhn.fhir.mdm.rules.similarity
Class HapiNumericSimilarity
java.lang.Object
ca.uhn.fhir.mdm.rules.similarity.HapiStringSimilarity
ca.uhn.fhir.mdm.rules.similarity.HapiNumericSimilarity
- All Implemented Interfaces:
IMdmFieldSimilarity
-
Field Summary
Fields inherited from class ca.uhn.fhir.mdm.rules.similarity.HapiStringSimilarity
myStringSimilarity
-
Constructor Summary
ConstructorDescriptionHapiNumericSimilarity
(info.debatty.java.stringsimilarity.interfaces.NormalizedStringSimilarity theStringSimilarity) -
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)
-
Constructor Details
-
HapiNumericSimilarity
public HapiNumericSimilarity(info.debatty.java.stringsimilarity.interfaces.NormalizedStringSimilarity theStringSimilarity)
-
-
Method Details
-
similarity
public 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) - Specified by:
similarity
in interfaceIMdmFieldSimilarity
- Overrides:
similarity
in classHapiStringSimilarity
-