
Package ca.uhn.fhir.mdm.api
Class MdmMatchOutcome
java.lang.Object
ca.uhn.fhir.mdm.api.MdmMatchOutcome
This data object captures the final outcome of an MDM match
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MdmMatchOutcomestatic final MdmMatchOutcomestatic final MdmMatchOutcomestatic final MdmMatchOutcomestatic final MdmMatchOutcome -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the number of MDM rules checked for this match outcomeGets normalized score that is in the range from zero to onegetScore()booleanbooleanbooleanisMatch()booleanbooleansetCreatedNewResource(boolean theCreatedNewResource) setEidMatch(boolean theEidMatch) setMatchResultEnum(MdmMatchResultEnum theMatchResultEnum) setMdmRuleCount(int theMdmRuleCount) Sets the number of MDM rules checked for this match outcometoString()
-
Field Details
-
POSSIBLE_DUPLICATE
-
NO_MATCH
-
NEW_GOLDEN_RESOURCE_MATCH
-
EID_MATCH
-
POSSIBLE_MATCH
-
-
Constructor Details
-
MdmMatchOutcome
-
-
Method Details
-
isMatch
-
isPossibleMatch
-
isPossibleDuplicate
-
getMatchResultEnum
-
setMatchResultEnum
-
isCreatedNewResource
-
setCreatedNewResource
- Parameters:
theCreatedNewResource- this match is creating a new golden resource
-
isEidMatch
-
setMdmRuleCount
Sets the number of MDM rules checked for this match outcome- Parameters:
theMdmRuleCount- Number of MDM rules that were checked for this match outcome- Returns:
- Returns this instance
-
getMdmRuleCount
Gets the number of MDM rules checked for this match outcome- Returns:
- Returns the number of rules
-
setEidMatch
- Parameters:
theEidMatch- the link was established via a shared EID
-
getScore
-
getVector
-
getNormalizedScore
Gets normalized score that is in the range from zero to one- Returns:
- Returns the normalized score
-
toString
-