FHIR Chat · FhirPath extension for Questionnaire.item · questionnaire

Stream: questionnaire

Topic: FhirPath extension for Questionnaire.item


view this post on Zulip Kenneth Myhra (Jun 18 2018 at 11:39):

Is there an already existing FhirPath HL7 extension for Questionnaire.item for which I can use to add a feature to dynamically populate the Questionnaire based on the current run-time environment/context. The concept is similar to the intial attribute, but instead I want this to be a dynamic feature by using the data from other FHIR resources based on the current run-time environment/context of the Questionnaire.

I found this: https://www.hl7.org/fhir/2017Jan/extension-structuredefinition-expression.html, but I can't find this in the official STU3 specification

view this post on Zulip Lloyd McKenzie (Jun 18 2018 at 11:51):

You're trying to define a custom set of options for a 'choice' item or you're trying to define allowed values for a 'Reference' item?

view this post on Zulip Kenneth Myhra (Jun 18 2018 at 12:37):

I would like to do something along the lines of : Questionnaire.item.fhirpath = "Patient.name.select(given & ' ' & family)", then based on that I would extract the data, based on some kind of context, and populate the answer in QuestionnaireResponse. Our scenario is probably an edge case, but I was wondering if there was an extension in the official extension registry that could kind of fit our scenario.

view this post on Zulip Lloyd McKenzie (Jun 18 2018 at 12:42):

The quick answer is "not yet, but we hope to have one in the next 1-2 months". Standardized mechanisms for populating a Questionnaire and for extracting data from a questionnaire, including scenarios like the one you listed, will be one of the discussion topics for DevDays this week and the SDC implementation guide will be trying to nail down that guidance before we lock things down for ballot in mid-August.

view this post on Zulip Kenneth Myhra (Jun 18 2018 at 13:04):

Great, thanks!


Last updated: Apr 12 2022 at 19:14 UTC