Skip to content

Clinical Summaries

Clinical Summaries

DELPHOS generates two types of patient summaries from accumulated clinical data — a technical summary for clinical decision-making and a rapport summary for patient relationship context. Both draw from consultation history, lab results, medications, conditions, and lifestyle data.

Patient Context

Before generating summaries, you can retrieve the structured clinical context that DELPHOS has assembled for a patient:

Terminal window
curl -X GET "https://your-instance.delphos.app/v1/patients/{patient_id}/context" \
-H "x-api-key: $DELPHOS_API_KEY"

The context response aggregates everything DELPHOS knows about the patient:

SectionContents
demographicsAge, gender, birth date (never patient name — privacy by design)
allergiesKnown allergies with severity and reaction type
conditionsActive and historical conditions with onset dates
medicationsCurrent and past medications with dosage and frequency
lifestyleSmoking, alcohol, exercise, and other lifestyle factors
socialEmployment, family context, and social determinants
recent_consultationsLatest consultations with SOAP excerpts

Technical Summary

The technical summary is a structured clinical overview designed for physician use during consultations. It synthesizes the patient’s history into a concise narrative.

Terminal window
curl -X POST "https://your-instance.delphos.app/v1/patients/{patient_id}/summary" \
-H "x-api-key: $DELPHOS_API_KEY"

Response:

{
"patient_id": "550e8400-e29b-41d4-a716-446655440000",
"summary": "Paciente feminina, 41 anos, com diabetes tipo 2 diagnosticada em 2015, em uso de Metformina 500mg 2x/dia. Histórico de cefaleia tensional episódica com boa resposta a analgésicos. Última consulta em 14/04/2026: PA 120/80, sem queixas ativas. Hemograma normal em 01/04/2026. Alergia a penicilina (anafilaxia).",
"language": "pt-BR",
"generated_at": "2026-04-14T12:00:00Z",
"cached": false,
"generation_time_ms": 2500
}

Caching

DELPHOS uses content-hash-based caching for summaries. When you request a summary, the platform computes a hash of the patient’s current clinical data. If the data has not changed since the last summary was generated, the cached version is returned instantly.

To force a fresh summary (e.g., after you know new data has been added):

Terminal window
curl -X POST "https://your-instance.delphos.app/v1/patients/{patient_id}/summary?force_refresh=true" \
-H "x-api-key: $DELPHOS_API_KEY"

Rapport Summary

The rapport summary provides relationship context — personal details, communication preferences, and lifestyle observations that help physicians build better patient relationships:

Terminal window
curl -X GET "https://your-instance.delphos.app/v1/patients/{patient_id}/rapport-summary" \
-H "x-api-key: $DELPHOS_API_KEY"

Response:

{
"patient_id": "550e8400-e29b-41d4-a716-446655440000",
"rapport_summary": "Paciente acompanhada desde janeiro de 2024. Trabalha como gerente de escritório...",
"language": "pt-BR",
"generated_at": "2026-04-14T12:00:00Z",
"cached": false,
"consultation_count": 15,
"first_visit_date": "2024-01-10"
}

Track laboratory values over time with trend analysis:

Terminal window
curl -X GET "https://your-instance.delphos.app/v1/patients/{patient_id}/lab-trends?\
markers=glucose,creatinine&period=12" \
-H "x-api-key: $DELPHOS_API_KEY"

Response:

{
"patient_id": "550e8400-e29b-41d4-a716-446655440000",
"period_months": 12,
"total_results": 24,
"markers": [
{
"marker_name": "glucose",
"unit": "mg/dL",
"trend": "stable",
"reference_min": 70,
"reference_max": 100,
"data_points": [
{
"date": "2026-01-15",
"numeric_value": 95,
"status": "normal"
},
{
"date": "2026-04-01",
"numeric_value": 98,
"status": "normal"
}
]
}
]
}

Query Parameters

ParameterTypeDefaultDescription
markersstringAll markersComma-separated marker names
periodinteger12Lookback period in months (1-120)

Trend Values

TrendMeaning
increasingValues trending upward over the period
decreasingValues trending downward
stableNo significant change

Next Steps