Explain an FSE validation error
explain_schematron_errorConverts FSE 2.0 gateway XSD/Schematron error messages or rule IDs into plain-language explanations and fix suggestions for rejected CDA2 documents, without requiring the document itself.
Instructions
Explains in plain language an XSD or schematron error returned by the FSE 2.0 gateway for a CDA2 document, and suggests how to fix it. Input is the error message or rule id, not the document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | The error message or rule id returned by the FSE gateway or a validator, for example "ERRORE-4| Almeno un elemento 'templateId' ..." or "cvc-complex-type.2.4.a". Do not include patient data. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| matched | Yes | ||
| matches | Yes |