Stream: argonaut
Topic: Example Questionnaires
Dave Carlson (Sep 21 2018 at 02:55):
While testing the example questionnaire resources provided for the connectathon track, I've found a few errors. Three of the examples include the 'questionnaire-hidden' extension on the top-level item group. I believe this will cause all child items to be hidden, and thus the entire questionnaire? Assume that this extension was intended to hide only the first 'display' type item, so move the extension into that item? See questionnaire-example-audit, questionnaire-example-asq3, and questionnaire-example-housing
Dave Carlson (Sep 21 2018 at 03:01):
I submitted Issue #17910 to clarify use of the text element on a group-type item (it was accepted). The group text element is intended to be a short section name, correct? This guideline is not followed in example 'questionnaire-example-audit'. Suggest that this long text string be moved into a display type item within that group.
Dave Carlson (Sep 21 2018 at 03:05):
In the phq9 questionnaire, the item with linkId 'g1.s' is a display type, but it also includes a code element. This violates constraint "que-3" on the Questionnaire resource.
Eric Haas (Sep 21 2018 at 04:33):
Thanks for the heads up I missed that hidden affect descendant items.
Eric Haas (Sep 21 2018 at 04:36):
I thought I had fixed the code on a display.
Eric Haas (Sep 26 2018 at 18:12):
OK I fixed the examples and added a readonly/hidden total score question to PHQ9, but I have updated the test renderer to handle this correctly in the forms view but I may show up in the adaptive view as a question until I can fix that (it will show up as any other question. Will discuss whether we how we support this in the simple flat form this weekend.)
Dave Carlson (Sep 26 2018 at 21:58):
Thanks Eric. I implemented support for hidden items in my rendering app and most of these examples now work. Except the DAST example still has hidden on the top item, so it has no available questions. For the Audit example, my app correctly displays only the second display-type item.
Dave Carlson (Sep 26 2018 at 21:58):
I'll see you this weekend, although will be mostly occupied with leading the Care Management track.
Eric Haas (Sep 26 2018 at 22:03):
let me check DAST
Eric Haas (Sep 26 2018 at 22:04):
forgot to update that one
Dave Carlson (Sep 26 2018 at 22:07):
:thumbs_up:
Eric Haas (Sep 26 2018 at 22:19):
fixed DAST, I left both the group and display as hidden for scoring. I know that the display extension is technically superfluous but won't be flagged as hidden for my application right now. I'll fix it when I get a chance.
Dave Carlson (Sep 27 2018 at 02:12):
Assume you changed the group "g2" that contains scoring question? Problem I still have is that the first group "g1" is hidden, which hides all questions.
Dave Carlson (Sep 27 2018 at 03:00):
Ah, I see that you have hidden = false for "g1". It's working, cool!
Eric Haas (Sep 27 2018 at 14:30):
yes I just edited the boolean values.
Last updated: Apr 12 2022 at 19:14 UTC