Click or drag to resize

IRecordMatchingServiceClassifyT Method (T, IEnumerableT, String, IRecordMatchingDiagnosticSession)

Instructs the record matcher to run a detailed classification on the matching blocks in blocks

Namespace:  SanteDB.Core.Matching
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
IEnumerable<IRecordMatchResult<T>> Classify<T>(
	T input,
	IEnumerable<T> blocks,
	string configurationId,
	IRecordMatchingDiagnosticSession collector = null
)
where T : IdentifiedData

Parameters

input
Type: T
The input entity to be matched
blocks
Type: System.Collections.GenericIEnumerableT
The blocks which are to be classified as matches
configurationId
Type: SystemString
The name of the configuration to use for matching
collector (Optional)
Type: SanteDB.Core.MatchingIRecordMatchingDiagnosticSession
The collector to use for diagnostics

Type Parameters

T
The type of records being matched

Return Value

Type: IEnumerableIRecordMatchResultT
True if the classification was successful
See Also