---
title: "Download patient record as CSV"
method: POST
path: "/patients/{patientId}/export/csv"
tags: ["PatientRecordExport"]
---

# Download patient record as CSV

`POST /patients/{patientId}/export/csv`

## Path parameters

- `patientId` string, required

## Request body

- PatientRecordExportOptions — Options controlling which sections to include in the patient record export
  - `appointmentId` string, nullable — Optional appointment ID to filter export to a specific visit. When null, exports the full patient record across all appointments.
  - `includeMedicalHistory` boolean — Include medical history and warnings section
  - `includeSoapNotes` boolean — Include SOAP notes section
  - `includeMedications` boolean — Include medications section
  - `includeRdvmRecords` boolean — Include RDVM records/referrals
  - `includeTransactionHistory` boolean — Include transaction/payment history
  - `includeDischargeRecords` boolean — Include discharge records
  - `includeLabResults` boolean — Include lab results with original PDFs
  - `includeVaccinations` boolean — Include vaccination history
  - `includeReminders` boolean — Include reminders (full-record exports only)

## Response `200`

OK

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/versions/a905bde4e796/schema)
