COMPLETED status, your application can retrieve the generated Patient Summary and display it in schedule, chart, or patient views.
Generation and retrieval are separate operations. A successful generation request does not return the summary. Instead, wait for the job to complete, then retrieve either the full Patient Summary or the pre-visit section your application needs.
For request and response details, refer to the Patient Summaries APIs.
Patient Summary supports two retrieval paths:
Full Patient Summary
Pre-Visit Summary
- Confirming the generation job completed successfully.
- Choosing the full summary or the pre-visit section.
- Mapping summary sections into your UI.
- Handling missing appointments and limited clinical history clearly.
Confirm Generation Completed
COMPLETED. Do not treat job output as final before then.Choose What to Display
Choose How to Look It Up
patient_summary_id, or by fhir_encounter_id and fhir_practitioner_id when your workflow stores partner identifiers.Handle Empty States
Decide on a retrieval path
Choose the retrieval path based on what your UI needs and which identifiers you store.Full Patient Summary
Full Patient Summary
- Patient chart review.
- Appointment detail screens.
- Deep clinical review before the visit.
patient_summary_id, orfhir_encounter_idandfhir_practitioner_id.
Pre-Visit Summary
Pre-Visit Summary
- Provider schedule lists.
- Appointment cards.
- Morning preview panels.
patient_summary_id, orfhir_encounter_idandfhir_practitioner_id.
Typical retrieval workflow
Confirm Job Status
patient_summary_id, or fhir_encounter_id and fhir_practitioner_id.Stop on Terminal Status
COMPLETED. For FAILED or ABORTED, log identifiers and show a clear UI fallback.Retrieve the Content
Render the Sections
Understanding summary sections
A completed Patient Summary typically contains the following sections:Example response
The following example shows the shape of a successful retrieve response from the Patient Summaries APIs:section_type- Section identifier, such asABOUT_VISIT.title- Display title for the section.snippet_index- Index of the section snippet.contents- Array of content objects that can includetext,problem, andvisitfields.
Handle empty clinical states
Not every patient profile has the same data shape. Design empty states as first-class UI.No Upcoming Appointment
No Upcoming Appointment
No upcoming appointment. Schedule an appointment to view the summary.Do not imply that CKG ingestion failed or that generation failed when the patient is simply not on today’s schedule.Upcoming Appointment, No Prior Record
Upcoming Appointment, No Prior Record
- Show About this visit.
- Show Problems when available.
- Under Summary, show that no record was found.
- Under Previous visits, show that no record was found.
Upcoming Appointment with Prior Records
Upcoming Appointment with Prior Records
Generation Still Running
Generation Still Running
COMPLETED.Job Failed or Aborted
Job Failed or Aborted
FAILED or ABORTED.Resolution: Do not display incomplete content as a finished summary. Log the identifiers, offer retry if applicable, and fall back to manual chart review.Common workflows
Schedule Preview
Schedule Preview
- Generate summaries for scheduled appointments.
- Poll until appointments reach
COMPLETED. - Retrieve pre-visit summaries for the schedule list.
- Open the full summary when the clinician selects a patient.
Patient Profile Review
Patient Profile Review
- Confirm an upcoming appointment exists.
- Check whether a summary already exists.
- Generate if needed.
- Retrieve the full summary and render all sections.
Progressive Readiness
Progressive Readiness
- Trigger scheduled generation in the morning.
- As each job completes, retrieve and cache that appointment’s summary.
- Show ready patients immediately while others remain in a preparing state.
Best practices
Next steps
Continue with the following guides:- Patient Summary best practices for production polling, retries, logging, and security.
- Patient Summary basic usage to follow an end-to-end integration example.
- Patient Summaries APIs to explore the full and pre-visit retrieval endpoints.