Class HapiStringSimilarity

java.lang.Object
ca.uhn.fhir.mdm.rules.matcher.BaseHapiStringMetric
ca.uhn.fhir.mdm.rules.similarity.HapiStringSimilarity
All Implemented Interfaces:
IMdmFieldSimilarity

Similarity measure for two IBase fields whose similarity can be measured by their String representations.
  • Constructor Summary

    Constructors
    Constructor
    Description
    HapiStringSimilarity(info.debatty.java.stringsimilarity.interfaces.NormalizedStringSimilarity theStringSimilarity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     

    Methods inherited from class ca.uhn.fhir.mdm.rules.matcher.BaseHapiStringMetric

    extractString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HapiStringSimilarity

      public HapiStringSimilarity(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 interface IMdmFieldSimilarity