| IRecordMatchingServiceMatchT Method (T, String, IEnumerableGuid, IRecordMatchingDiagnosticSession) |
Instructs the record matcher to run a block and match operation against input
Namespace:
SanteDB.Core.Matching
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax IEnumerable<IRecordMatchResult<T>> Match<T>(
T input,
string configurationId,
IEnumerable<Guid> ignoreList,
IRecordMatchingDiagnosticSession collector = null
)
where T : IdentifiedData
Function Match(Of T As IdentifiedData) (
input As T,
configurationId As String,
ignoreList As IEnumerable(Of Guid),
Optional collector As IRecordMatchingDiagnosticSession = Nothing
) As IEnumerable(Of IRecordMatchResult(Of T))
generic<typename T>
where T : IdentifiedData
IEnumerable<IRecordMatchResult<T>^>^ Match(
T input,
String^ configurationId,
IEnumerable<Guid>^ ignoreList,
IRecordMatchingDiagnosticSession^ collector = nullptr
)
abstract Match :
input : 'T *
configurationId : string *
ignoreList : IEnumerable<Guid> *
?collector : IRecordMatchingDiagnosticSession
(* Defaults:
let _collector = defaultArg collector null
*)
-> IEnumerable<IRecordMatchResult<'T>> when 'T : IdentifiedData
Parameters
- input
- Type: T
The record being compared to - configurationId
- Type: SystemString
The name of the configuration to be used - ignoreList
- Type: System.Collections.GenericIEnumerableGuid
A list of object to ignore 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 classification was successful
Remarks
The match method for some implementations of record matching may be equivalent to Block()/Classify() function calls, however
some matching implementations may optimize database round-trips using a single pass.
See Also