OpenMRS Validation Schema

Overview

The OpenMRS Validation Schema is an optional schema that can be applied to an OCL Source or Collection.

Code

The code is located in 3 spots in oclapi2:

  • Concept Validator – https://github.com/OpenConceptLab/oclapi2/blob/master/core/concepts/custom_validators.py#L17

  • Mapping Validator – https://github.com/OpenConceptLab/oclapi2/blob/master/core/mappings/custom_validators.py#L7

  • Concept Reference Validator – https://github.com/OpenConceptLab/oclapi2/blob/master/core/collections/models.py#L139