-
Notifications
You must be signed in to change notification settings - Fork 7
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
add phq-8 #12
add phq-8 #12
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
add phq-8
PR Type
enhancement, tests, documentation
Description
Changes walkthrough 📝
6 files
calculation_library.ts
Integrate PHQ-8 into calculation library
src/calculation_suite/calculations/calculation_library.ts
phq_8
.phq_8
in theCALCULATIONS
export.index.ts
Export PHQ-8 definitions
src/calculation_suite/calculations/phq_8/definition/index.ts
phq8_interpretation.ts
Define PHQ-8 interpretation table
src/calculation_suite/calculations/phq_8/definition/phq8_interpretation.ts
phq_8_inputs.ts
Define PHQ-8 input questions and answers
src/calculation_suite/calculations/phq_8/definition/phq_8_inputs.ts
phq_8_output.ts
Define PHQ-8 output structure
src/calculation_suite/calculations/phq_8/definition/phq_8_output.ts
phq_8.ts
Implement PHQ-8 calculation logic
src/calculation_suite/calculations/phq_8/phq_8.ts
2 files
phq_8_test_responses.ts
Add test data for PHQ-8 responses
src/calculation_suite/calculations/phq_8/testdata/phq_8_test_responses.ts
phq_8.test.ts
Add unit tests for PHQ-8 calculation
src/calculation_suite/calculations/phq_8/phq_8.test.ts
1 files
phq_9.test.ts
Fix PHQ-9 test for severe depression interpretation
src/calculation_suite/calculations/phq_9/phq_9.test.ts
1 files
README.md
Add documentation for PHQ-8
src/calculation_suite/calculations/phq_8/README.md
interpretation.