How gel1has3/cds-web-app works
This is a Streamlit clinical decision-support application for pregnancy care, aimed at point-of-care use in low-resource settings. The visible user journey is login, pregnancy symptom entry, and clinical-pathway generation; the README additionally describes a hybrid knowledge/data-driven approach and clinician review of generated pathways. The graph preserves the documented ANC/PNC and evidence-based capabilities, but sampled excerpts do not establish every downstream call or the full Bayesian-model lifecycle, so uncertain links are omitted.
Main entry points: cp_Processing.py Pathway processing · CP_login.py Login and menu · pregnantPatient_Workflow.py Pregnancy workflow · cp_endrosment.py Clinician endorsement
Components 19
Access and workflow
- Login and menu
CP APPs (V2 on progress)/CP_login.py - Pregnancy workflow
CP APPs (V2 on progress)/pregnantPatient_Workflow.py - Symptom capture
CP APPs (V2 on progress)/pregnantPatient_Workflow.py - User database
CP APPs (V2 on progress)/data.db
Clinical knowledge
- Guideline indicators
CP APPs (V2 on progress)/CG_rulesets_and_indicators.py - Indicator access
CP APPs (V2 on progress)/showCG_Indicators.py - Pregnancy rules
CP APPs (V2 on progress)/ThePregnantPathways_Rules.py - Rule access
CP APPs (V2 on progress)/getPregnantPatientRules.py - Management guidance
CP APPs (V2 on progress)/Mgmt_and_Suggestions.py - Recommendations
CP APPs (V2 on progress)/pregnantPatientRecommendations.py
Pathway generation
- Symptom processing
CP APPs (V2 on progress)/processing_Measured_Symptoms.py - Pathway processing
CP APPs (V2 on progress)/cp_Processing.py - Learned CP model
CP APPs (V2 on progress)/Pickle_CP_Model.pkl
Review and persistence
- Pathway pruning
CP APPs (V2 on progress)/cp_pruning.py - Clinician endorsement
CP APPs (V2 on progress)/cp_endrosment.py - CP data utilities
CP APPs (V2 on progress)/cp_tools.py - Pathway graph
CP APPs (V2 on progress)/generate_cp_graph.py - Endorsed pathways
CP APPs (V2 on progress)/ThePregnantPatient_EndrosedCPs.pkl
Other components
- Clinician
Connections 17
- Clinician → Login and menu: opens app
CP APPs (V2 on progress)/CP_login.py - Login and menu → User database: authenticates against
CP APPs (V2 on progress)/CP_login.py - Login and menu → Pregnancy workflow: opens workflow
CP APPs (V2 on progress)/CP_login.py - Pregnancy workflow → Symptom capture: collects symptoms
CP APPs (V2 on progress)/pregnantPatient_Workflow.py - Pregnancy workflow → Pathway processing: generates pathways
CP APPs (V2 on progress)/pregnantPatient_Workflow.py - Pathway processing → Indicator access: loads indicators
CP APPs (V2 on progress)/cp_Processing.py - Indicator access → Guideline indicators: reads rules
CP APPs (V2 on progress)/showCG_Indicators.py - Rule access → Pregnancy rules: loads rules
CP APPs (V2 on progress)/getPregnantPatientRules.py - Clinician → Clinician endorsement: selects pathways
CP APPs (V2 on progress)/cp_endrosment.py - Clinician endorsement → CP data utilities: formats selection
CP APPs (V2 on progress)/cp_endrosment.py - Clinician endorsement → Pathway graph: requests graph
CP APPs (V2 on progress)/cp_endrosment.py - CP data utilities → Endorsed pathways: reads or writes
- Pathway processing → Management guidance: uses guidance
CP APPs (V2 on progress)/cp_Processing.py - Pathway processing → Recommendations: uses recommendations
CP APPs (V2 on progress)/cp_Processing.py - Pathway processing → Learned CP model: uses learned model
- Pathway processing → Symptom processing: processes findings
- Clinician → Pathway pruning: filters results