Stream: questionnaire
Topic: Turning Modules on and Off
Grahame Grieve (Feb 18 2022 at 00:35):
A couple of questions prompted by a discussion with a potential SDC collaborator.
Grahame Grieve (Feb 18 2022 at 00:41):
The idea that they have is that there's a pretty comprehensive questionnaire, and then participants in a referral eco-system choose which sections of the questionnaire they choose to require participants to fill in, all the while basing on the common questionnaire.
Grahame Grieve (Feb 18 2022 at 00:41):
Has anything like this been discussed?
Lloyd McKenzie (Feb 18 2022 at 15:10):
Yes. There's an extension you can put in a 'base' Questionnaire that indicates which items need to be retained on derivation and which can be dropped. http://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-optionalDisplay.html
Diane (Feb 18 2022 at 19:25):
@Grahame Grieve
I am a newby, but I had a question about your potential SDC collaborator's intentions around assigning questions to be completed.
Will these be static?
eg. All patients will complete questions 1-20, but only some patients will complete questions 20-40 as well.
or do they envision something dynamic?
eg. Patient A will complete questions 2, 5, 8, 10-20, 38-39
Patient B will complete questions 25-30 only
Patient C will complete questions 1, 3, 19, 27-32
If they wanted to do something dynamic, I think this is possible as well. The practitioner could complete a questionnaire ("Assigned Questions Questionnaire") with checkboxes for which questions that the specific patient is being assigned to complete. The Questionnaire Response for the "Assigned Questions Questionnaire" can be passed to the patient's individual questionnaire via the launchContext extension and stored in a variable. The questions in the "Master Comprehensive Questionnaire" can have enableWhen extensions on each of them that will use fhirpath to check the variable containing the QR for the Assigned Questions Questionnaire and conditionally enable/disable the questions based on whether or not the practitioner had checked the checkbox when they completed the "Assigned Questions Questionnaire".
There would probably need to be Task resources prompting the practitioner and patient to complete their Questionnaires. I am still learning about Tasks.
Grahame Grieve (Feb 18 2022 at 21:48):
well, the context of the question is, a particular referral target provides the full set of every question they might want answered for different kinds of referrals, but the referrers don't agree that they're going to take to the time to fill all the questions out, and they make that agreement at the healthcare service level.
This is already how it works on paper - the doctor gets a photocopy of the relevant pages to fill out as agreed in the local area health network. Don't look at me - sounds like a dreadful hack, but that's what they've agreed.
Diane (Feb 18 2022 at 22:15):
I think FHIR SDC can replace the photocopies.
If the questions to complete are based on something like the referrer type (eg. Dermatology vs. Orthpedics), maybe the practitioners can reference a Group or Organization resource. Or if it is by Healthcare System (eg. Western Province Hospital System vs. Southern Province Hospital System).
The launchContext extension can pass any resource into the Questionnaire. It is extensible. So the "Master Comprehensive Questionnaire" could have enableWhen extensions on each question (or group of questions) that have fhirpath expressions controlling whether the question is enabled based on the referring Practitioner's group (or the receiving Practitioner's group or organization).
@Lloyd McKenzie will have some suggestions.
Lloyd McKenzie (Feb 18 2022 at 23:00):
I think in this case, we're talking about deriving Questionnaires from existing Questionnaires - and a human being is making manual decisions about what they want to strip out, while complying with rules that limit what they're allowed to strip out. I think the extension I originally referenced is the solution.
Brian Postlethwaite (Feb 19 2022 at 06:47):
This sounds more like the healthcare service defining the set of questionnaires to be filled in.
Some might be required and others might be mandatory.
Happy to chat to you on this one how we did the sctt referral forms.
Brian Postlethwaite (Feb 19 2022 at 06:48):
Or another option coukd be to provide a healthcare service as a launch context to drive conditional mandatory fields and/or enable when to show/hide content.
Last updated: Apr 12 2022 at 19:14 UTC