IRecordMatchingConfigurationService
in assembly SanteDB.Core.Api version 3.0.1980.0
Summary
Represents a service
Properties
Property
Type
Access
Description
IEnumerable<IRecordMatchingConfiguration>
Gets the names of configurations in this provider
Operations
Operation
Response/Return
Input/Parameter
Description
IRecordMatchingConfiguration
Get the specified named configuration
IRecordMatchingConfiguration
IRecordMatchingConfiguration configuration
Saves the specified configuration to the configuration service
IRecordMatchingConfiguration
Implementations
UpstreamMatchConfigurationService - (SanteDB.Client)
Upstream record matching configuration service
Service Registration
Copy ...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
<serviceProviders>
...
<add type="SanteDB.Client.Upstream.Matching.UpstreamMatchConfigurationService, SanteDB.Client, Version=3.0.1980.0, Culture=neutral, PublicKeyToken=null" />
...
</serviceProviders>
AppletMatchConfigurationProvider - (SanteDB.Matcher)
Applet match configuration provider loads match configurations from available applets
Service Registration
Copy ...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
<serviceProviders>
...
<add type="SanteDB.Matcher.Services.AppletMatchConfigurationProvider, SanteDB.Matcher, Version=3.0.1980.0, Culture=neutral, PublicKeyToken=null" />
...
</serviceProviders>
AssemblyMatchConfigurationProvider - (SanteDB.Matcher)
File based match configuration provider
Service Registration
Copy ...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
<serviceProviders>
...
<add type="SanteDB.Matcher.Services.AssemblyMatchConfigurationProvider, SanteDB.Matcher, Version=3.0.1980.0, Culture=neutral, PublicKeyToken=null" />
...
</serviceProviders>
FileMatchConfigurationProvider - (SanteDB.Matcher)
Represents a configuration provider which is for matching
Service Registration
Copy ...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
<serviceProviders>
...
<add type="SanteDB.Matcher.Services.FileMatchConfigurationProvider, SanteDB.Matcher, Version=3.0.1980.0, Culture=neutral, PublicKeyToken=null" />
...
</serviceProviders>
AdoRecordMatchingConfigurationService - (SanteDB.Persistence.Data)
Record matching persistence service using the database
Service Registration
Copy ...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
<serviceProviders>
...
<add type="SanteDB.Persistence.Data.Services.AdoRecordMatchingConfigurationService, SanteDB.Persistence.Data, Version=3.0.1980.0, Culture=neutral, PublicKeyToken=null" />
...
</serviceProviders>
MdmMatchConfigurationService - (SanteDB.Persistence.MDM)
A specialized match configuration service which wraps the already configured one
Service Registration
Copy ...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
<serviceProviders>
...
<add type="SanteDB.Persistence.MDM.Services.MdmMatchConfigurationService, SanteDB.Persistence.MDM, Version=3.0.1980.0, Culture=neutral, PublicKeyToken=null" />
...
</serviceProviders>
Example Implementation
Copy /// Example Implementation
using SanteDB.Core.Matching;
/// Other usings here
public class MyRecordMatchingConfigurationService : SanteDB.Core.Matching.IRecordMatchingConfigurationService {
public String ServiceName => "My own IRecordMatchingConfigurationService service";
/// <summary>
/// Gets the names of configurations in this provider
/// </summary>
public IEnumerable<IRecordMatchingConfiguration> Configurations {
get;
}
/// <summary>
/// Get the specified named configuration
/// </summary>
public IRecordMatchingConfiguration GetConfiguration(String configurationId){
throw new System.NotImplementedException();
}
/// <summary>
/// Saves the specified configuration to the configuration service
/// </summary>
public IRecordMatchingConfiguration SaveConfiguration(IRecordMatchingConfiguration configuration){
throw new System.NotImplementedException();
}
/// <summary>
/// Delete the configuration
/// </summary>
public IRecordMatchingConfiguration DeleteConfiguration(String configurationId){
throw new System.NotImplementedException();
}
}
References
Last updated 4 months ago