---
title: "Create a patient"
method: POST
path: "/Patient"
tags: ["Patient"]
---

# Create a patient

`POST /Patient`

Creates a new `Patient` resource and returns it as it was stored, so you can see which fields survived.

An `id` in the request body is ignored; the server assigns one and returns it in the `Location` header. An `active` of `false` is ignored too, and the patient is created active.

Only the first entry of `identifier` is kept. Fields the record has nowhere to store — such as `maritalStatus`, `communication` or `photo` — are accepted and dropped rather than refused.

There is no deduplication: sending the same patient twice creates two records.

## Response `201`

Patient created

## Other responses

- `400` — Bad request - malformed resource or parameters.
- `401` — Unauthorized - missing or invalid bearer token.
- `403` — Forbidden - the token lacks the required scope.
- `422` — Unprocessable entity - the resource failed validation.

---

[API](https://skmtc.dev/mdhub/apis/mdhub-api.md) · [All operations](https://skmtc.dev/mdhub/apis/mdhub-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mdhub/mdhub-api/revisions/ee7fca23d80b/schema)
