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: 2.2.1
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
Properties
Methods
  NameDescription
Public methodAfterInsert(TModel)
After insert
(Inherited from BaseBusinessRulesServiceTModel.)
Public methodAfterInsert(Object)
After object is inserted
(Inherited from BaseBusinessRulesServiceTModel.)
Public methodAfterObsolete(TModel)
After obsolete
(Inherited from BaseBusinessRulesServiceTModel.)
Public methodAfterObsolete(Object)
After obsoletion
(Inherited from BaseBusinessRulesServiceTModel.)
Public methodAfterQuery(IEnumerableTModel)
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 methodBeforeInsert(TModel)
Before inserting, validation DQ
(Overrides BaseBusinessRulesServiceTModelBeforeInsert(TModel).)
Public methodBeforeInsert(Object)
Before insert
(Inherited from BaseBusinessRulesServiceTModel.)
Public methodBeforeObsolete(TModel)
Before obselete
(Inherited from BaseBusinessRulesServiceTModel.)
Public methodBeforeObsolete(Object)
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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns 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 MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
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