From 5ecb7dc3096b25abe61606892ff3bd90bf8fe4b9 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Wed, 22 Nov 2023 17:35:10 +1100 Subject: [PATCH] update error message by agreement with Michael --- ...ation-alt-codes-3-response-parameters.json | 4 +- ...on-alt-codes-all2-response-parameters.json | 4 +- .../errors-unknown-system1-response.json | 4 +- .../errors-unknown-system2-response.json | 6 +-- tx/messages-tx.fhir.org.json | 48 +++++++++---------- ...n-dual-filter-out-response-parameters.json | 4 +- ...coding-bad-system-response-parameters.json | 6 +-- ...ding-bad-version1-response-parameters.json | 4 +- 8 files changed, 40 insertions(+), 40 deletions(-) diff --git a/tx/alt-codes/validation-alt-codes-3-response-parameters.json b/tx/alt-codes/validation-alt-codes-3-response-parameters.json index 3059f697..6e1fd1da 100644 --- a/tx/alt-codes/validation-alt-codes-3-response-parameters.json +++ b/tx/alt-codes/validation-alt-codes-3-response-parameters.json @@ -8,14 +8,14 @@ "severity" : "error", "code" : "code-invalid", "details" : { - "text" : "The provided code http://hl7.org/fhir/test/CodeSystem/alt-codes#code3 is not in the value set 'http://hl7.org/fhir/test/ValueSet/alt-codes|5.0.0'" + "text" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/alt-codes#code3' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/alt-codes|5.0.0'" } }] } }, { "name" : "message", - "valueString" : "The provided code http://hl7.org/fhir/test/CodeSystem/alt-codes#code3 is not in the value set 'http://hl7.org/fhir/test/ValueSet/alt-codes|5.0.0'" + "valueString" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/alt-codes#code3' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/alt-codes|5.0.0'" }, { "name" : "result", diff --git a/tx/alt-codes/validation-alt-codes-all2-response-parameters.json b/tx/alt-codes/validation-alt-codes-all2-response-parameters.json index e98ecb39..7f827a18 100644 --- a/tx/alt-codes/validation-alt-codes-all2-response-parameters.json +++ b/tx/alt-codes/validation-alt-codes-all2-response-parameters.json @@ -8,7 +8,7 @@ "severity" : "error", "code" : "code-invalid", "details" : { - "text" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/alt-codes#code2' is not in the value set 'http://hl7.org/fhir/test/ValueSet/alt-codes-all|5.0.0'" + "text" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/alt-codes#code2' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/alt-codes-all|5.0.0'" } }, { @@ -24,7 +24,7 @@ }, { "name" : "message", - "valueString" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/alt-codes#code2' is not in the value set 'http://hl7.org/fhir/test/ValueSet/alt-codes-all|5.0.0'" + "valueString" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/alt-codes#code2' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/alt-codes-all|5.0.0'" }, { "name" : "result", diff --git a/tx/errors/errors-unknown-system1-response.json b/tx/errors/errors-unknown-system1-response.json index db49dcfc..8a95f0e1 100644 --- a/tx/errors/errors-unknown-system1-response.json +++ b/tx/errors/errors-unknown-system1-response.json @@ -8,7 +8,7 @@ "severity" : "error", "code" : "not-found", "details" : { - "text" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simpleX is unknown" + "text" : "The code system http://hl7.org/fhir/test/CodeSystem/simpleX could not be found" }, "location" : ["system"] }, @@ -23,7 +23,7 @@ }, { "name" : "message", - "valueString" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simpleX is unknown; Unable to check whether the code is in the value set http://hl7.org/fhir/test/ValueSet/unknown-system|5.0.0" + "valueString" : "The code system http://hl7.org/fhir/test/CodeSystem/simpleX could not be found; Unable to check whether the code is in the value set http://hl7.org/fhir/test/ValueSet/unknown-system|5.0.0" }, { "name" : "result", diff --git a/tx/errors/errors-unknown-system2-response.json b/tx/errors/errors-unknown-system2-response.json index 59ca0e99..fcf8ab19 100644 --- a/tx/errors/errors-unknown-system2-response.json +++ b/tx/errors/errors-unknown-system2-response.json @@ -8,14 +8,14 @@ "severity" : "error", "code" : "code-invalid", "details" : { - "text" : "The provided code http://hl7.org/fhir/test/CodeSystem/simpleXX#code1 is not in the value set 'http://hl7.org/fhir/test/ValueSet/unknown-system|5.0.0'" + "text" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simpleXX#code1' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/unknown-system|5.0.0'" } }, { "severity" : "error", "code" : "not-found", "details" : { - "text" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simpleXX is unknown" + "text" : "The code system http://hl7.org/fhir/test/CodeSystem/simpleXX could not be found" }, "location" : ["system"] }] @@ -23,7 +23,7 @@ }, { "name" : "message", - "valueString" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simpleXX is unknown; The provided code http://hl7.org/fhir/test/CodeSystem/simpleXX#code1 is not in the value set 'http://hl7.org/fhir/test/ValueSet/unknown-system|5.0.0'" + "valueString" : "The code system http://hl7.org/fhir/test/CodeSystem/simpleXX could not be found; The provided code 'http://hl7.org/fhir/test/CodeSystem/simpleXX#code1' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/unknown-system|5.0.0'" }, { "name" : "result", diff --git a/tx/messages-tx.fhir.org.json b/tx/messages-tx.fhir.org.json index 5da060b3..9ed46778 100644 --- a/tx/messages-tx.fhir.org.json +++ b/tx/messages-tx.fhir.org.json @@ -1,28 +1,28 @@ { "validation/simple-code-bad-code-response-parameters.json" : { - "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'", + "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'", "2" : "Unknown Code 'code1x' in the system 'http://hl7.org/fhir/test/CodeSystem/simple|0.1.0'", - "3" : "Unknown Code 'code1x' in the system 'http://hl7.org/fhir/test/CodeSystem/simple|0.1.0'; The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" + "3" : "Unknown Code 'code1x' in the system 'http://hl7.org/fhir/test/CodeSystem/simple|0.1.0'; The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" }, "validation/simple-code-implied-bad-code-response-parameters.json" : { - "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'", + "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'", "2" : "Unknown Code 'code1x' in the system 'http://hl7.org/fhir/test/CodeSystem/simple|0.1.0'", - "3" : "Unknown Code 'code1x' in the system 'http://hl7.org/fhir/test/CodeSystem/simple|0.1.0'; The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" + "3" : "Unknown Code 'code1x' in the system 'http://hl7.org/fhir/test/CodeSystem/simple|0.1.0'; The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" }, "validation/simple-coding-bad-code-response-parameters.json" : { - "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'", + "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'", "2" : "Unknown Code 'code1x' in the system 'http://hl7.org/fhir/test/CodeSystem/simple|0.1.0'", - "3" : "Unknown Code 'code1x' in the system 'http://hl7.org/fhir/test/CodeSystem/simple|0.1.0'; The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" + "3" : "Unknown Code 'code1x' in the system 'http://hl7.org/fhir/test/CodeSystem/simple|0.1.0'; The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" }, "validation/simple-codeableconcept-bad-code-response-parameters.json" : { - "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'", + "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'", "2" : "Unknown Code 'code1x' in the system 'http://hl7.org/fhir/test/CodeSystem/simple|0.1.0'", - "3" : "Unknown Code 'code1x' in the system 'http://hl7.org/fhir/test/CodeSystem/simple|0.1.0'; The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" + "3" : "Unknown Code 'code1x' in the system 'http://hl7.org/fhir/test/CodeSystem/simple|0.1.0'; The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code1x' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" }, "validation/simple-code-bad-system-response-parameters.json" : { - "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simplex#code1' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'", - "2" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simplex is unknown", - "3" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simplex is unknown; The provided code 'http://hl7.org/fhir/test/CodeSystem/simplex#code1' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" + "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simplex#code1' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'", + "2" : "The code system http://hl7.org/fhir/test/CodeSystem/simplex could not be found", + "3" : "The code system http://hl7.org/fhir/test/CodeSystem/simplex could not be found; The provided code 'http://hl7.org/fhir/test/CodeSystem/simplex#code1' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" }, "validation/simple-code-bad-display-response-parameters.json" : { "1" : "Wrong Display Name 'Display 1X' for http://hl7.org/fhir/test/CodeSystem/version#code1 - should be 'Display 1 (1.0)' (en) (for the language(s) '--')", @@ -65,31 +65,31 @@ "2" : "Wrong Display Name 'Anzeige 1' for http://hl7.org/fhir/test/CodeSystem/en-multi#code1 - should be 'Display 1' (en) (for the language(s) 'en')" }, "validation/simple-codeableconcept-bad-system-response-parameters.json" : { - "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simplex#code1' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'", - "2" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simplex is unknown", - "3" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simplex is unknown; The provided code 'http://hl7.org/fhir/test/CodeSystem/simplex#code1' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" + "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simplex#code1' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'", + "2" : "The code system http://hl7.org/fhir/test/CodeSystem/simplex could not be found", + "3" : "The code system http://hl7.org/fhir/test/CodeSystem/simplex could not be found; The provided code 'http://hl7.org/fhir/test/CodeSystem/simplex#code1' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" }, "validation/simple-codeableconcept-bad-version1-response-parameters.json" : { - "1" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simple version 1.0.0 is unknown. Valid versions: [0.1.0]", + "1" : "The code system http://hl7.org/fhir/test/CodeSystem/simple version 1.0.0 could not be found. Valid versions: [0.1.0]", "2" : "Unable to check whether the code is in the value set http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0", - "3" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simple version 1.0.0 is unknown. Valid versions: [0.1.0]; Unable to check whether the code is in the value set http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0" + "3" : "The code system http://hl7.org/fhir/test/CodeSystem/simple version 1.0.0 could not be found. Valid versions: [0.1.0]; Unable to check whether the code is in the value set http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0" }, "validation/simple-code-bad-regex-response-parameters.json" : { - "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code2a' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-filter-regex|5.0.0'", - "2" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code2a' is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-filter-regex|5.0.0'" + "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code2a' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-filter-regex|5.0.0'", + "2" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simple#code2a' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-filter-regex|5.0.0'" }, "validation/simple-code-bad-version1-response-parameters.json" : { - "1" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simple version 1.0.0 is unknown. Valid versions: [0.1.0]", + "1" : "The code system http://hl7.org/fhir/test/CodeSystem/simple version 1.0.0 could not be found. Valid versions: [0.1.0]", "2" : "Unable to check whether the code is in the value set http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0", - "3" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simple version 1.0.0 is unknown. Valid versions: [0.1.0]; Unable to check whether the code is in the value set http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0" + "3" : "The code system http://hl7.org/fhir/test/CodeSystem/simple version 1.0.0 could not be found. Valid versions: [0.1.0]; Unable to check whether the code is in the value set http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0" }, "inactive/validate-inactive-2a-response-parameters.json" : { - "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/inactive#codeInactive' is not in the value set 'http://hl7.org/fhir/test/ValueSet/inactive-all-active|5.0.0'", - "2" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/inactive#codeInactive' is not in the value set 'http://hl7.org/fhir/test/ValueSet/inactive-all-active|5.0.0'" + "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/inactive#codeInactive' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/inactive-all-active|5.0.0'", + "2" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/inactive#codeInactive' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/inactive-all-active|5.0.0'" }, "inactive/validate-inactive-3a-response-parameters.json" : { - "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/inactive#codeRetired' is not in the value set 'http://hl7.org/fhir/test/ValueSet/inactive-all-active|5.0.0'", - "2" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/inactive#codeRetired' is not in the value set 'http://hl7.org/fhir/test/ValueSet/inactive-all-active|5.0.0'" + "1" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/inactive#codeRetired' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/inactive-all-active|5.0.0'", + "2" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/inactive#codeRetired' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/inactive-all-active|5.0.0'" }, "validation/simple-coding-bad-language-header-response-parameters.json" : { "1" : "Wrong Display Name 'Anzeige 1' for http://hl7.org/fhir/test/CodeSystem/en-multi#code1 - should be 'Display 1' (en) (for the language(s) 'en, en-AU; q=0.4')", diff --git a/tx/other/validation-dual-filter-out-response-parameters.json b/tx/other/validation-dual-filter-out-response-parameters.json index 83305186..2a4189bc 100644 --- a/tx/other/validation-dual-filter-out-response-parameters.json +++ b/tx/other/validation-dual-filter-out-response-parameters.json @@ -8,7 +8,7 @@ "severity" : "error", "code" : "code-invalid", "details" : { - "text" : "The provided code http://hl7.org/fhir/test/CodeSystem/dual-filter#AA is not in the value set 'http://hl7.org/fhir/test/ValueSet/dual-filter'" + "text" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/dual-filter#AA' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/dual-filter'" }, "location" : ["CodeableConcept"] }] @@ -16,7 +16,7 @@ }, { "name" : "message", - "valueString" : "The provided code http://hl7.org/fhir/test/CodeSystem/dual-filter#AA is not in the value set 'http://hl7.org/fhir/test/ValueSet/dual-filter'" + "valueString" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/dual-filter#AA' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/dual-filter'" }, { "name" : "result", diff --git a/tx/validation/simple-coding-bad-system-response-parameters.json b/tx/validation/simple-coding-bad-system-response-parameters.json index d03144d2..478de2a7 100644 --- a/tx/validation/simple-coding-bad-system-response-parameters.json +++ b/tx/validation/simple-coding-bad-system-response-parameters.json @@ -8,7 +8,7 @@ "severity" : "error", "code" : "code-invalid", "details" : { - "text" : "The provided code http://hl7.org/fhir/test/CodeSystem/simplex#code1 is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" + "text" : "The provided code 'http://hl7.org/fhir/test/CodeSystem/simplex#code1' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" }, "location" : ["Coding"] }, @@ -16,7 +16,7 @@ "severity" : "error", "code" : "not-found", "details" : { - "text" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simplex is unknown" + "text" : "The code system http://hl7.org/fhir/test/CodeSystem/simplex could not be found" }, "location" : ["Coding.system"] }] @@ -24,7 +24,7 @@ }, { "name" : "message", - "valueString" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simplex is unknown; The provided code http://hl7.org/fhir/test/CodeSystem/simplex#code1 is not in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" + "valueString" : "The code system http://hl7.org/fhir/test/CodeSystem/simplex could not be found; The provided code 'http://hl7.org/fhir/test/CodeSystem/simplex#code1' was not found in the value set 'http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0'" }, { "name" : "result", diff --git a/tx/validation/simple-coding-bad-version1-response-parameters.json b/tx/validation/simple-coding-bad-version1-response-parameters.json index a8e07316..f49ed706 100644 --- a/tx/validation/simple-coding-bad-version1-response-parameters.json +++ b/tx/validation/simple-coding-bad-version1-response-parameters.json @@ -8,7 +8,7 @@ "severity" : "error", "code" : "not-found", "details" : { - "text" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simple version 1.0.0 is unknown. Valid versions: [0.1.0]" + "text" : "The code system http://hl7.org/fhir/test/CodeSystem/simple version 1.0.0 could not be found. Valid versions: [0.1.0]" }, "location" : ["Coding.system"] }, @@ -24,7 +24,7 @@ }, { "name" : "message", - "valueString" : "The CodeSystem http://hl7.org/fhir/test/CodeSystem/simple version 1.0.0 is unknown. Valid versions: [0.1.0]; Unable to check whether the code is in the value set http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0" + "valueString" : "The code system http://hl7.org/fhir/test/CodeSystem/simple version 1.0.0 could not be found. Valid versions: [0.1.0]; Unable to check whether the code is in the value set http://hl7.org/fhir/test/ValueSet/simple-all|5.0.0" }, { "name" : "result",