Skip to main content
Problem: You need a summary for one upcoming visit, but generation is asynchronous and the summary is not in the create response. Solution: Call Generate Patient Summary for an encounter with fhir_encounter_id and fhir_practitioner_id, then store patient_summary_id. Poll status next, then retrieve.
This cookbook assumes CKG ingestion for the patient, encounter, and practitioner is already COMPLETED, and you have Partner ID, sdp_suki_token, and matching FHIR identifiers.

Common mistakes

  • Generating before CKG ingestion is COMPLETED.
  • Mismatched fhir_encounter_id or fhir_practitioner_id versus ingested FHIR data.
  • Treating the generate response as the finished summary instead of saving patient_summary_id and polling.
  • Re-generating when a usable summary for the appointment already exists.

Other cookbooks

Patient SummaryAPI

Upload FHIR to CKG and Poll Ingestion

Upload FHIR, then wait for COMPLETED.

5 min
Patient SummaryAPI

Poll Patient Summary Status Before Retrieve

Poll until status is COMPLETED.

5 min
Last modified on August 7, 2026