Skip to content

Commit

Permalink
update error message by agreement with Michael
Browse files Browse the repository at this point in the history
  • Loading branch information
Grahame Grieve committed Nov 22, 2023
1 parent bffe010 commit 5ecb7dc
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 40 deletions.
4 changes: 2 additions & 2 deletions tx/alt-codes/validation-alt-codes-3-response-parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
}
},
{
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions tx/errors/errors-unknown-system1-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
Expand All @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions tx/errors/errors-unknown-system2-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@
"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"]
}]
}
},
{
"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",
Expand Down
48 changes: 24 additions & 24 deletions tx/messages-tx.fhir.org.json
Original file line number Diff line number Diff line change
@@ -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) '--')",
Expand Down Expand Up @@ -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')",
Expand Down
4 changes: 2 additions & 2 deletions tx/other/validation-dual-filter-out-response-parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"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"]
}]
}
},
{
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@
"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"]
},
{
"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"]
}]
}
},
{
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
Expand All @@ -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",
Expand Down

0 comments on commit 5ecb7dc

Please sign in to comment.