From b850cf05577750752a0df1647a5e3fc93dbc36ca Mon Sep 17 00:00:00 2001 From: Alexandre POCINHO <apo@kereval.com> Date: Tue, 18 Feb 2025 15:21:11 +0100 Subject: [PATCH] Add README.md for GVT specific application.conf --- gvt-validation-jar/README.md | 16 ++++++++++++++++ .../src/main/resources/application.conf | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 gvt-validation-jar/README.md diff --git a/gvt-validation-jar/README.md b/gvt-validation-jar/README.md new file mode 100644 index 0000000..6718df4 --- /dev/null +++ b/gvt-validation-jar/README.md @@ -0,0 +1,16 @@ +# GVT configuration file + +## Context + +The GVT dependency: + +```xml + <dependency> + <groupId>gov.nist</groupId> + <artifactId>hl7-v2-validation</artifactId> + <version>${hl7.v2.version}</version> + </dependency> +``` +can be used with a configuration file in `src/main/resource/application.conf` that overwrite the `reference.conf` found here (<https://github.com/usnistgov/v2-validation/blob/features/v1_6_3/validation/src/main/resources/reference.conf>). + +It allows to change level of classification (error, warning, etc.) or message for specific category (single-code-failure, code-not-found-cs-empty, etc.) \ No newline at end of file diff --git a/gvt-validation-jar/src/main/resources/application.conf b/gvt-validation-jar/src/main/resources/application.conf index 6aba85b..8682a76 100644 --- a/gvt-validation-jar/src/main/resources/application.conf +++ b/gvt-validation-jar/src/main/resources/application.conf @@ -1,4 +1,4 @@ -# Add here custom error levels +# Add here custom error levels or custom message report { code-not-found-cs-empty { -- GitLab