Click or drag to resize

DataQualityBusinessRuleTModel Class

A business rule that applies user defined data quality rules from the IDataQualityConfigurationProviderService
Inheritance Hierarchy
SystemObject
  SanteDB.Core.ServicesBaseBusinessRulesServiceTModel
    SanteDB.Core.Data.QualityDataQualityBusinessRuleTModel

Namespace: SanteDB.Core.Data.Quality
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public class DataQualityBusinessRule<TModel> : BaseBusinessRulesService<TModel>
where TModel : IdentifiedData

Type Parameters

TModel

[Missing <typeparam name="TModel"/> documentation for "T:SanteDB.Core.Data.Quality.DataQualityBusinessRule`1"]

The DataQualityBusinessRuleTModel type exposes the following members.

Constructors
 NameDescription
Public methodDataQualityBusinessRuleTModel Creates a new data quality business rule
Top
Properties
 NameDescription
Public propertyNext Gets the next behavior
(Inherited from BaseBusinessRulesServiceTModel)
Public propertyServiceName Gets the service name
(Inherited from BaseBusinessRulesServiceTModel)
Top
Methods
 NameDescription
Public methodAfterDelete After obsolete
(Inherited from BaseBusinessRulesServiceTModel)
Public methodAfterInsert(TModel) After insert
(Inherited from BaseBusinessRulesServiceTModel)
Public methodAfterInsert(Object) After object is inserted
(Inherited from BaseBusinessRulesServiceTModel)
Public methodAfterObsolete After obsoletion
(Inherited from BaseBusinessRulesServiceTModel)
Public methodAfterQuery(IQueryResultSet) After query
(Inherited from BaseBusinessRulesServiceTModel)
Public methodAfterQuery(IQueryResultSetTModel) After query
(Inherited from BaseBusinessRulesServiceTModel)
Public methodAfterRetrieve(TModel) Fired after retrieve
(Inherited from BaseBusinessRulesServiceTModel)
Public methodAfterRetrieve(Object) After the data has been retrieved
(Inherited from BaseBusinessRulesServiceTModel)
Public methodAfterUpdate(TModel) After update
(Inherited from BaseBusinessRulesServiceTModel)
Public methodAfterUpdate(Object) After update
(Inherited from BaseBusinessRulesServiceTModel)
Public methodBeforeDelete Before obselete
(Inherited from BaseBusinessRulesServiceTModel)
Public methodBeforeInsert(TModel) Before inserting, validation DQ
(Overrides BaseBusinessRulesServiceTModelBeforeInsert(TModel))
Public methodBeforeInsert(Object) Before insert
(Inherited from BaseBusinessRulesServiceTModel)
Public methodBeforeObsolete Before obsoletion occurs
(Inherited from BaseBusinessRulesServiceTModel)
Public methodBeforeUpdate(TModel) Before update, validate DQ
(Overrides BaseBusinessRulesServiceTModelBeforeUpdate(TModel))
Public methodBeforeUpdate(Object) Before update occurs
(Inherited from BaseBusinessRulesServiceTModel)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodValidate(TModel) Validate the specified resource
(Overrides BaseBusinessRulesServiceTModelValidate(TModel))
Public methodValidate(Object) Validate the specified object
(Inherited from BaseBusinessRulesServiceTModel)
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
Remarks

This business rule template allows users to describe data quality rules (for example, using the application configuration for data quality rules) to be applied to incoming data. This service uses the data quality extension to then flag any warnings or informational issues (error issues result in the object being rejected). These extensions are cleaned by the DataQualityExtensionCleanJob if the object no longer fails the quality rules.

See Also