insights

Gets a summary of a patient's daily insights

get/patients/{patient_id}/insights/daily-summary

Path parameters

patient_idinteger required

Query parameters

datestring

calendar date in format YYYY-MM-DD

Example:2019-01-02
force_rebuildboolean

force the rebuild of the daily summary

Response

successful operation

has_biometric_insightboolean

indicates if the patient has biometric data to generate biometric insights, and the insights should be displayed

has_meaningful_insightboolean

indicates if the patient has meaningful insights, and the insights should be displayed

idinteger

id of the insight

insight_body_markdownstring required

body of the patient insights, formatted with Markdown, in English

insight_body_markdown_translationsobject nullable
insight_datestring required

date of the insights

insight_summarystring required

one-line summary of the patient insights, in English

insight_summary_translationsobject nullable

translations of the summary, keyed by locale

insight_titlestring required

a short title for the insight

insight_title_translationsobject nullable

translations of the title, keyed by locale

internal_reasoningstring

internal reasoning for the insight, in English

versionstring required

version of the insight response

Example response

{
  "insight_body_markdown": "Great job eating vegetables. Try some more fruits.",
  "insight_date": "2021-01-01",
  "insight_summary": "Great job eating vegetables",
  "insight_summary_translations": {
    "fr": "Bon travail en mangeant des légumes"
  },
  "insight_title": "Great job eating vegetables",
  "insight_title_translations": {
    "fr": "Bon travail en mangeant des légumes"
  },
  "version": "1"
}

Changes