ImplementationGuide/hl7.fhir.uv.sql-on-fhir: ImplementationGuide: Validated against fhir.ImplementationGuide
Path
Severity
Message
Validating
ImplementationGuide.license (l1/c2002)
information
Reference to draft CodeSystem http://hl7.org/fhir/spdx-license|84728b7 from active ValueSet http://hl7.org/fhir/ValueSet/spdx-license|6.0.0-snapshot1MSG_DRAFT_SRC_STATUS
The code 'application/sql;dialect=postgresql' is valid, but it is not the normal form for the code system 'urn:ietf:bcp:13'; the normal form is 'application/sql; dialect=postgresql' (from https://tx.fhir.org/r5, see log, or see the servers logic) CODE_NOT_IN_NORMAL_FORM
0ms tx-op
0ms http://hl7.org/fhir/ValueSet/mimetypes|6.0.0-snapshot1: Analysing http://hl7.org/fhir/ValueSet/mimetypes|6.0.0-snapshot1 for validation purposes
0ms http://hl7.org/fhir/ValueSet/mimetypes|6.0.0-snapshot1: Parameters: disp-lang=en, generate-narrative, default-to-latest
0ms http://hl7.org/fhir/ValueSet/mimetypes|6.0.0-snapshot1: Prepare include[0]: "(urn:ietf:bcp:13)"
0ms http://hl7.org/fhir/ValueSet/mimetypes|6.0.0-snapshot1: CodeSystem found: "urn:ietf:bcp:13|null"
0ms http://hl7.org/fhir/ValueSet/mimetypes|6.0.0-snapshot1: Validate "[undefined#application/sql;dialect=postgresql ("undefined")]" and infer system
0ms http://hl7.org/fhir/ValueSet/mimetypes|6.0.0-snapshot1: Check "undefined#application/sql;dialect=postgresql"
0ms http://hl7.org/fhir/ValueSet/mimetypes|6.0.0-snapshot1: Inferred CodeSystem = "urn:ietf:bcp:13"
0ms http://hl7.org/fhir/ValueSet/mimetypes|6.0.0-snapshot1: CodeSystem found: urn:ietf:bcp:13|null for urn:ietf:bcp:13
0ms http://hl7.org/fhir/ValueSet/mimetypes|6.0.0-snapshot1: check code in (urn:ietf:bcp:13) at
0ms http://hl7.org/fhir/ValueSet/mimetypes|6.0.0-snapshot1: Code "application/sql;dialect=postgresql" found in urn:ietf:bcp:13|null
The questionnaire 'http://example.org/q/phq9' could not be resolved, so no validation can be performed against the base questionnaireQuestionnaire_QR_Q_NotFound
The questionnaire 'http://example.org/q/health-history' could not be resolved, so no validation can be performed against the base questionnaireQuestionnaire_QR_Q_NotFound
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
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
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
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
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
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
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.
%The System URI could not be determined for the code 'ViewDefinition'% (0 uses)
%was not found in the value set 'Version Independent Resource Types (All)'% (0 uses)
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.
%is not legal because it is not defined in the FHIR specification% (0 uses)
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.
%which is not a Canonical Resource (which is required because the Library.relatedArtifact.resource element has the type canonical)% (4 uses)
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.
%Error evaluating FHIRPath expression: The name 'answer' is not valid% (2 uses)
%Error evaluating FHIRPath expression: The name 'code' is not valid% (0 uses)
%Error evaluating FHIRPath expression: The name 'linkId' is not valid% (0 uses)
08. This IG targets FHIR 6.0.0-snapshot1, 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-loads 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 (0 uses)
IG_DEPENDENCY_VERSION_WARNING (0 uses)
This IG is for FHIR version% (0 uses)
This IG is version% (0 uses)
09. ViewDefinition.jurisdiction is copied from MetadataResource with the core binding to the jurisdiction value set, which the core specification marks as experimental; the binding follows the core canonical resource pattern and is not defined by this IG.
%binds to the value set 'http://hl7.org/fhir/ValueSet/jurisdiction' which is experimental, but this structure is not labeled as experimental% (4 uses)
10. These code systems are defined in this IG rather than in THO. A TSMG exemption will be sought in the future (first publication).
%will need to move to THO later during the process% (4 uses)
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.
%Constraint failed: eld-31% (11 uses)
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.
%Constraint failed: eld-33% (6 uses)
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.
%Hyperlink '#ViewDefinition.select' at 'div/table/tr/td/a' for 'select' resolves to multiple targets% (1 uses)
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.
%is not included anywhere in the produced implementation guide% (2 uses)
16. The CodeSystem fhirpath-types was incorrectly tagged as experimental: https://jira.hl7.org/browse/FHIR-58168
%Reference to experimental CodeSystem http://hl7.org/fhir/CodeSystem/fhirpath-types% (27 uses)
MSG_EXPERIMENTAL (0 uses)
17. FHIR R6 Additional Resource mechanisms are still WIP
Terminology_TX_NoValid_16 (0 uses)
UNABLE_TO_INFER_CODESYSTEM (0 uses)
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.
% ViewDefinition: 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 (1 uses)
VALIDATION_ADDITIONAL_RESOURCE_NO_WRONG (1 uses)
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.
%might return multiple values for the column% (0 uses)
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.
%is a complex type ('Narrative'). This is not supported in some Runners% (0 uses)
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.
SD_ED_BIND_MULTIPLE_TYPES (1 uses)
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.
%contains no explicitly linked examples for this profile% (0 uses)
23. The JIRA specification artifact for this IG is maintained in https://github.com/HL7/JIRA-Spec-Artifacts and is updated through a pull request to that repository at publication time, using the template/jira-new.xml proposal generated by the publisher.
%The jira specification file appears to be out of date% (1 uses)
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)
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)
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)
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)
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
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