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

QuestionnaireResponse.age_at_response duplicates Visit.age_at_visit_start linked through QuestionnaireResponse.associated_visit #22

Open
diatomsRcool opened this issue Oct 25, 2024 · 1 comment

Comments

@diatomsRcool
Copy link
Contributor

Does QuestionnaireResponse.age_at_response duplicate Visit.age_at_visit_start because these are linked through QuestionnaireResponse.associated_visit?

@bfurner
Copy link
Collaborator

bfurner commented Oct 28, 2024

Currently QuestionnaireResponse.associated_visit is an optional attribute to handle the potential use case of questionnaires administered outside of an obviously associated visit. Also, it is conceivable that a visit spans numerous days (e.g. an inpatient stay) and that a questionnaire may be administered on one day of a multiple-day visit and one wants to be able to track on which particular day a response is given. In either of these use cases, having the ability to provide an QuestionnaireResponse.age_at_response would be useful.

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

No branches or pull requests

2 participants