Consolidated CDA
3.0.0-ballot - ballot United States of America flag

This page is part of the CCDA: Consolidated CDA Release (v3.0.0-ballot: CCDA 3.0 Ballot 1) based on FHIR (HL7® FHIR® Standard) v5.0.0. . For a full list of available versions, see the Directory of published versions

Validation

What happened to the Schematron?

With the change to using the FHIR StructureDefinition, schematrons are not being produced for new version of the C-CDA specification. The CDA schema is still appropriate for validating the structure of the C-CDA document. Instead of using schematron for testing the constraints, C-CDA documents should be validated using the FHIR validator.

Validate C-CDA Documents Using FHIR Tooling

The FHIR validator can be used to validate C-CDA documents. There are three ways of using the FHIR validator.

Web version of the FHIR Validator

There is a web version of the FHIR validator available at validator.fhir.org. Simply select “US CCDA Document” from the “Common Validation Options”, paste in your document, and validate.

Run FHIR validator locally

There is a Java version of the FHIR validator that can be run locally. Information is available on how to do this at Using the FHIR Validator. An example command line for running it is:

java -jar validator_cli.jar -ig hl7.cda.us.ccda#current -profile http://hl7.org/cda/us/ccda/StructureDefinition/specific-document-template document-file-name

Incorporate the FHIR validator into your code

There is a Confluence page that addresses how to incorporate the FHIR validator into your code.