Lab review
Structured interpretation of the GI-MAP (Diagnostic Solutions Laboratory, qPCR stool analysis) in a fixed clinical order: pathogens → H. pylori and virulence factors → commensal/keystone flora → opportunists and overgrowth → fungi and parasites → intestinal health markers (elastase, sIgA, β-glucuronidase, calprotectin, zonulin). Reads cross-marker patterns, correlates with the patient's symptoms and history, and puts conventional red flags (calprotectin, occult blood, true pathogens) first.
MIT · v1.0.1 · by James Marin, RD, RN
- 01Open the skill in Ena. It lands in Settings, then Skills, ready to use.
- 02Upload the lab PDF to the patient's documents if it is not already there.
- 03Type / in any patient chat and pick the skill.
The skill pulls labs, history and medications from the patient record itself. Nothing is pasted anywhere.
Using a different AI tool? A portable version with install notes lives in the GitHub repo.
For licensed healthcare professionals. Skills are decision support for clinician review, not medical advice.Read the full disclaimer
The full procedure the skill follows in Ena, as published in the open source repo.
Read the full procedureHide the procedure4 steps
Decision support for licensed healthcare professionals. Analysis only — the practitioner reviews, verifies, and decides.
Gather context (before interpreting anything)
- Call
get_patient_documentsto locate the GI-MAP report (categorylab_report) and its structuredlabFindings[], andsearch_patient_documentsfor the raw report text — quantities with exponents (e.g.2.3e4), detection thresholds, and the lab's interpretive commentary that extraction misses. If no GI-MAP exists in the record, say so and stop. - Call
get_patient_snapshotformedicalHistory(conditions, medications — especially PPIs and recent antibiotics — supplements, probiotics),dietAndLifestyle, andrecentEncounters(GI symptoms discussed). - Date everything by specimen/collection date (
eventDate), not report date. If prior GI-MAPs exist, build marker trends. - Skip anything marked
contradicted. If history was truncated, write "history shown may be incomplete" — never "no history".
Interpretation procedure
Work in this order — triage before terrain:
- Pathogens panel. Any detected bacterial (C. difficile toxin A/B, Campylobacter, Salmonella, Shigella, STEC/E. coli O157, Vibrio, Yersinia), parasitic (Cryptosporidium, Entamoeba histolytica, Giardia) or viral pathogen leads the report. Distinguish toxin genes detected vs organism presence (C. diff toxin genes without symptoms may be colonization). Correlate with documented symptoms before attributing significance; state which findings warrant conventional management.
- H. pylori. Quantity vs the lab threshold (~1e3) and every reported virulence factor (cagA, vacA, others). Detected virulence factors raise significance. Correlate with upper-GI symptoms, PPI use (suppresses detection), and family history of gastric disease. Eradication decisions are conventional-medicine territory — frame accordingly.
- Commensal/keystone bacteria. Low Akkermansia muciniphila (mucin/barrier), low Faecalibacterium prausnitzii (butyrate/anti-inflammatory), and broadly low commensals suggest depleted terrain — often post-antibiotic or low-fiber (check
dietAndLifestyle). Bacteroidetes/Firmicutes shifts are weak signals; don't over-read. - Opportunistic/overgrowth. Cluster, don't list: multiple elevated Proteobacteria (Klebsiella, Citrobacter, Proteus, Pseudomonas, Morganella) → general dysbiosis/insufficient digestion; Methanobrevibacter smithii → constipation/methane (IMO) picture; Desulfovibrio (H₂S) → urgency/loose stool; Staph/Strep overgrowth → low stomach acid signal.
- Fungi and parasites. Stool Candida is insecure (intermittent shedding — a negative doesn't exclude it; suggest OAT arabinose correlation if an OAT exists in the record). Blastocystis hominis and Dientamoeba fragilis are of debated pathogenicity — significance depends on symptoms and the rest of the report; say so explicitly.
- Intestinal health markers — the interpretive core:
- Elastase-1: <200 µg/g suggests pancreatic insufficiency; 200–500 borderline — correlate with steatocrit, bloating, stomach-acid signals.
- Steatocrit: elevated = fat maldigestion; read with elastase (pancreatic) vs bile-flow context.
- β-glucuronidase: elevated → deconjugation/enterohepatic recirculation of estrogens and toxins; cross-reference hormonal symptoms or a DUTCH report if one exists in the documents.
- Occult blood: any elevation is a conventional finding — see red flags.
- Secretory IgA: low = depleted mucosal immunity (chronic stress/infection); high = active immune engagement. Either direction contextualizes the rest.
- Anti-gliadin IgA: gluten immune reactivity (not celiac testing — say so); low sIgA can mask it.
- Calprotectin: the inflammation arbiter — see red flags.
- Zonulin (add-on): permeability signal; supportive, never diagnostic alone.
- Pattern synthesis. Name the story the whole report tells: low elastase + Staph/Strep + H. pylori → hypochlorhydria cascade; low keystones + multiple opportunists after documented antibiotics → depleted-terrain dysbiosis; high β-glucuronidase + estrogen symptoms → recirculation pattern; methanogens + constipation → IMO picture. Present sequencing (triage pathogens/overgrowth before rebuild; support digestion before antimicrobials) as a consideration, not a protocol.
- Adjust for who the patient is — use
demographicsandmedicalHistory. The lab's quantitative ranges are adult-derived — flag pediatric samples and interpret conservatively; commensal abundance shifts with age. Read β-glucuronidase's estrogen-recirculation implications against sex, menopausal status, and any HRT in the medication list (a cycling patient with estrogen-dominance symptoms vs a postmenopausal patient on HRT vs a male are different conversations). New-onset bowel symptoms over ~50 lower the threshold for conventional workup regardless of the report. In immunocompromised patients (conditions/medications), treat "opportunists" with more respect and escalate sooner. - Correlate with the chart — documented symptoms, medications, diet, and prior GI-MAPs for trend. Note provenance when a correlation rests on transcription- or document-sourced data.
Red flags — escalate regardless of functional interpretation
Not exhaustive. Calprotectin >173 µg/g (per lab cutoff) — and persistently 50–173 with symptoms — warrants IBD workup consideration (GI referral/colonoscopy); any positive occult blood in an adult warrants conventional evaluation; Entamoeba histolytica or symptomatic C. difficile toxin positivity warrants conventional management; alarm features in the chart (unintentional weight loss, blood in stool, nocturnal diarrhea, fever, new-onset symptoms over ~50, iron-deficiency anemia) override a benign-looking report. Put these first in the output.
Output format
- Snapshot — one paragraph: the overall pattern and the single most important finding.
- Red flags — first, or an explicit "none identified against the checked list".
- Section-by-section table — Section | Marker | Result | Lab threshold | Flag | Clinical note.
- Pattern synthesis — the story of the report in prose.
- Correlations with the chart — what fits, what doesn't, with sources.
- Considerations for the practitioner — sequencing considerations, confirmatory/adjunct testing (SIBO breath test, OAT, celiac serology, GI referral), retest timing (typically 8–12 weeks after intervention). Options, never directives.
- Patient-friendly summary — only if asked.
If the practitioner wants it saved, save with create_note (a lab review is not a clinical note or care plan).
End with: "Decision support only — for review by the treating clinician."
Quantitative thresholds (e.g. H. pylori ~1e3, calprotectin 173 µg/g) are Diagnostic Solutions Laboratory's published cutoffs, attributed as such, not presented as guideline values; conventional gastroenterology treats fecal calprotectin ~50–250 µg/g as a gray zone with retest/colonoscopy pathways (ACG/ECCO-consistent), and the skill escalates on both bases. Pathogen and occult-blood handling follows conventional practice. Honest limitations stated in the body: qPCR commensal "reference ranges" are not clinically validated; zonulin assays have published validity concerns (labeled "supportive, never diagnostic"); stool candida has poor sensitivity; Blastocystis/Dientamoeba pathogenicity is genuinely debated. Elastase-1 (<200 µg/g pancreatic insufficiency) is a validated conventional assay. The β-glucuronidase–estrogen recirculation link is mechanistically grounded but clinically thin, framed as a cross-reference consideration, not a finding.
- 1.0.1Added patient-context adjustment step (age brackets, menopausal status/HRT for β-glucuronidase, immunocompromise) and threshold provenance.
- 1.0.0Initial version.
| Platform | HIPAA status | What you may use |
|---|---|---|
| Ena | BAA signedHIPAA compliant. BAA available (privacy@meelio.ai). | Real patient data. The skill runs against the chart. |
| Claude (Free / Pro / Team) | No BAANo BAA. Not HIPAA compliant. | De-identified data only. Never paste PHI. |
| Claude Enterprise / API | BAA possibleBAA possible via Anthropic sales. | PHI only if your organization has an executed BAA. |
| ChatGPT (Free / Plus / Team) | No BAANo BAA. Not HIPAA compliant. | De-identified data only. Never paste PHI. |
| ChatGPT Enterprise / OpenAI API | BAA possibleBAA possible via OpenAI sales. | PHI only if your organization has an executed BAA. |
De-identification means removing all 18 HIPAA identifiers, not just the name. Read the full disclaimer.
The full report in a fixed clinical order: pathogens, H. pylori with virulence factors, commensal and keystone bacteria, opportunistic overgrowth, fungi and parasites, then the intestinal health markers (elastase, steatocrit, beta-glucuronidase, occult blood, sIgA, anti-gliadin IgA, calprotectin, zonulin). It reads cross-marker patterns and puts conventional red flags like calprotectin and occult blood first.
In Ena the same skill pulls the labs, history and medications itself. Nothing pasted, nothing de-identified, HIPAA compliant.