Click or drag to resize

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

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: IEnumerableIRecordMatchResultT
True 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