Introduction¶
The DSH plugin ecosystem provides a “everything is a plugin” development philosophy, enabling developers to quickly compose capabilities. However, in patient-facing healthcare scenarios, how to organize health data, medication records, and medical advice into an actionable, shareable interface remains a concrete challenge. Existing solutions either rely on third-party platforms or require developers to implement substantial UI and logic on their own.
Below is an introduction to flying-ovaltine/chronic-care-workbench — a chronic care dashboard plugin designed for the patient themselves. It organizes data and recommendations with a “symptoms first, numbers second” logic and provides a ready-to-copy health briefing.
What It Is¶
chronic-care-workbench is a DSH plugin that presents a chronic disease management dashboard for the patient themselves. It is maintained by flying-ovaltine and categorized as a “Client” plugin. It organizes health profiles, medication timelines, and trend charts into a three-column panel, and includes a built-in “Kang You Fang” skill that provides tiered health advice and a four-level medical referral recommendation.
The plugin does not connect to the internet, does not load any CDN resources, uses self-contained SVG for trend charts, and stores all data only in the local browser’s localStorage.
Core Features¶
- Three-column care panel
- The left sidebar panel “Chronic Care Management” contains three columns: health profile, medication timeline, and report.
-
Each metric record includes the value, unit, measurement date, measurement conditions, and an A/B/C reliability rating: C-level data does not participate in target-achievement conclusions.
-
Medication timeline
- Records drug name, dosage, start/end times, and the decision maker (physician-ordered / self-adjusted).
-
Self-adjusted medications are highlighted separately in the report section, prompting the user to contact a physician as soon as possible. No judgment is made and no new dosage is suggested.
-
Self-contained trend charts
- One sub-chart per metric, rendered with inline SVG — no internet connection or CDN required.
-
Target ranges are marked with a light-colored band, medication events are drawn as vertical lines, and self-adjusted medications use red dashed lines.
-
Emergency red line
-
Sudden severe headache / unilateral weakness / chest pain or tightness lasting over 10 minutes / dyspnea or pink frothy sputum / altered consciousness with hypoglycemia / nausea and vomiting with deep rapid breathing and somnolence / sudden reduction in urine output with edema — if any one of these is triggered, the banner immediately turns red and moves to the top, showing only “What to do now” and “Seek immediate medical care / Call 120 (emergency services),” with all other content collapsed.
-
Pregnancy gate
- For female users, the first question is “Are you pregnant or planning to conceive within the next six months?”
-
If the answer is ambiguous or not provided, the system treats it as “possibly pregnant”: medication advice is paused, a physician verification checklist is listed (ACEI/ARB, statins, semaglutide, SGLT2i, urate-lowering drugs, anticoagulants), and a referral to OB/GYN + prescribing specialist for co-management is recommended.
-
Three-part conclusion + four-level medical referral
-
Provides three sections — health advice, dietary guidance, and medical referral advice — labeled with 🟢 home care / 🟡 outpatient follow-up / 🟠 urgent specialist visit / 🔴 immediate ER visit.
-
Copy health briefing
-
One click to package the health profile and conclusions into the clipboard, ready to paste into a conversation.
-
Glossary
- The panel includes simple explanations, e.g., “Systolic BP = the top number when measuring blood pressure.”
Installation & Activation¶
Run the following command in the terminal to install:
dsh plugin --profile web add "https://github.com/flying-ovaltine/chronic-care-workbench/releases/latest/download/dsh-chronic-care-team.tgz"
Or search for “chronic care” in the DSH interface under “Plugins → Plugin Marketplace.”
After installation, a “Chronic Care Management” entry will appear in the left sidebar, and “chronic-care-team” will appear in the skill list.
Typical Usage¶
- Open “Chronic Care Management” in the left sidebar and first fill in gender and age (required by the pregnancy gate).
- Enter each metric and medication entry one by one; note any discomfort under “Symptoms.”
- Click “Copy Health Briefing” and paste it into a conversation to send.
- The conversation generates a three-part conclusion according to the “chronic-care-team” rules; paste the conclusion back into the panel for record-keeping.
Applicable Scenarios & Notes¶
- Suitable for developers and medical teams that need to provide patients with structured health data display and medical pathway guidance.
- The plugin runs with the current DSH process privileges; it is recommended to review the source code and license (MIT © Yang Yang) before installation.
- The plugin does not connect to the internet, does not load CDN resources, and does not upload any data to third parties. For privacy and boundary details, see the README.
Conclusion¶
chronic-care-workbench provides a patient-facing chronic care dashboard, organizing health profiles, medication timelines, and trend charts into an actionable, shareable interface. It is well-suited for scenarios requiring rapid construction of patient-side health management.
- Directory page: https://www.skillhub.cn/plugins/flying-ovaltine/chronic-care-workbench
- GitHub: https://github.com/flying-ovaltine/chronic-care-workbench