Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How might one search for QuestionnaireResponse for a given period. #100

Open
keithboone opened this issue Jun 2, 2020 · 3 comments
Open
Assignees

Comments

@keithboone
Copy link
Member

QuestionnaireResponse doesn't have a way to describe the time period associated with the responses.

How might this be addressed?

@GinoCanessa
Copy link
Collaborator

GinoCanessa commented Jun 3, 2020

The collection date is currently captured in an item on the Questionnaire (e.g., here).

Searching for QuestionnaireResponses based on date would require a custom search parameter with something like: QuestionnaireResponse.item.where(linkId='collectionDate').answer.valueDate.

Also, it's been brought up that Questionnaires do not allow the Period datatype, so if we want to be able to capture a date range, it will need to be in two fields.

@keithboone
Copy link
Member Author

keithboone commented Jun 5, 2020

Define a search parameter that allowed for QuestionnaireResponse items to be returned based on the answer given to a specific question.

Follow the pattern used by Observation code-value query parameters, use item-value-*

@keithboone keithboone self-assigned this Jun 5, 2020
@GinoCanessa
Copy link
Collaborator

Note: Additional guidance for Composite Search Parameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants