Class LogicValidator
java.lang.Object
org.projecthusky.fhir.emed.ch.epr.validator.logicvalidator.LogicValidator
A logic validator for CH-EMED-EPR documents. It contains checks that are too difficult to implement in the FHIR IG.
It is to be executed by the public class ChEmedEprValidator
.
- Author:
- Quentin Ligier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<@NonNull ValidationIssue>
validate
(ChEmedEprDocument document) Validates a CH-EMED-EPR document.
-
Constructor Details
-
LogicValidator
public LogicValidator()
-
-
Method Details
-
validate
Validates a CH-EMED-EPR document.- Parameters:
document
- The document to validate.- Returns:
- a list of validation messages.
-