Clinician
Patient
Get Patient

Get Patient

GET endpoint for /clinician/patient/get-patient in clinician category

Overview

  • Method: GET
  • Path: /clinician/patient/get-patient
  • Tags: clinician

Parameters

orderId (query)

  • Type: string
  • Required: No
  • Description: orderId query parameter

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "type": "object",
  "properties": {
    "patient": {
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "dateOfBirth": {
      "type": "string"
    },
    "gender": {
      "type": "string"
    },
    "phone": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "address": {
      "type": "string"
    },
    "address2": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "postalCode": {
      "type": "string"
    },
    "country": {
      "type": "string"
    }
  },
  "required": [
    "patient",
    "firstName",
    "lastName",
    "dateOfBirth",
    "address",
    "city",
    "state",
    "postalCode",
    "country"
  ]
}

400

Bad Request

Content Type: application/json

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "details": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "details"
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  http://localhost:9000/clinician/patient/get-patient \
  -H "Content-Type: application/json" \
  

Interactive Testing

You can test this endpoint interactively in the Swagger UI (opens in a new tab).