Submitted:
09 August 2026
Posted:
11 August 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
1.1. Background and Motivation
1.2. The Scale Argument
1.3. Problem Statement
1.4. Contributions
- A free-text disease-resolution layer (Section 4.4) that accepts any disease name, binds known names to curated content, and produces a functional blank template for unknown names, making the set of expressible diseases open-ended rather than fixed.
- A field-importance and elimination model (Section 5.3 and Section 8.2) that classifies every input as crucial, useful, or unnecessary, hides the unnecessary, and progressively removes fields once symptoms are recorded, focusing the user only on what affects treatment, dose, or safety.
- A layered safety architecture (Section 7) comprising an explicit pre-treatment acceptance gate, a dosage reference that is gated on safety inputs and never computes a patient-specific dose, a deliberately blocked condition with redirection, at-rest protection of the local profile, and verbatim medical, warranty, liability, and intellectual-property notices.
- A transparent coverage analysis and clinical-content methodology (Section 6 and Section 10), including the structured elicitation prompts used to generate comorbidity, laboratory, and prevention content, an explicit distinction between representative and exhaustive data, and per-disease counts.
- A mapping (Section 7.6) of the application’s design to the United States Food and Drug Administration’s criteria for non-device clinical decision support software.
1.5. Organization
2. Related Work
2.1. Clinical Decision Support Systems
2.2. Mobile Health Applications and Their Regulation
2.3. Generative Artificial Intelligence in Medicine
2.4. Configuration-Driven and Model-Driven Software
2.5. Gap Analysis
3. Design Goals, Requirements, and Non-Goals
3.1. Functional Requirements
- The disease shall be a runtime parameter, enterable as free text, not a compile-time constant or a fixed menu.
- A recognized disease name shall load curated content; an unrecognized name shall load a navigable but empty template under that name.
- Each disease shall be expressible through a single declarative configuration object covering metadata, comorbidities, metrics, symptoms, blood tests, prevention measures, and treatments.
- The application shall present, per disease, structured pages for prevention, patient information, clinical metrics, comorbidities, symptom severity, a symptom summary, blood tests, treatment candidates, follow-up notes, and questions for the patient’s clinician.
- Content shall be searchable along multiple fields and modes.
- The application shall be able to assemble a summary suitable for handoff to the patient’s clinician.
- The application shall record which treatments the patient has already tried, and whether each was ineffective or not tolerated, and shall re-rank the remaining candidates so that already-failed interventions are de-emphasized.
- The application shall present, for each treatment, an availability status describing whether the intervention is currently obtainable, limited, investigational, or withdrawn.
- The application shall present a disease-prevention page, ahead of patient identifiers, describing how the selected condition may be avoided or its onset reduced.
3.2. Non-Functional Requirements
- Single-artifact deployability: the application shall build from one self-contained source file, simplifying maintenance and review in the author’s workflow.
- Cross-platform operation on macOS and iOS from a shared codebase.
- Reactive consistency: any change to the underlying state shall be reflected automatically in the interface.
- Graceful degradation: absence of content for a disease shall never produce an error state, only an explicit, informative absence.
- Local-first data handling: patient-entered data shall remain on the device unless the user explicitly initiates a handoff, and shall be protected at rest.
3.3. Safety and Ethical Requirements
- The application shall present information, not medical advice, and shall state this prominently.
- Treatment content shall not be reachable until the user has explicitly accepted a combined medical, safety, warranty, liability, and intellectual-property notice.
- The application shall never compute or display a patient-specific drug dose; any dosing content shall be reference-level and gated on the completion of required safety fields.
- AI-assisted content shall be labeled as such wherever it appears.
- Treatment availability and tried/ineffective status shall be presented honestly, so that neither an unavailable intervention nor one a patient has already failed is surfaced as though it were a fresh, obtainable option.
- The local patient profile shall be protected at rest, and no patient data shall leave the device except through an explicit, user-reviewed handoff.
- At least one condition (Long COVID and its synonyms) shall be deliberately blocked and redirected, demonstrating and enforcing scope boundaries.
3.4. Scope and Explicit Non-Goals
- It is not a diagnostic engine and does not output diagnoses.
- It is not a prescribing tool and does not compute personalized doses.
- It does not transmit patient health information autonomously; a clinician handoff composes a message that the user reviews and sends.
- It does not claim exhaustive clinical content; bundled data are representative samples at the level of drug classes and major associations.
- The prevention page describes general, literature-derived measures for discussion with a clinician; it is not a personalized prophylaxis plan.
- It does not claim regulatory clearance; it describes a design consistent with published non-device criteria.
| Organ / body system | Disease count | % of total |
| Whole-body / multi-system | 3,342 | 51.2% |
| Brain & nerves | 1,096 | 16.8% |
| Skin | 392 | 6.0% |
| Bone | 352 | 5.4% |
| Eye | 242 | 3.7% |
| Immune system | 209 | 3.2% |
| Endocrine glands | 196 | 3.0% |
| Blood | 183 | 2.8% |
| Other specialties (not individually mapped) | 515 | 7.9% |
| Total | 6,527 | 100% |
| Whole-body / multi-system subcategory | Disease count |
| Developmental defects (embryogenesis) | 2,109 |
| Neoplastic (cancers) | 496 |
| Inborn errors of metabolism | 398 |
| Infectious | 176 |
| Systemic / rheumatologic | 163 |

- product3 (classifications) — one XML file per medical classification hierarchy, mapping each disorder to its parent classification (e.g., “Rare cardiac disease,” “Rare skin disease”). These 34 hierarchies were remapped to 20 organ/body-part categories and 5 whole-body/multi-system categories for this project, since several hierarchies (e.g., cardiac and cardiac malformations) correspond to the same organ.
- product9 (disability) — disorder-level severity/disability annotations (SeverityDisability field: low / moderate / severe / complete / unspecified), mapped to a 1–4 numeric severity scale for future integration into Med App Gen’s workspace generation logic.
| Classification | Linearized (n) | % of n |
| Developmental defects (embryogenesis) | 2,109 | 32.3% |
| Neurological | 1,096 | 16.8% |
| Neoplastic | 496 | 7.6% |
| Inborn errors of metabolism | 398 | 6.1% |
| Skin | 392 | 6.0% |
| Bone | 352 | 5.4% |
| Ophthalmic | 242 | 3.7% |
| Immune | 209 | 3.2% |
| Endocrine | 196 | 3.0% |
| Haematological | 183 | 2.8% |
| Infectious | 176 | 2.7% |
| Systemic/rheumatologic | 163 | 2.5% |
| 1 | Neurological | Friedreich ataxia |
| 2 | Ophthalmic | Retinitis pigmentosa |
| 3 | Ear, nose & throat | Pendred syndrome |
| 11 | Maxillo-facial | Treacher Collins syndrome |
| 12 | Odontological | Amelogenesis imperfecta |
| 4 | Cardiac | Danon disease |
| 13 | Respiratory | Primary ciliary dyskinesia |
| 14 | Circulatory | Hereditary hemorrhagic telangiectasia |
| 20 | Thoracic surgical | Poland syndrome |
| 15 | Hepatic | Wilson disease |
| 5 | Endocrine | Multiple endocrine neoplasia type 1 |
| 6 | Immunological | Wiskott-Aldrich syndrome |
| 7 | Haematological | Fanconi anemia |
| 16 | Renal | Alport syndrome |
| 17 | Gastroenterological | Familial adenomatous polyposis |
| 10 | Abdominal surgical | Hirschsprung disease |
| 19 | Urogenital | Prune belly syndrome |
| 18 | Gynaecological/obstetric | Mayer-Rokitansky-Küster-Hauser syndrome |
| 8 | Skin | Epidermolysis bullosa |
| 9 | Bone | Osteogenesis imperfecta |
| 21 | Developmental | Beckwith-Wiedemann syndrome |
| 22 | Neoplastic | Li-Fraumeni syndrome |
| 23 | Metabolic | Gaucher disease |
| 24 | Infectious | Whipple disease |
| 25 | Systemic/rheumatologic | Behçet disease |
- Categories marked as containing fewer than 100 disorders in the source summary do not yet have an individually confirmed exact count; exact per-category figures require running the local Orphadata script against the current XML files.
- The organ/body-part categories used here are a project-specific remapping of Orphanet’s 34 native classification hierarchies, chosen to fit an organ-first workspace model; they are not an official Orphanet grouping.
- Severity scoring (1–4, from Orphanet’s SeverityDisability field) has been designed but not yet merged into the organ counts in this version of the report; that integration is the next step.
- Run orphadata_organ_severity_table.py locally against current Orphadata XML files to produce exact per-organ counts and severity scores.
- Integrate the resulting organ_counts.csv and disease_organ_map.csv into Med App Gen’s disease-specific workspace generation logic.
- Extend the 1–4 severity scale annotation across all organ categories, replacing placeholder “<100 (exact pending)” labels with confirmed counts.
4. System Architecture
4.1. Overview
4.2. The Configuration Model
4.3. Runtime State
4.4. Disease Resolution from Free Text
4.5. View Layer and Navigation
4.6. Persistence and Data Handling
5. The Domain Configuration Schema
5.1. Comorbidities
5.2. Numerical Metrics and Field Importance
5.3. Symptoms and the Implications of Severity
5.4. Blood Tests
5.5. Treatment Database and the Redesigned Record Format
5.6. Treatments Tried and Re-Ranking
6. Clinical Content and Methodology
6.1. Sourcing Approach
6.2. Structured Elicitation Prompts
6.3. Per-Disease Content Summary
6.4. Prevention Content
7. Safety Architecture
7.1. Information, Not Advice
7.2. The Pre-Treatment Acceptance Gate
7.3. The Dosage Gate and the No-Personalized-Dose Boundary
7.4. The Deliberately Blocked Condition
7.5. Disclaimers, Warranties, Liability, and Intellectual Property
7.6. Mapping to Non-Device Decision-Support Criteria
7.7. Local Data Protection
8. User Interaction and Workflow
8.1. Navigation and Pages
8.2. Field Importance and Progressive Elimination
8.3. Search
8.4. Clinician Handoff
8.5. The Treatment Card and Its Status Markers
8.6. Recording Treatments Tried
8.7. Visual and Animation Layer
9. Implementation
9.1. Single-File SwiftUI Architecture
9.2. View Decomposition
9.3. Cross-Platform Operation
9.4. Asset Pipeline
9.5. Ranking as a Shared, Testable Routine
10. Evaluation and Discussion
10.1. Coverage Analysis
10.2. Strengths
10.3. Limitations
10.4. Threats to Validity
10.5. Relationship to the Decision-Support Literature
11. Ethical, Legal, and Regulatory Considerations
12. Future Work
- Sourced content: extend the schema with a citation field and attach verifiable references to treatment, comorbidity, prevention, and laboratory records, enabling a reference-grade rather than representative dataset.
- Bulk content ingestion: provide an import path so that a curated external database — for instance, the author’s several-hundred-entry Long COVID treatment dataset — can populate a disease configuration directly.
- Availability freshness: attach a dated review to each availability status and prompt re-review, so the obtainability of an intervention does not silently go stale.
- Audited data protection: replace the current at-rest protection with a formally audited cryptographic implementation and document a threat model.
- Expert validation: subject the bundled content, including prevention measures, to formal clinical review and report inter-reviewer agreement, converting design rationale into evidence.
- Authenticated clinician handoff: replace the modeled receipt-confirmation with a distinct, authenticated clinician-facing flow.
- Usability and outcomes evaluation: conduct user studies measuring appointment preparation, comprehension, and the appropriateness of clinician deferral.
- Retrieval-grounded content authoring: where AI assistance is used, ground generation in retrieved, verified literature to reduce hallucination, consistent with the mitigation strategies emerging in the literature [15].
13. Conclusions
Appendix A. Configuration Schema Reference
| Field | Description |
|---|---|
| key | Stable identifier. |
| label | Display name of the comorbidity. |
| category | Etiological/physiological driver grouping. |
| mechanism | Clause linking the comorbidity to the primary disease. |
| Field | Description |
|---|---|
| key | Stable identifier. |
| label | Display name of the metric. |
| min/max | Numeric range. |
| defaultValue | Initial value. |
| importance | required/recommended/optional. |
| purpose | treatment/dose/safety/background. |
| Field | Description |
|---|---|
| key | Stable identifier. |
| label | Display name of the symptom. |
| threshold | Severity (0–10) at which the symptom is active. |
| escalationLevel | Optional red-flag severity that surfaces a non-directive escalation prompt (new). |
| mechanism | Pathophysiological note. |
| Field | Description |
|---|---|
| key | Stable identifier. |
| name | Display name of the test. |
| category | Clinical purpose (diagnostic, severity/prognostic, etiologic, treatment-safety, baseline). |
| rationale | What a clinically significant result indicates. |
| Field | Description |
|---|---|
| key | Stable identifier. |
| label | Display name of the prevention measure. |
| category | Vaccination, exposure reduction, hygiene, environmental control, behavioral, or risk-factor modification. |
| rationale | How the measure reduces the likelihood or severity of the condition. |
| Field | Description |
|---|---|
| name | Display name of the treatment. |
| category | Therapeutic class. |
| targetedSymptoms | Symptoms the treatment addresses. |
| mechanism | Mechanism of action. |
| evidenceTier | High/Moderate/Low. |
| clinicianNote | Contextual note. |
| cautions | Safety cautions. |
| trialSampleSize | Mapped to a cohort-scale band. |
| availability | available / limited / investigational / withdrawn (new). |
| triedStatus | Derived from the profile: not tried / tried-ineffective / tried-not-tolerated (new). |
| isPeerReviewed / trialsConcluded | Provenance and maturity flags. |
Appendix B. Structured Elicitation Prompts
B.1 Comorbidity Elicitation Prompt
B.2 Blood-Test Elicitation Prompt
B.3 Prevention Elicitation Prompt (new)
Appendix C. Per-Disease Content
| Comorbidity | Driver category | Linking mechanism |
| Obesity | Endocrine/Metabolic | Adipose tissue expresses ACE2 and drives chronic inflammation; restricted diaphragm excursion lowers respiratory reserve. |
| Type 2 Diabetes | Endocrine/Metabolic | Hyperglycaemia impairs neutrophil and T-cell function, glycates ACE2, and promotes endothelial and procoagulant injury. |
| Steroid-Induced Hyperglycaemia | Iatrogenic/Drug-Induced | Dexamethasone given for severe disease raises blood glucose, worsening infection control. |
| Hypertension | Cardiovascular | RAAS/ACE2-axis dysregulation and pre-existing endothelial injury raise severe-disease risk. |
| Coronary Artery Disease/Heart Failure | Cardiovascular | Low cardiac reserve plus inflammatory and procoagulant stress precipitates myocardial injury and decompensation. |
| Myocarditis/Arrhythmia | Cardiovascular | Direct viral and immune-mediated myocardial inflammation; cytokine effects on conduction. |
| Asthma/COPD | Respiratory | Reduced pulmonary reserve and airway inflammation increase hypoxaemia and exacerbations. |
| Pulmonary Fibrosis (incl. post-COVID) | Post-Infectious/Structural | Organising alveolar injury leaves fibrotic scarring that lowers gas exchange. |
| Chronic Kidney Disease/AKI | Renal | Renal ACE2 expression plus hypoperfusion and cytokine injury cause AKI and impaired drug clearance. |
| Chronic Liver Disease | Hepatic | Impaired immune defence and clotting-factor synthesis; altered antiviral metabolism. |
| Thrombophilia/VTE Risk | Hematologic/Vascular | Endothelial injury plus hypercoagulability drives micro- and macro-thrombosis (PE, stroke). |
| Immunocompromise/Transplant/Cancer | Autoimmune/Immune | Impaired clearance causes severe, prolonged infection and intra-host viral evolution. |
| Sickle Cell Disease | Genetic/Inherited | Hypoxia and inflammation trigger vaso-occlusion and acute chest syndrome. |
| Down Syndrome | Genetic/Inherited | Immune dysregulation and airway anatomy markedly raise severe-disease risk. |
| Pregnancy | Obstetric | Immune modulation, reduced functional residual capacity, and hypercoagulability raise severe-disease and thrombotic risk. |
| Blood test | Purpose | Rationale |
| SARS-CoV-2 PCR/antigen | Diagnostic | Confirms active infection (respiratory specimen); anchors the diagnosis. |
| CBC with differential | Severity/Prognostic | Lymphopenia and a high neutrophil-to-lymphocyte ratio track with severe disease. |
| C-reactive protein (CRP) | Severity/Prognostic | Acute-phase marker; a rising level signals worsening inflammation. |
| D-dimer | Severity/Prognostic | Elevation reflects thromboinflammation and raised venous-thromboembolism risk. |
| Ferritin | Severity/Prognostic | Very high levels suggest hyperinflammation/cytokine storm. |
| Lactate dehydrogenase (LDH) | Severity/Prognostic | Marks tissue and lung injury; correlates with extent of disease. |
| Interleukin-6 (IL-6) | Severity/Prognostic | Cytokine-storm marker; helps identify candidates for immunomodulators. |
| Troponin | Severity/Prognostic | Detects myocardial injury, a driver of poor outcomes. |
| Procalcitonin | Etiologic work-up | Helps flag bacterial co-infection prompting antibiotics. |
| Coagulation panel (PT/aPTT, fibrinogen) | Severity/Prognostic | Screens for COVID-associated coagulopathy. |
| Comprehensive metabolic panel (renal + hepatic) | Treatment-safety/Monitoring | Renal function guides remdesivir and Paxlovid dosing; LFTs flag hepatotoxicity. |
| Glucose/HbA1c | Baseline/Screening | Baseline for steroid-induced hyperglycaemia during dexamethasone therapy. |
| Arterial blood gas/lactate | Severity/Prognostic | Quantifies hypoxaemia and tissue hypoperfusion in severe disease. |
| Treatment | Class | Availability |
| Nirmatrelvir-ritonavir (Paxlovid) | Antiviral (oral) | Available |
| Remdesivir | Antiviral (IV) | Available |
| Molnupiravir | Antiviral (oral) | Limited |
| Dexamethasone | Corticosteroid | Available |
| Baricitinib/Tocilizumab | Immunomodulator | Available |
| Supportive Oxygen & Proning | Supportive Care | Available |
| Antipyretic/Symptomatic Care | Symptomatic | Available |
| Symptoms tracked: Fever, Cough, Shortness of Breath, Loss of Smell/Taste, Fatigue, Sore Throat, Body Aches, Headache. | ||
| Prevention measure | Category | Rationale |
| Vaccination and boosters | Vaccination | Reduces the risk of severe disease, hospitalization, and death; benefit strongest against severe outcomes. |
| Masking in high-risk settings | Exposure reduction | Reduces inhalation of respiratory particles in crowded or poorly ventilated indoor spaces. |
| Ventilation and air filtration | Environmental control | Lowers indoor aerosol concentration, reducing transmission risk. |
| Hand hygiene and respiratory etiquette | Hygiene | Limits surface and droplet spread of respiratory pathogens. |
| Test and isolate when symptomatic | Behavioral | Prompt isolation shortens the window in which an infectious person exposes others. |
| Early antiviral eligibility awareness | Risk-factor modification | High-risk individuals who know their eligibility can seek timely antiviral care that reduces severe disease. |
| Comorbidity | Driver category | Linking mechanism |
| Parkinson’s Disease | Neurogenic/Autonomic | α-synuclein degeneration of central and peripheral autonomic neurons impairs baroreflex-mediated vasoconstriction. |
| Multiple System Atrophy | Neurogenic/Autonomic | Widespread central autonomic failure abolishes reflex sympathetic activation on standing. |
| Pure Autonomic Failure | Neurogenic/Autonomic | α-synuclein deposition confined to peripheral autonomic neurons lowers standing norepinephrine release. |
| Diabetic Autonomic Neuropathy | Endocrine/Metabolic | Chronic hyperglycaemia damages sympathetic vasomotor fibers, blunting reflex vasoconstriction. |
| Adrenal Insufficiency | Endocrine/Metabolic | Aldosterone and cortisol deficiency reduce intravascular volume and vascular tone. |
| Vitamin B12 Deficiency | Endocrine/Metabolic | Demyelinating autonomic neuropathy impairs vasomotor control. |
| Autonomic Amyloidosis (e.g., hATTR) | Genetic/Inherited | Amyloid infiltration of autonomic ganglia and nerves causes neurogenic failure. |
| Dopamine β-Hydroxylase Deficiency | Genetic/Inherited | Inability to synthesize norepinephrine eliminates the pressor response to standing. |
| Ehlers-Danlos/Connective-Tissue Laxity | Genetic/Structural | Vascular and venous laxity increases gravitational blood pooling on standing. |
| Heart Failure/Arrhythmia | Cardiovascular | Low or fixed cardiac output cannot rise to defend upright blood pressure. |
| Anaemia | Hematologic | Reduced oxygen-carrying capacity amplifies symptoms of cerebral hypoperfusion. |
| Volume Depletion/Dehydration | Volume/Renal | Reduced preload lowers stroke volume and standing blood pressure. |
| Spinal Cord Injury | Structural/Mechanical | Interrupted descending sympathetic outflow prevents reflex vasoconstriction below the lesion. |
| Post-COVID/Post-Viral Dysautonomia | Post-Infectious | Immune-mediated autonomic nerve injury after infection impairs orthostatic tolerance. |
| POTS (overlap) | Neurogenic/Autonomic | Autonomic dysregulation with excessive standing heart rate; frequently coexists with orthostatic intolerance. |
| BP-Lowering/Vasoactive Medications | Iatrogenic/Drug-Induced | Antihypertensives, diuretics, α-blockers, nitrates, and tricyclics cause vasodilation or volume loss. |
| Chronic Alcohol Use | Iatrogenic/Drug-Induced | Autonomic neuropathy plus vasodilation worsens orthostatic drop. |
| Blood test | Purpose | Rationale |
| CBC | Etiologic work-up | Identifies anaemia, which amplifies symptoms of cerebral hypoperfusion. |
| Basic metabolic panel (electrolytes, BUN/creatinine) | Etiologic work-up | Assesses volume status, renal function, and sodium balance. |
| Fasting glucose/HbA1c | Etiologic work-up | Screens for diabetes underlying autonomic neuropathy. |
| Vitamin B12 | Etiologic work-up | Deficiency causes autonomic neuropathy and orthostatic intolerance. |
| TSH (thyroid) | Etiologic work-up | Thyroid dysfunction can drive blood-pressure and volume dysregulation. |
| Morning cortisol/ACTH stimulation | Etiologic work-up | Detects adrenal insufficiency causing volume and vascular-tone loss. |
| Aldosterone/plasma renin activity | Etiologic work-up | Evaluates the mineralocorticoid axis governing sodium retention. |
| Supine & standing plasma catecholamines | Diagnostic | Norepinephrine response distinguishes central from peripheral autonomic failure. |
| SPEP/serum free light chains | Etiologic work-up | Screens for amyloidosis infiltrating autonomic nerves. |
| Iron studies/ferritin | Etiologic work-up | Identifies treatable contributors to fatigue and anaemia. |
| Treatment | Class | Availability |
| Fluid & Salt Loading | Non-Pharmacological | Available |
| Compression Garments | Mechanical | Available |
| Physical Counter-Maneuvers | Physical Medicine | Available |
| Midodrine | Pharmacological (pressor) | Available |
| Droxidopa | Pharmacological (pressor) | Available |
| Fludrocortisone | Mineralocorticoid | Available |
| Pyridostigmine | Cholinesterase inhibitor | Available |
| Symptoms tracked: Lightheadedness on Standing, Fainting/Presyncope, Blurred Vision, Fatigue, Neck/Shoulder ‘Coat-Hanger’ Pain, Generalized Weakness, Transient Cognitive Slowing. | ||
| Prevention measure | Category | Rationale |
| Adequate hydration and salt (if appropriate) | Behavioral | Expands intravascular volume, supporting standing blood pressure; salt only where clinically appropriate. |
| Rise slowly; use counter-maneuvers | Behavioral | Gradual position change and leg-crossing or muscle tensing blunts the orthostatic drop. |
| Avoid large carbohydrate meals and alcohol | Behavioral | Reduces post-prandial splanchnic pooling and alcohol-induced vasodilation that worsen symptoms. |
| Avoid prolonged standing and heat | Environmental control | Limits gravitational pooling and heat-induced vasodilation that precipitate episodes. |
| Compression garments | Environmental control | Reduces venous pooling in the legs and abdomen on standing. |
| Review blood-pressure-lowering medications | Risk-factor modification | Clinician review of antihypertensives, diuretics, and other vasoactive drugs can remove a reversible cause. |
| Comorbidity | Driver category | Linking mechanism |
| Asthma/COPD | Respiratory | Airway hyperreactivity and reduced reserve drive exacerbations and predispose to viral pneumonia. |
| Secondary Bacterial Pneumonia | Post-Infectious/Immune | Influenza strips respiratory epithelium and impairs clearance, enabling S. pneumoniae and S. aureus superinfection. |
| Coronary/Heart Disease | Cardiovascular | Systemic inflammation and procoagulant stress can trigger myocardial infarction or decompensated heart failure. |
| Myocarditis/Pericarditis | Cardiovascular | Direct and immune-mediated cardiac inflammation during acute infection. |
| Diabetes Mellitus | Endocrine/Metabolic | Impaired immunity worsens outcomes; acute illness can precipitate ketoacidosis. |
| Obesity | Endocrine/Metabolic | Impaired cell-mediated immunity and restricted ventilation increase severity. |
| Chronic Kidney Disease | Renal | Uraemic immune dysfunction increases severe-disease and complication risk. |
| Immunocompromise | Autoimmune/Immune | Impaired clearance causes severe, prolonged infection and complications. |
| Neuromuscular Disease | Structural/Mechanical | Weak cough and impaired airway clearance raise aspiration and pneumonia risk. |
| Guillain-Barré Syndrome | Post-Infectious/Autoimmune | Molecular mimicry triggers autoimmune attack on peripheral nerves after infection. |
| Encephalitis/Encephalopathy | Neurogenic | Para-/post-infectious CNS inflammation; influenza-associated encephalopathy in children. |
| Reye Syndrome (with aspirin in children) | Iatrogenic/Drug-Induced | Aspirin during viral illness in children precipitates mitochondrial liver and brain injury. |
| Rhabdomyolysis | Structural/Mechanical | Viral myositis releases myoglobin, risking acute kidney injury. |
| Sickle Cell Disease | Genetic/Inherited | Hypoxia and inflammation precipitate acute chest syndrome. |
| Pregnancy | Obstetric | Immune and respiratory changes raise severe-disease and hospitalization risk. |
| Blood test | Purpose | Rationale |
| Influenza PCR/antigen | Diagnostic | Confirms influenza and subtype (respiratory specimen). |
| CBC with differential | Severity/Prognostic | Leukopenia or lymphopenia is typical; a leftward shift suggests bacterial superinfection. |
| CRP | Etiologic work-up | Helps gauge inflammation and flag secondary bacterial infection. |
| Procalcitonin | Etiologic work-up | Elevation points to secondary bacterial pneumonia needing antibiotics. |
| Comprehensive metabolic panel (renal + hepatic) | Treatment-safety/Monitoring | Renal function guides oseltamivir dosing; baseline organ function. |
| Creatine kinase (CK) | Severity/Prognostic | Detects influenza myositis/rhabdomyolysis. |
| Blood cultures | Etiologic work-up | Identifies bacteraemia when sepsis or severe pneumonia is suspected. |
| Treatment | Class | Availability |
| Oseltamivir | Antiviral (neuraminidase inhibitor) | Available |
| Baloxavir marboxil | Antiviral (endonuclease inhibitor) | Available |
| Zanamivir | Antiviral (inhaled) | Available |
| Peramivir | Antiviral (IV) | Available |
| Supportive & Antipyretic Care | Symptomatic | Available |
| Seasonal Vaccination (Prevention) | Preventive | Available |
| Symptoms tracked: Fever, Body Aches, Cough, Sore Throat, Fatigue, Headache, Runny/Stuffy Nose, Chills. | ||
| Prevention measure | Category | Rationale |
| Annual influenza vaccination | Vaccination | Induces strain-specific immunity; reduces incidence and severity even when strain match is imperfect. |
| Hand hygiene and respiratory etiquette | Hygiene | Limits droplet and surface transmission of the virus. |
| Avoid close contact with symptomatic people | Exposure reduction | Reduces the chance of acquiring infection during peak shedding. |
| Ventilation in shared indoor spaces | Environmental control | Lowers indoor viral aerosol concentration. |
| Stay home when ill | Behavioral | Prevents onward transmission during the infectious period. |
| Antiviral prophylaxis in select exposures | Risk-factor modification | Clinician-directed post-exposure prophylaxis can prevent illness in high-risk contacts. |
| Comorbidity | Driver category | Linking mechanism |
| Severe Volume/Electrolyte Loss | Fluid/Electrolyte | Profuse vomiting and diarrhea cause hypovolaemia, hypokalaemia, and hyponatraemia driving shock. |
| Coagulopathy/DIC | Hematologic/Coagulation | Tissue-factor release and endothelial injury trigger consumptive coagulopathy and bleeding. |
| Acute Kidney Injury | Renal | Hypovolaemia plus direct viral and inflammatory injury cause renal failure. |
| Hepatic Dysfunction | Hepatic | Hepatocyte infection raises transaminases and depletes clotting factors. |
| ARDS/Respiratory Failure | Respiratory | Systemic capillary leak floods alveoli, impairing oxygenation. |
| Septic Shock/Multi-Organ Failure | Cardiovascular | Cytokine storm and capillary leak cause distributive shock and organ hypoperfusion. |
| Malaria/Bacterial Co-infection | Post-Infectious/Infectious | Endemic co-pathogens and gut translocation worsen mortality. |
| Uveitis/Ocular Sequelae | Immune-Privileged Persistence | Virus persists in aqueous humor after recovery, causing relapsing eye inflammation and vision loss. |
| Meningoencephalitis/CNS Relapse | Neurogenic | Viral persistence in CSF can cause late relapse and encephalitis. |
| Orchitis/Seminal Persistence | Immune-Privileged Persistence | Virus persists in testes, enabling late sexual transmission. |
| Sensorineural Hearing Loss | Neurogenic | Inner-ear inflammation and viral injury cause persistent hearing loss. |
| Post-Ebola Syndrome | Post-Viral | Persistent arthralgia, fatigue, headache, and ocular/auditory deficits after acute recovery. |
| Pregnancy | Obstetric | Near-universal fetal loss and very high maternal mortality with severe hemorrhage. |
| Blood test | Purpose | Rationale |
| Ebola RT-PCR | Diagnostic | Confirms infection from blood; viral load tracks severity. |
| CBC with platelets | Severity/Prognostic | Thrombocytopenia and lymphopenia signal severe disease and bleeding risk. |
| Coagulation panel (PT/aPTT, fibrinogen, D-dimer) | Severity/Prognostic | Detects disseminated intravascular coagulation. |
| Electrolytes (K+, Na+) & renal panel | Severity/Prognostic | GI losses cause hypokalaemia/hyponatraemia; flags acute kidney injury. |
| Liver function (AST/ALT) | Severity/Prognostic | Marked AST elevation reflects hepatic injury and worse prognosis. |
| Lactate | Severity/Prognostic | Rising lactate indicates shock and hypoperfusion. |
| Malaria smear/rapid test | Etiologic work-up | Endemic co-infection that worsens outcomes and must be treated. |
| Blood cultures | Etiologic work-up | Identifies bacterial co-infection/gut-translocation sepsis. |
| Treatment | Class | Availability |
| Inmazeb (atoltivimab/maftivimab/odesivimab) | Monoclonal Antibody | Limited |
| Ebanga (ansuvimab-zykl) | Monoclonal Antibody | Limited |
| Aggressive Supportive Care | Supportive | Available |
| Ervebo Vaccine (Prevention) | Preventive | Limited |
| Symptoms tracked: Fever, Severe Fatigue, Muscle Pain, Vomiting/Diarrhea, Bleeding/Hemorrhage, Headache, Abdominal Pain, Rash. | ||
| Prevention measure | Category | Rationale |
| Avoid contact with blood and body fluids | Exposure reduction | Direct contact with infected fluids is the principal route of human-to-human transmission. |
| Personal protective equipment for caregivers | Hygiene | Barrier protection prevents transmission to household and healthcare contacts. |
| Safe and dignified burial practices | Behavioral | Handling of the deceased is a major amplification route in outbreaks; safe burial interrupts it. |
| Avoid bushmeat and contact with bats/primates | Exposure reduction | Reduces the risk of spillover from animal reservoirs in endemic regions. |
| Ervebo vaccination for at-risk groups | Vaccination | Ring vaccination of contacts and frontline workers reduces spread during Zaire ebolavirus outbreaks. |
| Survivor precautions after recovery | Behavioral | Virus can persist in immune-privileged sites; guidance reduces late sexual and other transmission. |
| Comorbidity | Driver category | Linking mechanism |
| ME/CFS Overlap | Post-Infectious/Neuro-Immune | Post-infectious immune and metabolic dysfunction produces fatigue and post-exertional malaise. |
| Fibromyalgia | Rheumatologic/Central Sensitisation | Central pain amplification produces widespread musculoskeletal pain and tenderness. |
| Small-Fibre Neuropathy | Neurogenic | Immune-mediated damage to small sensory/autonomic fibers causes burning pain and paraesthesia. |
| Cognitive Impairment/Brain Fog | Neurogenic | Persistent neuroinflammation impairs attention, memory, and processing speed. |
| New Daily Persistent Headache | Neurogenic | Post-infectious central pain sensitisation drives chronic headache. |
| Dysautonomia/POTS | Neurogenic/Autonomic | Autonomic nerve dysfunction after infection causes orthostatic intolerance and palpitations. |
| Antibiotic-Refractory Lyme Arthritis | Autoimmune/Inflammatory | HLA-DR–linked autoimmune synovitis via molecular mimicry (OspA) persists after spirochete clearance. |
| Mast Cell Activation | Autoimmune/Inflammatory | Dysregulated mast-cell mediator release produces flushing, GI, and systemic symptoms. |
| Babesia Co-infection | Post-Infectious/Co-Infection | Same tick transmits Babesia; intra-erythrocytic parasite adds fevers, sweats, and hemolysis. |
| Bartonella Co-infection | Post-Infectious/Co-Infection | Tick/vector co-pathogen causes vascular and neurological symptoms complicating recovery. |
| Ana plasma/Ehrlichia Co-infection | Post-Infectious/Co-Infection | Tick-borne rickettsial co-infection causes cytopenias and persistent malaise. |
| Depression/Anxiety | Psychiatric | Chronic illness burden plus neuroinflammation contribute to mood disorders. |
| Sleep Disorder | Sleep | Disrupted sleep architecture worsens pain, fatigue, and cognition. |
| Hypothyroidism (overlap) | Endocrine/Metabolic | Coexisting hypothyroidism amplifies fatigue and cognitive symptoms. |
| Blood test | Purpose | Rationale |
| Lyme two-tier serology (ELISA + immunoblot) | Diagnostic | Documents prior B. burgdorferi exposure; cannot by itself confirm active PTLDS. |
| CBC with differential | Etiologic work-up | Cytopenias raise suspicion for a tick-borne co-infection. |
| Comprehensive metabolic panel | Baseline/Screening | Baseline organ function before symptomatic therapy. |
| ESR/CRP | Etiologic work-up | Usually normal in PTLDS; elevation points to an alternative inflammatory cause. |
| TSH (thyroid) | Etiologic work-up | Hypothyroidism mimics and amplifies fatigue and cognitive symptoms. |
| Vitamin B12/Vitamin D | Etiologic work-up | Common, treatable contributors to fatigue and neuropathy. |
| ANA/autoimmune panel | Etiologic work-up | Screens for autoimmune disease presenting with similar symptoms. |
| Babesia smear/PCR | Etiologic work-up | Tick-borne co-infection causing fevers, sweats, and hemolysis. |
| Anaplasma/Ehrlichia PCR | Etiologic work-up | Tick-borne co-infection causing cytopenias and persistent malaise. |
| Bartonella serology | Etiologic work-up | Possible co-infection with vascular and neurological features. |
| Treatment | Class | Availability |
| Symptom-Directed Management | Self-Management/Rehab | Available |
| NSAIDs/Analgesics | Pharmacological | Available |
| Sleep & Mood Support (e.g., low-dose amitriptyline, CBT) | Adjunct | Available |
| Physical Therapy/Graded Reconditioning | Physical Medicine | Available |
| Symptoms tracked: Persistent Fatigue, Joint Pain, Muscle Pain, Cognitive Difficulty/Brain Fog, Sleep Disturbance, Headache, Numbness/Tingling. | ||
| Prevention measure | Category | Rationale |
| Use tick repellents on skin | Exposure reduction | DEET or picaridin reduces tick attachment and the risk of the antecedent Lyme infection. |
| Permethrin-treated clothing and gear | Environmental control | Kills or repels ticks on contact, lowering bite risk in tick habitat. |
| Cover skin and stay on cleared trails | Behavioral | Reduces exposure to questing ticks in brush and leaf litter. |
| Prompt tick checks and correct removal | Behavioral | Early removal shortens attachment time and lowers transmission risk of B. burgdorferi. |
| Prompt, full treatment of early Lyme | Risk-factor modification | Timely, complete antibiotic treatment of acute Lyme reduces the chance of persistent post-treatment symptoms. |
| Yard and pet tick management | Environmental control | Landscape measures and pet tick control reduce household exposure to infected ticks. |
References
- Nguengang Wakap, S.; Lambert, D.M.; Olry, A.; Rodwell, C.; Gueydan, C.; Lanneau, V.; Murphy, D.; Le Cam, Y.; Rath, A. Estimating cumulative point prevalence of rare diseases: analysis of the Orphanet database. Eur. J. Hum. Genet. 2020, 28(2), 165–173. [Google Scholar]
- Orphanet/INSERM. Orphadata: comprehensive datasets from the Orphanet knowledge base. Available at orphadata.com; the Orphanet nomenclature catalogues several thousand rare diseases across more than thirty categories. Accessed 2026.
- Sutton, R.T.; Pincock, D.; Baumgart, D.C.; Sadowski, D.C.; Fedorak, R.N.; Kroeker, K.I. An overview of clinical decision support systems: benefits, risks, and strategies for success. npj Digit. Med. 2020, 3, 17. [Google Scholar] [CrossRef] [PubMed]
- Roshanov, P.S.; Fernandes, N.; Wilczynski, J.M.; et al. Features of effective computerized clinical decision support systems: meta-regression of 162 randomised trials. BMJ 2013, 346, f657. [Google Scholar] [CrossRef] [PubMed]
- Kwan, J.L.; Lo, L.; Ferguson, J.; et al. Computerized clinical decision support systems and absolute improvements in care: meta-analysis of controlled clinical trials. BMJ 2020, 370, m3216. [Google Scholar] [CrossRef] [PubMed]
- Bright, T.J.; Wong, A.; Dhurjati, R.; et al. Effect of clinical decision-support systems: a systematic review. Ann. Intern. Med. 2012, 157(1), 29–43. [Google Scholar] [CrossRef] [PubMed]
- Kouri, A.; Yamada, J.; Lam Shin Cheung, J.; Van de Velde, S.; Gupta, S. Do providers use computerized clinical decision support systems? A systematic review and meta-regression of clinical decision support uptake. Implement. Sci. 2022, 17, 21. [Google Scholar] [CrossRef] [PubMed]
- U.S. Food and Drug Administration. Policy for Device Software Functions and Mobile Medical Applications: Guidance for Industry and Food and Drug Administration Staff. 2022.
- U.S. Food and Drug Administration. Clinical Decision Support Software: Guidance for Industry and Food and Drug Administration Staff. 2022.
- 21st Century Cures Act, Public Law 114–255, Section 3060 (2016), amending Section 520 of the Federal Food, Drug, and Cosmetic Act.
- Singhal, K.; Azizi, S.; Tu, T.; et al. Large language models encode clinical knowledge. Nature 2023, 620(7972), 172–180. [Google Scholar] [CrossRef] [PubMed]
- Ayers, J.W.; Poliak, A.; Dredze, M.; et al. Comparing physician and artificial intelligence chatbot responses to patient questions posted to a public social media forum. JAMA Intern. Med. 2023, 183(6), 589–596. [Google Scholar] [CrossRef] [PubMed]
- Van Veen, D.; Van Uden, C.; Blankemeier, L.; et al. Adapted large language models can outperform medical experts in clinical text summarization. Nat. Med. 2024, 30, 1134–1142. [Google Scholar] [CrossRef] [PubMed]
- Griot, M.; Hemptinne, C.; Vanderdonckt, J.; Yuksel, D. Large language models lack essential metacognition for reliable medical reasoning. Nat. Commun. 2025, 16, 642. [Google Scholar] [CrossRef] [PubMed]
- Asgari, E.; Montaña-Brown, N.; Dubois, M.; et al. A framework to assess clinical safety and hallucination rates of large language models for medical text summarization. npj Digit. Med. 2025, 8, 274. [Google Scholar] [PubMed]
- Han, T.; Kumar, A.; Agarwal, C.; Lakkaraju, H. MedSafetyBench: evaluating and improving the medical safety of large language models. In Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track; 2024. [Google Scholar]
- Bates, D.W.; Kuperman, G.J.; Wang, S.; et al. Ten commandments for effective clinical decision support: making the practice of evidence-based medicine a reality. J. Am. Med. Inform. Assoc. 2003, 10(6), 523–530. [Google Scholar] [CrossRef] [PubMed]
- Schmidt, D.C. Model-driven engineering. Computer (IEEE) 2006, 39(2), 25–31. [Google Scholar] [CrossRef]
- Apple Inc. SwiftUI Documentation. Apple Developer; developer.apple.com. Accessed 2026.
- Stoyanov, S.R.; Hides, L.; Kavanagh, D.J.; Zelenko, O.; Tjondronegoro, D.; Mani, M. Mobile App Rating Scale: a new tool for assessing the quality of health mobile apps. JMIR mHealth uHealth 2015, 3(1), e27. [Google Scholar] [CrossRef] [PubMed]
- World Health Organization. Ethics and Governance of Artificial Intelligence for Health: WHO Guidance; WHO: Geneva, 2021. [Google Scholar]
- Topol, E.J. High-performance medicine: the convergence of human and artificial intelligence. Nat. Med. 2019, 25, 44–56. [Google Scholar] [CrossRef] [PubMed]
- RECOVERY Collaborative Group. Dexamethasone in hospitalized patients with Covid-19. N. Engl. J. Med. 2021, 384, 693–704. [Google Scholar] [CrossRef] [PubMed]
- Hammond, J.; Leister-Tebbe, H.; Gardner, A.; et al. Oral nirmatrelvir for high-risk, nonhospitalized adults with Covid-19 (EPIC-HR). N. Engl. J. Med. 2022, 386, 1397–1408. [Google Scholar] [CrossRef] [PubMed]
- Mulangu, S.; Dodd, L.E.; Davey, R.T.; et al. A randomized, controlled trial of Ebola virus disease therapeutics (PALM). N. Engl. J. Med. 2019, 381, 2293–2303. [Google Scholar] [CrossRef] [PubMed]
- Orphanet Rare Disease Nomenclature description. medRxiv preprint. 2025. [CrossRef]
- Orphadata — Orphanet datasets.
- Orphadata Science Data Description, V3 (April 2026) — SeverityDisability field definition.
- Orphanet API_Orphadata (GitHub) — product1/product3/product9 dataset definitions.
- ORPHAcodes Orphanet Nomenclature Pack — classification file structure.
- Lucano, C.; et al. Landscape of rare disease classification: a quantitative analysis of the Orphanet nomenclature. medRxiv 2025.08.10.25333394. Available online: https://www.medrxiv.org/content/10.1101/2025.08.10.25333394v1.
- Orphadata. INSERM / Orphanet. Available online: https://www.orphadata.com/.
- Orphadata Science Data Description, Version 3. Available online: https://www.orphadata.com/docs/OrphadataScienceDataDescription.pdf.
- Orphanet API / Orphadata, GitHub repository. Available online: https://github.com/Orphanet/API_Orphadata.
- ORPHAcodes Nomenclature Pack. Orphacode.org. Available online: https://www.orphacode.org/pack-nomenclature/.
- Gray H. Anatomy of the Human Body. 1918. Public domain — anatomical reference plate used as the basis for the accompanying figure.
| Field | Type | Role |
|---|---|---|
| diseaseName | text | Display name and the key used for free-text resolution. |
| subtitle | text | One-line descriptor shown beneath the name. |
| coreSignalsDescription | text | Short clinical overview shown on the welcome page. |
| isPsychological | boolean | Suppresses the biochemical animation when true. |
| iconKind | text | Selects the disease-specific illustration (e.g., coronavirus, influenza, filovirus, tick, molecule). |
| basePages | list | Ordered pages the application presents for this disease (prevention now precedes identifiers). |
| comorbidityToggles | list | Coexisting conditions, each with a driver category and linking mechanism. |
| numericalMetrics | list | Quantitative inputs, each with importance and purpose metadata. |
| diseaseSymptoms | list | Symptoms with an activation threshold and mechanism. |
| bloodTests | list | Laboratory tests with a clinical-purpose category and rationale. |
| preventionMeasures | list | Measures for avoiding or reducing onset, each with a category and rationale (new). |
| treatmentDatabase | list | Candidate interventions with evidence, availability, and cohort metadata. |
| Attribute | Value | Interface effect |
|---|---|---|
| importance | required | Shown in red; flagged as crucial; enforced at the dosage gate when also dose- or safety-relevant. |
| importance | recommended | Shown in green; flagged as useful to complete. |
| importance | optional | Not shown at all (eliminated). |
| purpose | treatment | Retained after symptoms are recorded. |
| purpose | dose | Retained; may be required before the dosage reference. |
| purpose | safety | Retained; may be required before the dosage reference. |
| purpose | background | Hidden once at least one symptom is active. |
| Disease | Comorbid. | Symptoms | Blood tests | Prevention | Treatments | Total |
|---|---|---|---|---|---|---|
| COVID-19 (Acute) | 15 | 8 | 13 | 6 | 7 | 49 |
| Orthostatic Hypotension | 17 | 7 | 10 | 6 | 7 | 47 |
| Influenza | 15 | 8 | 7 | 6 | 6 | 42 |
| Ebola Virus Disease | 13 | 8 | 8 | 6 | 4 | 39 |
| Long Lyme (PTLDS) | 14 | 7 | 10 | 6 | 4 | 41 |
| Long COVID (blocked) | 0 | 0 | 0 | 0 | 0 | 0 |
| Non-device CDS theme | Corresponding design feature |
|---|---|
| Informs rather than directs | Content framed as information for a clinician; no diagnosis or directive output; severity escalation prompts inform without assigning urgency. |
| No replacement of professional judgment | No personalized dose; treatment content gated; availability and tried status surfaced honestly; clinician handoff, not autonomous action. |
| Transparent, reviewable basis | Mechanisms and rationales shown for comorbidities, tests, and prevention; evidence tier, cohort scale, peer-review status, and availability shown for treatments; AI-assisted provenance disclosed. |
| Patient/caregiver-facing caution | Repeated medical disclaimers; explicit acceptance gate before treatment content; at-rest protection of the local profile. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).