Stream: IG creation
Topic: Questionnaire could not be resolved
Caleb Wan (Oct 06 2021 at 16:10):
This QuestionnaireResponse instance includes a valid URL pointing to a questionnaire:
https://build.fhir.org/ig/HL7/fhir-pacio-cognitive-status/branches/master/QuestionnaireResponse-QResponse-SNF-BIMS-1.html
But the QA report https://build.fhir.org/ig/HL7/fhir-pacio-cognitive-status/branches/master/qa.html issued this warning about the URL:
The questionnaire 'https://build.fhir.org/ig/HL7/fhir-pacio-cognitive-status/MDS3.0-NC-1.17' could not be resolved, so no validation can be performed against the base questionnaire
I can confirm that the URL is good and can be used to download the questionnaire.
Is the warning implying that the questionnaire is no good and should be changed?
Would appreciate your suggestion for handling this warning.
Lloyd McKenzie (Oct 06 2021 at 16:31):
The URL you're providing is a web URL, not the canonical URL. You need to say "https://api.logicahealth.org/PACIO/open/Questionnaire/MDS3.0-NC-1.17" which is what's in the Questionnaire.url element.
Caleb Wan (Oct 06 2021 at 16:48):
Using the canonical URL would still result with the same warning:
QuestionnaireResponse (l8/c91) warning The questionnaire 'https://api.logicahealth.org/PACIO/open/Questionnaire/MDS3.0-NC-1.17' could not be resolved, so no validation can be performed against the base questionnaire
Lloyd McKenzie (Oct 06 2021 at 18:40):
Is the IG that defines that Questionnaire passed as one of the IGs available to the validator?
Caleb Wan (Oct 07 2021 at 23:01):
@Lloyd McKenzie Since our main interest is to show sample observation instances and it is not really necessary to reference the questionnaire, so we have followed your suggestion of just using “http://example.org” as the canonical URL for the questionnaire to avoid validation. However, I am still seeing the warning in the QA:
QuestionnaireResponse (l8/c41) warning The questionnaire 'http://example.org' could not be resolved, so no validation can be performed against the base questionnaire
Grahame Grieve (Oct 07 2021 at 23:08):
then that's a IG publisher bug. This is in SDC?
Caleb Wan (Oct 07 2021 at 23:26):
No, not in SDC, just QuestionnaireResponse.
Grahame Grieve (Oct 07 2021 at 23:50):
how do I reproduce it?
Caleb Wan (Oct 08 2021 at 01:12):
I changed to use SDC QR and still I am seeing the warning.
The QA report is here: https://build.fhir.org/ig/HL7/fhir-pacio-functional-status/branches/master/qa.html
An example is here: https://build.fhir.org/ig/HL7/fhir-pacio-functional-status/branches/master/QuestionnaireResponse-QResponse-SNF-Admission-Mobility-SelfCare-1.html
You can see the FSH code for the example in the file fsh/SelfCare-BundledObservationInstances.fsh
Grahame Grieve (Oct 08 2021 at 02:11):
ok. next release (coming out tomorrow) will change that to a hint that you should suppress. In general, I would prefer that the canonical URL was something like http://example.org/Questionnaire/example" rather than just http://example.org, but it doesn't really matter
Caleb Wan (Oct 08 2021 at 03:38):
Thank you Grahame. I will change the URL as suggested.
Ramandeep Dhanoa (Oct 08 2021 at 03:56):
I am having the same warning messages in SDC IG QA as well. Thank you for pointing this out @Caleb Wan
Caleb Wan (Oct 18 2021 at 15:15):
@Grahame Grieve I am still seeing the same kind of message in the QA with the latest publisher release 1.1.82:
QuestionnaireResponse (l13/c70) information The questionnaire 'http://example.org/Questionnaire/MDS3.0-NC-1.17' could not be resolved, so no validation can be performed against the base questionnaire
Grahame Grieve (Oct 18 2021 at 19:00):
it's information message now. That's how it's going to stay
Caleb Wan (Oct 18 2021 at 20:46):
OK. I will suppress the information message and indicate that it is due to tooling. Hopefully, the publication request for the IG can move forward to TSC for approval.
Last updated: Apr 12 2022 at 19:14 UTC