Hello Dr. Boyce,
I would like to contribute to the StudyAgent project by implementing the Cohort Method component. I understand that the current focus is on phenotyping, but it appears that the long-term goal is to cover the full scope of OHDSI studies.
The attached image below outlines a simplified workflow I drafted for the strategus_cohort_method_shell.R process.
- For the comparator settings, I plan to follow a structure similar to the currently implemented Strategus incidence shell.
- For the analytic settings, I am considering two approaches:
- allowing users to manually specify each component (for users familiar with OHDSI studies)
- generating specifications automatically using an LLM based on study intent or more detailed free-text descriptions.
You may recall that I previously presented a framework called THESEUS with Minseong Kim (burnout909 (김민성) · GitHub) under the guidance of @SCYou .
It is designed to convert natural-language study descriptions into structured JSON-based specifications and Strategus scripts.
I believe this approach could be integrated via ACP/MCP to support analysis specification recommendations within the Strategus Cohort Method shell.
If this direction aligns with the project, I will proceed with the implementation and submit a pull request once it is complete.
