From 35bf0613e5cbcf814c32dbb3023db9bdd4e28a15 Mon Sep 17 00:00:00 2001 From: Lloyd McKenzie Date: Sun, 2 May 2021 22:01:46 -0600 Subject: [PATCH] Fixed additional warnings --- .../http___not-a-known-code-system.cache | 59 +++++++++++++++++++ input/ignoreWarnings.txt | 5 ++ input/resources/valueset-no-codesystem.xml | 1 + 3 files changed, 65 insertions(+) create mode 100644 input-cache/txcache/http___not-a-known-code-system.cache diff --git a/input-cache/txcache/http___not-a-known-code-system.cache b/input-cache/txcache/http___not-a-known-code-system.cache new file mode 100644 index 0000000..771c44a --- /dev/null +++ b/input-cache/txcache/http___not-a-known-code-system.cache @@ -0,0 +1,59 @@ +------------------------------------------------------------------------------------- +{"hierarchical" : true, "valueSet" :{ + "resourceType" : "ValueSet", + "compose" : { + "include" : [{ + "system" : "http://not-a-known-code-system", + "version" : "2.36", + "concept" : [{ + "code" : "not-known-code" + }, + { + "code" : "not-known-code" + }] + }] + } +}}#### +e: { + "error" : "Error from server: Unable to provide support for code system http://not-a-known-code-system" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://not-a-known-code-system", + "code" : "not-known-code" +}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}#### +v: { + "display" : "", + "severity" : "error", + "error" : "The code system \"http://not-a-known-code-system\" is not known (encountered paired with code = \"not-known-code\"); The code provided (http://not-a-known-code-system#not-known-code) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://not-a-known-code-system", + "code" : "not-known-code2" +}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}#### +v: { + "display" : "", + "severity" : "error", + "error" : "The code system \"http://not-a-known-code-system\" is not known (encountered paired with code = \"not-known-code2\"); The code provided (http://not-a-known-code-system#not-known-code2) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"hierarchical" : true, "valueSet" :{ + "resourceType" : "ValueSet", + "compose" : { + "include" : [{ + "system" : "http://not-a-known-code-system", + "version" : "2.36", + "concept" : [{ + "code" : "not-known-code" + }, + { + "code" : "not-known-code2" + }] + }] + } +}}#### +e: { + "error" : "Error from server: Unable to provide support for code system http://not-a-known-code-system" +} +------------------------------------------------------------------------------------- diff --git a/input/ignoreWarnings.txt b/input/ignoreWarnings.txt index 5d17ee0..044de31 100644 --- a/input/ignoreWarnings.txt +++ b/input/ignoreWarnings.txt @@ -11,6 +11,8 @@ Validate resource against profile http://hl7.org/fhir/StructureDefinition/Struct # Have verified that these examples are being checked against the expected profiles/resources. INFORMATION: Binary/example: Binary/example: Binary: Validate resource against profile http://hl7.org/fhir/StructureDefinition/Binary +INFORMATION: Bundle/h1: Bundle/h1: Bundle: Validate resource against profile http://hl7.org/fhir/StructureDefinition/Bundle +INFORMATION: Bundle/h1: Bundle/h1: Bundle.entry[0].resource.ofType(Provenance): Validate resource against profile http://hl7.org/fhir/StructureDefinition/Provenance INFORMATION: Patient/example: Patient/example: Patient: Validate resource against profile http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient # This is inherited from the base resource @@ -27,3 +29,6 @@ WARNING: StructureDefinition.where(url = 'http://somewhere.org/fhir/uv/myig/Stru # The objective is to show a reference to an unknown code system, so these warnings are expected WARNING: ValueSet/valueset-no-codesystem: ValueSet/valueset-no-codesystem: ValueSet.compose[0].include[0]: Unknown System/Version specified, so Concepts and Filters can''t be checked WARNING: ValueSet.where(id = 'valueset-no-codesystem'): Error from server: Unable to provide support for code system http://not-a-known-code-system + +# We don't want a code for the change reason (and this binding shouldn't be extensible anyhow) +WARNING: Bundle/h1: Bundle/h1: Bundle.entry[0].resource.ofType(Provenance).reason[0]: No code provided, and a code should be provided from the value set http://terminology.hl7.org/ValueSet/v3-PurposeOfUse (http://terminology.hl7.org/ValueSet/v3-PurposeOfUse) diff --git a/input/resources/valueset-no-codesystem.xml b/input/resources/valueset-no-codesystem.xml index d0533f5..adace25 100644 --- a/input/resources/valueset-no-codesystem.xml +++ b/input/resources/valueset-no-codesystem.xml @@ -7,6 +7,7 @@ +