FHIR Chat · Hook passing back a Questionnaire · cds hooks

Stream: cds hooks

Topic: Hook passing back a Questionnaire


view this post on Zulip Lloyd McKenzie (Aug 02 2018 at 05:17):

One of the things DaVinci CRD would like to be able to do is to send back forms (Questionnaires) that would need to be completed and submitted with any claim. Ideally these would come back as cards containing the Questionnaire resources. However, it's not clear what the appropriate Suggestion.action.type would be. Opinions on how this should be handled?

view this post on Zulip Aziz Boxwala (Aug 02 2018 at 05:35):

Hi @Lloyd McKenzie I expect to be working on almost this problem, so happy to contribute to this activity.

Here are some options:
1. In one project I am involved in right now, we're implementing the request to fill a QuestionnaireResponse as a ProcedureRequest whose code is the questionnaire's LOINC code, and category is a SNOMED code for evaluation. Doesn't seem completely right but is reasonable.
2. In Health eDecisions (pre FHIR PlanDef) we had a CompleteInformationAction class. An equivalent in FHIR might be a new resource DocumentationRequest.
3. Create a Task resource to fill a QuestionnaireResponse.

Consider the above as thinking out loud.

On a related note, we implemented internally a cds-hook where the trigger is a QuestionnaireResponse being completed. That also might be useful in the DaVinci flow.

view this post on Zulip Lloyd McKenzie (Aug 02 2018 at 05:39):

Ok. I think DiagnosticRequest would be better than ProcedureRequest, though they both merge into ServiceRequest. Task might be better yet. So in that case, you'd have the service passing back both a Task and the Questionnaire the Task points to. (The payer almost certainly would not have a RESTful endpoint the Task could point at to query the server.) So would you send that as a Bundle containing both resources? What's the correct action to process a batch/transaction?

view this post on Zulip Lloyd McKenzie (Aug 02 2018 at 05:41):

As I think about it more, the Questionnaire is something that would typically need to be included as part of a Claim or pre-authorization request. So we'd possibly want to tie it to that too. A draft Claim that points to a draft (empty) QuestionnaireResponse that points to a Questionnaire?

view this post on Zulip Lloyd McKenzie (Aug 02 2018 at 05:41):

(Made more entertaining by the fact that all of that might have to be converted to X12 before actually sending it to the payer... :))

view this post on Zulip Aziz Boxwala (Aug 02 2018 at 15:48):

The risk is that Task is not widely implemented. But as long as it is a transient thing that is sent within the hook response (for the client to consume/interpret and then discard) we may be okay.

view this post on Zulip Aziz Boxwala (Aug 02 2018 at 15:51):

I see the concern about the bundle - after finishing my cupmug of tea.

view this post on Zulip Lloyd McKenzie (Aug 03 2018 at 22:10):

Hope your mug was good :) Is it legitimate to pass back a FHIR batch or transaction as a recommendation? If so, what's the correct action type?

view this post on Zulip Aziz Boxwala (Aug 07 2018 at 19:19):

Hope your mug was good :) Is it legitimate to pass back a FHIR batch or transaction as a recommendation? If so, what's the correct action type?

That's a question for someone more intimate with the spec development, perhaps @Kevin Shekleton

view this post on Zulip Kevin Shekleton (Aug 07 2018 at 20:27):

@Lloyd McKenzie - I don't recall anyone ever talking about this. It sounds like a great Connnectathon use case. I don't see anything wrong with that and it would be great to see implementation around this

view this post on Zulip Lloyd McKenzie (Aug 07 2018 at 20:43):

We'll plan to bring it to Connectathon as part of DaVinci. Thoughts on what the correct "action" should be to execute a batch/transaction? Is it legimate for us to introduce a new action for connectathon purposes?

view this post on Zulip Aziz Boxwala (Aug 08 2018 at 03:41):

I'd like to be involved in that, but cannot do in September. If you decide to continue on this activity in the Jan connectathon, I can participate.

view this post on Zulip Lloyd McKenzie (Aug 08 2018 at 03:51):

I'm pretty sure DaVinci will be running in January too.

view this post on Zulip Kevin Shekleton (Aug 08 2018 at 13:22):

Would this batch/transaction still be a suggestion for the user to act upon? Or, is this something the CDS Service is wanting the CDS Client (aka, EHR) to execute regardless of the user's choice?

view this post on Zulip Lloyd McKenzie (Aug 08 2018 at 14:00):

This would be a suggestion for the user to act on (above/in addition to what they're doing now). It'd be the equivalent of saying "in addition to prescribing drug X, you should also order lab test Y monthly for the next 6 months to make sure the drug isn't killing the patient's liver". In this case, the 'extra' suggestion is "Add 'filling out form X" to my task list" - where there's a need to store both the Task and the Questionnaire (though the Questionnaire piece in the transaction would probably be set to create if not exists)

view this post on Zulip Aziz Boxwala (Aug 21 2018 at 00:27):

@Lloyd McKenzie : I don't see DiagnosticRequest in STU3 or in build.

Ok. I think DiagnosticRequest would be better than ProcedureRequest, though they both merge into ServiceRequest. Task might be better yet. So in that case, you'd have the service passing back both a Task and the Questionnaire the Task points to. (The payer almost certainly would not have a RESTful endpoint the Task could point at to query the server.) So would you send that as a Bundle containing both resources? What's the correct action to process a batch/transaction?

view this post on Zulip Lloyd McKenzie (Aug 23 2018 at 14:10):

DiagnosticRequest was STU2. In STU3, DiagnosticRequest merged into ProcedureRquest. In R4 it merges again into ServiceRequest


Last updated: Apr 12 2022 at 19:14 UTC