{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/predoc/json-schema/predoc-patient-summary-res-dto-schema.json",
  "title": "PatientSummaryResDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/predoc-documents-api-openapi.yml#/components/schemas/PatientSummaryResDto",
  "type": "object",
  "properties": {
    "patientSummaryRequestId": {
      "type": "string",
      "description": "Identifier that is used in subsequent API requests to check the status and retrieve the patient summary.",
      "format": "uuid"
    },
    "patientSummaryRequestStatus": {
      "type": "string",
      "description": "Status of the patient summary request.",
      "enum": [
        "QUEUEING",
        "QUEUED",
        "GENERATING",
        "ERROR",
        "READY"
      ]
    },
    "patientSummaryRequestStatusMessage": {
      "type": "string",
      "description": "Any messages about the status of the patient summary request. This can include any errors that may have occurred during the request or notifications that the patient doesn't contain any of the requested categories."
    },
    "documentLink": {
      "type": "string",
      "description": "Once the document is in the `READY` status, this is the signed URL to download the document. This URL will expire after 24 hours.",
      "format": "url"
    }
  },
  "required": [
    "patientSummaryRequestStatus",
    "patientSummaryRequestStatusMessage"
  ]
}