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
Modifier and TypeFieldDescriptionstatic final MdmMatchOutcome
static final MdmMatchOutcome
static final MdmMatchOutcome
static final MdmMatchOutcome
static final MdmMatchOutcome
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the number of MDM rules checked for this match outcomeGets normalized score that is in the range from zero to onegetScore()
boolean
boolean
boolean
isMatch()
boolean
boolean
setCreatedNewResource
(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
-