Click or drag to resize

IBusinessRulesServiceTModelValidate Method (TModel)

Called to validate the data provided

Namespace:  SanteDB.Core.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
List<DetectedIssue> Validate(
	TModel data
)

Parameters

data
Type: TModel
The data which is to be validated

Return Value

Type: ListDetectedIssue
A list of DetectedIssue instances which represent the validation statements.
Remarks
This method is used to raise DetectedIssue information statements based on custom validation logic provided. For example, implementers can use this method to validate sufficient stock exists to perform an operation, to validate that an action is safe, etc.
See Also