Understanding the structure of patient and clinician responses with citations
This guide explains the structure of Helios API responses, including how to parse and display the patient and clinician reports, and how to use the citations system.
## 👤 Your Health SummaryBased on analysis of your health records.---Hello!We've completed a thorough review of your health record...**Understanding Your Key Health Areas*** **Heart and Metabolic Health**: Your records show... [1] [2]* **Diabetes Risk**: You have prediabetes, which means... [3]### 🧪 Recommended Tests* **HbA1c**: Monitor blood sugar control. *Get every 3-6 months.* [4]* **Lipid Panel**: Check cholesterol levels. *Get within 6 months.* [5]### 💡 What You Can Do* Focus on a heart-healthy diet... [6]* Aim for 150 minutes of exercise weekly... [7]
The patient response uses numbered citations like [1], [2] that reference entries in the citations.patient object.
{ "citations": { "patient": { "1": { "url": "https://pubmed.ncbi.nlm.nih.gov/12345678/", "title": "Glycemic Control and Cardiovascular Outcomes", "metadata": { "url": "https://pubmed.ncbi.nlm.nih.gov/12345678/", "type": "pubmed", "title": "Glycemic Control and Cardiovascular Outcomes" } }, "2": { "url": "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1234567/", "title": "ADA Standards of Care 2025", "metadata": { "url": "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1234567/", "type": "pmc", "title": "ADA Standards of Care 2025" } }, "3": { "url": "https://doi.org/10.2337/dc24-S006", "title": "ADA Standards of Care in Diabetes — Glycemic Goals and Hypoglycemia", "metadata": { "url": "https://doi.org/10.2337/dc24-S006", "type": "guideline", "title": "ADA Standards of Care in Diabetes — Glycemic Goals and Hypoglycemia", "source": "ADA", "author": "American Diabetes Association", "doi": "10.2337/dc24-S006", "pubdate": "2024-01-01", "abstract_snippet": "Glycemic management is primarily assessed with the A1C test, which reflects average glycemia over approximately 2-3 months...", "specialties": ["Endocrinology"] } }, "4": { "url": "https://pubmed.ncbi.nlm.nih.gov/34567890/", "title": "Creatinine Clearance as a Marker of GFR in CKD", "metadata": { "url": "https://pubmed.ncbi.nlm.nih.gov/34567890/", "type": "insight", "title": "Creatinine Clearance as a Marker of GFR in CKD", "source": "pubmed.ncbi.nlm.nih.gov", "author": "Published in Kidney International", "pubdate": "2023" } } }, "clinician": { "1": { "url": "https://pubmed.ncbi.nlm.nih.gov/87654321/", "title": "Management of Type 2 Diabetes: A Systematic Review", "metadata": { "url": "https://pubmed.ncbi.nlm.nih.gov/87654321/", "type": "pubmed", "title": "Management of Type 2 Diabetes: A Systematic Review" } }, "2": { "url": "https://doi.org/10.2337/dc24-S009", "title": "ADA Standards of Care — Pharmacologic Approaches to Glycemic Treatment", "metadata": { "url": "https://doi.org/10.2337/dc24-S009", "type": "guideline", "title": "ADA Standards of Care — Pharmacologic Approaches to Glycemic Treatment", "source": "ADA", "author": "American Diabetes Association", "doi": "10.2337/dc24-S009", "specialties": ["Endocrinology"] } } } }}
Guideline citations include additional metadata fields: source (society acronyms like “ACC/AHA”, “KDIGO”), author (full society names), doi, pubdate, abstract_snippet, and specialties. Not all fields are present on every citation — only type is guaranteed in the metadata object.
Each citation includes a type field in its metadata:
Type
Description
Example URL
pubmed
PubMed article
pubmed.ncbi.nlm.nih.gov/...
pmc
PubMed Central full-text
ncbi.nlm.nih.gov/pmc/...
guideline
Clinical guideline from curated corpus of 3,000+ articles from leading medical societies (ACC/AHA, KDIGO, ADA, USPSTF, ASCO, ESC, IDSA, NICE, CDC, and others)
doi.org/..., society websites
journal
Peer-reviewed journal
bmj.com/..., nejm.org/...
web
Other web source
Various
insight
Curated medical knowledge insight matched to patient data
Various
Guideline citations are sourced from a curated database of clinical practice guidelines published by authoritative medical societies. These are prioritized for clinical protocols, treatment recommendations, screening guidance, and standard-of-care references. See Evidence Sources for more details.
The Lab Results Agent response differs slightly from the EHR Agent:
{ "result": { "labResults": [...], // Labs that were analyzed (after limiting) "patientResponse": "...", // Markdown-formatted patient summary "clinicianResponse": "...", // Markdown-formatted clinical report "citations": { "patient": {...}, "clinician": {...} }, "metadata": { "labsReceived": 15, // Number of labs sent in request "labsAnalyzed": 15, // Number after 200-lab limit applied "insightsMatched": 8 // Database insights matched } }}
The Lab Results Agent does not include selectedElements since all provided labs are analyzed directly. Instead, it includes labResults (the labs that were processed) and metadata with processing statistics.
See the Lab Results Agent documentation for complete request and response details.
For Deep Agent runs, the researchTasks array lists the research queries that were executed:
{ "researchTasks": [ "Research current ADA guidelines for glycemic control in Type 2 Diabetes", "Investigate SGLT2 inhibitor cardiovascular benefits in patients with CKD", "Analyze optimal statin therapy for diabetic patients with elevated LDL" ]}
Both patientResponse and clinicianResponse are formatted in Markdown. Use a Markdown rendering library to display them properly with headers, lists, tables, and formatting.
Typical citation counts vary by agent type and case complexity:
Agent
Patient Citations
Clinician Citations
Light Agent
10-20
15-30
Deep Agent
15-25
30-50
Lab Results Agent
10-20
15-30
These ranges include citations from all source types — medical literature, clinical guidelines, database insights, and web sources. Citation counts may be lower for cases with limited health data or when external research services have issues. The responses are still valid even with fewer citations.
Helios agents draw from multiple evidence sources to provide comprehensive, well-cited analysis. Each source type appears as a distinct type in the citation metadata.
Peer-reviewed biomedical articles from the National Library of Medicine. Includes research papers, systematic reviews, meta-analyses, and clinical trials. These are the most common citation type and appear with type: "pubmed" or type: "pmc".
A curated corpus of 3,000+ clinical practice guideline articles from authoritative medical societies, including:
ACC/AHA — American College of Cardiology / American Heart Association
KDIGO — Kidney Disease: Improving Global Outcomes
ADA — American Diabetes Association
USPSTF — U.S. Preventive Services Task Force
ASCO — American Society of Clinical Oncology
ESC — European Society of Cardiology
IDSA — Infectious Diseases Society of America
NICE — National Institute for Health and Care Excellence
CDC — Centers for Disease Control and Prevention
NLA, ATA, ASRM, and many others
Guideline citations are prioritized for clinical protocols, treatment recommendations, screening guidance, monitoring schedules, and risk stratification. They appear with type: "guideline" and include additional metadata such as doi, source (society acronyms), and specialties.
Curated medical knowledge entries matched to the patient’s specific data. These provide targeted clinical context based on evidence-based findings relevant to the patient’s conditions and lab results. They appear with type: "insight". The Lab Results Agent also reports metadata.insightsMatched — the number of insights matched for the analysis.
Additional medical content from peer-reviewed journals, professional society websites, and other authoritative health resources. These appear with type: "web" or type: "journal" depending on the source.