Stepped map process
The stepped map process validates the data against different criteria. For example, the first step may be to validate against a schema and the second step may be to validate against some additional rules. Each map step reports any errors that are found. If the data is good, according to all the map steps performed, then no output is produced by the validation framework. If the data fails a map step, one or more errors will be produced from that step. It is important to understand the independent nature of the map steps, and that each step is designed to look for certain failures. In some cases, data may fail on multiple mapsteps; a failure of an enumeration value in a schema may also present itself as a failure in the map rules.
For example, to process a pacs_008_001_002 message, the
message is validated against the following:
- pacs_008_001_002 schema
- EBA STEP2 validation
- SEPA rules not in the schema
- UNIFI rules