Stream: IG creation
Topic: warning aboutQuestionnaireResponse.questionnaire in the IG
Diane (Mar 01 2022 at 22:33):
In our example QuestionnaireResponses in our IG, for QuestionnaireResponse.questionnaire, we kept the same value that was used when we submitted the Questionnaire to create the QuestionnaireResponse.
For example: https://ourfhirserver.com/jpaserver/fhir/Questionnaire/AEQuestionnaire|19.
However, we are now getting this warning against the QuestionnaireResponse in the IG:
The questionnaire 'https://ourfhirserver.com/jpaserver/fhir/Questionnaire/AEQuestionnaire|19' could not be resolved, so no validation can be performed against the base questionnaire.
What should we use instead in the QuestionnaireResponse.questionnaire element? Is the problem that ourfhirserver.com is not visible to the IG? Instead of using our actual ourfhirserver.com url should we use an example like example.com instead? Is there a way to reference the Questionnaire included in the IG?
Lloyd McKenzie (Mar 01 2022 at 23:05):
The Questionnaire needs to be 'visible' to the validator. That means that it needs to be in the same IG that contains the QuestionnaireResponse or in one of the IG's dependencies. We could also specify a server the validator is to search for stuff it can't find in the referenced packages, but I don't think that's a feature yet.
Last updated: Apr 12 2022 at 19:14 UTC