| 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
Function Classify(Of T As IdentifiedData) (
input As T,
blocks As IEnumerable(Of T),
configurationId As String,
Optional collector As IRecordMatchingDiagnosticSession = Nothing
) As IEnumerable(Of IRecordMatchResult(Of T))
generic<typename T>
where T : IdentifiedData
IEnumerable<IRecordMatchResult<T>^>^ Classify(
T input,
IEnumerable<T>^ blocks,
String^ configurationId,
IRecordMatchingDiagnosticSession^ collector = nullptr
)
abstract Classify :
input : 'T *
blocks : IEnumerable<'T> *
configurationId : string *
?collector : IRecordMatchingDiagnosticSession
(* Defaults:
let _collector = defaultArg collector null
*)
-> IEnumerable<IRecordMatchResult<'T>> when '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:
IEnumerableIRecordMatchResultTTrue if the classification was successful
See Also