Open keithboone opened 4 years ago
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.
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-*
Note: Additional guidance for Composite Search Parameters
QuestionnaireResponse doesn't have a way to describe the time period associated with the responses.
How might this be addressed?