FHIR Chat · ignorewarnings · IG creation

Stream: IG creation

Topic: ignorewarnings


view this post on Zulip Jose Costa Teixeira (Nov 15 2019 at 13:37):

I have a warning and want to ignore it but can't get ignoreWarnings.txt syntax right.

The value provided ('de-BE') is not in the value set http://hl7.org/fhir/ValueSet/languages (http://hl7.org/fhir/ValueSet/languages, and a code is recommended to come from this value set) (error message = The code provided (urn:ietf:bcp:47#de-BE) is not valid in the value set CommonLanguages)

Which part of this should go in the ignoreWarnings.txt?
Just the error message?

view this post on Zulip Lloyd McKenzie (Nov 15 2019 at 13:43):

The whole thing

view this post on Zulip Lloyd McKenzie (Nov 15 2019 at 13:44):

Look at what's spit out in qa.txt

view this post on Zulip Jose Costa Teixeira (Nov 15 2019 at 14:30):

I did copy the qa.txt line to ignoreWarnings.txt

view this post on Zulip Jose Costa Teixeira (Nov 15 2019 at 14:30):

so now my qa.html shows this at the end:
Suppressed Error Messages

ERROR: ImplementationGuide/hl7.be.core: ImplementationGuide.definition.parameter[10].code: The value provided ('path-qa') is not in the value set http://hl7.org/fhir/ValueSet/guide-parameter-code|4.0.1 (http://hl7.org/fhir/ValueSet/guide-parameter-code, and a code is required from this value set) (error message = Unknown Code http://hl7.org/fhir/guide-parameter-code#path-qa in http://hl7.org/fhir/guide-parameter-code)

view this post on Zulip Jose Costa Teixeira (Nov 15 2019 at 14:31):

however, it also shows this :
pasted image

view this post on Zulip Jose Costa Teixeira (Nov 15 2019 at 14:31):

shouldn't this one be suppressed?

view this post on Zulip Lloyd McKenzie (Nov 15 2019 at 14:38):

You can't suppress errors unless they're hyperlink problems.

view this post on Zulip Lloyd McKenzie (Nov 15 2019 at 14:38):

You can only suppress warning and info messages

view this post on Zulip Jose Costa Teixeira (Nov 15 2019 at 14:47):

ok i got rid of the yellows.

view this post on Zulip Jose Costa Teixeira (Nov 15 2019 at 14:51):

but this means that the pink errors like I show cannot be ignored , ever, right?

view this post on Zulip Jose Costa Teixeira (Nov 15 2019 at 14:51):

that one is a tooling issue, I think ,so I have to live with it. correct?

view this post on Zulip Lloyd McKenzie (Nov 15 2019 at 14:57):

Correct - it provides incentive to fix the tools :)

view this post on Zulip Grahame Grieve (Nov 15 2019 at 19:11):

why is that one a tooling issue?

view this post on Zulip Jose Costa Teixeira (Nov 15 2019 at 19:33):

Seems that the template is injecting these parameters. @Lloyd McKenzie is that the case?

view this post on Zulip Grahame Grieve (Nov 15 2019 at 20:38):

oh. I looked again at the code system. That is unsorted business for us. I need to figure out what to do about those codes

view this post on Zulip Kevin Mayfield (Dec 10 2019 at 16:46):

We're getting similar errors regarding SNOMED ecl. I take it we can't disable these errors

CareConnect-AllergyCertainty-1 error Error from server: The filter "constraint = (385434005 |Improbable diagnosis| OR 2931005 |Probable diagnosis| OR 255545003 |Definite| OR 410605003 |Confirmed present|)" was not understood in the context of http://snomed.info/sct

view this post on Zulip Grahame Grieve (Dec 10 2019 at 19:56):

you can add the error message to suppressederrors.txt

view this post on Zulip Kevin Mayfield (Dec 10 2019 at 21:17):

I'm getting what Lloyd mentions above. I can suppress warnings and info but not errors. I could with removing the ECL ones.

view this post on Zulip Kevin Mayfield (Dec 10 2019 at 21:19):

So FATAL and ERROR can't be suppressed - filterMessages in ValidationPresenter

(message.getLevel().equals(ValidationMessage.IssueSeverity.FATAL) || message.getLevel().equals(ValidationMessage.IssueSeverity.ERROR)))

view this post on Zulip Grahame Grieve (Dec 10 2019 at 21:33):

I guess you can't then

view this post on Zulip Kevin Mayfield (Dec 10 2019 at 21:49):

Ah well, like looking through code - helps me learn.

view this post on Zulip Lloyd McKenzie (Dec 10 2019 at 22:48):

Fatal and error issues are supposed to only be raised for "guaranteed errors", so suppressing them doesn't make sense.

view this post on Zulip Kevin Mayfield (Dec 11 2019 at 22:42):

Most of our errors were around SNOMED ECL, adding an expansion to the ValueSet stopped the errors from occurring

view this post on Zulip Rob Hausam (Dec 11 2019 at 23:59):

@Kevin Mayfield Do you mean pre-expanding the value set and including that expansion element and contents in the ValueSet resource instance in your IG?

view this post on Zulip Grahame Grieve (Dec 12 2019 at 00:06):

yes. it's a bad workaround but it works. I'll get to ECL soon

view this post on Zulip Sarah Gaunt (Jan 16 2020 at 06:12):

So using the new template I'm getting the errors that @Jose Costa Teixeira mentioned above:

The value provided ('path-output') is not in the value set http://hl7.org/fhir/ValueSet/guide-parameter-code|4.0.1 (http://hl7.org/fhir/ValueSet/guide-parameter-code, and a code is required from this value set) (error message = Unknown Code http://hl7.org/fhir/guide-parameter-code#path-output in http://hl7.org/fhir/guide-parameter-code)

I presume there is nothing I can do about these errors? Are they going to be sorted? Will these errors be waived by FMG if they are still there when we go to get approval (i.e. next week)?

view this post on Zulip Grahame Grieve (Jan 16 2020 at 06:14):

I don't know when they'll be sorted but they'll definitely be waived

view this post on Zulip Sarah Gaunt (Jan 16 2020 at 06:17):

Sweet - thanks!

view this post on Zulip Rick Geimer (Jan 20 2020 at 21:54):

Just a reminder that these errors are still showing up. Assuming they will still be waived until fixed.

view this post on Zulip Lloyd McKenzie (Jan 20 2020 at 22:08):

I've got a local-fix that addresses this. I've got one question outstanding w/ Grahame after which I'll commit and create a pull request


Last updated: Apr 12 2022 at 19:14 UTC