Skip to content

Add functions to fetch questionnaire content and its attributes 📋 #35

@arthur-shaw

Description

@arthur-shaw

Ideas

Get question details

  • Get question's type
  • Get question's scope
  • Get multi-select answer options (for a given translation language)
  • Get question's question text (e.g., if only label appears in dset)

Get questionnaire details

  • Get identifying questions (for a given questionnaire)
  • Get questions of scope X

Documentation

  • Create section in reference index page
  • Write vignette on working with questionnaire content

Execute custom queries

This would require the end user to compose a valid GraphQL query and provide it as a character string to the query client. The user would then be responsible for processing the result.

Background

There are two GraphQL "interfaces" for gettting this type of information:

1. questionnaires(...): Entity

Image

Image

2. questionnaireItem(...) [QuestionnaireItem]

Image

Image

There is overlap between the two interfaces. Need to explore whether one is better than the other or the two offer different interfaces for different entities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    epic 🗻Epic containing several related issues

    Projects

    Status

    Backlog 📇

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions