Skip to content

Get Details

GET

/:tenantId/patients/:id

Response

HTTP 200 OK

json
{
  "data": {
    "id": 337,
    "first_name": "John",
    "last_name": "Doe",
    "name": "John Doe",
    "mobile": "+1234567890",
    "phone": null,
    "identity_number": null,
    "protocol_no": "xyz123",
    "birth_date": "1990-01-01T00:00:00.000000Z",
    "birthplace": "ExampleTown",
    "control_date": "2024-12-22T00:00:00.000000Z",
    "work_phone": "+0987654321",
    "home_phone": null,
    "fax": null,
    "email": "john.doe@example.com",
    "address": "123 Example Street, Sample City",
    "state": null,
    "city": "ExampleCity",
    "town": null,
    "district": null,
    "post_code": "12345",
    "country": "SampleLand",
    "work_address": "456 Work Street, ExampleCity",
    "nationality": "SampleNation",
    "foreigner_type": null,
    "occupation": "SampleOccupation",
    "user_id": 24,
    "came_from": null,
    "reference": "SampleReference",
    "blood_type": "O+",
    "discount_rate": "0.00",
    "healthcare_id": 1,
    "insurance_type_id": null,
    "type": null,
    "gender": 1,
    "emergency_contact_name": "Jane Doe",
    "emergency_contact_phone": "+11234567890",
    "emergency_contact_relationship": "Spouse",
    "created_at": "2024-05-09T12:39:08.000000Z",
    "notes": [
      {
        "id": 145,
        "patient_id": 337,
        "note": "Sample note content 1",
        "is_important": false,
        "created_at": "2024-10-02T10:36:33.000000Z"
      },
      {
        "id": 236,
        "patient_id": 337,
        "note": "Sample note content 2",
        "is_important": true,
        "created_at": "2024-10-17T21:31:52.000000Z"
      },
      {
        "id": 237,
        "patient_id": 337,
        "note": "Sample note content 3",
        "is_important": true,
        "created_at": "2024-10-17T21:32:09.000000Z"
      }
    ],
    "group_id": [],
    "user": {
      "id": 24,
      "name": "Admin Test",
      "photo": null,
      "color": ""
    },
    "photo": "https://example.com/path/to/photo.jpg",
    "sms_consent": 2,
    "privacy_consented_at": "2024-06-20T14:11:50.000000Z",
    "can_send_to_uss": false
  }
}