Fixed additional warnings

This commit is contained in:
Lloyd McKenzie 2021-05-02 22:01:46 -06:00
parent 240d0966e4
commit 35bf0613e5
3 changed files with 65 additions and 0 deletions

View File

@ -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"
}
-------------------------------------------------------------------------------------

View File

@ -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. # 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: 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 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 # 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 # 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/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 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)

View File

@ -7,6 +7,7 @@
<status value="draft"/> <status value="draft"/>
<experimental value="true"/> <experimental value="true"/>
<date value="2015-06-22"/> <date value="2015-06-22"/>
<description value="A sample value set where there's no known code system"/>
<compose> <compose>
<include> <include>
<system value="http://not-a-known-code-system"/> <system value="http://not-a-known-code-system"/>