Public Repository

Last pushed: a year ago
Short Description
Document Validator is responsible for validating user uploaded documents.
Full Description

Supported Source Code Tags and Current Dockerfile Link

0.11.0(latest), 0.9.0

Current Dockerfile

For more information about this image, the source code, and its history, please see the GitHub repository.

What is Document Validator?

Document Validator API is responsible for validating CCDA R1 OR R2 clinical documents. It is a Web Service wrapper around MDHT (Model Driven Health Tools) library. It does schematron and schema validation for CCDA R1 and R2 and only schema validation for C32. Document Validator API is used directly by DSS (Document Segmentation Service) to validate the document before and after segmentation.
For more information and related downloads for Consent2Share, please visit Consent2Share.

How to use this image

Start a Document Validator instance

Be sure to familiarize yourself with the repository's file before starting the instance.


docker run --name document-validator-ccda-r1 -d bhits/document-validator-ccda-r1:latest <additional program arguments>

NOTE: In order for this API to fully function as a microservice in the Consent2Share application, it is required to setup the dependency microservices and the support level infrastructure. Please refer to the Consent2Share Deployment Guide in the corresponding Consent2Share release (see Consent2Share Releases Page) for instructions to setup the Consent2Share infrastructure.

Environment Variable

When you start the document-validator image, you can edit the configuration of the instance by passing one or more environment variables on the command line.


This environment variable is used to setup JVM argument, such as memory configuration.

docker run --name document-validator-ccda-r1 -e "JAVA_OPTS=-Xms512m -Xmx700m -Xss1m" -d bhits/document-validator-ccda-r1:latest

Supported Docker versions

This image is officially supported on Docker version 1.12.1.

Support for older versions (down to 1.6) is provided on a best-effort basis.

Please see the Docker installation documentation for details on how to upgrade your Docker daemon.


View license information for the software contained in this image.

User Feedback


Documentation for this image is stored in the bhits/document-validator GitHub repository. Be sure to familiarize yourself with the repository's file before attempting a pull request.


If you have any problems with or questions about this image, please contact us through a GitHub issue.

Docker Pull Command