{"id":28003534,"url":"https://github.com/repronim/reproschema2cde","last_synced_at":"2025-05-09T02:07:51.519Z","repository":{"id":273603587,"uuid":"920269692","full_name":"ReproNim/reproschema2cde","owner":"ReproNim","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-25T02:50:25.000Z","size":104,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-09T02:07:24.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ReproNim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-21T21:17:29.000Z","updated_at":"2025-02-25T04:46:31.000Z","dependencies_parsed_at":"2025-01-21T22:27:34.075Z","dependency_job_id":"e6e4a0c9-b5e2-4fa2-9bfd-7792a39ff139","html_url":"https://github.com/ReproNim/reproschema2cde","commit_stats":null,"previous_names":["sensein/reproschema-mapping","repronim/reproschema-mapping","repronim/reproschema2cde"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Freproschema2cde","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Freproschema2cde/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Freproschema2cde/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Freproschema2cde/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReproNim","download_url":"https://codeload.github.com/ReproNim/reproschema2cde/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253176446,"owners_count":21866143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-09T02:07:46.658Z","updated_at":"2025-05-09T02:07:51.507Z","avatar_url":"https://github.com/ReproNim.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReproSchema to NDA Converter\n\nConvert [NIMH-Minimal](https://www.repronim.org/nimh-minimal/#/) ReproSchema responses to [NDA (National Data Archive) Common Data Elements (CDE) format](https://nda.nih.gov/nda/nimh-common-data-elements). This tool helps standardize mental health assessment data collection by mapping ReproSchema responses to NDA's required formats.\n\n## Features\n\n- Converts ReproSchema response files to NDA CDE format\n- Supports multiple mental health assessments (see [here](https://github.com/ReproNim/nimh-minimal)):\n  - DSM-5 Cross-Cutting (Adult, Youth, Parent/Guardian)\n  - GAD-7\n  - PHQ-9\n  - RCADS (Youth and Caregiver)\n  - WHODAS\n- Handles subject demographics data\n- Maintains data consistency through template validation\n- Combines multiple responses for the same assessment when needed\n- Debug modes for troubleshooting\n\n## Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/your-org/reproschema-mapping.git\ncd reproschema-mapping\n\n# Install dependencies\npip install -e .\n```\n\n## Usage\n\n### Basic Usage\n\n```bash\npython scripts/process_mapping.py --response-dir /path/to/responses --cde-dir /path/to/cde --output-dir /path/to/output\n```\n\n### Debug Modes\n\nFor troubleshooting, use one of the debug modes:\n\n```bash\n# Process single file\npython scripts/process_mapping.py --debug single\n\n# Process all files with detailed logging\npython scripts/process_mapping.py --debug full\n\n# Process all files with summary statistics\npython scripts/process_mapping.py --debug summary\n```\n\n## Directory Structure\n\n```bash\n.\n├── data/\n│   └── nda_cde/          # CDE definition and template files\n│\n├── scripts/\n│   └── process_mapping.py # Main processing script\n├── src/\n│   └── rs2nda/          # Core conversion logic\n└── tests/               # Test suite\n```\n\n## Running Tests\n\n```bash\npytest tests/ -v --asyncio-mode=auto\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepronim%2Freproschema2cde","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frepronim%2Freproschema2cde","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepronim%2Freproschema2cde/lists"}