Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

The CDA Validator component is used as an example component for validating CCDA documents (via the https://interfaceware.atlassian.net/wiki/x/AQAyyw ). It demonstrates how to validate a CCDA document and parse the validation results.

Running the Component

 STEP 1: Import the CDA Validator component

Using +COMPONENT, import the CDA Validator

 STEP 2: Specify the CCDA file to validate and the version it should be validated against

Set a target CCDA via the CCDAFilepath custom field to specify where the CCDA that will be validated is stored. Specify the CCDAversion that the component should use for validation.

image-20250127-164901.png

 STEP 3: Start the component and view the generated CDA

On starting, if successful, the component will display a validation success message:

image-20250127-165428.png

If unsuccessful, the component will error out and log the details of the failed validation:

image-20250127-165612.png

By default, the component outputs all Schema and Shall errors. You can also edit the script to adjust the mode to include Should errors by going to the parseValidationResults function and changing the mode to 2 as shown below:

image-20250127-165853.png

  • No labels