FHIR Chat · Simplifier validation failed · implementers

Stream: implementers

Topic: Simplifier validation failed


view this post on Zulip Yunwei Wang (Oct 17 2017 at 19:49):

I uploaded a CapabilityStatement and the validation failed. It has one error and two warnings:

view this post on Zulip Yunwei Wang (Oct 17 2017 at 19:50):

Terminology service failed while validating code 'xml' (system ''): Cannot retrieve valueset 'http://www.rfc-editor.org/bcp/bcp13.txt'
Location: CapabilityStatement.format[0]
Warning
NotSupported
Show more details
Terminology service failed while validating code 'json' (system ''): Cannot retrieve valueset 'http://www.rfc-editor.org/bcp/bcp13.txt'
Location: CapabilityStatement.format[1]
Error
Incomplete
Show more details
Unable to resolve reference to profile 'http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super'
Location: StructureDefinition.baseDefinition[0].extension[0] CapabilityStatement.rest[2].resource[0].profile[0]

view this post on Zulip Yunwei Wang (Oct 17 2017 at 19:51):

What does this error mean?

view this post on Zulip Yunwei Wang (Oct 17 2017 at 19:52):

Here is the CapabilityStatement: https://simplifier.net/imo-fhir-ts/imo-fhir-terminology-service-metadata

view this post on Zulip Ewout Kramer (Oct 19 2017 at 08:15):

Hi, Yunwei, the version of the API used by simplifier leaves out the small word "via", so the validator is unable to resolve that extension at SD.baseDefinitionl.extension, as referred to by CapabilityStatement.rest[].resource[0].profile[0].

Why it says rest[2] (as obviously, there's just a single node), I don't know, we've created a bug report for it (https://github.com/ewoutkramer/fhir-net-api/issues/444).

Also, this begs the question: should Simplifier follow the links in the validated entity to go on and validate the referred-to instances. I personally don't think so - this is causing confusion (as we see here).

view this post on Zulip Lloyd McKenzie (Oct 19 2017 at 13:27):

It should follow links if they're inside a Bundle or to contained resources. Having an option to validate external resources might be a nice-to-have, but isn't essential (and should have a configurable depth so you don't end up validating every resource and an interlinked set of thousands)

view this post on Zulip Ewout Kramer (Oct 30 2017 at 13:17):

Agree, and that's what the validator does: it will always follow within the instance, but is configurable whether to follow to external sources....


Last updated: Apr 12 2022 at 19:14 UTC