{
  "openapi": "3.0.3",
  "info": {
    "title": "Webhook API",
    "description": "Webhook API reference.",
    "version": ""
  },
  "paths": {
    "/webhook": {
      "post": {
        "summary": "Receive webhook events",
        "description": "This is the endpoint you need to implement on your server to receive events. This page references the format of all the possible events.",
        "tags": [
          "Webhook"
        ],
        "operationId": "api-receive-webhook",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/webhook_event"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Respond with 200 to acknowledge the handling of this webhook event, otherwise we will retry the call later."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "generate_note_async.succeeded": {
        "$ref": "#/components/schemas/generate_note_async_succeeded"
      },
      "generate_note_async.failed": {
        "$ref": "#/components/schemas/generate_note_async_failed"
      },
      "transcribe_async.succeeded": {
        "$ref": "#/components/schemas/transcribe_async_succeeded"
      },
      "transcribe_async.failed": {
        "$ref": "#/components/schemas/transcribe_async_failed"
      },
      "dictate_async.succeeded": {
        "$ref": "#/components/schemas/dictate_async_succeeded"
      },
      "dictate_async.failed": {
        "$ref": "#/components/schemas/dictate_async_failed"
      },
      "generate_normalized_data_async.succeeded": {
        "$ref": "#/components/schemas/generate_normalized_data_async_succeeded"
      },
      "generate_normalized_data_async.failed": {
        "$ref": "#/components/schemas/generate_normalized_data_async_failed"
      },
      "uuid": {
        "type": "string",
        "format": "uuid",
        "description": "A unique identifier.",
        "example": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6"
      },
      "created_at": {
        "type": "string",
        "format": "date-time",
        "description": "The creation date of this object, in ISO 8601 format.",
        "example": "2022-03-10T19:16:23.456Z"
      },
      "base_webhook_event": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/uuid",
            "description": "The unique identifier of this webhook event."
          },
          "created_at": {
            "$ref": "#/components/schemas/created_at",
            "description": "Creation date of this webhook event."
          },
          "type": {
            "type": "string",
            "description": "Type of this event, serves as a discriminator between the different possible webhook types."
          }
        },
        "required": [
          "id",
          "created_at",
          "type"
        ]
      },
      "client_request_id": {
        "type": "string",
        "maxLength": 128,
        "description": "An optional unique client-made id for this request. When specified, this id is included in  the Json payload that will be sent asynchronously. This can help clients both guarantee idempotency and correlate asynchronous responses with their requests.\n\n_Note_: this id must be different for every request. It is recommended to use a randomly generated UUID."
      },
      "async_request_status": {
        "type": "string",
        "enum": [
          "ONGOING",
          "FAILED",
          "SUCCEEDED"
        ]
      },
      "note_section_key": {
        "type": "string",
        "description": "A key identifying a section of a note.\nThe set of possible keys depend on the template that is used. Check [Note template](/guides/note-templates/note-templates-sections) for possible values.",
        "example": "CHIEF_COMPLAINT"
      },
      "note_section": {
        "type": "object",
        "description": "A note section.",
        "properties": {
          "key": {
            "$ref": "#/components/schemas/note_section_key"
          },
          "title": {
            "type": "string",
            "description": "The section title.",
            "example": "Chief complaint"
          },
          "text": {
            "type": "string",
            "description": "Content of the note section.",
            "example": "Sleep disorder"
          }
        },
        "required": [
          "key",
          "title",
          "text"
        ],
        "example": [
          {
            "key": "CHIEF_COMPLAINT",
            "title": "Chief complaint",
            "text": "Fatigue and headaches"
          },
          {
            "key": "SYMPTOMS",
            "title": "Symptoms",
            "text": "- Tiredness all day long\n- Mild headaches on the right side"
          }
        ]
      },
      "note_locale": {
        "type": "string",
        "description": "Locale of the note.",
        "enum": [
          "ENGLISH_US",
          "ENGLISH_UK",
          "FRENCH_FR"
        ],
        "example": "ENGLISH_US"
      },
      "note": {
        "type": "object",
        "description": "The generated note.",
        "properties": {
          "title": {
            "type": "string",
            "description": "Title of the note.",
            "example": "Fever and strong headache"
          },
          "sections": {
            "type": "array",
            "description": "Content of the note structured in multiple sections.",
            "items": {
              "$ref": "#/components/schemas/note_section"
            }
          },
          "locale": {
            "$ref": "#/components/schemas/note_locale"
          },
          "template_key": {
            "type": "string",
            "description": "Human-readable identifier for the note template used to generate this note."
          }
        },
        "required": [
          "sections",
          "locale",
          "template_key"
        ]
      },
      "async_note_generation_succeeded_payload": {
        "type": "object",
        "description": "The generated note.",
        "required": [
          "note"
        ],
        "properties": {
          "note": {
            "$ref": "#/components/schemas/note"
          }
        }
      },
      "async_note_generation_succeeded": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/uuid",
            "description": "The id of the asynchronous request."
          },
          "client_request_id": {
            "$ref": "#/components/schemas/client_request_id"
          },
          "status": {
            "$ref": "#/components/schemas/async_request_status"
          },
          "payload": {
            "$ref": "#/components/schemas/async_note_generation_succeeded_payload"
          }
        },
        "required": [
          "id",
          "status"
        ]
      },
      "generate_note_async_succeeded": {
        "x-sensitive-medical-data": true,
        "x-webhook-type": "CORE_API_GENERATE_NOTE_ASYNC_SUCCEEDED",
        "allOf": [
          {
            "$ref": "#/components/schemas/base_webhook_event"
          },
          {
            "type": "object",
            "description": "Event sent when an **asynchronous** note generation succeeds.",
            "properties": {
              "data": {
                "$ref": "#/components/schemas/async_note_generation_succeeded"
              }
            },
            "required": [
              "data"
            ]
          }
        ]
      },
      "async_request_failed_payload": {
        "type": "object",
        "properties": {
          "error_code": {
            "type": "integer",
            "example": 422
          },
          "error_message": {
            "type": "string",
            "example": "We can't generate the note when the transcript is too short."
          }
        },
        "required": [
          "error_code"
        ]
      },
      "async_request_failed": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/uuid",
            "description": "The id of the asynchronous request."
          },
          "client_request_id": {
            "$ref": "#/components/schemas/client_request_id"
          },
          "status": {
            "$ref": "#/components/schemas/async_request_status"
          },
          "payload": {
            "$ref": "#/components/schemas/async_request_failed_payload"
          }
        },
        "required": [
          "id",
          "status",
          "payload"
        ]
      },
      "generate_note_async_failed": {
        "x-sensitive-medical-data": false,
        "x-webhook-type": "CORE_API_GENERATE_NOTE_ASYNC_FAILED",
        "allOf": [
          {
            "$ref": "#/components/schemas/base_webhook_event"
          },
          {
            "type": "object",
            "description": "Event sent when an **asynchronous** note generation fails.",
            "properties": {
              "data": {
                "$ref": "#/components/schemas/async_request_failed"
              }
            },
            "required": [
              "data"
            ]
          }
        ]
      },
      "speaker": {
        "type": "string",
        "enum": [
          "DOCTOR",
          "PATIENT",
          "UNSPECIFIED"
        ],
        "description": "Who said the text in this transcript item.",
        "example": "DOCTOR"
      },
      "speech_locale": {
        "type": "string",
        "enum": [
          "ENGLISH_US",
          "ENGLISH_UK",
          "SPANISH_ES",
          "SPANISH_MX",
          "FRENCH_FR",
          "ARABIC_EG",
          "ARABIC_LB",
          "ARABIC_MA",
          "ARABIC_SA",
          "ARMENIAN_AM",
          "BENGALI_IN",
          "CANTONESE_CN",
          "CROATIAN_HR",
          "FILIPINO_PH",
          "GERMAN_DE",
          "GREEK_GR",
          "GUJARATI_IN",
          "HEBREW_IL",
          "HINDI_IN",
          "ITALIAN_IT",
          "JAPANESE_JP",
          "KHMER_KH",
          "KOREAN_KR",
          "MANDARIN_CN",
          "PERSIAN_IR",
          "POLISH_PL",
          "PORTUGUESE_PT",
          "PUNJABI_IN",
          "RUSSIAN_RU",
          "SERBIAN_RS",
          "TAMIL_IN",
          "TELUGU_IN",
          "THAI_TH",
          "URDU_IN",
          "VIETNAMESE_VN",
          "HAITIAN_HT"
        ],
        "example": "ENGLISH_US"
      },
      "transcript_item": {
        "type": "object",
        "description": "A portion of the transcribed consultation.",
        "properties": {
          "text": {
            "type": "string",
            "description": "The transcribed text.",
            "example": "Also, I’m allergic to peanuts."
          },
          "speaker_type": {
            "$ref": "#/components/schemas/speaker"
          },
          "locale": {
            "$ref": "#/components/schemas/speech_locale",
            "description": "Locale for this transcript item, detected by the speech-to-text engine from the list of locales in the input."
          },
          "start_offset_ms": {
            "type": "integer",
            "description": "Start time of this transcription item as the offset, in milliseconds, from the start of the audio file.",
            "example": 65100
          },
          "end_offset_ms": {
            "type": "integer",
            "description": "End time of this transcription item as the offset, in milliseconds, from the start of the audio file. Equals the `start_time_ms` plus the duration of the related transcribed audio portion.",
            "example": 69300
          }
        },
        "required": [
          "text",
          "locale",
          "start_offset_ms",
          "end_offset_ms"
        ]
      },
      "transcript": {
        "type": "array",
        "description": "Transcript items from the audio file.",
        "items": {
          "$ref": "#/components/schemas/transcript_item"
        }
      },
      "async_transcription_succeeded_payload": {
        "type": "object",
        "description": "The generated transcript.",
        "properties": {
          "transcript": {
            "$ref": "#/components/schemas/transcript"
          }
        },
        "required": [
          "transcript"
        ]
      },
      "async_transcription_succeeded": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/uuid",
            "description": "The id of the asynchronous request."
          },
          "client_request_id": {
            "$ref": "#/components/schemas/client_request_id"
          },
          "status": {
            "$ref": "#/components/schemas/async_request_status"
          },
          "payload": {
            "$ref": "#/components/schemas/async_transcription_succeeded_payload"
          }
        },
        "required": [
          "id",
          "status"
        ]
      },
      "transcribe_async_succeeded": {
        "x-sensitive-medical-data": true,
        "x-webhook-type": "CORE_API_TRANSCRIBE_ASYNC_SUCCEEDED",
        "allOf": [
          {
            "$ref": "#/components/schemas/base_webhook_event"
          },
          {
            "type": "object",
            "description": "Event sent when an **asynchronous** transcription succeeds.",
            "properties": {
              "data": {
                "$ref": "#/components/schemas/async_transcription_succeeded"
              }
            },
            "required": [
              "data"
            ]
          }
        ]
      },
      "transcribe_async_failed": {
        "x-sensitive-medical-data": false,
        "x-webhook-type": "CORE_API_TRANSCRIBE_ASYNC_FAILED",
        "allOf": [
          {
            "$ref": "#/components/schemas/base_webhook_event"
          },
          {
            "type": "object",
            "description": "Event sent when an **asynchronous** transcription fails.",
            "properties": {
              "data": {
                "$ref": "#/components/schemas/async_request_failed"
              }
            },
            "required": [
              "data"
            ]
          }
        ]
      },
      "async_dictation_succeeded_payload": {
        "type": "object",
        "description": "The generated dictation.",
        "properties": {
          "dictation": {
            "type": "string",
            "description": "The generated dictation string."
          }
        },
        "required": [
          "dictation"
        ]
      },
      "async_dictation_succeeded": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/uuid",
            "description": "The id of the asynchronous request."
          },
          "client_request_id": {
            "$ref": "#/components/schemas/client_request_id"
          },
          "status": {
            "$ref": "#/components/schemas/async_request_status"
          },
          "payload": {
            "$ref": "#/components/schemas/async_dictation_succeeded_payload"
          }
        },
        "required": [
          "id",
          "status"
        ]
      },
      "dictate_async_succeeded": {
        "x-sensitive-medical-data": true,
        "x-webhook-type": "CORE_API_DICTATE_ASYNC_SUCCEEDED",
        "allOf": [
          {
            "$ref": "#/components/schemas/base_webhook_event"
          },
          {
            "type": "object",
            "description": "Event sent when an **asynchronous** dictation succeeds.",
            "properties": {
              "data": {
                "$ref": "#/components/schemas/async_dictation_succeeded"
              }
            },
            "required": [
              "data"
            ]
          }
        ]
      },
      "dictate_async_failed": {
        "x-sensitive-medical-data": false,
        "x-webhook-type": "CORE_API_DICTATE_ASYNC_FAILED",
        "allOf": [
          {
            "$ref": "#/components/schemas/base_webhook_event"
          },
          {
            "type": "object",
            "description": "Event sent when an **asynchronous** dictation fails.",
            "properties": {
              "data": {
                "$ref": "#/components/schemas/async_request_failed"
              }
            },
            "required": [
              "data"
            ]
          }
        ]
      },
      "fhir_condition_clinical_status": {
        "type": "string",
        "enum": [
          "ACTIVE",
          "RESOLVED"
        ],
        "description": "The [clinical status](https://www.hl7.org/fhir/condition-definitions.html#Condition.clinicalStatus) of the condition. Only `ACTIVE` and `RESOLVED` are supported for now.",
        "example": "ACTIVE"
      },
      "icd10_entry_with_hcc_mcc": {
        "type": "object",
        "description": "An ICD-10 entry including HCC and MCC information.",
        "properties": {
          "system": {
            "type": "string",
            "description": "The used coding system, only ICD-10 is supported for now.",
            "enum": [
              "http://hl7.org/fhir/sid/icd-10-cm"
            ]
          },
          "code": {
            "type": "string",
            "example": "G44.8",
            "description": "Code of the [ICD-10](https://www.icd10data.com/ICD10CM/Codes) entry."
          },
          "display": {
            "type": "string",
            "example": "Other specified headache syndromes.",
            "description": "Description of the [ICD-10](https://www.icd10data.com/ICD10CM/Codes) entry."
          },
          "is_hcc": {
            "description": "Indicates if this code maps to a Hierarchical Condition Category (HCC) under the version 28 risk adjustment model.",
            "type": "boolean"
          },
          "is_mcc": {
            "description": "Indicates if this code qualifies as a Major Complication or Comorbidity (MCC).",
            "type": "boolean"
          }
        },
        "required": [
          "code",
          "display",
          "system",
          "is_hcc",
          "is_mcc"
        ]
      },
      "fhir_condition_category": {
        "type": "string",
        "enum": [
          "PROBLEM_LIST_ITEM",
          "ENCOUNTER_DIAGNOSIS"
        ],
        "description": "The category of a [FHIR condition](https://www.hl7.org/fhir/condition.html).",
        "example": "PROBLEM_LIST_ITEM"
      },
      "fhir_patient_condition": {
        "type": "object",
        "description": "Structured [FHIR condition](https://www.hl7.org/fhir/condition.html).",
        "properties": {
          "clinical_status": {
            "$ref": "#/components/schemas/fhir_condition_clinical_status"
          },
          "coding": {
            "$ref": "#/components/schemas/icd10_entry_with_hcc_mcc",
            "description": "ICD-10 coding representation of this condition."
          },
          "alternative_coding": {
            "type": "array",
            "description": "An array of ICD-10 codes that are closely related to the primary coding and represent plausible alternative coding for the condition.",
            "items": {
              "$ref": "#/components/schemas/icd10_entry_with_hcc_mcc"
            }
          },
          "categories": {
            "description": "Categories of the condition. `PROBLEM_LIST_ITEM` refers to conditions that are resolved or may appear in past medical history, including chronic conditions that are not treated during the current encounter. `ENCOUNTER_DIAGNOSIS` refers to conditions treated during the current encounter. A condition can appear in both categories.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/fhir_condition_category"
            }
          },
          "corresponding_note_problem": {
            "description": "The title of the problem sub-header corresponding to this condition, in the \"Assessment & Plan\" section of the input note. This field is only filled when `include_corresponding_note_problems` is set to `true` in the request and that an `ASSESSMENT_AND_PLAN` section has been provided in the input note. If the condition was not extracted from the `ASSESSMENT_AND_PLAN` section, this field will be `null`.",
            "type": "string"
          }
        },
        "required": [
          "coding"
        ]
      },
      "loinc_entry": {
        "type": "object",
        "description": "A LOINC entry.",
        "properties": {
          "system": {
            "type": "string",
            "description": "The used coding system, only LOINC is supported for now.",
            "enum": [
              "http://loinc.org"
            ]
          },
          "code": {
            "type": "string",
            "example": "29463-7",
            "description": "Code of the LOINC entry."
          },
          "display": {
            "type": "string",
            "example": "Body weight",
            "description": "Description of the LOINC entry."
          }
        },
        "required": [
          "code",
          "display",
          "system"
        ]
      },
      "observation_value_unit": {
        "type": "string",
        "description": "The unit of the observation quantity.",
        "enum": [
          "METER",
          "CENTIMETER",
          "FOOT",
          "KILOGRAM",
          "POUND",
          "MILLIMETERS_OF_MERCURY",
          "CENTIMETERS_OF_MERCURY",
          "CELSIUS",
          "FAHRENHEIT",
          "BEATS_PER_MINUTE",
          "BREATHS_PER_MINUTE",
          "LITER_PER_MINUTE",
          "MILLIMETER",
          "PERCENT",
          "INCH"
        ]
      },
      "observation_value_quantity": {
        "type": "object",
        "description": "Value quantity for an observation.",
        "properties": {
          "value": {
            "type": "number",
            "description": "The value of the quantity."
          },
          "unit": {
            "$ref": "#/components/schemas/observation_value_unit"
          },
          "system": {
            "type": "string",
            "description": "The used coding system, only UCUM is supported for now.",
            "enum": [
              "https://ucum.org"
            ]
          },
          "code": {
            "type": "string",
            "description": "The [UCUM](https://ucum.org/ucum.html) code of the unit.",
            "example": "kg"
          }
        },
        "required": [
          "value",
          "system"
        ]
      },
      "observation_value_range": {
        "type": "object",
        "description": "Value range for an observation.",
        "properties": {
          "low": {
            "$ref": "#/components/schemas/observation_value_quantity",
            "description": "The lower bound of the range."
          },
          "high": {
            "$ref": "#/components/schemas/observation_value_quantity",
            "description": "The higher bound of the range."
          }
        },
        "required": [
          "low",
          "high"
        ]
      },
      "observation_entry": {
        "type": "object",
        "description": "Structured [FHIR observation](https://www.hl7.org/fhir/observation.html).",
        "properties": {
          "coding": {
            "$ref": "#/components/schemas/loinc_entry",
            "description": "LOINC coding representation of this observation."
          },
          "value_quantity": {
            "$ref": "#/components/schemas/observation_value_quantity",
            "description": "The value quantity for this observation, if not a range."
          },
          "value_range": {
            "$ref": "#/components/schemas/observation_value_range",
            "description": "The value range for this observation, if not a quantity."
          },
          "note": {
            "type": "string",
            "description": "Additional comment about the observation.",
            "example": "Measured at rest."
          }
        },
        "required": [
          "coding"
        ]
      },
      "async_normalized_data_succeeded_payload": {
        "type": "object",
        "description": "The normalized data extracted from the note.",
        "properties": {
          "conditions": {
            "description": "FHIR conditions (including their ICD-10 code) corresponding to the patient's medical conditions as mentioned in the clinical note.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/fhir_patient_condition"
            }
          },
          "observations": {
            "description": "FHIR observations (including their LOINC code) extracted from the clinical note.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/observation_entry"
            }
          }
        },
        "required": [
          "conditions",
          "observations"
        ]
      },
      "async_normalized_data_succeeded": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/uuid",
            "description": "The id of the asynchronous request."
          },
          "client_request_id": {
            "$ref": "#/components/schemas/client_request_id"
          },
          "status": {
            "$ref": "#/components/schemas/async_request_status"
          },
          "payload": {
            "$ref": "#/components/schemas/async_normalized_data_succeeded_payload"
          }
        },
        "required": [
          "id",
          "status"
        ]
      },
      "generate_normalized_data_async_succeeded": {
        "x-sensitive-medical-data": true,
        "x-webhook-type": "CORE_API_GENERATE_NORMALIZED_DATA_ASYNC_SUCCEEDED",
        "allOf": [
          {
            "$ref": "#/components/schemas/base_webhook_event"
          },
          {
            "type": "object",
            "description": "Event sent when an **asynchronous** normalized data generation succeeds.",
            "properties": {
              "data": {
                "$ref": "#/components/schemas/async_normalized_data_succeeded"
              }
            },
            "required": [
              "data"
            ]
          }
        ]
      },
      "generate_normalized_data_async_failed": {
        "x-sensitive-medical-data": false,
        "x-webhook-type": "CORE_API_GENERATE_NORMALIZED_DATA_ASYNC_FAILED",
        "allOf": [
          {
            "$ref": "#/components/schemas/base_webhook_event"
          },
          {
            "type": "object",
            "description": "Event sent when an **asynchronous** normalized data generation fails.",
            "properties": {
              "data": {
                "$ref": "#/components/schemas/async_request_failed"
              }
            },
            "required": [
              "data"
            ]
          }
        ]
      },
      "webhook_event": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/generate_note_async_succeeded",
            "title": "generate_note_async.succeeded"
          },
          {
            "$ref": "#/components/schemas/generate_note_async_failed",
            "title": "generate_note_async.failed"
          },
          {
            "$ref": "#/components/schemas/transcribe_async_succeeded",
            "title": "transcribe_async.succeeded"
          },
          {
            "$ref": "#/components/schemas/transcribe_async_failed",
            "title": "transcribe_async.failed"
          },
          {
            "$ref": "#/components/schemas/dictate_async_succeeded",
            "title": "dictate_async.succeeded"
          },
          {
            "$ref": "#/components/schemas/dictate_async_failed",
            "title": "dictate_async.failed"
          },
          {
            "$ref": "#/components/schemas/generate_normalized_data_async_succeeded",
            "title": "generate_normalized_data_async.succeeded"
          },
          {
            "$ref": "#/components/schemas/generate_normalized_data_async_failed",
            "title": "generate_normalized_data_async.failed"
          }
        ],
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "generate_note_async.succeeded": "#/components/schemas/generate_note_async_succeeded",
            "generate_note_async.failed": "#/components/schemas/generate_note_async_failed",
            "transcribe_async.succeeded": "#/components/schemas/transcribe_async_succeeded",
            "transcribe_async.failed": "#/components/schemas/transcribe_async_failed",
            "dictate_async.succeeded": "#/components/schemas/dictate_async_succeeded",
            "dictate_async.failed": "#/components/schemas/dictate_async_failed",
            "generate_normalized_data_async.succeeded": "#/components/schemas/generate_normalized_data_async_succeeded",
            "generate_normalized_data_async.failed": "#/components/schemas/generate_normalized_data_async_failed"
          }
        },
        "example": {
          "id": "0cf0b04d-5bbe-47a9-9601-3dd037644f65",
          "created_at": "2024-07-15T12:47:34.380Z",
          "type": "generate_note_async.succeeded",
          "data": {
            "id": "51abd747-ab5b-4b61-8f28-5a41b554bd7a",
            "created_at": "2024-07-15T12:47:34.380Z",
            "type": "generate_note_async.succeeded",
            "data": {
              "id": "ec546a5a-37ec-40da-b719-127366072fdc",
              "client_request_id": "notegen_n123456789",
              "status": "succeeded",
              "payload": {
                "note": {
                  "title": "Fatigue and headache",
                  "sections": [
                    {
                      "key": "CHIEF_COMPLAINT",
                      "title": "Chief complaint",
                      "text": "- Persistent fatigue\n- Mild headaches on the right side"
                    },
                    {
                      "key": "PAST_MEDICAL_HISTORY",
                      "title": "Past medical history",
                      "text": "- Hypertension\n- Elevated blood sugar levels"
                    },
                    {
                      "key": "LAB_RESULTS",
                      "title": "Lab results",
                      "text": "- Blood sugar level: 1.4 g/L\n- LDL cholesterol: 2 g/L"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}
