Clean up QA issues

This commit is contained in:
Lloyd McKenzie 2021-04-29 22:30:42 -06:00
parent 3e6623ddba
commit 240d0966e4
12 changed files with 6823 additions and 3246 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,23 +1,4 @@
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : {
"code" : "http://hl7.org/fhirpath/System.String"
}, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "http://hl7.org/fhir/data-types"
},
{
"system" : "http://hl7.org/fhir/resource-types"
}]
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "",
"severity" : "error",
"error" : "The code system \"\" is not known (encountered paired with code = \"http://hl7.org/fhirpath/System.String\"); The code provided (#http://hl7.org/fhirpath/System.String) is not valid in the value set FHIRDefinedType"
}
-------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "text/cql" "code" : "text/cql"
}, "valueSet" :{ }, "valueSet" :{
@ -50,22 +31,6 @@ v: {
"error" : "" "error" : ""
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : {
"code" : "application/pdf"
}, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "urn:ietf:bcp:13"
}]
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "application/pdf",
"severity" : null,
"error" : ""
}
-------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "application/elm+json" "code" : "application/elm+json"
}, "valueSet" :{ }, "valueSet" :{
@ -82,3 +47,51 @@ v: {
"error" : "" "error" : ""
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : {
"code" : "image/png"
}, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "urn:ietf:bcp:13"
}]
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "image/png",
"severity" : null,
"error" : ""
}
-------------------------------------------------------------------------------------
{"code" : {
"code" : "text/x-sql"
}, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "urn:ietf:bcp:13"
}]
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "text/x-sql",
"severity" : null,
"error" : ""
}
-------------------------------------------------------------------------------------
{"code" : {
"code" : "application/pdf"
}, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "urn:ietf:bcp:13"
}]
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "application/pdf",
"severity" : null,
"error" : ""
}
-------------------------------------------------------------------------------------

View File

@ -1,4 +1,14 @@
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : {
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "World",
"severity" : null,
"error" : ""
}
-------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm", "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001" "code" : "001"
@ -16,9 +26,37 @@
} }
}, "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}#### }, "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: { v: {
"display" : "", "display" : "World",
"severity" : "error", "severity" : null,
"error" : "Not done yet @ TAreaCodeServices.Close" "error" : ""
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "urn:iso:std:iso:3166"
},
{
"system" : "urn:iso:std:iso:3166:-2"
},
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"filter" : [{
"property" : "class",
"op" : "=",
"value" : "region"
}]
}]
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK"}####
v: {
"display" : "World",
"severity" : null,
"error" : ""
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
@ -31,13 +69,3 @@ v: {
"error" : "" "error" : ""
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : {
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "World",
"severity" : null,
"error" : ""
}
-------------------------------------------------------------------------------------

View File

@ -1 +1 @@
1.0.329 1.9.372

View File

@ -3,17 +3,18 @@
"id": "example", "id": "example",
"url" : "http://somewhere.org/fhir/uv/myig/Library/example", "url" : "http://somewhere.org/fhir/uv/myig/Library/example",
"version" : "1.0.0", "version" : "1.0.0",
"name": "example", "name": "Example",
"title": "Example CQL Library", "title": "Example CQL Library",
"status" : "draft", "status" : "draft",
"experimental": true, "experimental": true,
"description": "Some example library",
"type" : { "type" : {
"coding" : [{ "coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/library-type", "system" : "http://terminology.hl7.org/CodeSystem/library-type",
"code" : "logic-library" "code" : "logic-library"
}] }]
}, },
"subject": { "subjectCodeableConcept": {
"coding": [{ "coding": [{
"system": "hl7.org/fhir/resource-types", "system": "hl7.org/fhir/resource-types",
"code": "Patient" "code": "Patient"

View File

@ -10,6 +10,7 @@
"id" : "h1-1", "id" : "h1-1",
"target" : [ { "reference" : "StructureDefinition/myObservation" } ], "target" : [ { "reference" : "StructureDefinition/myObservation" } ],
"occurredDateTime" : "2015-11-30", "occurredDateTime" : "2015-11-30",
"recorded" : "2020-01-01T00:00:00.000Z",
"reason" : [ "reason" : [
{ {
"text" : "Add \"conductible\" property to ActRelationshipType and ParticipationType codes.for ContextConduction RIM Change. And create Concept domain CodeSystem and ValueSet for ContextConductionStyle" "text" : "Add \"conductible\" property to ActRelationshipType and ParticipationType codes.for ContextConduction RIM Change. And create Concept domain CodeSystem and ValueSet for ContextConductionStyle"
@ -24,19 +25,19 @@
"agent" : [ "agent" : [
{ {
"type" : { "type" : {
"coding" : { "coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type", "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
"code" : "author" "code" : "author"
} }]
}, },
"who" : { "display" : "Rob Hausam" } "who" : { "display" : "Rob Hausam" }
}, },
{ {
"type" : { "type" : {
"coding" : { "coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type", "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
"code" : "verifier" "code" : "verifier"
} }]
}, },
"who" : { "display" : "Vocab" } "who" : { "display" : "Vocab" }
} }

View File

@ -3,13 +3,27 @@
# Add warning and/or information messages here after you've confirmed that they aren't really a problem # Add warning and/or information messages here after you've confirmed that they aren't really a problem
# (And include comments like this justifying why) # (And include comments like this justifying why)
# We expect that all of the 'structural' resources will only be validated against their respective 'core' resource definitions
Validate resource against profile http://hl7.org/fhir/StructureDefinition/ImplementationGuide
Validate resource against profile http://hl7.org/fhir/StructureDefinition/Library
Validate resource against profile http://hl7.org/fhir/StructureDefinition/ValueSet
Validate resource against profile http://hl7.org/fhir/StructureDefinition/StructureDefinition
# 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: 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
WARNING: StructureDefinition/myObservation: StructureDefinition.snapshot.element[15].mapping[3].map: value should not start or finish with whitespace WARNING: StructureDefinition/myObservation: StructureDefinition.snapshot.element[15].mapping[3].map: value should not start or finish with whitespace
# We're expecting these to not match the slice - we're showing how you can use slicing to define the one repetition you want even when many repetitions might be present # We're expecting these to not match the slice - we're showing how you can use slicing to define the one repetition you want even when many repetitions might be present
INFORMATION: Patient/example: Patient.name[0]: This element does not match any known slice defined in the profile http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient INFORMATION: Patient/example: Patient/example: Patient.name[0]: This element does not match any known slice defined in the profile http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient
INFORMATION: Patient/example: Patient.name[1]: This element does not match any known slice defined in the profile http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient INFORMATION: Patient/example: Patient/example: Patient.name[1]: This element does not match any known slice defined in the profile http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient
# If this was a real IG, there should be examples for these profiles too. But it's not, and I'm lazy... # If this was a real IG, there should be examples for these profiles too. But it's not, and I'm lazy...
WARNING: http://somewhere.org/fhir/uv/myig/StructureDefinition/myObservation: The Implementation Guide contains no examples for this profile WARNING: StructureDefinition.where(url = 'http://somewhere.org/fhir/uv/myig/StructureDefinition/mypractitioner'): The Implementation Guide contains no examples for this profile
WARNING: http://somewhere.org/fhir/uv/myig/StructureDefinition/mypractitioner: The Implementation Guide contains no examples for this profile WARNING: StructureDefinition.where(url = 'http://somewhere.org/fhir/uv/myig/StructureDefinition/myObservation'): The Implementation Guide contains no examples for this profile
# 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

View File

@ -38,11 +38,11 @@
<license value="CC0-1.0"/> <license value="CC0-1.0"/>
<!-- This is whatever FHIR version(s) the IG artifacts are targeting (not the version of this file, which should always be 'current release') --> <!-- This is whatever FHIR version(s) the IG artifacts are targeting (not the version of this file, which should always be 'current release') -->
<fhirVersion value="4.0.1"/> <fhirVersion value="4.0.1"/>
<dependsOn> <!-- <dependsOn>
<uri value="https://simplifier.net/packages/de.medizininformatikinitiative.kerndatensatz.fall/0.9.1/files/131317"/> <uri value="https://simplifier.net/packages/de.medizininformatikinitiative.kerndatensatz.fall/0.9.1/files/131317"/>
<packageId value="de.medizininformatikinitiative.kerndatensatz.fall"/> <packageId value="de.medizininformatikinitiative.kerndatensatz.fall"/>
<version value="0.9.1"/> <version value="0.9.1"/>
</dependsOn> </dependsOn>-->
<definition> <definition>
<!-- You don't need to define any groupings. The IGPublisher will define them for you. You only need to do so if your IG is 'special' and it's <!-- You don't need to define any groupings. The IGPublisher will define them for you. You only need to do so if your IG is 'special' and it's
inappropriate to use the defaults. Feel free to provide feedback about the defaults... --> inappropriate to use the defaults. Feel free to provide feedback about the defaults... -->
@ -77,6 +77,13 @@
<description value="A simple example showing how examples are defined and referenced"/> <description value="A simple example showing how examples are defined and referenced"/>
<exampleCanonical value="http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient"/> <exampleCanonical value="http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient"/>
</resource> </resource>
<resource>
<reference>
<reference value="Binary/example"/>
</reference>
<name value="Example binary"/>
<description value="Example showing binary content"/>
</resource>
<resource> <resource>
<reference> <reference>
<reference value="ValueSet/valueset-no-codesystem"/> <reference value="ValueSet/valueset-no-codesystem"/>

File diff suppressed because one or more lines are too long

View File

@ -1,11 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Library xmlns="http://hl7.org/fhir"> <Library xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R4/fhir-single.xsd">
<url value="http://somewhere.org/fhir/uv/myig/Library/example-sql"/> <url value="http://somewhere.org/fhir/uv/myig/Library/example-sql"/>
<version value="1.0.0"/> <version value="1.0.0"/>
<name value="ExampleLibrary"/> <name value="ExampleLibrary"/>
<title value="Example Library"/> <title value="Example Library"/>
<status value="draft"/> <status value="draft"/>
<experimental value="true"/> <experimental value="true"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/library-type"/>
<code value="asset-collection"/>
</coding>
</type>
<date value="2020-05-15T00:00:00.000+10:00"/> <date value="2020-05-15T00:00:00.000+10:00"/>
<content> <content>
<contentType value="text/x-sql"/> <contentType value="text/x-sql"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd"> <StructureDefinition xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R4/fhir-single.xsd">
<id value="myObservation"/> <id value="myObservation"/>
<url value="http://somewhere.org/fhir/uv/myig/StructureDefinition/myObservation"/> <url value="http://somewhere.org/fhir/uv/myig/StructureDefinition/myObservation"/>
<name value="MyObservation"/> <name value="MyObservation"/>
@ -50,6 +50,7 @@
</extension> </extension>
</targetProfile> </targetProfile>
</type> </type>
<mustSupport value="true"/>
</element> </element>
<element id="Observation.focus"> <element id="Observation.focus">
<path value="Observation.focus"/> <path value="Observation.focus"/>

View File

@ -1,20 +1,22 @@
<ValueSet xmlns="http://hl7.org/fhir"> <?xml version="1.0" encoding="UTF-8"?>
<id value="valueset-no-codesystem"/> <ValueSet xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R4/fhir-single.xsd">
<url value="http://somewhere.org/fhir/uv/myig/ValueSet/valueset-no-codesystem"/> <id value="valueset-no-codesystem"/>
<url value="http://somewhere.org/fhir/uv/myig/ValueSet/valueset-no-codesystem"/>
<name value="ValueSetWithNoCodeSystem"/> <name value="ValueSetWithNoCodeSystem"/>
<status value="draft"/> <title value="ValueSet with no code-system"/>
<experimental value="true"/> <status value="draft"/>
<date value="2015-06-22"/> <experimental value="true"/>
<compose> <date value="2015-06-22"/>
<include> <compose>
<system value="http://not-a-known-code-system"/> <include>
<version value="2.36"/> <system value="http://not-a-known-code-system"/>
<concept> <version value="2.36"/>
<code value="not-known-code"/> <concept>
</concept> <code value="not-known-code"/>
<concept> </concept>
<code value="not-known-code"/> <concept>
</concept> <code value="not-known-code2"/>
</include> </concept>
</compose> </include>
</ValueSet> </compose>
</ValueSet>