Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-28579

Allow answerExpression to return ValueSet.expansion.contains structures

    XMLWordPrintableJSON

    Details

    • Type: Change Request
    • Status: Resolved - No Change (View Workflow)
    • Priority: Medium
    • Resolution: Not Persuasive
    • Specification:
      Structured Data Capture (SDC) (FHIR)
    • Raised in Version:
      2.7.0
    • Work Group:
      FHIR Infrastructure
    • Related Artifact(s):
      Advanced Behavior Questionnaire
    • Grouping:
    • Resolution Description:
      Hide

      answerExpression is an extension and Extension.value is constrained to a specific list of types - and we can't have BackboneElement-based types.  Suggest submitting a new change request against FHIRPath that would provide a way to easily convert types from ValueSet.expansion.contains (and maybe certain other backbone elements?) to Coding.

      Show
      answerExpression is an extension and Extension.value is constrained to a specific list of types - and we can't have BackboneElement-based types.  Suggest submitting a new change request against FHIRPath that would provide a way to easily convert types from ValueSet.expansion.contains (and maybe certain other backbone elements?) to Coding.
    • Resolution Vote:
      Paul Lynch/Koray Atalag: 9-0-1

      Description

      answerExpression currently can return a list of Codings.  ValueSet.expansion.contains is very similar to a Coding, having matching field names for system, code, and display.  Although we also have answerValueSet, if one has a expanded ValueSet in Questionnaire.contained, one could use answerExpression to pull in, and possibly filter it with FHIRPath "where" statements.

      The one potential issue I see is that there can be a nested structure of ValueSet.expansion.contains, but if the list widget supports that for answerValueSet, it should not be difficult to handle that for answerExpression.

      chat discussion:  https://chat.fhir.org/#narrow/stream/179255-questionnaire/topic/answerExpression.20and.20ValueSet.20expansions.3F

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            plynch Paul Lynch
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Vote Date: