---
title: "Create Patient Diagnosis"
method: POST
path: "/api/doctor/patients/{patient_id}/diagnoses"
---

# Create Patient Diagnosis

`POST /api/doctor/patients/{patient_id}/diagnoses`

## Request

- Base URL: `https://api.mednode.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mednode.in/api/doctor/patients/{patient_id}/diagnoses`
- Auth: HTTP bearer

## Path parameters

- `patient_id` integer, required

## Request body

- PatientDiagnosisCreateRequest
  - `title` string, required
  - `soap_subjective` string, nullable
  - `soap_objective` string, nullable
  - `soap_assessment` string, nullable
  - `soap_plan` string, nullable
  - `attachments` object[], nullable
  - `patient_can_comment` boolean, nullable

## Response `200`

Successful Response

- PatientDiagnosisResponse
  - `id` integer, required
  - `patient_user_id` integer, required
  - `doctor_user_id` integer, required
  - `title` string, required
  - `soap_subjective` string, nullable
  - `soap_objective` string, nullable
  - `soap_assessment` string, nullable
  - `soap_plan` string, nullable
  - `attachments` object[], nullable
  - `patient_can_comment` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mednode/apis/mednode-ai-api.md) · [All operations](https://skmtc.dev/mednode/apis/mednode-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mednode/apis/mednode-ai-api/revisions/7e0b84effd6e?raw)
