Generated Thu Aug 13 15:46:22 UTC 2026, FHIR version 6.0.0-ballot5 for hl7.fhir.uv.sql-on-fhir#3.0.0-ballot (canonical = http://hl7.org/fhir/uv/sql-on-fhir (history)). See Full QA Report & IP
| Quality Checks | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Publisher Version: | IG Publisher Version: v2.3.2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Publication Code: | sql-on-fhir . PackageId = hl7.fhir.uv.sql-on-fhir, Canonical = http://hl7.org/fhir/uv/sql-on-fhir | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Realm Check for UV: |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Language Info: | Stated Languages: n/a. IG Resource Lang: en. 1 of 50 (2%) of resources have a language. Population Policy: NONE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Publication Request: |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Supressed Messages: | 34 Suppressed Issues | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dependency Checks: |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Related IGs: | n/a | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dependent IGs: | no references | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Global Profiles: | (none declared) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Terminology Server(s): | https://tx.fhir.org/r5 (details) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HTA Analysis: | no Non-HL7 references found | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| R5 Dependencies: | (none) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Draft Dependencies: |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Modifier Extensions: | (none) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Previous Version Comparison: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IPA Comparison: | n/a | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IPS Comparison: | n/a | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Validation Flags: | On: autoLoad; Off: hintAboutNonMustSupport, anyExtensionsAllowed, checkAggregation, showReferenceMessages, noExperimentalContent, displayWarnings | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary: | errors = 25, warn = 21, info = 1, broken links = 0, pinned = n/a. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Path | Severity | Message | Validating |
| ImplementationGuide.license (l1/c2002) | information | Reference to draft CodeSystem http://hl7.org/fhir/spdx-license|84728b7 MSG_DRAFT | ImplementationGuide |
| ImplementationGuide.dependsOn[1] (l1/c2552) | error | The ImplementationGuide is based on FHIR version 6.0.0-ballot5 but package hl7.fhir.uv.extensions#5.3.0 is based on FHIR version 5.0.0. Use the package hl7.fhir.uv.extensions.r6 instead Editor's Comment: 08. This IG targets FHIR 6.0.0-ballot5, but no R6 build of hl7.fhir.uv.extensions, hl7.terminology or hl7.fhir.uv.tools has been released; the registry serves only R5-based versions, so the publisher auto-selects the .r5 variants. Nothing in this repository can resolve the mismatch; see https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/R6.20IGs.20depending.20on.20R5-only.20packages/with/615144821. IG_DEPENDENCY_VERSION_ERROR | -- |
| Path | Severity | Message | Validating |
| StructureDefinition.differential.element[5].type[0].targetProfile[0] | error | Profile http://hl7.org/fhir/StructureDefinition/ViewDefinition is for type StructureDefinition[http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot], which is not a Canonical Resource (which is required because the Library.relatedArtifact.resource element has the type canonical) Editor's Comment: 05. ViewDefinition is a canonical resource, but the publisher does not recognize additional resources as canonical when checking Library.relatedArtifact.resource targetProfiles. Inherent to the additional-resource design; see https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653. SD_ED_TYPE_PROFILE_WRONG_TARGET | -- |
| StructureDefinition.snapshot.element[47].type[0].targetProfile[0] | error | Profile http://hl7.org/fhir/StructureDefinition/ViewDefinition is for type StructureDefinition[http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot], which is not a Canonical Resource (which is required because the Library.relatedArtifact.resource element has the type canonical) Editor's Comment: 05. ViewDefinition is a canonical resource, but the publisher does not recognize additional resources as canonical when checking Library.relatedArtifact.resource targetProfiles. Inherent to the additional-resource design; see https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653. SD_ED_TYPE_PROFILE_WRONG_TARGET | -- |
| Path | Severity | Message | Validating |
| StructureDefinition.differential.element[5].type[0].targetProfile[0] | error | Profile http://hl7.org/fhir/StructureDefinition/ViewDefinition is for type StructureDefinition[http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot], which is not a Canonical Resource (which is required because the Library.relatedArtifact.resource element has the type canonical) Editor's Comment: 05. ViewDefinition is a canonical resource, but the publisher does not recognize additional resources as canonical when checking Library.relatedArtifact.resource targetProfiles. Inherent to the additional-resource design; see https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653. SD_ED_TYPE_PROFILE_WRONG_TARGET | -- |
| StructureDefinition.snapshot.element[47].type[0].targetProfile[0] | error | Profile http://hl7.org/fhir/StructureDefinition/ViewDefinition is for type StructureDefinition[http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot], which is not a Canonical Resource (which is required because the Library.relatedArtifact.resource element has the type canonical) Editor's Comment: 05. ViewDefinition is a canonical resource, but the publisher does not recognize additional resources as canonical when checking Library.relatedArtifact.resource targetProfiles. Inherent to the additional-resource design; see https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653. SD_ED_TYPE_PROFILE_WRONG_TARGET | -- |
| Path | Severity | Message | Validating |
| StructureDefinition.snapshot.element[22].binding | warning | The definition for the element 'ViewDefinition.jurisdiction' binds to the value set 'http://hl7.org/fhir/ValueSet/jurisdiction' which is experimental, but this structure is not labeled as experimental SD_ED_EXPERIMENTAL_BINDING | -- |
| Path | Severity | Message | Validating |
| StructureDefinition.snapshot.element[22].binding | warning | The definition for the element 'ViewDefinition.jurisdiction' binds to the value set 'http://hl7.org/fhir/ValueSet/jurisdiction' which is experimental, but this structure is not labeled as experimental SD_ED_EXPERIMENTAL_BINDING | -- |
| Path | Severity | Message | Validating |
| StructureDefinition.differential.element[1].constraint[0] (l1/c229664) | error | The invariant cnl-1 defined in the differential must have no source, or the source must be the same as the profile (http://hl7.org/fhir/StructureDefinition/MetadataResource vs http://hl7.org/fhir/StructureDefinition/ViewDefinition) Editor's Comment: 06. ViewDefinition derives from MetadataResource, so the inherited cnl-1 invariant carries MetadataResource as its source and the publisher reports a mismatch against the deriving profile. Inherent to the additional-resource design; see https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653. ED_INVARIANT_DIFF_NO_SOURCE | -- |
| StructureDefinition.differential.element[14].binding | warning | The definition for the element 'ViewDefinition.jurisdiction' binds to the value set 'http://hl7.org/fhir/ValueSet/jurisdiction' which is experimental, but this structure is not labeled as experimental SD_ED_EXPERIMENTAL_BINDING | -- |
| StructureDefinition.snapshot.element[22].binding | warning | The definition for the element 'ViewDefinition.jurisdiction' binds to the value set 'http://hl7.org/fhir/ValueSet/jurisdiction' which is experimental, but this structure is not labeled as experimental SD_ED_EXPERIMENTAL_BINDING | -- |
| Path | Severity | Message | Validating |
| $ (l1/c2) | error | The 'resourceDefinition' is 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot', but no additional resource is known for that reference | -- |
| ViewDefinition.select[1].column[0] (l20/c10) | error | Expression Error: Error evaluating FHIRPath expression: The name 'code' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/CodeSystem] (@char 1) Editor's Comment: 07. These are valid ViewDefinition FHIRPath expressions that the publisher's generic FHIRPath evaluator cannot resolve: %rowIndex is a ViewDefinition constant, and linkId, answer and code are evaluated inside a forEach scope that the evaluator does not apply. See https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653. VIEWDEFINITION_PATH_ERROR | -- |
| Path | Severity | Message | Validating |
| $ (l1/c2) | error | The 'resourceDefinition' is 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot', but no additional resource is known for that reference | -- |
| Path | Severity | Message | Validating |
| $ (l1/c2) | error | The 'resourceDefinition' is 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot', but no additional resource is known for that reference | -- |
| Path | Severity | Message | Validating |
| $ (l1/c2) | error | The 'resourceDefinition' is 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot', but no additional resource is known for that reference | -- |
| Path | Severity | Message | Validating |
| $ (l1/c2) | error | The 'resourceDefinition' is 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot', but no additional resource is known for that reference | -- |
| Path | Severity | Message | Validating |
| $ (l1/c2) | error | The 'resourceDefinition' is 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot', but no additional resource is known for that reference | -- |
| Path | Severity | Message | Validating |
| $ (l1/c2) | error | The 'resourceDefinition' is 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot', but no additional resource is known for that reference | -- |
| ViewDefinition.select[1].column[0] (l19/c10) | error | Expression Error: Error evaluating FHIRPath expression: Invalid FHIRPath Constant %rowIndex (@char 1) Editor's Comment: 07. These are valid ViewDefinition FHIRPath expressions that the publisher's generic FHIRPath evaluator cannot resolve: %rowIndex is a ViewDefinition constant, and linkId, answer and code are evaluated inside a forEach scope that the evaluator does not apply. See https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653. VIEWDEFINITION_PATH_ERROR | -- |
| Path | Severity | Message | Validating |
| $ (l1/c2) | error | The 'resourceDefinition' is 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot', but no additional resource is known for that reference | -- |
| ViewDefinition.select[1].column[0] (l35/c10) | error | Expression Error: Error evaluating FHIRPath expression: The name 'linkId' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse] (@char 1) Editor's Comment: 07. These are valid ViewDefinition FHIRPath expressions that the publisher's generic FHIRPath evaluator cannot resolve: %rowIndex is a ViewDefinition constant, and linkId, answer and code are evaluated inside a forEach scope that the evaluator does not apply. See https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653. VIEWDEFINITION_PATH_ERROR | -- |
| ViewDefinition.select[1].column[2] (l45/c10) | error | Expression Error: Error evaluating FHIRPath expression: The name 'answer' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse] (@char 1) Editor's Comment: 07. These are valid ViewDefinition FHIRPath expressions that the publisher's generic FHIRPath evaluator cannot resolve: %rowIndex is a ViewDefinition constant, and linkId, answer and code are evaluated inside a forEach scope that the evaluator does not apply. See https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653. VIEWDEFINITION_PATH_ERROR | -- |
| ViewDefinition.select[1].column[3] (l50/c10) | error | Expression Error: Error evaluating FHIRPath expression: The name 'answer' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse] (@char 1) Editor's Comment: 07. These are valid ViewDefinition FHIRPath expressions that the publisher's generic FHIRPath evaluator cannot resolve: %rowIndex is a ViewDefinition constant, and linkId, answer and code are evaluated inside a forEach scope that the evaluator does not apply. See https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653. VIEWDEFINITION_PATH_ERROR | -- |
| ViewDefinition.select[1].column[4] (l55/c10) | error | Expression Error: Error evaluating FHIRPath expression: The name 'answer' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse] (@char 1) Editor's Comment: 07. These are valid ViewDefinition FHIRPath expressions that the publisher's generic FHIRPath evaluator cannot resolve: %rowIndex is a ViewDefinition constant, and linkId, answer and code are evaluated inside a forEach scope that the evaluator does not apply. See https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653. VIEWDEFINITION_PATH_ERROR | -- |
| ViewDefinition.select[1].column[5] (l60/c10) | error | Expression Error: Error evaluating FHIRPath expression: The name 'answer' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse] (@char 1) Editor's Comment: 07. These are valid ViewDefinition FHIRPath expressions that the publisher's generic FHIRPath evaluator cannot resolve: %rowIndex is a ViewDefinition constant, and linkId, answer and code are evaluated inside a forEach scope that the evaluator does not apply. See https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653. VIEWDEFINITION_PATH_ERROR | -- |
| Path | Severity | Message | Validating |
| $ (l1/c2) | error | The 'resourceDefinition' is 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot', but no additional resource is known for that reference | -- |
| ViewDefinition (l1/c2) | error | The value for resourceDefinition of 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot' does not match the required value of 'http://hl7.org/fhir/uv/sql-on-fhir/StructureDefinition/ShareableViewDefinition|3.0.0-ballot'. In addition, this is not an additional resource, and shouldn't have a resourceDefinition at all Editor's Comment: 18. This is a combinations of bugs - Resource definitions must be namespaced in hl7.org/fhir, and publisher is not processing the JSON version of the example additional resource correctly. VALIDATION_ADDITIONAL_RESOURCE_NO_WRONG | View Definition |
| ViewDefinition (l1/c2) | error | The value for resourceDefinition of 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot' does not match the required value of 'http://hl7.org/fhir/uv/sql-on-fhir/StructureDefinition/TabularViewDefinition|3.0.0-ballot'. In addition, this is not an additional resource, and shouldn't have a resourceDefinition at all Editor's Comment: 18. This is a combinations of bugs - Resource definitions must be namespaced in hl7.org/fhir, and publisher is not processing the JSON version of the example additional resource correctly. VALIDATION_ADDITIONAL_RESOURCE_NO_WRONG | Tabular View Definition |
| Path | Severity | Message | Validating |
| $ (l1/c2) | error | The 'resourceDefinition' is 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot', but no additional resource is known for that reference | -- |
| Path | Severity | Message | Validating |
| SearchParameter (l1/c2734) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2966) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2744) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c3535) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c3407) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2608) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2700) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2696) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2724) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2645) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2891) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2689) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2699) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2645) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2645) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2609) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
| SearchParameter (l1/c2661) | warning | Constraint failed: spd-6: 'Values for multipleOr and multipleAnd should be provided for clarity (multipleOr.exists() and multipleAnd.exists())' (defined in http://hl7.org/fhir/StructureDefinition/SearchParameter) http://hl7.org/fhir/StructureDefinition/SearchParameter#spd-6 | SearchParameter |
Suppressed Messages (Warnings, hints, broken links)
02. ViewDefinition is defined as an additional resource, so the publisher validates SearchParameter.base against the core Version Independent Resource Types (All) value set, which cannot contain a type that is not in the core specification. Inherent to the additional-resource design; see https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653.
03. The publisher requires every instance of an additional resource to carry a resourceDefinition property naming the versioned canonical of its definition. Adding it would put FHIR tooling metadata into the published ViewDefinition examples and pin the IG version in each of them, so the examples are left as authored; see https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653.
04. ViewDefinition is an additional resource rather than a core FHIR type, so the publisher rejects its use as a StructureDefinition type. Inherent to the additional-resource design; see https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653.
05. ViewDefinition is a canonical resource, but the publisher does not recognize additional resources as canonical when checking Library.relatedArtifact.resource targetProfiles. Inherent to the additional-resource design; see https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653.
06. ViewDefinition derives from MetadataResource, so the inherited cnl-1 invariant carries MetadataResource as its source and the publisher reports a mismatch against the deriving profile. Inherent to the additional-resource design; see https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653.
07. These are valid ViewDefinition FHIRPath expressions that the publisher's generic FHIRPath evaluator cannot resolve: %rowIndex is a ViewDefinition constant, and linkId, answer and code are evaluated inside a forEach scope that the evaluator does not apply. See https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653.
08. This IG targets FHIR 6.0.0-ballot5, but no R6 build of hl7.fhir.uv.extensions, hl7.terminology or hl7.fhir.uv.tools has been released; the registry serves only R5-based versions, so the publisher auto-selects the .r5 variants. Nothing in this repository can resolve the mismatch; see https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/R6.20IGs.20depending.20on.20R5-only.20packages/with/615144821.
09. The jurisdiction value set is deprecated in the core specification and this message originates there; the jurisdiction values are inherited from the HL7 universal realm conventions and cannot be changed in this IG.
10. These code systems are defined in this IG rather than in THO. A TSMG exemption will be sought in the future (first publication).
11. eld-31 is a best-practice recommendation that additional bindings carry a key. Seven of these are on inherited language elements whose additional binding is defined by the core specification without one; the other four are on the content.contentType binding this IG defines on SQLQuery and SQLView, where a key cannot be supplied because binding.additional.key exists in R6 but not in R5, and the publisher processes these Library profiles through the R5 element model and strips it.
12. eld-33 is a best-practice recommendation that flags any binding on an element with more than one bindable type. The bindings on ViewDefinition.versionAlgorithm[x] and the sql-text choice elements are inherited from the R5 base resources and are deliberate.
13. The core mimetypes value set is unbounded and cannot be expanded by any terminology server. The required binding is intentional and is supplemented by an extensible additional binding to the SQL content type codes.
14. The recursive ViewDefinition.select contentReference produces multiple anchors with the same name in the generated narrative, so the auto-generated hyperlink matches more than one target. This is a rendering artifact of the logical model.
15. These template-provided HTML fragments (IP statements, dependency table, globals table) are generated by the template but are not referenced by any page in this IG's layout.
16. The CodeSystem fhirpath-types was incorrectly tagged as experimental: https://jira.hl7.org/browse/FHIR-58168
17. FHIR R6 Additional Resource mechanisms are still WIP
18. This is a combinations of bugs - Resource definitions must be namespaced in hl7.org/fhir, and publisher is not processing the JSON version of the example additional resource correctly.
19. The publisher's built-in ViewDefinition validator does not apply the forEach/forEachOrNull scope when checking column path cardinality, so columns that are single-valued within their forEach scope (e.g. system and code within a forEachOrNull of code.coding) are flagged as potentially multi-valued. False positive with the same root cause as 07; verified against the current example set. See https://chat.fhir.org/#narrow/channel/179219-analytics-on-FHIR/topic/Validation.20errors.20for.20additional.20resources/with/615144653.
20. Same forEach scoping defect as 19: the text column in the QuestionnaireResponseItems example selects item.text (a string) inside a forEach scope, but the validator resolves the path against the resource root, where text is the Narrative.
21. Message-ID variant of eld-33 (see 12): the binding on ViewDefinition.versionAlgorithm[x] is inherited from the R5 base resources and is deliberate.
22. The ViewDefinition instances in this IG are examples of an additional resource, which the publisher does not associate with the ViewDefinition StructureDefinition as linked examples.
Errors sorted by type
| input/resources/viewdefinition/StructureDefinition-ViewDefinition.xml | The invariant cnl-1 defined in the differential must have no source, or the source must be the same as the profile (http://hl7.org/fhir/StructureDefinition/MetadataResource vs http://hl7.org/fhir/StructureDefinition/ViewDefinition) | -- |
| fsh-generated/resources/ImplementationGuide-hl7.fhir.uv.sql-on-fhir.json | The ImplementationGuide is based on FHIR version 6.0.0-ballot5 but package hl7.fhir.uv.extensions#5.3.0 is based on FHIR version 5.0.0. Use the package hl7.fhir.uv.extensions.r6 instead | -- |
| fsh-generated/resources/ImplementationGuide-hl7.fhir.uv.sql-on-fhir.json | Reference to draft CodeSystem http://hl7.org/fhir/spdx-license|84728b7 | ImplementationGuide |
| input/resources/viewdefinition/StructureDefinition-ShareableViewDefinition.xml | The definition for the element 'ViewDefinition.jurisdiction' binds to the value set 'http://hl7.org/fhir/ValueSet/jurisdiction' which is experimental, but this structure is not labeled as experimental | -- |
| input/resources/viewdefinition/StructureDefinition-TabularViewDefinition.xml | The definition for the element 'ViewDefinition.jurisdiction' binds to the value set 'http://hl7.org/fhir/ValueSet/jurisdiction' which is experimental, but this structure is not labeled as experimental | -- |
| input/resources/viewdefinition/StructureDefinition-ViewDefinition.xml | The definition for the element 'ViewDefinition.jurisdiction' binds to the value set 'http://hl7.org/fhir/ValueSet/jurisdiction' which is experimental, but this structure is not labeled as experimental | -- |
| input/resources/viewdefinition/StructureDefinition-ViewDefinition.xml | The definition for the element 'ViewDefinition.jurisdiction' binds to the value set 'http://hl7.org/fhir/ValueSet/jurisdiction' which is experimental, but this structure is not labeled as experimental | -- |
| fsh-generated/resources/StructureDefinition-SQLQuery.json | Profile http://hl7.org/fhir/StructureDefinition/ViewDefinition is for type StructureDefinition[http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot], which is not a Canonical Resource (which is required because the Library.relatedArtifact.resource element has the type canonical) | -- |
| fsh-generated/resources/StructureDefinition-SQLQuery.json | Profile http://hl7.org/fhir/StructureDefinition/ViewDefinition is for type StructureDefinition[http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot], which is not a Canonical Resource (which is required because the Library.relatedArtifact.resource element has the type canonical) | -- |
| fsh-generated/resources/StructureDefinition-SQLView.json | Profile http://hl7.org/fhir/StructureDefinition/ViewDefinition is for type StructureDefinition[http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot], which is not a Canonical Resource (which is required because the Library.relatedArtifact.resource element has the type canonical) | -- |
| fsh-generated/resources/StructureDefinition-SQLView.json | Profile http://hl7.org/fhir/StructureDefinition/ViewDefinition is for type StructureDefinition[http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot], which is not a Canonical Resource (which is required because the Library.relatedArtifact.resource element has the type canonical) | -- |
| input/resources/viewdefinition/ViewDefinition-ShareablePatientDemographics.json | The value for resourceDefinition of 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot' does not match the required value of 'http://hl7.org/fhir/uv/sql-on-fhir/StructureDefinition/ShareableViewDefinition|3.0.0-ballot'. In addition, this is not an additional resource, and shouldn't have a resourceDefinition at all | View Definition |
| input/resources/viewdefinition/ViewDefinition-ShareablePatientDemographics.json | The value for resourceDefinition of 'http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot' does not match the required value of 'http://hl7.org/fhir/uv/sql-on-fhir/StructureDefinition/TabularViewDefinition|3.0.0-ballot'. In addition, this is not an additional resource, and shouldn't have a resourceDefinition at all | Tabular View Definition |
| input/resources/viewdefinition/ViewDefinition-CodeSystemHierarchy.json | Expression Error: Error evaluating FHIRPath expression: The name 'code' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/CodeSystem] (@char 1) | -- |
| input/resources/viewdefinition/ViewDefinition-PatientNamesWithIndex.json | Expression Error: Error evaluating FHIRPath expression: Invalid FHIRPath Constant %rowIndex (@char 1) | -- |
| input/resources/viewdefinition/ViewDefinition-QuestionnaireResponseItems.json | Expression Error: Error evaluating FHIRPath expression: The name 'linkId' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse] (@char 1) | -- |
| input/resources/viewdefinition/ViewDefinition-QuestionnaireResponseItems.json | Expression Error: Error evaluating FHIRPath expression: The name 'answer' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse] (@char 1) | -- |
| input/resources/viewdefinition/ViewDefinition-QuestionnaireResponseItems.json | Expression Error: Error evaluating FHIRPath expression: The name 'answer' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse] (@char 1) | -- |
| input/resources/viewdefinition/ViewDefinition-QuestionnaireResponseItems.json | Expression Error: Error evaluating FHIRPath expression: The name 'answer' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse] (@char 1) | -- |
| input/resources/viewdefinition/ViewDefinition-QuestionnaireResponseItems.json | Expression Error: Error evaluating FHIRPath expression: The name 'answer' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse] (@char 1) | -- |