Difference between revisions of "Validation rules"
m |
m |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | {{terminology-infobox}} | ||
| + | |||
The '''validation rules''' are the the rules to ensure the internal data integrity in the process of [[data validation]]. Currently, the validation rules apply to operations, so it's the operation that can be valid, or not. | The '''validation rules''' are the the rules to ensure the internal data integrity in the process of [[data validation]]. Currently, the validation rules apply to operations, so it's the operation that can be valid, or not. | ||
You can see the [http://www.eactscongenitaldb.org/db/ValidationRules.xml current validation rules]. | You can see the [http://www.eactscongenitaldb.org/db/ValidationRules.xml current validation rules]. | ||
| + | |||
| + | ==Kinds of validation rules== | ||
There are currently four kinds of rules: | There are currently four kinds of rules: | ||
| Line 9: | Line 13: | ||
; Info rules : User is notified about the violated rule, but operation gets validated. | ; Info rules : User is notified about the violated rule, but operation gets validated. | ||
; Silent : User doesn't see any information about the problem, but the operation doesn't get validated. | ; Silent : User doesn't see any information about the problem, but the operation doesn't get validated. | ||
| + | |||
| + | ==File format== | ||
| + | |||
| + | The validation rules are stored in the file [http://www.eactscongenitaldb.org/db/ValidationRules.xml ValidationRules.xml], which is a XML file of the simple format. Validation rules apply to the "operation" table only. If one or more rules are not matched, the record appears in "data validation" part of the web interface, and the hospital is asked to either correct the data, or to confirm that the data is correct. | ||
| + | |||
| + | The Validation Rules file is in XML format for flexibility and easy editing. You can read the rules here: | ||
| + | [http://www.eactscongenitaldb.org/db/ValidationRules.xml ValidationRules.xml]. | ||
| + | |||
| + | The validation mechanism was re-written from old CSV-like config file in August 2004. | ||
| + | |||
| + | '''See also:''' | ||
| + | |||
| + | *[[Data validation]] | ||
[[category:terminology]] | [[category:terminology]] | ||
Latest revision as of 19:55, 28 September 2005
| Terminology |
| Report parameters |
| Data |
The validation rules are the the rules to ensure the internal data integrity in the process of data validation. Currently, the validation rules apply to operations, so it's the operation that can be valid, or not.
You can see the current validation rules.
Kinds of validation rules
There are currently four kinds of rules:
- Mandatory rules
- Mandatory rule has to be matched for the operation to be valid.
- Helper rules
- First, the operation is rejected, but if the center says that this information is correct, operation gets validated. It's used for example to check the extremely overweighted or underweighted patients.
- Info rules
- User is notified about the violated rule, but operation gets validated.
- Silent
- User doesn't see any information about the problem, but the operation doesn't get validated.
File format
The validation rules are stored in the file ValidationRules.xml, which is a XML file of the simple format. Validation rules apply to the "operation" table only. If one or more rules are not matched, the record appears in "data validation" part of the web interface, and the hospital is asked to either correct the data, or to confirm that the data is correct.
The Validation Rules file is in XML format for flexibility and easy editing. You can read the rules here: ValidationRules.xml.
The validation mechanism was re-written from old CSV-like config file in August 2004.
See also: