Create Patient

POST /v1.0/patients

Creates a new patient.

Parameters

Name

In

Type

Description

Required

x-sully-organization-id

header

string

Organization ID for multi-tenant support.

Yes

x-sully-transaction-id

header

string

Transaction ID for tracking purposes.

Yes

Request Body

Content-Type: application/json
{
  "first_name": "string",
  "middle_name": "string",
  "last_name": "string",
  "pronouns": "string",
  "date_of_birth": "string",
  "sex": "male",
  "email": "user@example.com",
  "phone_numbers": ["string"],
  "address": {
    "street": "string",
    "city": "string",
    "state": "string",
    "postal_code": "string",
    "country": "string"
  },
  "practitioner_id": "string",
  "practitioner_email": "user@example.com"
}

Responses

  • 201: Patient created successfully. application/json

  • 400: Bad request due to invalid input. application/json

Last updated