7697 lines
196 KiB
Markdown
7697 lines
196 KiB
Markdown
# 🛠️ Laravel Healthcare MCP Server - Complete Tools Reference
|
|
|
|
## 📊 Overview
|
|
|
|
This document provides a comprehensive reference for all MCP tools available in the Laravel Healthcare MCP Server, with exact tool names and complete parameter specifications.
|
|
|
|
**Last Updated**: 2025-07-18
|
|
**Total Tools**: 316
|
|
**API Coverage**: 100% from comprehensive audit
|
|
**Generated From**: Live ToolGenerator analysis (duplicates removed)
|
|
|
|
## 📋 Tool Distribution by Authentication Type
|
|
|
|
| Authentication Type | Tool Count | Percentage | Description |
|
|
|-------------------|------------|------------|-------------|
|
|
| 🌐 **Public** | 58 | 18.4% | Login, registration, password management, webhooks |
|
|
| 🏥 **Provider** | 217 | 68.7% | Clinical data, EMR operations, patient management |
|
|
| 👤 **Patient** | 24 | 7.6% | Patient portal operations |
|
|
| 🤝 **Partner** | 6 | 1.9% | Partner business operations |
|
|
| 🔗 **Affiliate** | 6 | 1.9% | Affiliate management |
|
|
| 🌐 **Network** | 5 | 1.6% | Network operations |
|
|
|
|
**Total**: 316 tools
|
|
|
|
---
|
|
|
|
## 🌐 Public Tools (58 tools)
|
|
|
|
### Authentication Requirements
|
|
- **Type**: None (public access)
|
|
- **Security**: Public endpoints
|
|
- **HIPAA Compliance**: Standard security
|
|
|
|
### `public_create_adminlogin`
|
|
|
|
**Description**: Public: Super admin login. Method: POST, Path: /api/admin/login
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/admin/login`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`password`** (string) - **Required** - Password
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_adminlogin', {
|
|
email: "user@example.com",
|
|
password: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_affiliateLoginApi`
|
|
|
|
**Description**: Public: Affiliate login. Method: POST, Path: /api/affiliate-login-api
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/affiliate-login-api`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`password`** (string) - **Required** - Password
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_affiliateLoginApi', {
|
|
email: "user@example.com",
|
|
password: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_affiliateRegisterApi`
|
|
|
|
**Description**: Public: Affiliate registration with actual parameter names from affiliate/register.vue. Method: POST, Path: /api/affiliate-register-api
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/affiliate-register-api`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`first_name`** (string) - **Required** - First name
|
|
- **`last_name`** (string) - **Required** - Last name
|
|
- **`phone_no`** (string) - **Required** - Phone number
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`dob`** (string) - **Required** - Date of birth
|
|
- **`gender`** (string) - **Required** - Gender
|
|
- **`partner_email`** (string) - **Required** - Partner email
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_affiliateRegisterApi', {
|
|
first_name: "John Doe",
|
|
last_name: "John Doe",
|
|
phone_no: "+1234567890",
|
|
email: "user@example.com",
|
|
dob: "example_value",
|
|
gender: "example_value",
|
|
partner_email: "user@example.com"
|
|
});
|
|
```
|
|
|
|
### `public_create_affiliatesetPassword`
|
|
|
|
**Description**: Public: Save affiliate password. Method: POST, Path: /api/affiliate/set-password
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/affiliate/set-password`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`password`** (string) - **Required** - New password
|
|
- **`password_confirmation`** (string) - **Required** - Password confirmation
|
|
- **`token`** (string) - **Required** - Password reset token
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_affiliatesetPassword', {
|
|
password: "password123",
|
|
password_confirmation: "password123",
|
|
token: "example_value"
|
|
});
|
|
```
|
|
|
|
### `public_create_checkEmail`
|
|
|
|
**Description**: Public: Check email availability. Method: POST, Path: /api/check-email
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/check-email`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_checkEmail', {
|
|
email: "user@example.com"
|
|
});
|
|
```
|
|
|
|
### `public_create_checkUser`
|
|
|
|
**Description**: Public: Check if provider exists. Method: POST, Path: /api/check-user
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/check-user`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Provider email
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_checkUser', {
|
|
email: "user@example.com"
|
|
});
|
|
```
|
|
|
|
### `public_create_emrproviderRegister`
|
|
|
|
**Description**: Public: Register a new provider. Method: POST, Path: /emr/api/provider-register
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/emr/api/provider-register`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`firstName`** (string) - **Required** - firstName parameter
|
|
- **`lastName`** (string) - **Required** - Last name
|
|
- **`username`** (string) - **Required** - Username
|
|
- **`emailAddress`** (string) - **Required** - Email address
|
|
- **`textMessageNumber`** (string) - **Required** - textMessageNumber parameter
|
|
- **`newUserPassword`** (string) - **Required** - Password
|
|
- **`company_name`** (string) - **Required** - company_name parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`on_your_domain`** (boolean) - *Optional* - on_your_domain parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_emrproviderRegister', {
|
|
firstName: "John Doe",
|
|
lastName: "John Doe",
|
|
username: "John Doe",
|
|
emailAddress: "user@example.com",
|
|
textMessageNumber: 30,
|
|
newUserPassword: "password123",
|
|
company_name: "John Doe",
|
|
on_your_domain: true // optional
|
|
});
|
|
```
|
|
|
|
### `public_create_emrregisterPatient`
|
|
|
|
**Description**: Public: Register new patient. Method: POST, Path: /emr/register-patients
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/emr/register-patients`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`firstName`** (string) - **Required** - Parameter
|
|
- **`lastName`** (string) - **Required** - Parameter
|
|
- **`email`** (string) - **Required** - Parameter
|
|
- **`dateOfBirth`** (string) - **Required** - Parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`phone`** (string) - *Optional* - Parameter
|
|
- **`address`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_emrregisterPatient', {
|
|
firstName: "John Doe",
|
|
lastName: "John Doe",
|
|
email: "user@example.com",
|
|
dateOfBirth: "2024-01-15",
|
|
phone: "+1234567890", // optional
|
|
address: "123 Main St" // optional
|
|
});
|
|
```
|
|
|
|
### `public_create_emrsetPassword`
|
|
|
|
**Description**: Public: Create password. Method: POST, Path: /api/emr/set-password
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/set-password`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`password`** (string) - **Required** - New password
|
|
- **`password_confirmation`** (string) - **Required** - Password confirmation
|
|
- **`token`** (string) - **Required** - Password reset token
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_emrsetPassword', {
|
|
password: "password123",
|
|
password_confirmation: "password123",
|
|
token: "example_value"
|
|
});
|
|
```
|
|
|
|
### `public_create_forgotPassword`
|
|
|
|
**Description**: Public: Forgot password functionality. Method: POST, Path: /api/forgot-password
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/forgot-password`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - email parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_forgotPassword', {
|
|
email: "user@example.com"
|
|
});
|
|
```
|
|
|
|
### `public_create_frontendforgotPassword`
|
|
|
|
**Description**: Public: Patient forgot password. Method: POST, Path: /api/frontend/forgot-password
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/frontend/forgot-password`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_frontendforgotPassword', {
|
|
email: "user@example.com"
|
|
});
|
|
```
|
|
|
|
### `public_create_frontendlogin`
|
|
|
|
**Description**: Public: Patient portal login. Method: POST, Path: /api/frontend/login
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/frontend/login`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`password`** (string) - **Required** - Password
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_frontendlogin', {
|
|
email: "user@example.com",
|
|
password: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_frontendresetPassword`
|
|
|
|
**Description**: Public: Patient reset password. Method: POST, Path: /api/frontend/reset-password
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/frontend/reset-password`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`password`** (string) - **Required** - New password
|
|
- **`password_confirmation`** (string) - **Required** - Password confirmation
|
|
- **`token`** (string) - **Required** - Password reset token
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_frontendresetPassword', {
|
|
email: "user@example.com",
|
|
password: "password123",
|
|
password_confirmation: "password123",
|
|
token: "example_value"
|
|
});
|
|
```
|
|
|
|
### `public_create_login`
|
|
|
|
**Description**: Public: General login (uses username field). Method: POST, Path: /api/login
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/login`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`username`** (string) - **Required** - Username
|
|
- **`password`** (string) - **Required** - Password
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_login', {
|
|
username: "John Doe",
|
|
password: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_loginPartnerApi`
|
|
|
|
**Description**: Public: Partner login. Method: POST, Path: /api/login-partner-api
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/login-partner-api`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`password`** (string) - **Required** - Password
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_loginPartnerApi', {
|
|
email: "user@example.com",
|
|
password: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_loginPatient`
|
|
|
|
**Description**: Public: Patient login. Method: POST, Path: /api/login-patient
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/login-patient`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - email parameter
|
|
- **`password`** (string) - **Required** - password parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_loginPatient', {
|
|
email: "user@example.com",
|
|
password: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_networklogin`
|
|
|
|
**Description**: Public: Network login. Method: POST, Path: /api/network/login
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/network/login`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`password`** (string) - **Required** - Password
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_networklogin', {
|
|
email: "user@example.com",
|
|
password: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_networkregister`
|
|
|
|
**Description**: Public: Network registration with actual parameter names from network/register.vue. Method: POST, Path: /api/network/register
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/network/register`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`first_name`** (string) - **Required** - First name
|
|
- **`last_name`** (string) - **Required** - Last name
|
|
- **`phone_no`** (string) - **Required** - Phone number
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`dob`** (string) - **Required** - Date of birth
|
|
- **`gender`** (string) - **Required** - Gender
|
|
- **`password`** (string) - **Required** - Password
|
|
- **`partner_id`** (string) - **Required** - Partner ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_networkregister', {
|
|
first_name: "John Doe",
|
|
last_name: "John Doe",
|
|
phone_no: "+1234567890",
|
|
email: "user@example.com",
|
|
dob: "example_value",
|
|
gender: "example_value",
|
|
password: "password123",
|
|
partner_id: 123
|
|
});
|
|
```
|
|
|
|
### `public_create_partnerRegisterApi`
|
|
|
|
**Description**: Public: Partner registration with actual parameter names from partner/register.vue. Method: POST, Path: /api/partner-register-api
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/partner-register-api`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`first_name`** (string) - **Required** - First name
|
|
- **`last_name`** (string) - **Required** - Last name
|
|
- **`phone_no`** (string) - **Required** - Phone number
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`dob`** (string) - **Required** - Date of birth
|
|
- **`gender`** (string) - **Required** - Gender
|
|
- **`password`** (string) - **Required** - Password
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_partnerRegisterApi', {
|
|
first_name: "John Doe",
|
|
last_name: "John Doe",
|
|
phone_no: "+1234567890",
|
|
email: "user@example.com",
|
|
dob: "example_value",
|
|
gender: "example_value",
|
|
password: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_passwordReset`
|
|
|
|
**Description**: Public: Reset password functionality. Method: POST, Path: /api/password-reset
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/password-reset`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`token`** (string) - **Required** - token parameter
|
|
- **`email`** (string) - **Required** - email parameter
|
|
- **`password`** (string) - **Required** - password parameter
|
|
- **`password_confirmation`** (string) - **Required** - password_confirmation parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_passwordReset', {
|
|
token: "example_value",
|
|
email: "user@example.com",
|
|
password: "password123",
|
|
password_confirmation: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_patientavailableSlot`
|
|
|
|
**Description**: Public: Get available appointment slots for a specific date. Method: POST, Path: /api/patient/available-slots/{date}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient/available-slots/{date}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`date`** (string) - **Required** - Date (YYYY-MM-DD)
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_patientavailableSlot', {
|
|
date: "2024-01-15"
|
|
});
|
|
```
|
|
|
|
### `public_create_patientBookAppointment`
|
|
|
|
**Description**: Public: Book a patient appointment. Method: POST, Path: /api/patient-book-appointment
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient-book-appointment`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (string) - **Required** - Patient ID
|
|
- **`start_time`** (string) - **Required** - start_time parameter
|
|
- **`end_time`** (string) - **Required** - end_time parameter
|
|
- **`practitioner_id`** (string) - **Required** - Practitioner ID
|
|
- **`appointment_date`** (string) - **Required** - Appointment date
|
|
- **`appointment_time`** (string) - **Required** - Appointment time
|
|
|
|
**Optional Parameters**:
|
|
- **`notes`** (string) - *Optional* - notes parameter
|
|
- **`order_id`** (integer) - *Optional* - order_id parameter
|
|
- **`affiliate_email`** (string) - *Optional* - affiliate_email parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_patientBookAppointment', {
|
|
patient_id: 123,
|
|
start_time: "example_value",
|
|
end_time: "example_value",
|
|
practitioner_id: 123,
|
|
notes: "example_value", // optional
|
|
order_id: 123, // optional
|
|
affiliate_email: "user@example.com", // optional
|
|
appointment_date: "2024-01-15",
|
|
appointment_time: "example_value"
|
|
});
|
|
```
|
|
|
|
### `public_create_patientlogin`
|
|
|
|
**Description**: Public: Patient login without authentication middleware. Method: POST, Path: /api/patient/login
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient/login`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - email parameter
|
|
- **`password`** (string) - **Required** - password parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_patientlogin', {
|
|
email: "user@example.com",
|
|
password: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_patientLoginApi`
|
|
|
|
**Description**: Public: Patient login API. Method: POST, Path: /api/patient-login-api
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient-login-api`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`password`** (string) - **Required** - Password
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_patientLoginApi', {
|
|
email: "user@example.com",
|
|
password: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_patientOrderCreate`
|
|
|
|
**Description**: Public: Create a patient order. Method: POST, Path: /api/patient-order-create
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient-order-create`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - patient_id parameter
|
|
- **`shipping_address1`** (string) - **Required** - shipping_address1 parameter
|
|
- **`shipping_city`** (string) - **Required** - shipping_city parameter
|
|
- **`shipping_state`** (string) - **Required** - shipping_state parameter
|
|
- **`shipping_zipcode`** (string) - **Required** - shipping_zipcode parameter
|
|
- **`shipping_country`** (string) - **Required** - shipping_country parameter
|
|
- **`shipping_amount`** (number) - **Required** - shipping_amount parameter
|
|
- **`total_amount`** (number) - **Required** - total_amount parameter
|
|
- **`provider_id`** (integer) - **Required** - provider_id parameter
|
|
- **`items`** (array) - **Required** - items parameter
|
|
- **`order_items`** (array) - **Required** - Order items
|
|
|
|
**Optional Parameters**:
|
|
- **`shipping_address2`** (string) - *Optional* - shipping_address2 parameter
|
|
- **`practitioner_fee`** (number) - *Optional* - practitioner_fee parameter
|
|
- **`affiliate_email`** (string) - *Optional* - affiliate_email parameter
|
|
- **`appointment_id`** (integer) - *Optional* - appointment_id parameter
|
|
- **`pending_task`** (boolean) - *Optional* - pending_task parameter
|
|
- **`builder_id`** (integer) - *Optional* - builder_id parameter
|
|
- **`discount_amount`** (number) - *Optional* - discount_amount parameter
|
|
- **`coupon_code`** (string) - *Optional* - coupon_code parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_patientOrderCreate', {
|
|
patient_id: 123,
|
|
shipping_address1: "123 Main St",
|
|
shipping_address2: "123 Main St", // optional
|
|
shipping_city: "New York",
|
|
shipping_state: "NY",
|
|
shipping_zipcode: "10001",
|
|
shipping_country: "example_value",
|
|
shipping_amount: 99.99,
|
|
total_amount: 99.99,
|
|
practitioner_fee: 123, // optional
|
|
affiliate_email: "user@example.com", // optional
|
|
provider_id: 123,
|
|
appointment_id: 123, // optional
|
|
pending_task: true, // optional
|
|
builder_id: 123, // optional
|
|
discount_amount: 99.99, // optional
|
|
coupon_code: "example_value", // optional
|
|
items: [],
|
|
order_items: []
|
|
});
|
|
```
|
|
|
|
### `public_create_patientrefreshToken`
|
|
|
|
**Description**: Public: Refresh patient authentication token. Method: POST, Path: /api/patient/refresh-token
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient/refresh-token`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`refresh_token`** (string) - **Required** - Refresh token
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_patientrefreshToken', {
|
|
refresh_token: "example_value"
|
|
});
|
|
```
|
|
|
|
### `public_create_patientregisterPatient`
|
|
|
|
**Description**: Public: Register a new patient. Method: POST, Path: /api/patient/register-patient
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient/register-patient`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`first_name`** (string) - **Required** - First name
|
|
- **`last_name`** (string) - **Required** - Last name
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`password`** (string) - **Required** - Password
|
|
|
|
**Optional Parameters**:
|
|
- **`phone`** (string) - *Optional* - Phone number
|
|
- **`date_of_birth`** (string) - *Optional* - Date of birth
|
|
- **`gender`** (string) - *Optional* - Gender
|
|
- **`address`** (string) - *Optional* - Address
|
|
- **`city`** (string) - *Optional* - City
|
|
- **`state`** (string) - *Optional* - State
|
|
- **`zip_code`** (string) - *Optional* - ZIP code
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_patientregisterPatient', {
|
|
first_name: "John Doe",
|
|
last_name: "John Doe",
|
|
email: "user@example.com",
|
|
password: "password123",
|
|
phone: "+1234567890", // optional
|
|
date_of_birth: "2024-01-15", // optional
|
|
gender: "example_value", // optional
|
|
address: "123 Main St", // optional
|
|
city: "New York", // optional
|
|
state: "NY", // optional
|
|
zip_code: "10001" // optional
|
|
});
|
|
```
|
|
|
|
### `public_create_providerforgotPassword`
|
|
|
|
**Description**: Public: Provider forgot password. Method: POST, Path: /api/emr/provider/forgot-password
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/provider/forgot-password`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_providerforgotPassword', {
|
|
email: "user@example.com"
|
|
});
|
|
```
|
|
|
|
### `public_create_providerregister`
|
|
|
|
**Description**: Public: Provider registration (public access). Method: POST, Path: /api/emr/provider/register
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/provider/register`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`firstName`** (string) - **Required** - First name
|
|
- **`lastName`** (string) - **Required** - Last name
|
|
- **`emailAddress`** (string) - **Required** - Email address
|
|
- **`username`** (string) - **Required** - Provider username for login
|
|
- **`newUserPassword`** (string) - **Required** - Provider password
|
|
- **`confirm_password`** (string) - **Required** - Password confirmation (must match newUserPassword)
|
|
|
|
**Optional Parameters**:
|
|
- **`textMessageNumber`** (string) - *Optional* - Text message number
|
|
- **`accessRights`** (object) - *Optional* - Access rights object with admin/practitioner/patientPortal booleans
|
|
- **`company_name`** (string) - *Optional* - Company name
|
|
- **`on_your_domain`** (boolean) - *Optional* - On your domain flag
|
|
- **`dummy`** (string) - *Optional* - register as doctor or practitioner if practitioner then true else false
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_providerregister', {
|
|
firstName: "John Doe",
|
|
lastName: "John Doe",
|
|
emailAddress: "user@example.com",
|
|
textMessageNumber: 30, // optional
|
|
accessRights: {}, // optional
|
|
username: "John Doe",
|
|
newUserPassword: "password123",
|
|
confirm_password: "password123",
|
|
company_name: "John Doe", // optional
|
|
on_your_domain: true, // optional
|
|
dummy: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `public_create_providerresetPassword`
|
|
|
|
**Description**: Public: Provider reset password. Method: POST, Path: /api/emr/provider/reset-password
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/provider/reset-password`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`password`** (string) - **Required** - New password
|
|
- **`password_confirmation`** (string) - **Required** - Password confirmation
|
|
- **`token`** (string) - **Required** - Password reset token
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_providerresetPassword', {
|
|
email: "user@example.com",
|
|
password: "password123",
|
|
password_confirmation: "password123",
|
|
token: "example_value"
|
|
});
|
|
```
|
|
|
|
### `public_create_publicManageResendVerification`
|
|
|
|
**Description**: Public: Resend verification email. Method: POST, Path: /api/public-manage-resend-verification
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/public-manage-resend-verification`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_publicManageResendVerification', {
|
|
email: "user@example.com"
|
|
});
|
|
```
|
|
|
|
### `public_create_publicManageVerifyEmail`
|
|
|
|
**Description**: Public: Email verification. Method: POST, Path: /api/public-manage-verify-email
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/public-manage-verify-email`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`token`** (string) - **Required** - Verification token
|
|
- **`email`** (string) - **Required** - Email address
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_publicManageVerifyEmail', {
|
|
token: "example_value",
|
|
email: "user@example.com"
|
|
});
|
|
```
|
|
|
|
### `public_create_refreshToken`
|
|
|
|
**Description**: Public: Refresh authentication token. Method: POST, Path: /api/refresh-token
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/refresh-token`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`refresh_token`** (string) - **Required** - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_refreshToken', {
|
|
refresh_token: "example_value"
|
|
});
|
|
```
|
|
|
|
### `public_create_registerPatient`
|
|
|
|
**Description**: Public: Register patient with actual parameter names from patient/register.vue. Method: POST, Path: /api/register-patients
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/register-patient`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`first_name`** (string) - **Required** - first_name parameter
|
|
- **`last_name`** (string) - **Required** - Last name
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`phone_no`** (string) - **Required** - phone_no parameter
|
|
- **`dob`** (string) - **Required** - Date of birth
|
|
- **`gender`** (string) - **Required** - Gender
|
|
- **`provider_id`** (integer) - **Required** - provider_id parameter
|
|
- **`preferredPhone`** (string) - **Required** - Preferred phone
|
|
- **`password`** (string) - **Required** - Password
|
|
|
|
**Optional Parameters**:
|
|
- **`username`** (string) - *Optional* - username parameter
|
|
- **`isportalAccess`** (boolean) - *Optional* - isportalAccess parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_registerPatient', {
|
|
first_name: "John Doe",
|
|
last_name: "John Doe",
|
|
email: "user@example.com",
|
|
phone_no: "+1234567890",
|
|
dob: "example_value",
|
|
gender: "example_value",
|
|
provider_id: 123,
|
|
username: "John Doe", // optional
|
|
isportalAccess: true, // optional
|
|
preferredPhone: "+1234567890",
|
|
password: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_resetPassword`
|
|
|
|
**Description**: Public: Reset user password. Method: POST, Path: /api/reset-password
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/reset-password`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`token`** (string) - **Required** - Reset token
|
|
- **`password`** (string) - **Required** - New password
|
|
- **`password_confirmation`** (string) - **Required** - Password confirmation
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_resetPassword', {
|
|
email: "user@example.com",
|
|
token: "example_value",
|
|
password: "password123",
|
|
password_confirmation: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_create_roomJoinedevent`
|
|
|
|
**Description**: Public: LiveKit webhook handler. Method: POST, Path: /room-joined/event
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/room-joined/event`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`event`** (string) - *Optional* - event parameter
|
|
- **`room`** (object) - *Optional* - Room data
|
|
- **`egressInfo`** (object) - *Optional* - Egress information
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_roomJoinedevent', {
|
|
event: "example_value", // optional
|
|
room: {}, // optional
|
|
egressInfo: {} // optional
|
|
});
|
|
```
|
|
|
|
### `public_create_roomJoinedeventTranscription`
|
|
|
|
**Description**: Public: Get recording URL. Method: POST, Path: /room-joined/event-transcription
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/room-joined/event-transcription`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`egressInfo`** (object) - *Optional* - Egress information
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_roomJoinedeventTranscription', {
|
|
egressInfo: {} // optional
|
|
});
|
|
```
|
|
|
|
### `public_create_setPassword`
|
|
|
|
**Description**: Public: Save provider password. Method: POST, Path: /api/set-password
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/set-password/{token}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`password`** (string) - **Required** - New password
|
|
- **`password_confirmation`** (string) - **Required** - Password confirmation
|
|
- **`token`** (string) - **Required** - Password reset token
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_setPassword', {
|
|
password: "password123",
|
|
password_confirmation: "password123",
|
|
token: "example_value"
|
|
});
|
|
```
|
|
|
|
### `public_create_startRecord`
|
|
|
|
**Description**: Public: Start recording. Method: POST, Path: /start-record/{appointment}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/start-record/{appointment}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointment`** (integer) - **Required** - Appointment ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_startRecord', {
|
|
appointment: 123
|
|
});
|
|
```
|
|
|
|
### `public_create_storeIntakeFormData`
|
|
|
|
**Description**: Public: Store intake form data. Method: POST, Path: /api/store-intake-form-data
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/store-intake-form-data`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_data`** (object) - **Required** - Form data
|
|
- **`form_id`** (integer) - **Required** - form_id parameter
|
|
- **`pid`** (integer) - **Required** - pid parameter
|
|
- **`schema`** (string) - **Required** - JSON schema of the form
|
|
- **`orginal_form_schema`** (string) - **Required** - Original JSON schema of the form
|
|
|
|
**Optional Parameters**:
|
|
- **`practitioner_id`** (integer) - *Optional* - practitioner_id parameter
|
|
- **`signatureMetaData`** (string) - *Optional* - JSON metadata for signatures
|
|
- **`file_field_name`** (file) - *Optional* - File upload fields (multiple can be included)
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_storeIntakeFormData', {
|
|
form_data: {},
|
|
form_id: 123,
|
|
pid: 123,
|
|
practitioner_id: 123, // optional
|
|
schema: "example_value",
|
|
orginal_form_schema: "example_value",
|
|
signatureMetaData: "example_value", // optional
|
|
file_field_name: "John Doe" // optional
|
|
});
|
|
```
|
|
|
|
### `public_create_updateIntakeFormData`
|
|
|
|
**Description**: Public: Update intake form data. Method: POST, Path: /api/update-intake-form-data/{id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/update-intake-form-data/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (string) - **Required** - Form data ID
|
|
- **`form_data`** (object) - **Required** - Form data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_updateIntakeFormData', {
|
|
id: 123,
|
|
form_data: {}
|
|
});
|
|
```
|
|
|
|
### `public_create_updatePatientSummary`
|
|
|
|
**Description**: Public: Update patient summary. Method: POST, Path: /api/update-patient-summary/{patientId}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/update-patient-summary/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (string) - **Required** - Patient ID
|
|
- **`summary`** (string) - **Required** - Patient summary
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_updatePatientSummary', {
|
|
patientId: 123,
|
|
summary: "example_value"
|
|
});
|
|
```
|
|
|
|
### `public_create_usersetPassword`
|
|
|
|
**Description**: Public: Set user password. Method: POST, Path: /api/user/set-password/{token}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/user/set-password/{token}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`token`** (string) - **Required** - Password reset token
|
|
- **`password`** (string) - **Required** - New password
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_create_usersetPassword', {
|
|
token: "example_value",
|
|
password: "password123"
|
|
});
|
|
```
|
|
|
|
### `public_get_appointmentParticipant`
|
|
|
|
**Description**: Public: Get appointment participants. Method: GET, Path: /api/appointment-participants/{appointmentId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/appointment-participants/{appointmentId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointmentId`** (string) - **Required** - Appointment ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_appointmentParticipant', {
|
|
appointmentId: 123
|
|
});
|
|
```
|
|
|
|
### `public_get_appointmentverify`
|
|
|
|
**Description**: Public: Verify appointment access and redirect. Method: GET, Path: /api/appointment/verify/{appointmentId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/appointment/verify/{appointmentId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointmentId`** (string) - **Required** - Appointment ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_appointmentverify', {
|
|
appointmentId: 123
|
|
});
|
|
```
|
|
|
|
### `public_get_downloadpdf`
|
|
|
|
**Description**: Public: Download or view PDF file. Method: GET, Path: /api/download/pdf/{id}/{type}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/download/pdf/{id}/{type}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (string) - **Required** - Document ID
|
|
- **`type`** (string) - **Required** - Document type
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_downloadpdf', {
|
|
id: 123,
|
|
type: "example_value"
|
|
});
|
|
```
|
|
|
|
### `public_get_generatePatientSummary`
|
|
|
|
**Description**: Public: Generate AI summary for patient. Method: GET, Path: /api/generate-patient-summary/{patientId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/generate-patient-summary/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (string) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_generatePatientSummary', {
|
|
patientId: 123
|
|
});
|
|
```
|
|
|
|
### `public_get_generatePermanentToken`
|
|
|
|
**Description**: Public: Generate permanent token for user. Method: GET, Path: /api/generate-permanent-token/{userId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/generate-permanent-token/{userId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`userId`** (string) - **Required** - User ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_generatePermanentToken', {
|
|
userId: 123
|
|
});
|
|
```
|
|
|
|
### `public_get_getdocument`
|
|
|
|
**Description**: Public: Create a public link to access a document. Method: GET, Path: /api/get/document/{userId}/{rowId}/{key}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get/document/{userId}/{rowId}/{key}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`userId`** (string) - **Required** - User ID
|
|
- **`rowId`** (string) - **Required** - Row ID
|
|
- **`key`** (string) - **Required** - Document key
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_getdocument', {
|
|
userId: 123,
|
|
rowId: 123,
|
|
key: "example_value"
|
|
});
|
|
```
|
|
|
|
### `public_get_getFormWithoutAuth`
|
|
|
|
**Description**: Public: Get form by ID without authentication. Method: GET, Path: /api/get-form-without-auth/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-form-without-auth/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (string) - **Required** - Form ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_getFormWithoutAuth', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `public_get_getPatientFormsList`
|
|
|
|
**Description**: Public: Get patient forms list. Method: GET, Path: /api/get-patient-forms-list/{patientId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-patient-forms-list/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (string) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_getPatientFormsList', {
|
|
patientId: 123
|
|
});
|
|
```
|
|
|
|
### `public_get_getPatientFullDetail`
|
|
|
|
**Description**: Public: Get comprehensive patient details. Method: GET, Path: /api/get-patient-full-details/{patientId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-patient-full-details/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (string) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_getPatientFullDetail', {
|
|
patientId: 123
|
|
});
|
|
```
|
|
|
|
### `public_get_getPatientSummary`
|
|
|
|
**Description**: Public: Get patient summary. Method: GET, Path: /api/get-patient-summary/{patientId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-patient-summary/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (string) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_getPatientSummary', {
|
|
patientId: 123
|
|
});
|
|
```
|
|
|
|
### `public_get_getPdfUrl`
|
|
|
|
**Description**: Public: Get PDF URL. Method: GET, Path: /api/get-pdf-url/{document_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-pdf-url/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`document_id`** (string) - **Required** - Document ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_getPdfUrl', {
|
|
document_id: 123
|
|
});
|
|
```
|
|
|
|
### `public_get_getSignedPatientData`
|
|
|
|
**Description**: Public: Get signed patient form data. Method: GET, Path: /api/get-signed-patient-data/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-signed-patient-data/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (string) - **Required** - Patient data ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_getSignedPatientData', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `public_get_redirectWithAuth`
|
|
|
|
**Description**: Public: Get authentication token for redirect. Method: GET, Path: /api/redirect-with-auth/{pid}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/redirect-with-auth/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (string) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_redirectWithAuth', {
|
|
pid: 123
|
|
});
|
|
```
|
|
|
|
### `public_get_userListProfile`
|
|
|
|
**Description**: Public: Get user profile by ID. Method: GET, Path: /api/user-list-profile/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/user-list-profile/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (string) - **Required** - User ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_userListProfile', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `public_get_userListProfileSkipauth`
|
|
|
|
**Description**: Public: Get user profile by ID without authentication. Method: GET, Path: /api/user-list-profile-skipauth/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/user-list-profile-skipauth/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (string) - **Required** - User ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('public_get_userListProfileSkipauth', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
---
|
|
|
|
## 🏥 Provider Tools (217 tools)
|
|
|
|
### Authentication Requirements
|
|
- **Type**: Provider authentication required
|
|
- **Security**: Bearer token required
|
|
- **HIPAA Compliance**: Required for patient data
|
|
|
|
### `provider_create_add_medicine_template`
|
|
|
|
**Description**: Provider: Store medicine template. Method: POST, Path: /api/add_medicine_template
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/add_medicine_template`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`template_data`** (object) - **Required** - Medicine template data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_add_medicine_template', {
|
|
template_data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_create_addEmail`
|
|
|
|
**Description**: Provider: Add a new email for a patient. Method: POST, Path: /api/add-email/{patient_id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/add-email/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - ID of the patient
|
|
- **`messageText`** (string) - **Required** - messageText parameter
|
|
- **`to_email`** (string) - **Required** - to_email parameter
|
|
- **`subject`** (string) - **Required** - subject parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`practitioner`** (integer) - *Optional* - User ID of the practitioner
|
|
- **`from_email`** (string) - *Optional* - from_email parameter
|
|
- **`emailTemplate`** (string) - *Optional* - Template name used for the email
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_addEmail', {
|
|
patient_id: 123,
|
|
practitioner: 123, // optional
|
|
messageText: 30,
|
|
to_email: "user@example.com",
|
|
from_email: "user@example.com", // optional
|
|
emailTemplate: "user@example.com", // optional
|
|
subject: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_create_addInventory`
|
|
|
|
**Description**: Provider: Add new inventory item. Method: POST, Path: /add-inventory
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/add-inventory`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`inventoryType`** (string) - *Optional* - inventoryType parameter
|
|
- **`item_name`** (string) - *Optional* - item_name parameter
|
|
- **`price`** (number) - *Optional* - price parameter
|
|
- **`expirationDate`** (string) - *Optional* - expirationDate parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_addInventory', {
|
|
inventoryType: "example_value", // optional
|
|
item_name: "John Doe", // optional
|
|
price: 99.99, // optional
|
|
expirationDate: "2024-01-15" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_addLocation`
|
|
|
|
**Description**: Provider: Add a new location. Method: POST, Path: /api/add-location
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/add-location`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`name`** (string) - **Required** - name parameter
|
|
- **`npiNumber`** (string) - **Required** - npiNumber parameter
|
|
- **`phoneNumber`** (string) - **Required** - phoneNumber parameter
|
|
- **`address`** (string) - **Required** - address parameter
|
|
- **`city`** (string) - **Required** - city parameter
|
|
- **`state`** (string) - **Required** - state parameter
|
|
- **`zipcode`** (string) - **Required** - zipcode parameter
|
|
- **`country`** (string) - **Required** - country parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_addLocation', {
|
|
name: "John Doe",
|
|
npiNumber: "example_value",
|
|
phoneNumber: "+1234567890",
|
|
address: "123 Main St",
|
|
city: "New York",
|
|
state: "NY",
|
|
zipcode: "10001",
|
|
country: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_create_addNotePatient`
|
|
|
|
**Description**: Provider: Add a note for patient. Method: POST, Path: /api/add-note-patient
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/add-note-patient`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`note`** (string) - **Required** - note parameter
|
|
- **`note_type`** (string) - **Required** - Note type
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_addNotePatient', {
|
|
note: "example_value",
|
|
note_type: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_create_addPhoneLog`
|
|
|
|
**Description**: Provider: Add a new phone log for a patient. Method: POST, Path: /add-phone-log/{patient_id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/add-phone-log/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - ID of the patient
|
|
- **`provider`** (string) - **Required** - Name of the provider who made/received the call
|
|
- **`message`** (string) - **Required** - Details about the phone call
|
|
- **`user_id`** (integer) - **Required** - ID of the user who logged the call
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_addPhoneLog', {
|
|
patient_id: 123,
|
|
provider: 123,
|
|
message: 30,
|
|
user_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_create_addTask`
|
|
|
|
**Description**: Provider: Add a new task for a patient. Method: POST, Path: /api/add-task/{patient_id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/add-task/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - ID of the patient
|
|
- **`task_title`** (string) - **Required** - task_title parameter
|
|
- **`task_body`** (string) - **Required** - task_body parameter
|
|
- **`task_due_date`** (string) - **Required** - task_due_date parameter
|
|
- **`task_assigned_to`** (integer) - **Required** - task_assigned_to parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`task_watchers`** (array) - *Optional* - task_watchers parameter
|
|
- **`sendEmailtoPatientApplicationForTask`** (boolean) - *Optional* - sendEmailtoPatientApplicationForTask parameter
|
|
- **`task_priority`** (string) - *Optional* - task_priority parameter
|
|
- **`task_status`** (string) - *Optional* - task_status parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_addTask', {
|
|
patient_id: 123,
|
|
task_title: "example_value",
|
|
task_body: "example_value",
|
|
task_due_date: "2024-01-15",
|
|
task_assigned_to: 123,
|
|
task_watchers: [], // optional
|
|
sendEmailtoPatientApplicationForTask: "user@example.com", // optional
|
|
task_priority: "example_value", // optional
|
|
task_status: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_addUser`
|
|
|
|
**Description**: Provider: Add new user (legacy method). Method: POST, Path: /api/add-user
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/add-user`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`firstName`** (string) - **Required** - firstName parameter
|
|
- **`lastName`** (string) - **Required** - lastName parameter
|
|
- **`username`** (string) - **Required** - username parameter
|
|
- **`emailAddress`** (string) - **Required** - emailAddress parameter
|
|
- **`textMessageNumber`** (string) - **Required** - textMessageNumber parameter
|
|
- **`role_id`** (string) - **Required** - role_id parameter
|
|
- **`newUserPassword`** (string) - **Required** - newUserPassword parameter
|
|
- **`type`** (string) - **Required** - type parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`dateOfBirth`** (string) - *Optional* - dateOfBirth parameter
|
|
- **`gender`** (string) - *Optional* - gender parameter
|
|
- **`city`** (string) - *Optional* - city parameter
|
|
- **`state`** (string) - *Optional* - state parameter
|
|
- **`zipcode`** (string) - *Optional* - zipcode parameter
|
|
- **`avatarImg`** (file) - *Optional* - User profile image
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_addUser', {
|
|
firstName: "John Doe",
|
|
lastName: "John Doe",
|
|
username: "John Doe",
|
|
emailAddress: "user@example.com",
|
|
textMessageNumber: 30,
|
|
dateOfBirth: "2024-01-15", // optional
|
|
gender: "example_value", // optional
|
|
city: "New York", // optional
|
|
state: "NY", // optional
|
|
zipcode: "10001", // optional
|
|
role_id: 123,
|
|
newUserPassword: "password123",
|
|
type: "example_value",
|
|
avatarImg: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_addVital`
|
|
|
|
**Description**: Provider: Add vital signs for a patient. Method: POST, Path: /api/add-vital/{patientId}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/add-vital/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
- **`provider_id`** (integer) - **Required** - provider_id parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`blood_presssure`** (string) - *Optional* - blood_presssure parameter
|
|
- **`diastolic`** (string) - *Optional* - diastolic parameter
|
|
- **`weight_lbs`** (number) - *Optional* - weight_lbs parameter
|
|
- **`height_ft`** (integer) - *Optional* - height_ft parameter
|
|
- **`height_in`** (integer) - *Optional* - height_in parameter
|
|
- **`temperature`** (number) - *Optional* - temperature parameter
|
|
- **`pulse`** (integer) - *Optional* - pulse parameter
|
|
- **`respiratory_rate`** (integer) - *Optional* - respiratory_rate parameter
|
|
- **`saturation`** (integer) - *Optional* - saturation parameter
|
|
- **`waist_in`** (number) - *Optional* - waist_in parameter
|
|
- **`headCircumference_in`** (number) - *Optional* - headCircumference_in parameter
|
|
- **`note`** (string) - *Optional* - note parameter
|
|
- **`provider`** (string) - *Optional* - provider parameter
|
|
- **`weight_oz`** (number) - *Optional* - weight_oz parameter
|
|
- **`bmi`** (number) - *Optional* - bmi parameter
|
|
- **`bloodSugar`** (number) - *Optional* - bloodSugar parameter
|
|
- **`fasting`** (boolean) - *Optional* - fasting parameter
|
|
- **`neck_in`** (number) - *Optional* - neck_in parameter
|
|
- **`shoulders_in`** (number) - *Optional* - shoulders_in parameter
|
|
- **`chest_in`** (number) - *Optional* - chest_in parameter
|
|
- **`hips_in`** (number) - *Optional* - hips_in parameter
|
|
- **`lean_body_mass_lbs`** (number) - *Optional* - lean_body_mass_lbs parameter
|
|
- **`body_fat`** (number) - *Optional* - body_fat parameter
|
|
- **`notes`** (string) - *Optional* - notes parameter
|
|
- **`subjective_notes`** (string) - *Optional* - subjective_notes parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_addVital', {
|
|
patientId: 123,
|
|
provider_id: 123,
|
|
blood_presssure: "example_value", // optional
|
|
diastolic: "example_value", // optional
|
|
weight_lbs: 123, // optional
|
|
height_ft: 123, // optional
|
|
height_in: 123, // optional
|
|
temperature: 123, // optional
|
|
pulse: 123, // optional
|
|
respiratory_rate: 123, // optional
|
|
saturation: 123, // optional
|
|
waist_in: 123, // optional
|
|
headCircumference_in: 123, // optional
|
|
note: "example_value", // optional
|
|
provider: 123, // optional
|
|
weight_oz: 123, // optional
|
|
bmi: 123, // optional
|
|
bloodSugar: 123, // optional
|
|
fasting: true, // optional
|
|
neck_in: 123, // optional
|
|
shoulders_in: 123, // optional
|
|
chest_in: 123, // optional
|
|
hips_in: 123, // optional
|
|
lean_body_mass_lbs: 123, // optional
|
|
body_fat: 123, // optional
|
|
notes: "example_value", // optional
|
|
subjective_notes: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_appointmentcancel`
|
|
|
|
**Description**: Provider: Cancel an appointment. Method: POST, Path: /api/emr/appointment/{id}/cancel
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/appointment/{id}/cancel`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Appointment ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_appointmentcancel', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_create_appointmentDetail`
|
|
|
|
**Description**: Provider: Get appointment details. Method: POST, Path: /api/appointment-detail/{appointment}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/appointment-detail/{appointment}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointment`** (integer) - **Required** - Appointment ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_appointmentDetail', {
|
|
appointment: 123
|
|
});
|
|
```
|
|
|
|
### `provider_create_appointmentqueue`
|
|
|
|
**Description**: Provider: Add patient to queue. Method: POST, Path: /api/emr/appointment/queue/{patientId}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/appointment/queue/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_appointmentqueue', {
|
|
patientId: 123
|
|
});
|
|
```
|
|
|
|
### `provider_create_appointmentStatu`
|
|
|
|
**Description**: Provider: Mark appointment status. Method: POST, Path: /appointment-status/{id}/{status}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/appointment-status/{id}/{status}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Appointment ID
|
|
- **`status`** (string) - **Required** - New status for the appointment
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_appointmentStatu', {
|
|
id: 123,
|
|
status: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_create_appointmentupdateMeetingAnalysi`
|
|
|
|
**Description**: Provider: Update meeting analysis. Method: POST, Path: /api/emr/appointment/{appointment}/update-meeting-analysis
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/appointment/{appointment}/update-meeting-analysis`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointment`** (integer) - **Required** - Appointment ID
|
|
|
|
**Optional Parameters**:
|
|
- **`data`** (object) - *Optional* - Meeting analytics data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_appointmentupdateMeetingAnalysi', {
|
|
appointment: 123,
|
|
data: {} // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_assistantsaveSignature`
|
|
|
|
**Description**: Provider: Store signature. Method: POST, Path: /api/assistant/save-signature
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/assistant/save-signature`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`signature_data`** (string) - **Required** - Base64 encoded signature image
|
|
|
|
**Optional Parameters**:
|
|
- **`provider_id`** (integer) - *Optional* - provider_id parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_assistantsaveSignature', {
|
|
signature_data: "example_value",
|
|
provider_id: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_assistantstoreForm`
|
|
|
|
**Description**: Provider: Store form data. Method: POST, Path: /api/assistant/store-form
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/assistant/store-form`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`type`** (string) - **Required** - type parameter
|
|
- **`data`** (object) - **Required** - Form structure and fields
|
|
- **`name`** (string) - **Required** - name parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_assistantstoreForm', {
|
|
type: "example_value",
|
|
data: {},
|
|
name: "John Doe"
|
|
});
|
|
```
|
|
|
|
### `provider_create_assistantstoreIntakeFormData`
|
|
|
|
**Description**: Provider: Store intake form data. Method: POST, Path: /api/assistant/store-intake-form-data
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/assistant/store-intake-form-data`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (integer) - **Required** - form_id parameter
|
|
- **`pid`** (integer) - **Required** - pid parameter
|
|
- **`schema`** (string) - **Required** - JSON schema of the form
|
|
- **`orginal_form_schema`** (string) - **Required** - Original form schema
|
|
|
|
**Optional Parameters**:
|
|
- **`practitioner_id`** (integer) - *Optional* - practitioner_id parameter
|
|
- **`signatureMetaData`** (string) - *Optional* - Signature metadata
|
|
- **`file_field_name`** (file) - *Optional* - File upload fields (multiple can be included)
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_assistantstoreIntakeFormData', {
|
|
form_id: 123,
|
|
pid: 123,
|
|
practitioner_id: 123, // optional
|
|
schema: "example_value",
|
|
orginal_form_schema: "example_value",
|
|
signatureMetaData: "example_value", // optional
|
|
file_field_name: "John Doe" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_authlogout`
|
|
|
|
**Description**: Provider: Logout provider. Method: POST, Path: /api/provider/auth/logout
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/provider/auth/logout`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_authlogout');
|
|
```
|
|
|
|
### `provider_create_availableSlot`
|
|
|
|
**Description**: Provider: Get available appointment slots. Method: POST, Path: /api/available-slots/{date}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/available-slots/{date}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`date`** (string) - **Required** - Date (YYYY-MM-DD)
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_availableSlot', {
|
|
date: "2024-01-15"
|
|
});
|
|
```
|
|
|
|
### `provider_create_bookAppointment`
|
|
|
|
**Description**: Provider: Book an appointment. Method: POST, Path: /api/book-appointment
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/book-appointment`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`telemed_pros_id`** (integer) - **Required** - Telemed pros ID
|
|
- **`patient_id`** (integer) - **Required** - Patient ID
|
|
- **`doctor_id`** (integer) - **Required** - Doctor ID
|
|
- **`appointment_id`** (integer) - **Required** - Appointment ID
|
|
- **`appointment_time`** (string) - **Required** - Appointment time
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_bookAppointment', {
|
|
telemed_pros_id: 123,
|
|
patient_id: 123,
|
|
doctor_id: 123,
|
|
appointment_id: 123,
|
|
appointment_time: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_create_documentsupload`
|
|
|
|
**Description**: Provider: Upload patient document. Method: POST, Path: /api/emr/documents/upload
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/documents/upload`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (string) - **Required** - Patient ID
|
|
- **`document_file`** (file) - **Required** - Document file
|
|
- **`document_type`** (string) - **Required** - Document type
|
|
|
|
**Optional Parameters**:
|
|
- **`document_name`** (string) - *Optional* - Document name
|
|
- **`description`** (string) - *Optional* - Document description
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_documentsupload', {
|
|
patient_id: 123,
|
|
document_file: "example_value",
|
|
document_type: "example_value",
|
|
document_name: "John Doe", // optional
|
|
description: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrcreateAppointment`
|
|
|
|
**Description**: Provider: Create appointment with complete scheduling data. Method: POST, Path: /api/emr/create-appointment
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/create-appointment`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (string) - **Required** - Patient ID
|
|
- **`practitioner_id`** (string) - **Required** - Practitioner ID
|
|
- **`appointment_date`** (string) - **Required** - Appointment date
|
|
- **`appointment_time`** (string) - **Required** - Appointment time
|
|
|
|
**Optional Parameters**:
|
|
- **`duration`** (number) - *Optional* - Duration in minutes
|
|
- **`appointment_type`** (string) - *Optional* - Appointment type
|
|
- **`reason`** (string) - *Optional* - Appointment reason
|
|
- **`notes`** (string) - *Optional* - Additional notes
|
|
- **`location_id`** (string) - *Optional* - Location ID
|
|
- **`status`** (string) - *Optional* - Appointment status
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrcreateAppointment', {
|
|
patient_id: 123,
|
|
practitioner_id: 123,
|
|
appointment_date: "2024-01-15",
|
|
appointment_time: "example_value",
|
|
duration: 123, // optional
|
|
appointment_type: "example_value", // optional
|
|
reason: "example_value", // optional
|
|
notes: "example_value", // optional
|
|
location_id: 123, // optional
|
|
status: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrguardianUpdate`
|
|
|
|
**Description**: Provider: Update patient guardian information. Method: POST, Path: /emr/guardian-update/{id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/emr/guardian-update/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Patient ID
|
|
|
|
**Optional Parameters**:
|
|
- **`nextKinRelation`** (string) - *Optional* - Parameter
|
|
- **`nextkinPhone`** (string) - *Optional* - Parameter
|
|
- **`nextkinAddress`** (string) - *Optional* - Parameter
|
|
- **`nextkinCity`** (string) - *Optional* - Parameter
|
|
- **`nextkinState`** (string) - *Optional* - Parameter
|
|
- **`nextkinZipCode`** (string) - *Optional* - Parameter
|
|
- **`nextkinFirstName`** (string) - *Optional* - Parameter
|
|
- **`nextkinLastName`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrguardianUpdate', {
|
|
id: 123,
|
|
nextKinRelation: "example_value", // optional
|
|
nextkinPhone: "+1234567890", // optional
|
|
nextkinAddress: "123 Main St", // optional
|
|
nextkinCity: "New York", // optional
|
|
nextkinState: "NY", // optional
|
|
nextkinZipCode: "10001", // optional
|
|
nextkinFirstName: "John Doe", // optional
|
|
nextkinLastName: "John Doe" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrimportMedicine`
|
|
|
|
**Description**: Provider: Import medicines from Excel. Method: POST, Path: /api/emr/import-medicines
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/import-medicines`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`excel_file`** (file) - **Required** - Excel file with medicines
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrimportMedicine', {
|
|
excel_file: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrinvoiceCreate`
|
|
|
|
**Description**: Provider: Create invoice. Method: POST, Path: /api/emr/invoice-create
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/invoice-create`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - Parameter
|
|
- **`amount`** (number) - **Required** - Parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`description`** (string) - *Optional* - Parameter
|
|
- **`due_date`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrinvoiceCreate', {
|
|
patient_id: 123,
|
|
amount: 99.99,
|
|
description: "example_value", // optional
|
|
due_date: "2024-01-15" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrinvoicePayment`
|
|
|
|
**Description**: Provider: Process invoice payment. Method: POST, Path: /api/emr/invoice-payment
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/invoice-payment`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`invoice_id`** (integer) - **Required** - Parameter
|
|
- **`payment_method`** (string) - **Required** - Parameter
|
|
- **`amount`** (number) - **Required** - Parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`card_details`** (object) - *Optional* - Card details (will be masked in response)
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrinvoicePayment', {
|
|
invoice_id: 123,
|
|
payment_method: "example_value",
|
|
amount: 99.99,
|
|
card_details: {} // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrregisterPatient`
|
|
|
|
**Description**: Provider: Register patient (EMR) with complete demographic data. Method: POST, Path: /api/emr/register-patients
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/register-patients`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`firstName`** (string) - **Required** - First name
|
|
- **`lastName`** (string) - **Required** - Last name
|
|
- **`email`** (string) - **Required** - Email address
|
|
- **`dateOfBirth`** (string) - **Required** - Date of birth
|
|
|
|
**Optional Parameters**:
|
|
- **`middleName`** (string) - *Optional* - Middle name
|
|
- **`preferredName`** (string) - *Optional* - Preferred name
|
|
- **`contactMethod`** (string) - *Optional* - Contact method
|
|
- **`personalID`** (string) - *Optional* - Personal ID
|
|
- **`sexatBirth`** (string) - *Optional* - Sex at birth
|
|
- **`genderIdentity`** (string) - *Optional* - Gender identity
|
|
- **`race`** (string) - *Optional* - Race
|
|
- **`pronoun`** (string) - *Optional* - Pronoun
|
|
- **`ageGroup`** (string) - *Optional* - Age group
|
|
- **`timezone`** (string) - *Optional* - Timezone
|
|
- **`preferredPhone`** (string) - *Optional* - Preferred phone
|
|
- **`alternativePhone`** (string) - *Optional* - Alternative phone
|
|
- **`textmsgNumber`** (string) - *Optional* - Text message number
|
|
- **`address`** (string) - *Optional* - Address
|
|
- **`city`** (string) - *Optional* - City
|
|
- **`state`** (string) - *Optional* - State
|
|
- **`zipcode`** (string) - *Optional* - ZIP code
|
|
- **`primaryPractitioner`** (string) - *Optional* - Primary practitioner
|
|
- **`primaryCarePhysician`** (string) - *Optional* - Primary care physician
|
|
- **`guardian`** (string) - *Optional* - Guardian
|
|
- **`emergencyContactNumber`** (string) - *Optional* - Emergency contact number
|
|
- **`emergencyContactNameRelation`** (string) - *Optional* - Emergency contact name relation
|
|
- **`patientMaritalStatus`** (string) - *Optional* - Patient marital status
|
|
- **`occupation`** (string) - *Optional* - Occupation
|
|
- **`referredBy`** (string) - *Optional* - Referred by
|
|
- **`patientNote`** (string) - *Optional* - Patient note
|
|
- **`password`** (string) - *Optional* - Patient portal password
|
|
- **`status`** (string) - *Optional* - Patient status
|
|
- **`isportalAccess`** (boolean) - *Optional* - Portal access flag
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrregisterPatient', {
|
|
firstName: "John Doe",
|
|
lastName: "John Doe",
|
|
middleName: 123, // optional
|
|
preferredName: "John Doe", // optional
|
|
email: "user@example.com",
|
|
contactMethod: "example_value", // optional
|
|
personalID: 123, // optional
|
|
dateOfBirth: "2024-01-15",
|
|
sexatBirth: "example_value", // optional
|
|
genderIdentity: 123, // optional
|
|
race: "example_value", // optional
|
|
pronoun: "example_value", // optional
|
|
ageGroup: 30, // optional
|
|
timezone: "example_value", // optional
|
|
preferredPhone: "+1234567890", // optional
|
|
alternativePhone: "+1234567890", // optional
|
|
textmsgNumber: "example_value", // optional
|
|
address: "123 Main St", // optional
|
|
city: "New York", // optional
|
|
state: "NY", // optional
|
|
zipcode: "10001", // optional
|
|
primaryPractitioner: "example_value", // optional
|
|
primaryCarePhysician: "example_value", // optional
|
|
guardian: "example_value", // optional
|
|
emergencyContactNumber: "example_value", // optional
|
|
emergencyContactNameRelation: "John Doe", // optional
|
|
patientMaritalStatus: "example_value", // optional
|
|
occupation: "example_value", // optional
|
|
referredBy: "example_value", // optional
|
|
patientNote: "example_value", // optional
|
|
password: "password123", // optional
|
|
status: "example_value", // optional
|
|
isportalAccess: true // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrrolesCreate`
|
|
|
|
**Description**: Provider: Create role. Method: POST, Path: /api/emr/roles-create
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/roles-create`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`name`** (string) - **Required** - Parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`description`** (string) - *Optional* - Parameter
|
|
- **`permissions`** (array) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrrolesCreate', {
|
|
name: "John Doe",
|
|
description: "example_value", // optional
|
|
permissions: [] // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrsaveCategory`
|
|
|
|
**Description**: Provider: Save category. Method: POST, Path: /emr/save-category
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/emr/save-category`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`name`** (string) - *Optional* - Parameter
|
|
- **`description`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrsaveCategory', {
|
|
name: "John Doe", // optional
|
|
description: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrsaveProduct`
|
|
|
|
**Description**: Provider: Save product. Method: POST, Path: /emr/save-product
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/emr/save-product`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`name`** (string) - *Optional* - Parameter
|
|
- **`description`** (string) - *Optional* - Parameter
|
|
- **`price`** (number) - *Optional* - Parameter
|
|
- **`category_id`** (integer) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrsaveProduct', {
|
|
name: "John Doe", // optional
|
|
description: "example_value", // optional
|
|
price: 99.99, // optional
|
|
category_id: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrstoreBuilder`
|
|
|
|
**Description**: Provider: Store builder with complete configuration. Method: POST, Path: /api/emr/store-builder
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/store-builder`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`builder_name`** (string) - **Required** - Builder name
|
|
- **`practitioner_id`** (string) - **Required** - Practitioner ID
|
|
|
|
**Optional Parameters**:
|
|
- **`intakes`** (array) - *Optional* - Intake forms
|
|
- **`questionnaire`** (array) - *Optional* - Questionnaire forms
|
|
- **`products`** (array) - *Optional* - Products
|
|
- **`paymentOption`** (object) - *Optional* - Payment options
|
|
- **`patientFlow`** (object) - *Optional* - Patient flow configuration
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrstoreBuilder', {
|
|
builder_name: "John Doe",
|
|
practitioner_id: 123,
|
|
intakes: [], // optional
|
|
questionnaire: [], // optional
|
|
products: [], // optional
|
|
paymentOption: {}, // optional
|
|
patientFlow: {} // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrstoreBuilderConfig`
|
|
|
|
**Description**: Provider: Store builder config with styling options. Method: POST, Path: /api/emr/store-builder-config/{id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/store-builder-config/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (string) - **Required** - Builder ID
|
|
|
|
**Optional Parameters**:
|
|
- **`theme`** (string) - *Optional* - Theme
|
|
- **`bgColor`** (string) - *Optional* - Background color
|
|
- **`btncolor`** (string) - *Optional* - Button color
|
|
- **`textColor`** (string) - *Optional* - Text color
|
|
- **`practitioner_fee`** (number) - *Optional* - Practitioner fee
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrstoreBuilderConfig', {
|
|
id: 123,
|
|
theme: "example_value", // optional
|
|
bgColor: "example_value", // optional
|
|
btncolor: "example_value", // optional
|
|
textColor: "example_value", // optional
|
|
practitioner_fee: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrstoreCompany`
|
|
|
|
**Description**: Provider: Update company information. Method: POST, Path: /emr/api/store-company
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/emr/api/store-company`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - id parameter
|
|
- **`company_name`** (string) - **Required** - company_name parameter
|
|
- **`company_email`** (string) - **Required** - company_email parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`company_phone`** (string) - *Optional* - company_phone parameter
|
|
- **`address`** (string) - *Optional* - address parameter
|
|
- **`domain_name`** (string) - *Optional* - domain_name parameter
|
|
- **`city`** (string) - *Optional* - city parameter
|
|
- **`state`** (string) - *Optional* - state parameter
|
|
- **`zip`** (string) - *Optional* - zip parameter
|
|
- **`header_scripts`** (string) - *Optional* - header_scripts parameter
|
|
- **`footer_scripts`** (string) - *Optional* - footer_scripts parameter
|
|
- **`logo`** (string) - *Optional* - logo parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrstoreCompany', {
|
|
id: 123,
|
|
company_name: "John Doe",
|
|
company_phone: "+1234567890", // optional
|
|
company_email: "user@example.com",
|
|
address: "123 Main St", // optional
|
|
domain_name: "John Doe", // optional
|
|
city: "New York", // optional
|
|
state: "NY", // optional
|
|
zip: "10001", // optional
|
|
header_scripts: "example_value", // optional
|
|
footer_scripts: "example_value", // optional
|
|
logo: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrupdateCategory`
|
|
|
|
**Description**: Provider: Update category. Method: POST, Path: /emr/update-category
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/emr/update-category`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`id`** (integer) - *Optional* - Parameter
|
|
- **`name`** (string) - *Optional* - Parameter
|
|
- **`description`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrupdateCategory', {
|
|
id: 123, // optional
|
|
name: "John Doe", // optional
|
|
description: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrupdatePatient`
|
|
|
|
**Description**: Provider: Update patient with complete demographic data. Method: POST, Path: /api/emr/update-patient/{patient_id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/emr/update-patient/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (string) - **Required** - Patient ID
|
|
|
|
**Optional Parameters**:
|
|
- **`firstName`** (string) - *Optional* - First name
|
|
- **`lastName`** (string) - *Optional* - Last name
|
|
- **`fullName`** (string) - *Optional* - Full name
|
|
- **`middleName`** (string) - *Optional* - Middle name
|
|
- **`preferredName`** (string) - *Optional* - Preferred name
|
|
- **`email`** (string) - *Optional* - Email address
|
|
- **`contactMethod`** (string) - *Optional* - Contact method
|
|
- **`personalID`** (string) - *Optional* - Personal ID
|
|
- **`dateOfBirth`** (string) - *Optional* - Date of birth
|
|
- **`sexatBirth`** (string) - *Optional* - Sex at birth
|
|
- **`genderIdentity`** (string) - *Optional* - Gender identity
|
|
- **`race`** (string) - *Optional* - Race
|
|
- **`pronoun`** (string) - *Optional* - Pronoun
|
|
- **`ageGroup`** (string) - *Optional* - Age group
|
|
- **`timezone`** (string) - *Optional* - Timezone
|
|
- **`preferredPhone`** (string) - *Optional* - Preferred phone
|
|
- **`alternativePhone`** (string) - *Optional* - Alternative phone
|
|
- **`textmsgNumber`** (string) - *Optional* - Text message number
|
|
- **`address`** (string) - *Optional* - Address
|
|
- **`city`** (string) - *Optional* - City
|
|
- **`state`** (string) - *Optional* - State
|
|
- **`zipcode`** (string) - *Optional* - ZIP code
|
|
- **`primaryPractitioner`** (string) - *Optional* - Primary practitioner
|
|
- **`primaryCarePhysician`** (string) - *Optional* - Primary care physician
|
|
- **`guardian`** (string) - *Optional* - Guardian
|
|
- **`emergencyContactNumber`** (string) - *Optional* - Emergency contact number
|
|
- **`emergencyContactNameRelation`** (string) - *Optional* - Emergency contact name relation
|
|
- **`patientMaritalStatus`** (string) - *Optional* - Patient marital status
|
|
- **`occupation`** (string) - *Optional* - Occupation
|
|
- **`referredBy`** (string) - *Optional* - Referred by
|
|
- **`patientNote`** (string) - *Optional* - Patient note
|
|
- **`password`** (string) - *Optional* - Patient portal password
|
|
- **`status`** (string) - *Optional* - Patient status
|
|
- **`isportalAccess`** (boolean) - *Optional* - Portal access flag
|
|
- **`profilePicture`** (file) - *Optional* - Profile picture file
|
|
- **`avatar`** (file) - *Optional* - Avatar file
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrupdatePatient', {
|
|
patient_id: 123,
|
|
firstName: "John Doe", // optional
|
|
lastName: "John Doe", // optional
|
|
fullName: "John Doe", // optional
|
|
middleName: 123, // optional
|
|
preferredName: "John Doe", // optional
|
|
email: "user@example.com", // optional
|
|
contactMethod: "example_value", // optional
|
|
personalID: 123, // optional
|
|
dateOfBirth: "2024-01-15", // optional
|
|
sexatBirth: "example_value", // optional
|
|
genderIdentity: 123, // optional
|
|
race: "example_value", // optional
|
|
pronoun: "example_value", // optional
|
|
ageGroup: 30, // optional
|
|
timezone: "example_value", // optional
|
|
preferredPhone: "+1234567890", // optional
|
|
alternativePhone: "+1234567890", // optional
|
|
textmsgNumber: "example_value", // optional
|
|
address: "123 Main St", // optional
|
|
city: "New York", // optional
|
|
state: "NY", // optional
|
|
zipcode: "10001", // optional
|
|
primaryPractitioner: "example_value", // optional
|
|
primaryCarePhysician: "example_value", // optional
|
|
guardian: "example_value", // optional
|
|
emergencyContactNumber: "example_value", // optional
|
|
emergencyContactNameRelation: "John Doe", // optional
|
|
patientMaritalStatus: "example_value", // optional
|
|
occupation: "example_value", // optional
|
|
referredBy: "example_value", // optional
|
|
patientNote: "example_value", // optional
|
|
password: "password123", // optional
|
|
status: "example_value", // optional
|
|
isportalAccess: true, // optional
|
|
profilePicture: "example_value", // optional
|
|
avatar: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrupdateProduct`
|
|
|
|
**Description**: Provider: Update product. Method: POST, Path: /emr/update-product
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/emr/update-product`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`id`** (integer) - *Optional* - Parameter
|
|
- **`name`** (string) - *Optional* - Parameter
|
|
- **`description`** (string) - *Optional* - Parameter
|
|
- **`price`** (number) - *Optional* - Parameter
|
|
- **`category_id`** (integer) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrupdateProduct', {
|
|
id: 123, // optional
|
|
name: "John Doe", // optional
|
|
description: "example_value", // optional
|
|
price: 99.99, // optional
|
|
category_id: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_emrupdateProviderProfile`
|
|
|
|
**Description**: Provider: Update provider profile. Method: POST, Path: /api/emr/update-provider-profile
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/update-provider-profile`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`firstName`** (string) - *Optional* - First name
|
|
- **`lastName`** (string) - *Optional* - Last name
|
|
- **`emailAddress`** (string) - *Optional* - Email address
|
|
- **`textMessageNumber`** (string) - *Optional* - Text message number
|
|
- **`specialties`** (array) - *Optional* - Medical specialties
|
|
- **`license_number`** (string) - *Optional* - License number
|
|
- **`npi_number`** (string) - *Optional* - NPI number
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_emrupdateProviderProfile', {
|
|
firstName: "John Doe", // optional
|
|
lastName: "John Doe", // optional
|
|
emailAddress: "user@example.com", // optional
|
|
textMessageNumber: 30, // optional
|
|
specialties: [], // optional
|
|
license_number: "example_value", // optional
|
|
npi_number: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_endCall`
|
|
|
|
**Description**: Provider: End a call. Method: POST, Path: /api/end-call/{patient_id}/{appointment_id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/end-call/{patient_id}/{appointment_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - Patient ID
|
|
- **`appointment_id`** (integer) - **Required** - Appointment ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_endCall', {
|
|
patient_id: 123,
|
|
appointment_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_create_familyHistoryallergie`
|
|
|
|
**Description**: Provider: Store patient allergies. Method: POST, Path: /emr/family-history/allergies/{patientId}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/emr/family-history/allergies/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
|
|
**Optional Parameters**:
|
|
- **`allergies`** (array) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_familyHistoryallergie', {
|
|
patientId: 123,
|
|
allergies: [] // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_formPdfSave`
|
|
|
|
**Description**: Provider: Save form file. Method: POST, Path: /api/form-pdf-save
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/form-pdf-save`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (integer) - **Required** - form_id parameter
|
|
- **`pdf_data`** (string) - **Required** - Base64 encoded PDF data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_formPdfSave', {
|
|
form_id: 123,
|
|
pdf_data: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_create_getAppointmentById`
|
|
|
|
**Description**: Provider: Get appointment by ID. Method: POST, Path: /api/get-appointment-by-id
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/get-appointment-by-id`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointment_id`** (integer) - **Required** - appointment_id parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_getAppointmentById', {
|
|
appointment_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_create_getAppointmentList`
|
|
|
|
**Description**: Provider: Get appointments list. Method: POST, Path: /api/get-appointment-list
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/get-appointment-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_getAppointmentList');
|
|
```
|
|
|
|
### `provider_create_getAppointmentListDate`
|
|
|
|
**Description**: Provider: Get appointment list by date. Method: POST, Path: /api/get-appointment-list-date
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/get-appointment-list-date`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`date`** (string) - *Optional* - date parameter
|
|
- **`practitioner_id`** (integer) - *Optional* - practitioner_id parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_getAppointmentListDate', {
|
|
date: "2024-01-15", // optional
|
|
practitioner_id: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_getAsseblyaiToken`
|
|
|
|
**Description**: Provider: Get AssemblyAI token. Method: POST, Path: /get-asseblyai-token
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/get-asseblyai-token`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_getAsseblyaiToken');
|
|
```
|
|
|
|
### `provider_create_getAvailableSlotsData`
|
|
|
|
**Description**: Provider: Get available appointment slots by practitioner ID, month and timezone (requires provider authentication for practitioner data protection). Method: POST, Path: /api/get-available-slots-data/{practitionerId}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/get-available-slots-data/{practitionerId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`practitionerId`** (string) - **Required** - Practitioner ID
|
|
- **`month`** (string) - **Required** - Month in MM format (e.g., '07' for July)
|
|
- **`timezone`** (string) - **Required** - Timezone abbreviation (e.g., 'CST', 'EST', 'PST')
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_getAvailableSlotsData', {
|
|
practitionerId: 123,
|
|
month: "example_value",
|
|
timezone: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_create_getDoctorsAppointmentList`
|
|
|
|
**Description**: Provider: Get doctor appointments list. Method: POST, Path: /api/get-doctors-appointment-list
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/get-doctors-appointment-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_getDoctorsAppointmentList');
|
|
```
|
|
|
|
### `provider_create_getDoctorsList`
|
|
|
|
**Description**: Provider: Get doctors list. Method: POST, Path: /api/get-doctors-list
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/get-doctors-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_getDoctorsList');
|
|
```
|
|
|
|
### `provider_create_getPatientInfo`
|
|
|
|
**Description**: Provider: Get patient information. Method: POST, Path: /api/get-patient-info/{patientId}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/get-patient-info/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_getPatientInfo', {
|
|
patientId: 123
|
|
});
|
|
```
|
|
|
|
### `provider_create_labscreate`
|
|
|
|
**Description**: Provider: Create lab. Method: POST, Path: /api/labs/create
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/labs/create`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`lab_data`** (object) - **Required** - Lab data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_labscreate', {
|
|
lab_data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_create_labssearch`
|
|
|
|
**Description**: Provider: Search labs by address. Method: POST, Path: /api/labs/search
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/labs/search`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`address`** (string) - **Required** - Search address
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_labssearch', {
|
|
address: "123 Main St"
|
|
});
|
|
```
|
|
|
|
### `provider_create_medicalProblemsStore`
|
|
|
|
**Description**: Provider: Add a new medical problem for a patient. Method: POST, Path: /api/medical-problems-store/{pid}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/medical-problems-store/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - ID of the patient
|
|
- **`name`** (string) - **Required** - name parameter
|
|
- **`lastDate`** (string) - **Required** - lastDate parameter
|
|
- **`nextDate`** (string) - **Required** - nextDate parameter
|
|
- **`screeningDetails`** (string) - **Required** - screeningDetails parameter
|
|
- **`flag`** (string) - **Required** - Status flag for the medical problem
|
|
- **`typeOfItem`** (string) - **Required** - Type of medical problem
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_medicalProblemsStore', {
|
|
pid: 123,
|
|
name: "John Doe",
|
|
lastDate: "2024-01-15",
|
|
nextDate: "2024-01-15",
|
|
screeningDetails: "example_value",
|
|
flag: "example_value",
|
|
typeOfItem: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_create_medicalRecordscreate`
|
|
|
|
**Description**: Provider: Create medical record. Method: POST, Path: /api/emr/medical-records/create
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/medical-records/create`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (string) - **Required** - Patient ID
|
|
- **`record_type`** (string) - **Required** - Record type
|
|
|
|
**Optional Parameters**:
|
|
- **`diagnosis`** (string) - *Optional* - Diagnosis
|
|
- **`treatment`** (string) - *Optional* - Treatment
|
|
- **`notes`** (string) - *Optional* - Medical notes
|
|
- **`vital_signs`** (object) - *Optional* - Vital signs data
|
|
- **`allergies`** (array) - *Optional* - Patient allergies
|
|
- **`medications`** (array) - *Optional* - Current medications
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_medicalRecordscreate', {
|
|
patient_id: 123,
|
|
record_type: "example_value",
|
|
diagnosis: "example_value", // optional
|
|
treatment: "example_value", // optional
|
|
notes: "example_value", // optional
|
|
vital_signs: {}, // optional
|
|
allergies: [], // optional
|
|
medications: [] // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_patientEligibilityCheck`
|
|
|
|
**Description**: Provider: Check patient eligibility. Method: POST, Path: /patient-eligibility-check
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/patient-eligibility-check`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`patient_id`** (integer) - *Optional* - Parameter
|
|
- **`insurance_id`** (integer) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_patientEligibilityCheck', {
|
|
patient_id: 123, // optional
|
|
insurance_id: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_patientInsurance`
|
|
|
|
**Description**: Provider: Add patient insurance. Method: POST, Path: /patient-insurance
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/patient-insurance`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`patient_id`** (integer) - *Optional* - Parameter
|
|
- **`insuredPlanOrProgramName`** (string) - *Optional* - Parameter
|
|
- **`insuredIDNumber`** (string) - *Optional* - Parameter
|
|
- **`insuredGroupNameNo`** (string) - *Optional* - Parameter
|
|
- **`payerName`** (string) - *Optional* - Parameter
|
|
- **`relationshiptoInsured`** (string) - *Optional* - Parameter
|
|
- **`insuredDateOfBirth`** (string) - *Optional* - Parameter
|
|
- **`insuredAddress`** (string) - *Optional* - Parameter
|
|
- **`insuredZip`** (string) - *Optional* - Parameter
|
|
- **`insuredCity`** (string) - *Optional* - Parameter
|
|
- **`insuredState`** (string) - *Optional* - Parameter
|
|
- **`insuredPhone`** (string) - *Optional* - Parameter
|
|
- **`coPayment`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_patientInsurance', {
|
|
patient_id: 123, // optional
|
|
insuredPlanOrProgramName: "John Doe", // optional
|
|
insuredIDNumber: 123, // optional
|
|
insuredGroupNameNo: "John Doe", // optional
|
|
payerName: "John Doe", // optional
|
|
relationshiptoInsured: "example_value", // optional
|
|
insuredDateOfBirth: "2024-01-15", // optional
|
|
insuredAddress: "123 Main St", // optional
|
|
insuredZip: "10001", // optional
|
|
insuredCity: "New York", // optional
|
|
insuredState: "NY", // optional
|
|
insuredPhone: "+1234567890", // optional
|
|
coPayment: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_patientmedicalProblem`
|
|
|
|
**Description**: Provider: Store medical problem. Method: POST, Path: /api/patient/medical-problem/{pid}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient/medical-problem/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Optional Parameters**:
|
|
- **`description`** (string) - *Optional* - Parameter
|
|
- **`date_of_onset`** (string) - *Optional* - Parameter
|
|
- **`status`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_patientmedicalProblem', {
|
|
pid: 123,
|
|
description: "example_value", // optional
|
|
date_of_onset: "2024-01-15", // optional
|
|
status: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_patientNextofskin`
|
|
|
|
**Description**: Provider: Add next of kin. Method: POST, Path: /patient-nextofskin
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/patient-nextofskin`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`patient_id`** (integer) - *Optional* - Parameter
|
|
- **`nextKinRelation`** (string) - *Optional* - Parameter
|
|
- **`nextkinPhone`** (string) - *Optional* - Parameter
|
|
- **`nextkinAddress`** (string) - *Optional* - Parameter
|
|
- **`nextkinCity`** (string) - *Optional* - Parameter
|
|
- **`nextkinState`** (string) - *Optional* - Parameter
|
|
- **`nextkinZipCode`** (string) - *Optional* - Parameter
|
|
- **`nextkinFirstName`** (string) - *Optional* - Parameter
|
|
- **`nextkinLastName`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_patientNextofskin', {
|
|
patient_id: 123, // optional
|
|
nextKinRelation: "example_value", // optional
|
|
nextkinPhone: "+1234567890", // optional
|
|
nextkinAddress: "123 Main St", // optional
|
|
nextkinCity: "New York", // optional
|
|
nextkinState: "NY", // optional
|
|
nextkinZipCode: "10001", // optional
|
|
nextkinFirstName: "John Doe", // optional
|
|
nextkinLastName: "John Doe" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_patientssaveClinicalProfile`
|
|
|
|
**Description**: Provider: Save clinical profile for patient. Method: POST, Path: /emr/patients/save-clinical-profile/{pid}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/emr/patients/save-clinical-profile/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Optional Parameters**:
|
|
- **`immunizations`** (array) - *Optional* - Parameter
|
|
- **`allergies`** (array) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_patientssaveClinicalProfile', {
|
|
pid: 123,
|
|
immunizations: [], // optional
|
|
allergies: [] // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_patientsstoreDocument`
|
|
|
|
**Description**: Provider: Store patient document. Method: POST, Path: /emr/patients/store-document/{pid}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/patients/store-document/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_patientsstoreDocument', {
|
|
pid: 123
|
|
});
|
|
```
|
|
|
|
### `provider_create_patientsstoreVital`
|
|
|
|
**Description**: Provider: Store patient vitals in EMR. Method: POST, Path: /emr/patients/store-vitals/{pid}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/emr/patients/store-vitals/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
- **`temperature`** (number) - **Required** - Parameter
|
|
- **`blood_pressure`** (string) - **Required** - Parameter
|
|
- **`heart_rate`** (integer) - **Required** - Parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`weight`** (number) - *Optional* - Parameter
|
|
- **`height`** (number) - *Optional* - Parameter
|
|
- **`notes`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_patientsstoreVital', {
|
|
pid: 123,
|
|
temperature: 123,
|
|
blood_pressure: "example_value",
|
|
heart_rate: 123,
|
|
weight: 123, // optional
|
|
height: 123, // optional
|
|
notes: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_plansProductSync`
|
|
|
|
**Description**: Provider: Save multiple products. Method: POST, Path: /api/plans-product-sync
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/plans-product-sync`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`builder_id`** (string) - **Required** - Base64 encoded builder ID
|
|
- **`products`** (array) - **Required** - products parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_plansProductSync', {
|
|
builder_id: 123,
|
|
products: []
|
|
});
|
|
```
|
|
|
|
### `provider_create_plansProductUpdate`
|
|
|
|
**Description**: Provider: Update product on publish. Method: POST, Path: /api/plans-product-update
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/plans-product-update`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`builder_id`** (string) - **Required** - Base64 encoded builder ID
|
|
- **`product_id`** (integer) - **Required** - product_id parameter
|
|
- **`product_name`** (string) - **Required** - product_name parameter
|
|
- **`product_price`** (number) - **Required** - product_price parameter
|
|
- **`product_slug`** (string) - **Required** - product_slug parameter
|
|
- **`product_category`** (object) - **Required** - product_category parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`product_variation`** (array) - *Optional* - product_variation parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_plansProductUpdate', {
|
|
builder_id: 123,
|
|
product_id: 123,
|
|
product_name: "John Doe",
|
|
product_price: 99.99,
|
|
product_slug: "example_value",
|
|
product_category: {},
|
|
product_variation: [] // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_prescriptionstore`
|
|
|
|
**Description**: Provider: Store medication with actual API parameter names. Method: POST, Path: /api/emr/prescription/store/{patient_id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/emr/prescription/store/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (string) - **Required** - Patient ID
|
|
- **`medication_data`** (object) - **Required** - Complete medication object from medicationService.js
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_prescriptionstore', {
|
|
patient_id: 123,
|
|
medication_data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_create_providerAddAvailability`
|
|
|
|
**Description**: Provider: Store provider availability. Method: POST, Path: /api/provider-add-availability
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/provider-add-availability`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`title`** (string) - **Required** - title parameter
|
|
- **`start`** (string) - **Required** - start parameter
|
|
- **`end`** (string) - **Required** - end parameter
|
|
- **`type`** (string) - **Required** - availability or event
|
|
|
|
**Optional Parameters**:
|
|
- **`comment`** (string) - *Optional* - comment parameter
|
|
- **`practitioner_id`** (integer) - *Optional* - practitioner_id parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_providerAddAvailability', {
|
|
title: "example_value",
|
|
start: "example_value",
|
|
end: "example_value",
|
|
type: "example_value",
|
|
comment: "example_value", // optional
|
|
practitioner_id: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_saveCategory`
|
|
|
|
**Description**: Provider: Store product category. Method: POST, Path: /api/save-category
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/save-category`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`name`** (string) - **Required** - name parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`description`** (string) - *Optional* - description parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_saveCategory', {
|
|
name: "John Doe",
|
|
description: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_savePaymentMethod`
|
|
|
|
**Description**: Provider: Store payment method configuration. Method: POST, Path: /api/save-payment-method
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/save-payment-method`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`payment_method`** (string) - **Required** - payment_method parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`api_key`** (string) - *Optional* - api_key parameter
|
|
- **`secret_key`** (string) - *Optional* - secret_key parameter
|
|
- **`is_active`** (boolean) - *Optional* - is_active parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_savePaymentMethod', {
|
|
payment_method: "example_value",
|
|
api_key: "example_value", // optional
|
|
secret_key: "example_value", // optional
|
|
is_active: true // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_saveProduct`
|
|
|
|
**Description**: Provider: Save product. Method: POST, Path: /api/save-product
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/save-product`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`name`** (string) - **Required** - name parameter
|
|
- **`price`** (number) - **Required** - price parameter
|
|
- **`category_id`** (integer) - **Required** - category_id parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`description`** (string) - *Optional* - description parameter
|
|
- **`sku`** (string) - *Optional* - sku parameter
|
|
- **`stock_quantity`** (integer) - *Optional* - stock_quantity parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_saveProduct', {
|
|
name: "John Doe",
|
|
description: "example_value", // optional
|
|
price: 99.99,
|
|
category_id: 123,
|
|
sku: "example_value", // optional
|
|
stock_quantity: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_saveSignature`
|
|
|
|
**Description**: Provider: Save provider signature. Method: POST, Path: /api/save-signature
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/save-signature`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`signature`** (string) - **Required** - signature parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_saveSignature', {
|
|
signature: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_create_startCall`
|
|
|
|
**Description**: Provider: Start a call. Method: POST, Path: /api/start-call/{patient_id}/{agent_id}/{appointment_id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/start-call/{patient_id}/{agent_id}/{appointment_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - Patient ID
|
|
- **`agent_id`** (integer) - **Required** - Agent ID
|
|
- **`appointment_id`** (integer) - **Required** - Appointment ID
|
|
|
|
**Optional Parameters**:
|
|
- **`title`** (string) - *Optional* - Call title
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_startCall', {
|
|
patient_id: 123,
|
|
agent_id: 123,
|
|
appointment_id: 123,
|
|
title: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_storeCompany`
|
|
|
|
**Description**: Provider: Update company information. Method: POST, Path: /api/store-company
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/store-company`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`name`** (string) - **Required** - name parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`address`** (string) - *Optional* - address parameter
|
|
- **`city`** (string) - *Optional* - city parameter
|
|
- **`state`** (string) - *Optional* - state parameter
|
|
- **`zip`** (string) - *Optional* - zip parameter
|
|
- **`phone`** (string) - *Optional* - phone parameter
|
|
- **`email`** (string) - *Optional* - email parameter
|
|
- **`website`** (string) - *Optional* - website parameter
|
|
- **`logo`** (file) - *Optional* - Company logo
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_storeCompany', {
|
|
name: "John Doe",
|
|
address: "123 Main St", // optional
|
|
city: "New York", // optional
|
|
state: "NY", // optional
|
|
zip: "10001", // optional
|
|
phone: "+1234567890", // optional
|
|
email: "user@example.com", // optional
|
|
website: "example_value", // optional
|
|
logo: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_storeConsentForm`
|
|
|
|
**Description**: Provider: Store consent form. Method: POST, Path: /api/store-consent-form
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/store-consent-form`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_data`** (object) - **Required** - Consent form data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_storeConsentForm', {
|
|
form_data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_create_storeDocument`
|
|
|
|
**Description**: Provider: Store patient documents. Method: POST, Path: /api/store-document/{patientId}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/store-document/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
|
|
**Optional Parameters**:
|
|
- **`files`** (array) - *Optional* - Document files to upload
|
|
- **`document_type`** (string) - *Optional* - document_type parameter
|
|
- **`notes`** (string) - *Optional* - notes parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_storeDocument', {
|
|
patientId: 123,
|
|
files: [], // optional
|
|
document_type: "example_value", // optional
|
|
notes: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_storeForm`
|
|
|
|
**Description**: Provider: Store form. Method: POST, Path: /api/store-form
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/store-form`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_data`** (object) - **Required** - Form data
|
|
- **`type`** (string) - **Required** - Form type (simple-forms, consent-forms, charting-forms, etc.)
|
|
- **`data`** (object) - **Required** - Form structure and fields
|
|
- **`name`** (string) - **Required** - name parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_storeForm', {
|
|
form_data: {},
|
|
type: "example_value",
|
|
data: {},
|
|
name: "John Doe"
|
|
});
|
|
```
|
|
|
|
### `provider_create_storeInsurance`
|
|
|
|
**Description**: Provider: Store insurance information for a patient. Method: POST, Path: /store-insurance/{patientId}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/store-insurance/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - ID of the patient
|
|
- **`insuredPlanOrProgramName`** (string) - **Required** - insuredPlanOrProgramName parameter
|
|
- **`insuredIDNumber`** (string) - **Required** - insuredIDNumber parameter
|
|
- **`relationshiptoInsured`** (string) - **Required** - relationshiptoInsured parameter
|
|
- **`insuredDateOfBirth`** (string) - **Required** - insuredDateOfBirth parameter
|
|
- **`insuredAddress`** (string) - **Required** - insuredAddress parameter
|
|
- **`insuredCity`** (string) - **Required** - insuredCity parameter
|
|
- **`insuredState`** (string) - **Required** - insuredState parameter
|
|
- **`insuredZip`** (string) - **Required** - insuredZip parameter
|
|
- **`insuredPhone`** (string) - **Required** - insuredPhone parameter
|
|
- **`payerName`** (string) - **Required** - payerName parameter
|
|
- **`payerID`** (string) - **Required** - payerID parameter
|
|
- **`payerAddress`** (string) - **Required** - payerAddress parameter
|
|
- **`payerCity`** (string) - **Required** - payerCity parameter
|
|
- **`payerState`** (string) - **Required** - payerState parameter
|
|
- **`payerZip`** (string) - **Required** - payerZip parameter
|
|
- **`type`** (string) - **Required** - type parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`insurance`** (string) - *Optional* - insurance parameter
|
|
- **`insuredGroupNameNo`** (string) - *Optional* - insuredGroupNameNo parameter
|
|
- **`employersSchoolName`** (string) - *Optional* - employersSchoolName parameter
|
|
- **`insuredName`** (string) - *Optional* - insuredName parameter
|
|
- **`insuredGender`** (string) - *Optional* - insuredGender parameter
|
|
- **`coPayment`** (number) - *Optional* - coPayment parameter
|
|
- **`coInsurance`** (number) - *Optional* - coInsurance parameter
|
|
- **`insuranceDeductible`** (number) - *Optional* - insuranceDeductible parameter
|
|
- **`referringProviderName`** (string) - *Optional* - referringProviderName parameter
|
|
- **`referringProviderNPI`** (string) - *Optional* - referringProviderNPI parameter
|
|
- **`referringProviderTaxonomy`** (string) - *Optional* - referringProviderTaxonomy parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_storeInsurance', {
|
|
patientId: 123,
|
|
insurance: "example_value", // optional
|
|
insuredPlanOrProgramName: "John Doe",
|
|
insuredIDNumber: 123,
|
|
insuredGroupNameNo: "John Doe", // optional
|
|
employersSchoolName: "John Doe", // optional
|
|
relationshiptoInsured: "example_value",
|
|
insuredName: "John Doe", // optional
|
|
insuredDateOfBirth: "2024-01-15",
|
|
insuredGender: "example_value", // optional
|
|
coPayment: 123, // optional
|
|
coInsurance: 123, // optional
|
|
insuranceDeductible: 123, // optional
|
|
insuredAddress: "123 Main St",
|
|
insuredCity: "New York",
|
|
insuredState: "NY",
|
|
insuredZip: "10001",
|
|
insuredPhone: "+1234567890",
|
|
payerName: "John Doe",
|
|
payerID: 123,
|
|
payerAddress: "123 Main St",
|
|
payerCity: "New York",
|
|
payerState: "NY",
|
|
payerZip: "10001",
|
|
referringProviderName: 123, // optional
|
|
referringProviderNPI: 123, // optional
|
|
referringProviderTaxonomy: 123, // optional
|
|
type: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_create_storeLabdiagonostic`
|
|
|
|
**Description**: Provider: Store lab diagnostics. Method: POST, Path: /api/store-labdiagonostics
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/store-labdiagonostics`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`lab_data`** (object) - **Required** - Lab diagnostic data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_storeLabdiagonostic', {
|
|
lab_data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_create_storePatientConsentForm`
|
|
|
|
**Description**: Provider: Store patient consent form. Method: POST, Path: /api/store-patient-consent-form
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/store-patient-consent-form`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (integer) - **Required** - form_id parameter
|
|
- **`pid`** (integer) - **Required** - pid parameter
|
|
- **`data`** (object) - **Required** - data parameter
|
|
- **`name`** (string) - **Required** - name parameter
|
|
- **`signature`** (string) - **Required** - signature parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_storePatientConsentForm', {
|
|
form_id: 123,
|
|
pid: 123,
|
|
data: {},
|
|
name: "John Doe",
|
|
signature: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_create_storePatientQuestionnaireData`
|
|
|
|
**Description**: Provider: Store patient questionnaire data (requires provider authentication for patient data protection). Method: POST, Path: /api/store-patient-questionnaire-data
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/store-patient-questionnaire-data`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`questionnaire_data`** (object) - **Required** - Questionnaire data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_storePatientQuestionnaireData', {
|
|
questionnaire_data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_create_storeQuestionerFormData`
|
|
|
|
**Description**: Provider: Store questioner form data (requires provider authentication for patient data protection). Method: POST, Path: /api/store-questioner-form-data
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/store-questioner-form-data`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_data`** (object) - **Required** - Form data object
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_storeQuestionerFormData', {
|
|
form_data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_create_storeTag`
|
|
|
|
**Description**: Provider: Store tags for a patient (alternate endpoint). Method: POST, Path: /store-tags/{patientId}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/store-tags/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
- **`tags`** (array) - **Required** - Array of tag names to be associated with the patient
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_storeTag', {
|
|
patientId: 123,
|
|
tags: []
|
|
});
|
|
```
|
|
|
|
### `provider_create_subscriptioncancel`
|
|
|
|
**Description**: Provider: Cancel subscription. Method: POST, Path: /api/patient/subscription/{subscription}/cancel
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient/subscription/{subscription}/cancel`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`subscription`** (integer) - **Required** - Subscription ID
|
|
|
|
**Optional Parameters**:
|
|
- **`reason`** (string) - *Optional* - Parameter
|
|
- **`feedback`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_subscriptioncancel', {
|
|
subscription: 123,
|
|
reason: "example_value", // optional
|
|
feedback: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_tagsstore`
|
|
|
|
**Description**: Provider: Store tags for a patient. Method: POST, Path: /tags/store/{pid}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/tags/store/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
- **`tags`** (array) - **Required** - Array of tag names to be associated with the patient
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_tagsstore', {
|
|
pid: 123,
|
|
tags: []
|
|
});
|
|
```
|
|
|
|
### `provider_create_textMessage`
|
|
|
|
**Description**: Provider: Send text message. Method: POST, Path: /text-messages
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/text-messages`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`patient_id`** (integer) - *Optional* - Parameter
|
|
- **`message`** (string) - *Optional* - Parameter
|
|
- **`phone_number`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_textMessage', {
|
|
patient_id: 123, // optional
|
|
message: 30, // optional
|
|
phone_number: "+1234567890" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_tokencreateWithAbilitie`
|
|
|
|
**Description**: Provider: Create a token with specific abilities. Method: POST, Path: /api/token/create-with-abilities
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/token/create-with-abilities`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`user_id`** (integer) - **Required** - user_id parameter
|
|
- **`token_name`** (string) - **Required** - token_name parameter
|
|
- **`abilities`** (array) - **Required** - abilities parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`expires_in_hours`** (integer) - *Optional* - expires_in_hours parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_tokencreateWithAbilitie', {
|
|
user_id: 123,
|
|
token_name: "John Doe",
|
|
abilities: [],
|
|
expires_in_hours: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_tokengenerateTemporary`
|
|
|
|
**Description**: Provider: Generate a temporary API token. Method: POST, Path: /api/token/generate-temporary
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/token/generate-temporary`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`user_id`** (integer) - **Required** - user_id parameter
|
|
- **`expires_in_hours`** (integer) - **Required** - expires_in_hours parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`abilities`** (array) - *Optional* - abilities parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_tokengenerateTemporary', {
|
|
user_id: 123,
|
|
expires_in_hours: 123,
|
|
abilities: [] // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_tokenrefresh`
|
|
|
|
**Description**: Provider: Refresh current token. Method: POST, Path: /api/token/refresh
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/token/refresh`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_tokenrefresh');
|
|
```
|
|
|
|
### `provider_create_updateCategory`
|
|
|
|
**Description**: Provider: Update product category. Method: POST, Path: /api/update-category/{id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/update-category/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Category ID
|
|
- **`name`** (string) - **Required** - name parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`description`** (string) - *Optional* - description parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_updateCategory', {
|
|
id: 123,
|
|
name: "John Doe",
|
|
description: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_updateInsurance`
|
|
|
|
**Description**: Provider: Update patient insurance. Method: POST, Path: /update-insurance/{patientId}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/update-insurance/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
|
|
**Optional Parameters**:
|
|
- **`insuredPlanOrProgramName`** (string) - *Optional* - Parameter
|
|
- **`insuredIDNumber`** (string) - *Optional* - Parameter
|
|
- **`insuredGroupNameNo`** (string) - *Optional* - Parameter
|
|
- **`payerName`** (string) - *Optional* - Parameter
|
|
- **`relationshiptoInsured`** (string) - *Optional* - Parameter
|
|
- **`insuredDateOfBirth`** (string) - *Optional* - Parameter
|
|
- **`insuredAddress`** (string) - *Optional* - Parameter
|
|
- **`insuredZip`** (string) - *Optional* - Parameter
|
|
- **`insuredCity`** (string) - *Optional* - Parameter
|
|
- **`insuredState`** (string) - *Optional* - Parameter
|
|
- **`insuredPhone`** (string) - *Optional* - Parameter
|
|
- **`coPayment`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_updateInsurance', {
|
|
patientId: 123,
|
|
insuredPlanOrProgramName: "John Doe", // optional
|
|
insuredIDNumber: 123, // optional
|
|
insuredGroupNameNo: "John Doe", // optional
|
|
payerName: "John Doe", // optional
|
|
relationshiptoInsured: "example_value", // optional
|
|
insuredDateOfBirth: "2024-01-15", // optional
|
|
insuredAddress: "123 Main St", // optional
|
|
insuredZip: "10001", // optional
|
|
insuredCity: "New York", // optional
|
|
insuredState: "NY", // optional
|
|
insuredPhone: "+1234567890", // optional
|
|
coPayment: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_updateIntakeFormData`
|
|
|
|
**Description**: Provider: Update intake form data. Method: POST, Path: /api/update-intake-form-data
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/update-intake-form-data`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (integer) - **Required** - form_id parameter
|
|
- **`pid`** (integer) - **Required** - pid parameter
|
|
- **`data`** (object) - **Required** - data parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_updateIntakeFormData', {
|
|
form_id: 123,
|
|
pid: 123,
|
|
data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_create_updateLocation`
|
|
|
|
**Description**: Provider: Update location. Method: POST, Path: /update-location/{id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/update-location/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Location ID
|
|
|
|
**Optional Parameters**:
|
|
- **`name`** (string) - *Optional* - Parameter
|
|
- **`address`** (string) - *Optional* - Parameter
|
|
- **`city`** (string) - *Optional* - Parameter
|
|
- **`state`** (string) - *Optional* - Parameter
|
|
- **`postal_code`** (string) - *Optional* - Parameter
|
|
- **`phone`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_updateLocation', {
|
|
id: 123,
|
|
name: "John Doe", // optional
|
|
address: "123 Main St", // optional
|
|
city: "New York", // optional
|
|
state: "NY", // optional
|
|
postal_code: "example_value", // optional
|
|
phone: "+1234567890" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_updatePassword`
|
|
|
|
**Description**: Provider: Update patient password. Method: POST, Path: /api/update-password
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/update-password`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`new_password`** (string) - **Required** - new_password parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_updatePassword', {
|
|
new_password: "password123"
|
|
});
|
|
```
|
|
|
|
### `provider_create_updatePatientInfo`
|
|
|
|
**Description**: Provider: Update patient information. Method: POST, Path: /api/update-patient-info/{patientId}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/update-patient-info/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
|
|
**Optional Parameters**:
|
|
- **`city`** (string) - *Optional* - City
|
|
- **`state`** (string) - *Optional* - State
|
|
- **`address`** (string) - *Optional* - Address
|
|
- **`zip_code`** (string) - *Optional* - Zip code
|
|
- **`dob`** (string) - *Optional* - Date of birth
|
|
- **`country`** (string) - *Optional* - Country
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_updatePatientInfo', {
|
|
patientId: 123,
|
|
city: "New York", // optional
|
|
state: "NY", // optional
|
|
address: "123 Main St", // optional
|
|
zip_code: "10001", // optional
|
|
dob: "example_value", // optional
|
|
country: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_updateProduct`
|
|
|
|
**Description**: Provider: Update product. Method: POST, Path: /api/update-product/{id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/update-product/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Product ID
|
|
- **`name`** (string) - **Required** - name parameter
|
|
- **`price`** (number) - **Required** - price parameter
|
|
- **`category_id`** (integer) - **Required** - category_id parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`description`** (string) - *Optional* - description parameter
|
|
- **`sku`** (string) - *Optional* - sku parameter
|
|
- **`stock_quantity`** (integer) - *Optional* - stock_quantity parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_updateProduct', {
|
|
id: 123,
|
|
name: "John Doe",
|
|
description: "example_value", // optional
|
|
price: 99.99,
|
|
category_id: 123,
|
|
sku: "example_value", // optional
|
|
stock_quantity: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_updateUser`
|
|
|
|
**Description**: Provider: Update user. Method: POST, Path: /api/update-user/{id}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/update-user/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - User ID
|
|
- **`firstName`** (string) - **Required** - firstName parameter
|
|
- **`lastName`** (string) - **Required** - lastName parameter
|
|
- **`textMessageNumber`** (string) - **Required** - textMessageNumber parameter
|
|
- **`timezone`** (string) - **Required** - timezone parameter
|
|
- **`role_id`** (string) - **Required** - role_id parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`dateOfBirth`** (string) - *Optional* - dateOfBirth parameter
|
|
- **`gender`** (string) - *Optional* - gender parameter
|
|
- **`city`** (string) - *Optional* - city parameter
|
|
- **`state`** (string) - *Optional* - state parameter
|
|
- **`zipcode`** (string) - *Optional* - zipcode parameter
|
|
- **`type`** (string) - *Optional* - type parameter
|
|
- **`username`** (string) - *Optional* - username parameter
|
|
- **`newUserPassword`** (string) - *Optional* - newUserPassword parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_updateUser', {
|
|
id: 123,
|
|
firstName: "John Doe",
|
|
lastName: "John Doe",
|
|
textMessageNumber: 30,
|
|
timezone: "example_value",
|
|
dateOfBirth: "2024-01-15", // optional
|
|
gender: "example_value", // optional
|
|
city: "New York", // optional
|
|
state: "NY", // optional
|
|
zipcode: "10001", // optional
|
|
type: "example_value", // optional
|
|
role_id: 123,
|
|
username: "John Doe", // optional
|
|
newUserPassword: "password123" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_create_usercreate`
|
|
|
|
**Description**: Provider: Create new user from admin. Method: POST, Path: /api/user/create
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/user/create`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`firstName`** (string) - **Required** - firstName parameter
|
|
- **`lastName`** (string) - **Required** - lastName parameter
|
|
- **`username`** (string) - **Required** - username parameter
|
|
- **`emailAddress`** (string) - **Required** - emailAddress parameter
|
|
- **`textMessageNumber`** (string) - **Required** - textMessageNumber parameter
|
|
- **`role_id`** (string) - **Required** - role_id parameter
|
|
- **`newUserPassword`** (string) - **Required** - newUserPassword parameter
|
|
- **`type`** (string) - **Required** - type parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`dateOfBirth`** (string) - *Optional* - dateOfBirth parameter
|
|
- **`gender`** (string) - *Optional* - gender parameter
|
|
- **`city`** (string) - *Optional* - city parameter
|
|
- **`state`** (string) - *Optional* - state parameter
|
|
- **`zipcode`** (string) - *Optional* - zipcode parameter
|
|
- **`avatarImg`** (file) - *Optional* - User profile image
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_create_usercreate', {
|
|
firstName: "John Doe",
|
|
lastName: "John Doe",
|
|
username: "John Doe",
|
|
emailAddress: "user@example.com",
|
|
textMessageNumber: 30,
|
|
dateOfBirth: "2024-01-15", // optional
|
|
gender: "example_value", // optional
|
|
city: "New York", // optional
|
|
state: "NY", // optional
|
|
zipcode: "10001", // optional
|
|
role_id: 123,
|
|
newUserPassword: "password123",
|
|
type: "example_value",
|
|
avatarImg: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_delete_deleteConsentForm`
|
|
|
|
**Description**: Provider: Delete consent form. Method: DELETE, Path: /api/delete-consent-form/{form_id}
|
|
|
|
**Method**: DELETE
|
|
|
|
**Endpoint**: `/api/delete-consent-form/{form_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (string) - **Required** - Form ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_delete_deleteConsentForm', {
|
|
form_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_delete_deleteForm`
|
|
|
|
**Description**: Provider: Delete form. Method: DELETE, Path: /api/delete-form/{form_id}
|
|
|
|
**Method**: DELETE
|
|
|
|
**Endpoint**: `/api/delete-form/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (string) - **Required** - Form ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_delete_deleteForm', {
|
|
form_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_delete_deleteIntakeQuestion`
|
|
|
|
**Description**: Provider: Delete intake question. Method: DELETE, Path: /api/delete-intake-question/{form_id}
|
|
|
|
**Method**: DELETE
|
|
|
|
**Endpoint**: `/api/delete-intake-question/{form_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (integer) - **Required** - Intake question ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_delete_deleteIntakeQuestion', {
|
|
form_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_delete_deleteInventory`
|
|
|
|
**Description**: Provider: Delete inventory item. Method: DELETE, Path: /delete-inventory/{id}
|
|
|
|
**Method**: DELETE
|
|
|
|
**Endpoint**: `/delete-inventory/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - ID of the inventory item to delete
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_delete_deleteInventory', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_delete_documentsdelete`
|
|
|
|
**Description**: Provider: Delete document. Method: DELETE, Path: /api/emr/documents/delete/{document_id}
|
|
|
|
**Method**: DELETE
|
|
|
|
**Endpoint**: `/api/emr/documents/delete/{document_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`document_id`** (string) - **Required** - Document ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_delete_documentsdelete', {
|
|
document_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_delete_emrcancelAppointment`
|
|
|
|
**Description**: Provider: Cancel appointment. Method: DELETE, Path: /api/emr/cancel-appointment/{appointment_id}
|
|
|
|
**Method**: DELETE
|
|
|
|
**Endpoint**: `/api/emr/cancel-appointment/{appointment_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointment_id`** (string) - **Required** - Appointment ID
|
|
|
|
**Optional Parameters**:
|
|
- **`cancellation_reason`** (string) - *Optional* - Cancellation reason
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_delete_emrcancelAppointment', {
|
|
appointment_id: 123,
|
|
cancellation_reason: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_delete_emrdeleteBuilder`
|
|
|
|
**Description**: Provider: Delete builder. Method: DELETE, Path: /api/emr/delete-builder/{builder_id}
|
|
|
|
**Method**: DELETE
|
|
|
|
**Endpoint**: `/api/emr/delete-builder/{builder_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`builder_id`** (string) - **Required** - Builder ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_delete_emrdeleteBuilder', {
|
|
builder_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_delete_labsdelete`
|
|
|
|
**Description**: Provider: Delete lab. Method: DELETE, Path: /api/labs/delete/{lab_id}
|
|
|
|
**Method**: DELETE
|
|
|
|
**Endpoint**: `/api/labs/delete/{lab_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`lab_id`** (string) - **Required** - Lab ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_delete_labsdelete', {
|
|
lab_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_delete_tokenrevoke`
|
|
|
|
**Description**: Provider: Revoke a specific token. Method: DELETE, Path: /api/token/revoke
|
|
|
|
**Method**: DELETE
|
|
|
|
**Endpoint**: `/api/token/revoke`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`token_id`** (integer) - **Required** - token_id parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_delete_tokenrevoke', {
|
|
token_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_delete_tokenrevokeAll`
|
|
|
|
**Description**: Provider: Revoke all tokens for a user. Method: DELETE, Path: /api/token/revoke-all/{userId}
|
|
|
|
**Method**: DELETE
|
|
|
|
**Endpoint**: `/api/token/revoke-all/{userId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`userId`** (integer) - **Required** - User ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_delete_tokenrevokeAll', {
|
|
userId: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_appointmentagent`
|
|
|
|
**Description**: Provider: Get agent appointment details. Method: GET, Path: /api/emr/appointment/agent/{appointment}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/appointment/agent/{appointment}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointment`** (integer) - **Required** - Appointment ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_appointmentagent', {
|
|
appointment: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_appointmentdetail`
|
|
|
|
**Description**: Provider: Get appointment details. Method: GET, Path: /api/emr/appointment/{appointment}/detail
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/appointment/{appointment}/detail`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointment`** (integer) - **Required** - Appointment ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_appointmentdetail', {
|
|
appointment: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_appointmentlistByDate`
|
|
|
|
**Description**: Provider: Get appointments by date range. Method: GET, Path: /api/emr/appointment/list-by-date
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/appointment/list-by-date`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`start_date`** (string) - **Required** - Start date (YYYY-MM-DD)
|
|
- **`end_date`** (string) - **Required** - End date (YYYY-MM-DD)
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_appointmentlistByDate', {
|
|
start_date: "2024-01-15",
|
|
end_date: "2024-01-15"
|
|
});
|
|
```
|
|
|
|
### `provider_get_appointmentorder`
|
|
|
|
**Description**: Provider: Get appointment order details. Method: GET, Path: /api/emr/appointment/{appointment_id}/order
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/appointment/{appointment_id}/order`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointment_id`** (integer) - **Required** - Appointment ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_appointmentorder', {
|
|
appointment_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_appointmenttranscribe`
|
|
|
|
**Description**: Provider: Get appointment transcriptions. Method: GET, Path: /api/emr/appointment/transcribe/{patient_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/appointment/transcribe/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_appointmenttranscribe', {
|
|
patient_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_assistantpractitionersList`
|
|
|
|
**Description**: Provider: Get practitioners list via assistant. Method: GET, Path: /api/assistant/practitioners-list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/assistant/practitioners-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_assistantpractitionersList');
|
|
```
|
|
|
|
### `provider_get_companystatu`
|
|
|
|
**Description**: Provider: Get company status. Method: GET, Path: /emr/api/company/status
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/emr/api/company/status`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_companystatu');
|
|
```
|
|
|
|
### `provider_get_createMeeting`
|
|
|
|
**Description**: Provider: Show meeting details. Method: GET, Path: /create-meeting/{meeting_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/create-meeting/{meeting_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`meeting_id`** (string) - **Required** - Meeting ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_createMeeting', {
|
|
meeting_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_dashboardState`
|
|
|
|
**Description**: Provider: Get dashboard states. Method: GET, Path: /dashboard-states
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/dashboard-states`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`start_date`** (string) - *Optional* - Start date for the dashboard data range
|
|
- **`end_date`** (string) - *Optional* - End date for the dashboard data range
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_dashboardState', {
|
|
start_date: "2024-01-15", // optional
|
|
end_date: "2024-01-15" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_get_doctorpatient`
|
|
|
|
**Description**: Provider: Get doctor appointments by patient ID. Method: GET, Path: /api/emr/appointment/doctor/patient/{patientId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/appointment/doctor/patient/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_doctorpatient', {
|
|
patientId: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_documentdownload`
|
|
|
|
**Description**: Provider: Download a patient document. Method: GET, Path: /api/document/download/{rowId}/{key}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/document/download/{rowId}/{key}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`rowId`** (integer) - **Required** - ID of the intake form record
|
|
- **`key`** (string) - **Required** - Key identifier for the document in the form data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_documentdownload', {
|
|
rowId: 123,
|
|
key: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_get_emrappointmentsList`
|
|
|
|
**Description**: Provider: Get appointments list with DataTable parameters. Method: GET, Path: /api/emr/appointments-list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/appointments-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`draw`** (number) - *Optional* - DataTable draw parameter
|
|
- **`columns`** (array) - *Optional* - DataTable columns
|
|
- **`order`** (array) - *Optional* - DataTable order
|
|
- **`start`** (number) - *Optional* - DataTable start
|
|
- **`length`** (number) - *Optional* - DataTable length
|
|
- **`search`** (object) - *Optional* - DataTable search
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrappointmentsList', {
|
|
draw: 123, // optional
|
|
columns: [], // optional
|
|
order: [], // optional
|
|
start: 123, // optional
|
|
length: 123, // optional
|
|
search: {} // optional
|
|
});
|
|
```
|
|
|
|
### `provider_get_emrdocument`
|
|
|
|
**Description**: Provider: Get patient documents. Method: GET, Path: /api/emr/documents/{patient_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/documents/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (string) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrdocument', {
|
|
patient_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_emrgetBuilderData`
|
|
|
|
**Description**: Provider: Get builder data. Method: GET, Path: /api/emr/get-builder-data/{builder_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/get-builder-data/{builder_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`builder_id`** (string) - **Required** - Builder ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrgetBuilderData', {
|
|
builder_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_emrgetCategorie`
|
|
|
|
**Description**: Provider: Get categories. Method: GET, Path: /emr/get-categories
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/emr/get-categories`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrgetCategorie');
|
|
```
|
|
|
|
### `provider_get_emrgetCompany`
|
|
|
|
**Description**: Provider: Get company information. Method: GET, Path: /emr/api/get-company
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/emr/api/get-company`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrgetCompany');
|
|
```
|
|
|
|
### `provider_get_emrgetConsentForm`
|
|
|
|
**Description**: Provider: Get consent forms. Method: GET, Path: /api/emr/get-consent-forms
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/get-consent-forms`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrgetConsentForm');
|
|
```
|
|
|
|
### `provider_get_emrgetMedicineList`
|
|
|
|
**Description**: Provider: Get medicine list. Method: GET, Path: /api/emr/get-medicine-list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/get-medicine-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrgetMedicineList');
|
|
```
|
|
|
|
### `provider_get_emrgetPatientData`
|
|
|
|
**Description**: Provider: Get single patient data by ID. Method: GET, Path: /api/emr/get-patient-data/{patient_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/emr/get-patient-data/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (string) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrgetPatientData', {
|
|
patient_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_emrgetProduct`
|
|
|
|
**Description**: Provider: Get products. Method: GET, Path: /emr/get-products
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/emr/get-products`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrgetProduct');
|
|
```
|
|
|
|
### `provider_get_emrgetThemesList`
|
|
|
|
**Description**: Provider: Get themes list. Method: GET, Path: /api/emr/get-themes-list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/get-themes-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrgetThemesList');
|
|
```
|
|
|
|
### `provider_get_emrgetVital`
|
|
|
|
**Description**: Provider: Get patient vitals from EMR. Method: GET, Path: /emr/get-vital/{pid}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/emr/get-vital/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrgetVital', {
|
|
pid: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_emrinvoice`
|
|
|
|
**Description**: Provider: Get invoices. Method: GET, Path: /api/emr/invoices
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/invoices`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrinvoice');
|
|
```
|
|
|
|
### `provider_get_emrmedicalRecord`
|
|
|
|
**Description**: Provider: Get patient medical records. Method: GET, Path: /api/emr/medical-records/{patient_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/medical-records/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (string) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrmedicalRecord', {
|
|
patient_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_emrpatientData`
|
|
|
|
**Description**: Provider: Get single patient by ID. Method: GET, Path: /api/emr/patient-data/{patient_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/emr/patient-data/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (string) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrpatientData', {
|
|
patient_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_emrpatientsList`
|
|
|
|
**Description**: Provider: Patient datatable with DataTable server-side parameters. Method: GET, Path: /api/emr/patients-list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/emr/patients-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`draw`** (number) - *Optional* - DataTable draw parameter
|
|
- **`columns`** (array) - *Optional* - DataTable columns
|
|
- **`order`** (array) - *Optional* - DataTable order
|
|
- **`start`** (number) - *Optional* - DataTable start
|
|
- **`length`** (number) - *Optional* - DataTable length
|
|
- **`search`** (object) - *Optional* - DataTable search
|
|
- **`page`** (number) - *Optional* - Page number
|
|
- **`itemsPerPage`** (number) - *Optional* - Items per page
|
|
- **`sortBy`** (array) - *Optional* - Sort by fields
|
|
- **`filters`** (object) - *Optional* - Filter parameters
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrpatientsList', {
|
|
draw: 123, // optional
|
|
columns: [], // optional
|
|
order: [], // optional
|
|
start: 123, // optional
|
|
length: 123, // optional
|
|
search: {}, // optional
|
|
page: 30, // optional
|
|
itemsPerPage: 30, // optional
|
|
sortBy: [], // optional
|
|
filters: {} // optional
|
|
});
|
|
```
|
|
|
|
### `provider_get_emrprescription`
|
|
|
|
**Description**: Provider: Get patient medication data with filters. Method: GET, Path: /api/emr/prescriptions/{patient_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/prescriptions/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (string) - **Required** - Patient ID
|
|
|
|
**Optional Parameters**:
|
|
- **`src`** (string) - *Optional* - Source filter
|
|
- **`status`** (string) - *Optional* - Status filter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrprescription', {
|
|
patient_id: 123,
|
|
src: "example_value", // optional
|
|
status: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_get_emrproviderProfile`
|
|
|
|
**Description**: Provider: Get provider profile. Method: GET, Path: /api/emr/provider-profile
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/provider-profile`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrproviderProfile');
|
|
```
|
|
|
|
### `provider_get_emrprovidersList`
|
|
|
|
**Description**: Provider: Get providers list. Method: GET, Path: /api/emr/providers-list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/providers-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrprovidersList');
|
|
```
|
|
|
|
### `provider_get_emrproviderWizardSetup`
|
|
|
|
**Description**: Provider: Get provider setup counts. Method: GET, Path: /emr/api/provider-wizard-setup
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/emr/api/provider-wizard-setup`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrproviderWizardSetup');
|
|
```
|
|
|
|
### `provider_get_emrrole`
|
|
|
|
**Description**: Provider: Get roles. Method: GET, Path: /api/emr/roles
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/roles`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_emrrole');
|
|
```
|
|
|
|
### `provider_get_get_medicine_template`
|
|
|
|
**Description**: Provider: Get medicine templates. Method: GET, Path: /api/get_medicine_templates
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get_medicine_templates`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_get_medicine_template');
|
|
```
|
|
|
|
### `provider_get_get_medicine_template_by_id`
|
|
|
|
**Description**: Provider: API endpoint. Method: GET, Path: /api/get_medicine_template_by_id/{template_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get_medicine_template_by_id/{template_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`template_id`** (string) - **Required** - Path parameter: template_id
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_get_medicine_template_by_id', {
|
|
template_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getAllForm`
|
|
|
|
**Description**: Provider: Get all forms. Method: GET, Path: /api/get-all-forms
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-all-forms`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getAllForm');
|
|
```
|
|
|
|
### `provider_get_getAppointment`
|
|
|
|
**Description**: Provider: Get patient appointments. Method: GET, Path: /api/get-appointments/{patient_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-appointments/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getAppointment', {
|
|
patient_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getCitie`
|
|
|
|
**Description**: Provider: Get cities by state (requires provider authentication). Method: GET, Path: /api/get-cities/{state_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-cities/{state_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`state_id`** (string) - **Required** - State ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getCitie', {
|
|
state_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getConsentForm`
|
|
|
|
**Description**: Provider: Get consent form by ID. Method: GET, Path: /api/get-consent-form/{form_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/get-consent-forms`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (string) - **Required** - Form ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getConsentForm', {
|
|
form_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getCountrie`
|
|
|
|
**Description**: Provider: Get countries list (requires provider authentication). Method: GET, Path: /api/get-countries
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-countries`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getCountrie');
|
|
```
|
|
|
|
### `provider_get_getDocument`
|
|
|
|
**Description**: Provider: Get patient documents. Method: GET, Path: /api/get-document/{patientId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-document/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getDocument', {
|
|
patientId: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getDocumentById`
|
|
|
|
**Description**: Provider: Get a specific patient document by ID. Method: GET, Path: /api/get-document-by-id/{patientId}/{did}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-document-by-id/{patientId}/{did}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
- **`did`** (integer) - **Required** - Document ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getDocumentById', {
|
|
patientId: 123,
|
|
did: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getDocumentVue`
|
|
|
|
**Description**: Provider: Get documents for Vue component. Method: GET, Path: /api/get-document-vue/{patient_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-document-vue/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getDocumentVue', {
|
|
patient_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getEmail`
|
|
|
|
**Description**: Provider: Get an email by ID. Method: GET, Path: /api/get-email/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-email/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - ID of the email to retrieve
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getEmail', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getEmailList`
|
|
|
|
**Description**: Provider: Get email list for a patient. Method: GET, Path: /api/get-email-list/{patient_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-email-list/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - ID of the patient
|
|
|
|
**Optional Parameters**:
|
|
- **`draw`** (integer) - *Optional* - DataTables draw counter
|
|
- **`start`** (integer) - *Optional* - DataTables start offset
|
|
- **`length`** (integer) - *Optional* - DataTables page length
|
|
- **`search[value]`** (string) - *Optional* - DataTables search value
|
|
- **`order[0][column]`** (integer) - *Optional* - DataTables column index for ordering
|
|
- **`order[0][dir]`** (string) - *Optional* - DataTables order direction (asc/desc)
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getEmailList', {
|
|
patient_id: 123,
|
|
draw: 123, // optional
|
|
start: 123, // optional
|
|
length: 123, // optional
|
|
search[value]: "example_value", // optional
|
|
order[0][column]: 123, // optional
|
|
order[0][dir]: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_get_getForm`
|
|
|
|
**Description**: Provider: Get forms. Method: GET, Path: /api/get-forms
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-form/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getForm');
|
|
```
|
|
|
|
### `provider_get_getInsurance`
|
|
|
|
**Description**: Provider: Get insurance information for a patient. Method: GET, Path: /get-insurance/{patientId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/get-insurance/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - ID of the patient
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getInsurance', {
|
|
patientId: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getIntakeFormsData`
|
|
|
|
**Description**: Provider: Get intake form data by ID. Method: GET, Path: /api/get-intake-forms-data/{form_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-intake-forms-data/{form_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (integer) - **Required** - Form ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getIntakeFormsData', {
|
|
form_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getIntakeFormsList`
|
|
|
|
**Description**: Provider: Get intake forms list. Method: GET, Path: /api/get-intake-forms-list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-intake-forms-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getIntakeFormsList');
|
|
```
|
|
|
|
### `provider_get_getIntakeQuestion`
|
|
|
|
**Description**: Provider: Get intake questions. Method: GET, Path: /get-intake-questions
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/get-intake-questions`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getIntakeQuestion');
|
|
```
|
|
|
|
### `provider_get_getInventory`
|
|
|
|
**Description**: Provider: Get inventory item by ID. Method: GET, Path: /get-inventory/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/get-inventory/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - ID of the inventory item
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getInventory', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getLabdiagonostic`
|
|
|
|
**Description**: Provider: Get lab diagnostics. Method: GET, Path: /api/get-labdiagonostics
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-labdiagonostics`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getLabdiagonostic');
|
|
```
|
|
|
|
### `provider_get_getLocation`
|
|
|
|
**Description**: Provider: Get a location by UUID. Method: GET, Path: /api/get-location/{uuid}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-location/{uuid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`uuid`** (string) - **Required** - UUID of the location to retrieve
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getLocation', {
|
|
uuid: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getMessageList`
|
|
|
|
**Description**: Provider: Get message list for patient. Method: GET, Path: /get-message-list/{patient_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/get-message-list/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getMessageList', {
|
|
patient_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getNotePatient`
|
|
|
|
**Description**: Provider: Get patient notes. Method: GET, Path: /api/get-note-patient
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-note-patient`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getNotePatient');
|
|
```
|
|
|
|
### `provider_get_getPatientForm`
|
|
|
|
**Description**: Provider: Get all forms for a patient. Method: GET, Path: /api/get-patient-forms/{pid}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-patient-forms/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getPatientForm', {
|
|
pid: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getPatientFormsList`
|
|
|
|
**Description**: Provider: Get patient intake simple forms list. Method: GET, Path: /api/get-patient-forms-list/{pid}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-patient-forms-list/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getPatientFormsList', {
|
|
pid: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getPatientIntakeFormData`
|
|
|
|
**Description**: Provider: Get patient intake form data. Method: GET, Path: /api/get-patient-intake-form-data/{form_id}/{pid}/{rowId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-patient-intake-form-data/{form_id}/{pid}/{rowId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (integer) - **Required** - Form ID
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
- **`rowId`** (integer) - **Required** - Row ID of the specific form submission
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getPatientIntakeFormData', {
|
|
form_id: 123,
|
|
pid: 123,
|
|
rowId: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getPatientIntakeFormLatestData`
|
|
|
|
**Description**: Provider: Get latest intake form data. Method: GET, Path: /api/get-patient-intake-form-latest-data/{form_id}/{pid}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-patient-intake-form-latest-data/{form_id}/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (integer) - **Required** - Form ID
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getPatientIntakeFormLatestData', {
|
|
form_id: 123,
|
|
pid: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getPatientIntakeFormList`
|
|
|
|
**Description**: Provider: Get patient intake forms by type. Method: GET, Path: /api/get-patient-intake-form-list/{type}/{pid}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-patient-intake-form-list/{type}/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`type`** (string) - **Required** - Form type (simple-forms, consent-forms, charting-forms, etc.)
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getPatientIntakeFormList', {
|
|
type: "example_value",
|
|
pid: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getPatientQuestionnaireFormList`
|
|
|
|
**Description**: Provider: Get patient questionnaire forms. Method: GET, Path: /api/get-patient-questionnaire-form-list/{pid}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-patient-questionnaire-form-list/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getPatientQuestionnaireFormList', {
|
|
pid: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getPatientSubmittedIntakeForm`
|
|
|
|
**Description**: Provider: Get all submitted forms for a patient. Method: GET, Path: /api/get-patient-submitted-intake-forms/{pid}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-patient-submitted-intake-forms/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getPatientSubmittedIntakeForm', {
|
|
pid: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getPdfList`
|
|
|
|
**Description**: Provider: Get PDF list (requires provider authentication for patient data protection). Method: GET, Path: /api/get-pdf-list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-pdf-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getPdfList');
|
|
```
|
|
|
|
### `provider_get_getPrescriptionList`
|
|
|
|
**Description**: Provider: Get patient prescription list. Method: GET, Path: /api/get-prescription-list/{patient_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-prescription-list/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getPrescriptionList', {
|
|
patient_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getQuestionerFormsData`
|
|
|
|
**Description**: Provider: Get questionnaire form data. Method: GET, Path: /api/get-questioner-forms-data/{form_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-questioner-forms-data/{form_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (integer) - **Required** - Form ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getQuestionerFormsData', {
|
|
form_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getQuestionerQuestion`
|
|
|
|
**Description**: Provider: Get questionnaire question by ID. Method: GET, Path: /api/get-questioner-question/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-questioner-question/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Question ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getQuestionerQuestion', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getRealtimeQuestion`
|
|
|
|
**Description**: Provider: Get real-time questions. Method: GET, Path: /get-realtime-questions/{appointmentId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/get-realtime-questions/{appointmentId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointmentId`** (integer) - **Required** - Appointment ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getRealtimeQuestion', {
|
|
appointmentId: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getSpecialtie`
|
|
|
|
**Description**: Provider: Get medical specialties (requires provider authentication). Method: GET, Path: /api/get-specialties
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-specialties`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getSpecialtie');
|
|
```
|
|
|
|
### `provider_get_getState`
|
|
|
|
**Description**: Provider: Get states list (requires provider authentication). Method: GET, Path: /api/get-states
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-states`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getState');
|
|
```
|
|
|
|
### `provider_get_getStoredMethod`
|
|
|
|
**Description**: Provider: Get stored payment methods. Method: GET, Path: /api/get-stored-methods/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-stored-methods/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getStoredMethod', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_getTimezone`
|
|
|
|
**Description**: Provider: Get timezones list (requires provider authentication). Method: GET, Path: /api/get-timezones
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/get-timezones`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_getTimezone');
|
|
```
|
|
|
|
### `provider_get_inventory`
|
|
|
|
**Description**: Provider: Get inventory list. Method: GET, Path: /inventory
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/inventory`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_inventory');
|
|
```
|
|
|
|
### `provider_get_joinMeeting`
|
|
|
|
**Description**: Provider: Join a meeting. Method: GET, Path: /join-meeting/{meeting_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/join-meeting/{meeting_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`meeting_id`** (string) - **Required** - Meeting ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_joinMeeting', {
|
|
meeting_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_labDetail`
|
|
|
|
**Description**: Provider: Get lab details for an appointment. Method: GET, Path: /api/lab-detail/{appointment}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/lab-detail/{appointment}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointment`** (integer) - **Required** - Appointment ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_labDetail', {
|
|
appointment: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_labs`
|
|
|
|
**Description**: Provider: Get labs list. Method: GET, Path: /api/labs/list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/labs/list`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_labs');
|
|
```
|
|
|
|
### `provider_get_location`
|
|
|
|
**Description**: Provider: Get locations (requires provider authentication). Method: GET, Path: /api/locations
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/location/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`draw`** (integer) - *Optional* - DataTables draw counter
|
|
- **`start`** (integer) - *Optional* - DataTables start offset
|
|
- **`length`** (integer) - *Optional* - DataTables page length
|
|
- **`search[value]`** (string) - *Optional* - DataTables search value
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_location', {
|
|
draw: 123, // optional
|
|
start: 123, // optional
|
|
length: 123, // optional
|
|
search[value]: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_get_medicalProblem`
|
|
|
|
**Description**: Provider: Get a medical problem by ID. Method: GET, Path: /api/medical-problem/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/medical-problem/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - ID of the medical problem to retrieve
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_medicalProblem', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_patient`
|
|
|
|
**Description**: Provider: Get a list of patients. Method: GET, Path: /api/patients
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/appointment/patient/{patient_id}/list`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`firstName`** (string) - *Optional* - Filter by patient's first name
|
|
- **`lastName`** (string) - *Optional* - Filter by patient's last name
|
|
- **`dateOfBirth`** (string) - *Optional* - Filter by patient's date of birth (YYYY-MM-DD)
|
|
- **`email`** (string) - *Optional* - Filter by patient's email
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_patient', {
|
|
firstName: "John Doe", // optional
|
|
lastName: "John Doe", // optional
|
|
dateOfBirth: "2024-01-15", // optional
|
|
email: "user@example.com" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_get_patientcartsItem`
|
|
|
|
**Description**: Provider: Get patient appointments with carts and items. Method: GET, Path: /api/emr/appointment/patient/carts-items
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/appointment/patient/carts-items`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_patientcartsItem');
|
|
```
|
|
|
|
### `provider_get_patientData`
|
|
|
|
**Description**: Provider: Get patient data. Method: GET, Path: /api/patient-data/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/patient-data/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_patientData', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_patienthistory`
|
|
|
|
**Description**: Provider: Get patient history. Method: GET, Path: /api/patient/history/{patientId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/patient/history/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_patienthistory', {
|
|
patientId: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_patientHistory`
|
|
|
|
**Description**: Provider: Get patient history. Method: GET, Path: /patient-history
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/patient-history`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_patientHistory', {
|
|
patient_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_patientmedicalProblem`
|
|
|
|
**Description**: Provider: Get medical problem by ID. Method: GET, Path: /api/patient/medical-problem/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/patient/medical-problem/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Medical problem ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_patientmedicalProblem', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_patientsgetDocument`
|
|
|
|
**Description**: Provider: Get patient documents. Method: GET, Path: /emr/patients/get-document/{pid}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/patients/get-document/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_patientsgetDocument', {
|
|
pid: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_patientsprofileImage`
|
|
|
|
**Description**: Provider: Get patient profile image. Method: GET, Path: /emr/patients/profile-image/{pid}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/emr/patients/profile-image/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_patientsprofileImage', {
|
|
pid: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_phoneLogList`
|
|
|
|
**Description**: Provider: Get phone logs for a patient. Method: GET, Path: /phone-log-list/{patient_id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/phone-log-list/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - ID of the patient
|
|
|
|
**Optional Parameters**:
|
|
- **`draw`** (integer) - *Optional* - Draw counter for DataTables
|
|
- **`start`** (integer) - *Optional* - Paging first record indicator for DataTables
|
|
- **`length`** (integer) - *Optional* - Number of records per page for DataTables
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_phoneLogList', {
|
|
patient_id: 123,
|
|
draw: 123, // optional
|
|
start: 123, // optional
|
|
length: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_get_practitionersList`
|
|
|
|
**Description**: Provider: Get practitioner list (requires provider authentication). Method: GET, Path: /api/practitioners-list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/practitioners-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_practitionersList');
|
|
```
|
|
|
|
### `provider_get_providerme`
|
|
|
|
**Description**: Provider: Get provider details by access token. Method: GET, Path: /provider/me
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/provider/me`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_providerme');
|
|
```
|
|
|
|
### `provider_get_providerpractitionersList`
|
|
|
|
**Description**: Provider: Get practitioners list. Method: GET, Path: /api/provider/practitioners-list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/provider/practitioners-list`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_providerpractitionersList');
|
|
```
|
|
|
|
### `provider_get_renderpdf`
|
|
|
|
**Description**: Provider: Render a PDF document. Method: GET, Path: /api/render/pdf/{rowId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/render/pdf/{rowId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`rowId`** (integer) - **Required** - ID of the intake form record
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_renderpdf', {
|
|
rowId: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_reportlast-30Day`
|
|
|
|
**Description**: Provider: Get appointment data for last 30 days. Method: GET, Path: /api/emr/appointment/report/last-30-days
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/appointment/report/last-30-days`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`start_date`** (string) - **Required** - Start date (YYYY-MM-DD)
|
|
- **`end_date`** (string) - **Required** - End date (YYYY-MM-DD)
|
|
|
|
**Optional Parameters**:
|
|
- **`provider`** (string) - *Optional* - Provider ID or 'all' for all providers
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_reportlast-30Day', {
|
|
start_date: "2024-01-15",
|
|
end_date: "2024-01-15",
|
|
provider: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_get_tags`
|
|
|
|
**Description**: Provider: Get tags for a patient. Method: GET, Path: /tags/list/{pid}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/tags/list/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_tags', {
|
|
pid: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_task`
|
|
|
|
**Description**: Provider: Get a task by ID. Method: GET, Path: /api/task/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/tasks/{patient_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - ID of the task to retrieve
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_task', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_textMessage`
|
|
|
|
**Description**: Provider: Get text messages. Method: GET, Path: /text-messages
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/text-messages`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_textMessage', {
|
|
patient_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_token`
|
|
|
|
**Description**: Provider: List all tokens for a user. Method: GET, Path: /api/token/list/{userId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/token/list/{userId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`userId`** (integer) - **Required** - User ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_token', {
|
|
userId: 123
|
|
});
|
|
```
|
|
|
|
### `provider_get_userList`
|
|
|
|
**Description**: Provider: Get list of users. Method: GET, Path: /api/user-list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/user-list/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_get_userList');
|
|
```
|
|
|
|
### `provider_update_appointmentStatu`
|
|
|
|
**Description**: Provider: Update appointment status. Method: PUT, Path: /appointment-status/{id}/{status}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/appointment-status/{id}/{status}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Appointment ID
|
|
- **`status`** (string) - **Required** - New status for the appointment
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_appointmentStatu', {
|
|
id: 123,
|
|
status: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_update_assistantupdateForm`
|
|
|
|
**Description**: Provider: Update form. Method: PUT, Path: /api/assistant/update-form/{id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/assistant/update-form/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Form ID
|
|
- **`type`** (string) - **Required** - type parameter
|
|
- **`data`** (object) - **Required** - Form structure and fields
|
|
- **`name`** (string) - **Required** - name parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_assistantupdateForm', {
|
|
id: 123,
|
|
type: "example_value",
|
|
data: {},
|
|
name: "John Doe"
|
|
});
|
|
```
|
|
|
|
### `provider_update_cancelAppointment`
|
|
|
|
**Description**: Provider: Cancel appointment. Method: PUT, Path: /api/cancel-appointment/{id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/cancel-appointment/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Appointment ID
|
|
|
|
**Optional Parameters**:
|
|
- **`reason`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_cancelAppointment', {
|
|
id: 123,
|
|
reason: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_update_completesetup`
|
|
|
|
**Description**: Provider: Complete company setup. Method: PUT, Path: /api/company/complete/setup/{status}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/emr/api/company/complete/setup/{status}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`status`** (string) - **Required** - Setup status (complete or incomplete)
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_completesetup', {
|
|
status: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_update_emrbuilderUpdate`
|
|
|
|
**Description**: Provider: Update builder. Method: PUT, Path: /api/emr/builder-update/{builder_id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/emr/builder-update/{builder_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`builder_id`** (string) - **Required** - Builder ID
|
|
- **`builder_data`** (object) - **Required** - Builder data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_emrbuilderUpdate', {
|
|
builder_id: 123,
|
|
builder_data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_update_emrupdateAppointment`
|
|
|
|
**Description**: Provider: Update appointment. Method: PUT, Path: /api/emr/update-appointment/{appointment_id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/emr/update-appointment/{appointment_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`appointment_id`** (string) - **Required** - Appointment ID
|
|
|
|
**Optional Parameters**:
|
|
- **`appointment_date`** (string) - *Optional* - Appointment date
|
|
- **`appointment_time`** (string) - *Optional* - Appointment time
|
|
- **`duration`** (number) - *Optional* - Duration in minutes
|
|
- **`status`** (string) - *Optional* - Appointment status
|
|
- **`notes`** (string) - *Optional* - Additional notes
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_emrupdateAppointment', {
|
|
appointment_id: 123,
|
|
appointment_date: "2024-01-15", // optional
|
|
appointment_time: "example_value", // optional
|
|
duration: 123, // optional
|
|
status: "example_value", // optional
|
|
notes: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_update_emrupdateBuilderConfig`
|
|
|
|
**Description**: Provider: Update builder config. Method: PUT, Path: /api/emr/update-builder-config/{config_id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/emr/update-builder-config/{config_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`config_id`** (string) - **Required** - Parameter: config_id
|
|
- **`config_data`** (object) - **Required** - Config data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_emrupdateBuilderConfig', {
|
|
config_id: 123,
|
|
config_data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_update_labsupdate`
|
|
|
|
**Description**: Provider: Update lab. Method: PUT, Path: /api/labs/update/{lab_id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/labs/update/{lab_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`lab_id`** (string) - **Required** - Lab ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_labsupdate', {
|
|
lab_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_update_medicalProblemsUpdate`
|
|
|
|
**Description**: Provider: Update an existing medical problem. Method: PUT, Path: /api/medical-problems-update/{id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/medical-problems-update/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - ID of the medical problem to update
|
|
- **`name`** (string) - **Required** - name parameter
|
|
- **`lastDate`** (string) - **Required** - lastDate parameter
|
|
- **`nextDate`** (string) - **Required** - nextDate parameter
|
|
- **`screeningDetails`** (string) - **Required** - screeningDetails parameter
|
|
- **`flag`** (string) - **Required** - Status flag for the medical problem
|
|
- **`typeOfItem`** (string) - **Required** - Type of medical problem
|
|
- **`medical_problem_id`** (integer) - **Required** - ID of the medical problem
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_medicalProblemsUpdate', {
|
|
id: 123,
|
|
name: "John Doe",
|
|
lastDate: "2024-01-15",
|
|
nextDate: "2024-01-15",
|
|
screeningDetails: "example_value",
|
|
flag: "example_value",
|
|
typeOfItem: "example_value",
|
|
medical_problem_id: 123
|
|
});
|
|
```
|
|
|
|
### `provider_update_medicalRecordsupdate`
|
|
|
|
**Description**: Provider: Update medical record. Method: PUT, Path: /api/emr/medical-records/update/{record_id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/emr/medical-records/update/{record_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`record_id`** (string) - **Required** - Record ID
|
|
|
|
**Optional Parameters**:
|
|
- **`diagnosis`** (string) - *Optional* - Diagnosis
|
|
- **`treatment`** (string) - *Optional* - Treatment
|
|
- **`notes`** (string) - *Optional* - Medical notes
|
|
- **`vital_signs`** (object) - *Optional* - Vital signs data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_medicalRecordsupdate', {
|
|
record_id: 123,
|
|
diagnosis: "example_value", // optional
|
|
treatment: "example_value", // optional
|
|
notes: "example_value", // optional
|
|
vital_signs: {} // optional
|
|
});
|
|
```
|
|
|
|
### `provider_update_patientmedicalProblem`
|
|
|
|
**Description**: Provider: Update medical problem. Method: PUT, Path: /api/patient/medical-problem/{id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/patient/medical-problem/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Medical problem ID
|
|
|
|
**Optional Parameters**:
|
|
- **`description`** (string) - *Optional* - Parameter
|
|
- **`date_of_onset`** (string) - *Optional* - Parameter
|
|
- **`status`** (string) - *Optional* - Parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_patientmedicalProblem', {
|
|
id: 123,
|
|
description: "example_value", // optional
|
|
date_of_onset: "2024-01-15", // optional
|
|
status: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_update_prescriptionsupdate`
|
|
|
|
**Description**: Provider: Update prescription status with actual API parameter names from medicationService.js. Method: PUT, Path: /api/emr/prescriptions/update/{prescription_id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/emr/prescriptions/update/{prescription_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`prescription_id`** (string) - **Required** - Prescription ID
|
|
|
|
**Optional Parameters**:
|
|
- **`status`** (string) - *Optional* - Prescription status
|
|
- **`signature`** (string) - *Optional* - Signature
|
|
- **`note`** (string) - *Optional* - Note
|
|
- **`tracking_id`** (string) - *Optional* - Tracking ID
|
|
- **`needs_followup`** (boolean) - *Optional* - Needs followup flag
|
|
- **`followup_days`** (number) - *Optional* - Followup days
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_prescriptionsupdate', {
|
|
prescription_id: 123,
|
|
status: "example_value", // optional
|
|
signature: "example_value", // optional
|
|
note: "example_value", // optional
|
|
tracking_id: 123, // optional
|
|
needs_followup: true, // optional
|
|
followup_days: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `provider_update_update_medicine_template`
|
|
|
|
**Description**: Provider: Update medicine template. Method: PUT, Path: /api/update_medicine_template/{template_id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/update_medicine_template/{template_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`template_id`** (string) - **Required** - Template ID
|
|
- **`template_data`** (object) - **Required** - Medicine template data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_update_medicine_template', {
|
|
template_id: 123,
|
|
template_data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_update_updateConsentForm`
|
|
|
|
**Description**: Provider: Update consent form. Method: PUT, Path: /api/update-consent-form/{form_id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/update-consent-form/{form_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (string) - **Required** - Form ID
|
|
- **`form_data`** (object) - **Required** - Consent form data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_updateConsentForm', {
|
|
form_id: 123,
|
|
form_data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_update_updateForm`
|
|
|
|
**Description**: Provider: Update form. Method: PUT, Path: /api/update-form/{form_id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/update-form/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (string) - **Required** - Form ID
|
|
- **`form_data`** (object) - **Required** - Form data
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_updateForm', {
|
|
form_id: 123,
|
|
form_data: {}
|
|
});
|
|
```
|
|
|
|
### `provider_update_updateFormStatu`
|
|
|
|
**Description**: Provider: Update form request status. Method: PUT, Path: /api/update-form-status
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/update-form-status`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`form_id`** (integer) - **Required** - form_id parameter
|
|
- **`patient_id`** (integer) - **Required** - patient_id parameter
|
|
- **`status`** (string) - **Required** - status parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_updateFormStatu', {
|
|
form_id: 123,
|
|
patient_id: 123,
|
|
status: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_update_updateInsurance`
|
|
|
|
**Description**: Provider: Update insurance information for a patient. Method: PUT, Path: /update-insurance/{patientId}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/update-insurance/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - ID of the patient
|
|
- **`insuredPlanOrProgramName`** (string) - **Required** - insuredPlanOrProgramName parameter
|
|
- **`insuredIDNumber`** (string) - **Required** - insuredIDNumber parameter
|
|
- **`relationshiptoInsured`** (string) - **Required** - relationshiptoInsured parameter
|
|
- **`insuredDateOfBirth`** (string) - **Required** - insuredDateOfBirth parameter
|
|
- **`insuredAddress`** (string) - **Required** - insuredAddress parameter
|
|
- **`insuredCity`** (string) - **Required** - insuredCity parameter
|
|
- **`insuredState`** (string) - **Required** - insuredState parameter
|
|
- **`insuredZip`** (string) - **Required** - insuredZip parameter
|
|
- **`insuredPhone`** (string) - **Required** - insuredPhone parameter
|
|
- **`payerName`** (string) - **Required** - payerName parameter
|
|
- **`type`** (string) - **Required** - type parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`insuredGroupNameNo`** (string) - *Optional* - insuredGroupNameNo parameter
|
|
- **`coPayment`** (number) - *Optional* - coPayment parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_updateInsurance', {
|
|
patientId: 123,
|
|
insuredPlanOrProgramName: "John Doe",
|
|
insuredIDNumber: 123,
|
|
insuredGroupNameNo: "John Doe", // optional
|
|
relationshiptoInsured: "example_value",
|
|
insuredDateOfBirth: "2024-01-15",
|
|
insuredAddress: "123 Main St",
|
|
insuredCity: "New York",
|
|
insuredState: "NY",
|
|
insuredZip: "10001",
|
|
insuredPhone: "+1234567890",
|
|
payerName: "John Doe",
|
|
coPayment: 123, // optional
|
|
type: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_update_updateInventory`
|
|
|
|
**Description**: Provider: Update inventory item. Method: PUT, Path: /update-inventory/{id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/update-inventory/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - ID of the inventory item to update
|
|
|
|
**Optional Parameters**:
|
|
- **`inventoryType`** (string) - *Optional* - inventoryType parameter
|
|
- **`item_name`** (string) - *Optional* - item_name parameter
|
|
- **`price`** (number) - *Optional* - price parameter
|
|
- **`expirationDate`** (string) - *Optional* - expirationDate parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_updateInventory', {
|
|
id: 123,
|
|
inventoryType: "example_value", // optional
|
|
item_name: "John Doe", // optional
|
|
price: 99.99, // optional
|
|
expirationDate: "2024-01-15" // optional
|
|
});
|
|
```
|
|
|
|
### `provider_update_updateLocation`
|
|
|
|
**Description**: Provider: Update a location by ID. Method: PUT, Path: /api/update-location/{id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/update-location/{uuid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - ID of the location to update
|
|
- **`name`** (string) - **Required** - name parameter
|
|
- **`npiNumber`** (string) - **Required** - npiNumber parameter
|
|
- **`phoneNumber`** (string) - **Required** - phoneNumber parameter
|
|
- **`address`** (string) - **Required** - address parameter
|
|
- **`city`** (string) - **Required** - city parameter
|
|
- **`state`** (string) - **Required** - state parameter
|
|
- **`zipcode`** (string) - **Required** - zipcode parameter
|
|
- **`country`** (string) - **Required** - country parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_updateLocation', {
|
|
id: 123,
|
|
name: "John Doe",
|
|
npiNumber: "example_value",
|
|
phoneNumber: "+1234567890",
|
|
address: "123 Main St",
|
|
city: "New York",
|
|
state: "NY",
|
|
zipcode: "10001",
|
|
country: "example_value"
|
|
});
|
|
```
|
|
|
|
### `provider_update_updateTask`
|
|
|
|
**Description**: Provider: Update an existing task. Method: PUT, Path: /api/update-task/{task_id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/update-task/{task_id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`task_id`** (integer) - **Required** - ID of the task to update
|
|
|
|
**Optional Parameters**:
|
|
- **`task_title`** (string) - *Optional* - task_title parameter
|
|
- **`task_body`** (string) - *Optional* - task_body parameter
|
|
- **`task_due_date`** (string) - *Optional* - task_due_date parameter
|
|
- **`task_assigned_to`** (integer) - *Optional* - task_assigned_to parameter
|
|
- **`task_watchers`** (array) - *Optional* - task_watchers parameter
|
|
- **`sendEmailtoPatientApplicationForTask`** (boolean) - *Optional* - sendEmailtoPatientApplicationForTask parameter
|
|
- **`task_priority`** (string) - *Optional* - task_priority parameter
|
|
- **`task_status`** (string) - *Optional* - task_status parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('provider_update_updateTask', {
|
|
task_id: 123,
|
|
task_title: "example_value", // optional
|
|
task_body: "example_value", // optional
|
|
task_due_date: "2024-01-15", // optional
|
|
task_assigned_to: 123, // optional
|
|
task_watchers: [], // optional
|
|
sendEmailtoPatientApplicationForTask: "user@example.com", // optional
|
|
task_priority: "example_value", // optional
|
|
task_status: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
---
|
|
|
|
## 👤 Patient Tools (24 tools)
|
|
|
|
### Authentication Requirements
|
|
- **Type**: Patient authentication required
|
|
- **Security**: Bearer token required
|
|
- **HIPAA Compliance**: Standard security
|
|
|
|
### `patient_create_changePassword`
|
|
|
|
**Description**: Patient: Update patient password. Method: POST, Path: /api/change-password
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/change-password`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`current_password`** (string) - **Required** - Current password
|
|
- **`new_password`** (string) - **Required** - New password
|
|
- **`confirm_password`** (string) - **Required** - Confirm new password
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_create_changePassword', {
|
|
current_password: "password123",
|
|
new_password: "password123",
|
|
confirm_password: "password123"
|
|
});
|
|
```
|
|
|
|
### `patient_create_frontendbookAppointment`
|
|
|
|
**Description**: Patient: Book appointment from patient portal. Method: POST, Path: /api/frontend/book-appointment
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/frontend/book-appointment`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`practitioner_id`** (string) - **Required** - Practitioner ID
|
|
- **`appointment_date`** (string) - **Required** - Appointment date
|
|
- **`appointment_time`** (string) - **Required** - Appointment time
|
|
|
|
**Optional Parameters**:
|
|
- **`reason`** (string) - *Optional* - Appointment reason
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_create_frontendbookAppointment', {
|
|
practitioner_id: 123,
|
|
appointment_date: "2024-01-15",
|
|
appointment_time: "example_value",
|
|
reason: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `patient_create_frontendupdatePatientProfile`
|
|
|
|
**Description**: Patient: Update patient profile. Method: POST, Path: /api/frontend/update-patient-profile
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/frontend/update-patient-profile`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`first_name`** (string) - *Optional* - First name
|
|
- **`last_name`** (string) - *Optional* - Last name
|
|
- **`email`** (string) - *Optional* - Email address
|
|
- **`phone`** (string) - *Optional* - Phone number
|
|
- **`address`** (string) - *Optional* - Address
|
|
- **`city`** (string) - *Optional* - City
|
|
- **`state`** (string) - *Optional* - State
|
|
- **`zipcode`** (string) - *Optional* - ZIP code
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_create_frontendupdatePatientProfile', {
|
|
first_name: "John Doe", // optional
|
|
last_name: "John Doe", // optional
|
|
email: "user@example.com", // optional
|
|
phone: "+1234567890", // optional
|
|
address: "123 Main St", // optional
|
|
city: "New York", // optional
|
|
state: "NY", // optional
|
|
zipcode: "10001" // optional
|
|
});
|
|
```
|
|
|
|
### `patient_create_patientmedicalProblem`
|
|
|
|
**Description**: Patient: Store medical problem. Method: POST, Path: /api/patient/medical-problem/{pid}
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient/medical-problem/{pid}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`pid`** (integer) - **Required** - Patient ID
|
|
|
|
**Optional Parameters**:
|
|
- **`description`** (string) - *Optional* - description parameter
|
|
- **`date_of_onset`** (string) - *Optional* - date_of_onset parameter
|
|
- **`status`** (string) - *Optional* - status parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_create_patientmedicalProblem', {
|
|
pid: 123,
|
|
description: "example_value", // optional
|
|
date_of_onset: "2024-01-15", // optional
|
|
status: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `patient_create_patientprocessPayment`
|
|
|
|
**Description**: Patient: Process payment. Method: POST, Path: /api/patient/process-payment
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient/process-payment`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`amount`** (number) - **Required** - amount parameter
|
|
- **`payment_method`** (string) - **Required** - payment_method parameter
|
|
- **`currency`** (string) - **Required** - currency parameter
|
|
|
|
**Optional Parameters**:
|
|
- **`payment_method_id`** (string) - *Optional* - payment_method_id parameter
|
|
- **`description`** (string) - *Optional* - description parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_create_patientprocessPayment', {
|
|
amount: 99.99,
|
|
payment_method: "example_value",
|
|
currency: "example_value",
|
|
payment_method_id: 123, // optional
|
|
description: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `patient_create_patientprofilePicture`
|
|
|
|
**Description**: Patient: Upload profile picture. Method: POST, Path: /api/patient/profile-picture
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient/profile-picture`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`profile_picture`** (string) - *Optional* - Profile picture file (JPEG, PNG)
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_create_patientprofilePicture', {
|
|
profile_picture: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `patient_create_patientregisterPatient`
|
|
|
|
**Description**: Patient: Register a new patient. Method: POST, Path: /api/patient/register-patient
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient/register-patient`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`first_name`** (string) - **Required** - first_name parameter
|
|
- **`last_name`** (string) - **Required** - last_name parameter
|
|
- **`email`** (string) - **Required** - email parameter
|
|
- **`phone_no`** (string) - **Required** - phone_no parameter
|
|
- **`dob`** (string) - **Required** - dob parameter
|
|
- **`gender`** (string) - **Required** - gender parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_create_patientregisterPatient', {
|
|
first_name: "John Doe",
|
|
last_name: "John Doe",
|
|
email: "user@example.com",
|
|
phone_no: "+1234567890",
|
|
dob: "example_value",
|
|
gender: "example_value"
|
|
});
|
|
```
|
|
|
|
### `patient_create_subscriptioncancel`
|
|
|
|
**Description**: Patient: Cancel subscription. Method: POST, Path: /api/patient/subscription/{subscription}/cancel
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/patient/subscription/{subscription}/cancel`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`subscription`** (integer) - **Required** - Subscription ID
|
|
|
|
**Optional Parameters**:
|
|
- **`reason`** (string) - *Optional* - reason parameter
|
|
- **`feedback`** (string) - *Optional* - feedback parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_create_subscriptioncancel', {
|
|
subscription: 123,
|
|
reason: "example_value", // optional
|
|
feedback: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `patient_get_doctorpatient`
|
|
|
|
**Description**: Patient: Get doctor appointments by patient ID. Method: GET, Path: /api/emr/appointment/doctor/patient/{patientId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/appointment/doctor/patient/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_doctorpatient', {
|
|
patientId: 123
|
|
});
|
|
```
|
|
|
|
### `patient_get_frontendpatientAppointment`
|
|
|
|
**Description**: Patient: Get patient appointments. Method: GET, Path: /api/frontend/patient-appointments
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/frontend/patient-appointments`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_frontendpatientAppointment');
|
|
```
|
|
|
|
### `patient_get_frontendpatientDashboard`
|
|
|
|
**Description**: Patient: Get patient dashboard data. Method: GET, Path: /api/frontend/patient-dashboard
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/frontend/patient-dashboard`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_frontendpatientDashboard');
|
|
```
|
|
|
|
### `patient_get_frontendpatientDocument`
|
|
|
|
**Description**: Patient: Get patient documents. Method: GET, Path: /api/frontend/patient-documents
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/frontend/patient-documents`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_frontendpatientDocument');
|
|
```
|
|
|
|
### `patient_get_frontendpatientPrescription`
|
|
|
|
**Description**: Patient: Get patient prescriptions. Method: GET, Path: /api/frontend/patient-prescriptions
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/frontend/patient-prescriptions`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_frontendpatientPrescription');
|
|
```
|
|
|
|
### `patient_get_frontendpatientProfile`
|
|
|
|
**Description**: Patient: Get patient profile. Method: GET, Path: /api/frontend/patient-profile
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/frontend/patient-profile`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_frontendpatientProfile');
|
|
```
|
|
|
|
### `patient_get_patient`
|
|
|
|
**Description**: Patient: Get patient appointment list. Method: GET, Path: /api/emr/appointment/patient/{patient_id}/list
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/patient/data`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_patient', {
|
|
patient_id: 123
|
|
});
|
|
```
|
|
|
|
### `patient_get_patientcartsItem`
|
|
|
|
**Description**: Patient: Get patient appointments with carts and items. Method: GET, Path: /api/emr/appointment/patient/carts-items
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/emr/appointment/patient/carts-items`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_patientcartsItem');
|
|
```
|
|
|
|
### `patient_get_patienthistory`
|
|
|
|
**Description**: Patient: Get patient history. Method: GET, Path: /api/patient/history/{patientId}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/patient/history/{patientId}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patientId`** (integer) - **Required** - Patient ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_patienthistory', {
|
|
patientId: 123
|
|
});
|
|
```
|
|
|
|
### `patient_get_patientme`
|
|
|
|
**Description**: Patient: Get patient details by access token. Method: GET, Path: /patient/me
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/patient/me`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_patientme');
|
|
```
|
|
|
|
### `patient_get_patientmedicalProblem`
|
|
|
|
**Description**: Patient: Get medical problem by ID. Method: GET, Path: /api/patient/medical-problem/{id}
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/patient/medical-problem/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Medical problem ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_patientmedicalProblem', {
|
|
id: 123
|
|
});
|
|
```
|
|
|
|
### `patient_get_patientnotification`
|
|
|
|
**Description**: Patient: Get patient notifications. Method: GET, Path: /api/patient/notifications
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/patient/notifications`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_patientnotification');
|
|
```
|
|
|
|
### `patient_get_patientprescription`
|
|
|
|
**Description**: Patient: Get patient prescriptions. Method: GET, Path: /api/patient/prescription
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/patient/prescription`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_patientprescription');
|
|
```
|
|
|
|
### `patient_get_patientsessionHistory`
|
|
|
|
**Description**: Patient: Get patient session history. Method: GET, Path: /api/patient/session-history
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/patient/session-history`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_patientsessionHistory');
|
|
```
|
|
|
|
### `patient_get_patientsubscription`
|
|
|
|
**Description**: Patient: Get patient subscription list. Method: GET, Path: /api/patient/subscriptions
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/patient/subscriptions`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_get_patientsubscription');
|
|
```
|
|
|
|
### `patient_update_patientmedicalProblem`
|
|
|
|
**Description**: Patient: Update medical problem. Method: PUT, Path: /api/patient/medical-problem/{id}
|
|
|
|
**Method**: PUT
|
|
|
|
**Endpoint**: `/api/patient/medical-problem/{id}`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`id`** (integer) - **Required** - Medical problem ID
|
|
|
|
**Optional Parameters**:
|
|
- **`description`** (string) - *Optional* - description parameter
|
|
- **`date_of_onset`** (string) - *Optional* - date_of_onset parameter
|
|
- **`status`** (string) - *Optional* - status parameter
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('patient_update_patientmedicalProblem', {
|
|
id: 123,
|
|
description: "example_value", // optional
|
|
date_of_onset: "2024-01-15", // optional
|
|
status: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
---
|
|
|
|
## 🤝 Partner Tools (6 tools)
|
|
|
|
### Authentication Requirements
|
|
- **Type**: Partner authentication required
|
|
- **Security**: Bearer token required
|
|
- **HIPAA Compliance**: Standard security
|
|
|
|
### `partner_create_partnercreateReferral`
|
|
|
|
**Description**: Partner: Create referral. Method: POST, Path: /api/partner/create-referral
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/partner/create-referral`
|
|
|
|
**Parameters**:
|
|
|
|
**Required Parameters**:
|
|
- **`patient_id`** (string) - **Required** - Patient ID
|
|
- **`practitioner_id`** (string) - **Required** - Practitioner ID
|
|
|
|
**Optional Parameters**:
|
|
- **`referral_reason`** (string) - *Optional* - Referral reason
|
|
- **`notes`** (string) - *Optional* - Additional notes
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('partner_create_partnercreateReferral', {
|
|
patient_id: 123,
|
|
practitioner_id: 123,
|
|
referral_reason: "example_value", // optional
|
|
notes: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `partner_create_partnerupdateProfile`
|
|
|
|
**Description**: Partner: Update partner profile. Method: POST, Path: /api/partner/update-profile
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/partner/update-profile`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`first_name`** (string) - *Optional* - First name
|
|
- **`last_name`** (string) - *Optional* - Last name
|
|
- **`email`** (string) - *Optional* - Email address
|
|
- **`phone_no`** (string) - *Optional* - Phone number
|
|
- **`company_name`** (string) - *Optional* - Company name
|
|
- **`business_type`** (string) - *Optional* - Business type
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('partner_create_partnerupdateProfile', {
|
|
first_name: "John Doe", // optional
|
|
last_name: "John Doe", // optional
|
|
email: "user@example.com", // optional
|
|
phone_no: "+1234567890", // optional
|
|
company_name: "John Doe", // optional
|
|
business_type: "example_value" // optional
|
|
});
|
|
```
|
|
|
|
### `partner_get_partnerdashboard`
|
|
|
|
**Description**: Partner: Get partner dashboard. Method: GET, Path: /api/partner/dashboard
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/partner/dashboard`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('partner_get_partnerdashboard');
|
|
```
|
|
|
|
### `partner_get_partnerpatient`
|
|
|
|
**Description**: Partner: Get partner patients. Method: GET, Path: /api/partner/patients
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/partner/patients`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('partner_get_partnerpatient');
|
|
```
|
|
|
|
### `partner_get_partnerprofile`
|
|
|
|
**Description**: Partner: Get partner profile. Method: GET, Path: /api/partner/profile
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/partner/profile`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('partner_get_partnerprofile');
|
|
```
|
|
|
|
### `partner_get_partnerreferral`
|
|
|
|
**Description**: Partner: Get partner referrals. Method: GET, Path: /api/partner/referrals
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/partner/referrals`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('partner_get_partnerreferral');
|
|
```
|
|
|
|
---
|
|
|
|
## 🔗 Affiliate Tools (6 tools)
|
|
|
|
### Authentication Requirements
|
|
- **Type**: Affiliate authentication required
|
|
- **Security**: Bearer token required
|
|
- **HIPAA Compliance**: Standard security
|
|
|
|
### `affiliate_create_affiliateupdateProfile`
|
|
|
|
**Description**: Affiliate: Update affiliate profile. Method: POST, Path: /api/affiliate/update-profile
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/affiliate/update-profile`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`first_name`** (string) - *Optional* - First name
|
|
- **`last_name`** (string) - *Optional* - Last name
|
|
- **`email`** (string) - *Optional* - Email address
|
|
- **`phone_no`** (string) - *Optional* - Phone number
|
|
- **`partner_email`** (string) - *Optional* - Partner email
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('affiliate_create_affiliateupdateProfile', {
|
|
first_name: "John Doe", // optional
|
|
last_name: "John Doe", // optional
|
|
email: "user@example.com", // optional
|
|
phone_no: "+1234567890", // optional
|
|
partner_email: "user@example.com" // optional
|
|
});
|
|
```
|
|
|
|
### `affiliate_get_affiliatecommission`
|
|
|
|
**Description**: Affiliate: Get affiliate commissions. Method: GET, Path: /api/affiliate/commissions
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/affiliate/commissions`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('affiliate_get_affiliatecommission');
|
|
```
|
|
|
|
### `affiliate_get_affiliatedashboard`
|
|
|
|
**Description**: Affiliate: Get affiliate dashboard. Method: GET, Path: /api/affiliate/dashboard
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/affiliate/dashboard`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('affiliate_get_affiliatedashboard');
|
|
```
|
|
|
|
### `affiliate_get_affiliateme`
|
|
|
|
**Description**: Affiliate: Get affiliate details by access token. Method: GET, Path: /affiliate/me
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/affiliate/me`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('affiliate_get_affiliateme');
|
|
```
|
|
|
|
### `affiliate_get_affiliateprofile`
|
|
|
|
**Description**: Affiliate: Get affiliate profile. Method: GET, Path: /api/affiliate/profile
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/affiliate/profile`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('affiliate_get_affiliateprofile');
|
|
```
|
|
|
|
### `affiliate_get_affiliatereferral`
|
|
|
|
**Description**: Affiliate: Get affiliate referrals. Method: GET, Path: /api/affiliate/referrals
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/affiliate/referrals`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('affiliate_get_affiliatereferral');
|
|
```
|
|
|
|
---
|
|
|
|
## 🌐 Network Tools (5 tools)
|
|
|
|
### Authentication Requirements
|
|
- **Type**: Network authentication required
|
|
- **Security**: Bearer token required
|
|
- **HIPAA Compliance**: Standard security
|
|
|
|
### `network_create_networkupdateProfile`
|
|
|
|
**Description**: Network: Update network profile. Method: POST, Path: /api/network/update-profile
|
|
|
|
**Method**: POST
|
|
|
|
**Endpoint**: `/api/network/update-profile`
|
|
|
|
**Parameters**:
|
|
|
|
**Optional Parameters**:
|
|
- **`first_name`** (string) - *Optional* - First name
|
|
- **`last_name`** (string) - *Optional* - Last name
|
|
- **`email`** (string) - *Optional* - Email address
|
|
- **`phone_no`** (string) - *Optional* - Phone number
|
|
- **`partner_id`** (string) - *Optional* - Partner ID
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('network_create_networkupdateProfile', {
|
|
first_name: "John Doe", // optional
|
|
last_name: "John Doe", // optional
|
|
email: "user@example.com", // optional
|
|
phone_no: "+1234567890", // optional
|
|
partner_id: 123 // optional
|
|
});
|
|
```
|
|
|
|
### `network_get_networkanalytic`
|
|
|
|
**Description**: Network: Get network analytics. Method: GET, Path: /api/network/analytics
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/network/analytics`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('network_get_networkanalytic');
|
|
```
|
|
|
|
### `network_get_networkdashboard`
|
|
|
|
**Description**: Network: Get network dashboard. Method: GET, Path: /api/network/dashboard
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/network/dashboard`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('network_get_networkdashboard');
|
|
```
|
|
|
|
### `network_get_networkpartner`
|
|
|
|
**Description**: Network: Get network partners. Method: GET, Path: /api/network/partners
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/network/partners`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('network_get_networkpartner');
|
|
```
|
|
|
|
### `network_get_networkprofile`
|
|
|
|
**Description**: Network: Get network profile. Method: GET, Path: /api/network/profile
|
|
|
|
**Method**: GET
|
|
|
|
**Endpoint**: `/api/network/profile`
|
|
|
|
**Parameters**:
|
|
|
|
**Usage Example**:
|
|
```javascript
|
|
await mcpClient.callTool('network_get_networkprofile');
|
|
```
|
|
|
|
---
|
|
|
|
## 📚 Usage Guidelines
|
|
|
|
### Basic Tool Usage
|
|
```javascript
|
|
// Initialize MCP client
|
|
const mcpClient = new MCPClient();
|
|
|
|
// Public tool (no authentication)
|
|
await mcpClient.callTool('public_create_login', {
|
|
username: 'user@example.com',
|
|
password: 'password123'
|
|
});
|
|
|
|
// Provider tool (requires authentication)
|
|
await mcpClient.callTool('provider_get_emrpatientsList', {
|
|
draw: 1,
|
|
start: 0,
|
|
length: 10
|
|
});
|
|
```
|
|
|
|
### Authentication Flow
|
|
```javascript
|
|
// 1. Login to get token
|
|
const loginResult = await mcpClient.callTool('public_create_login', {
|
|
username: 'provider@example.com',
|
|
password: 'password123'
|
|
});
|
|
|
|
// 2. Use authenticated endpoints
|
|
const patients = await mcpClient.callTool('provider_get_emrpatientsList', {
|
|
draw: 1,
|
|
start: 0,
|
|
length: 10
|
|
});
|
|
```
|
|
|
|
### Video Call Features
|
|
```javascript
|
|
// Start a video call
|
|
await mcpClient.callTool('provider_get_createmeeting', {
|
|
meeting_id: 'meeting-123'
|
|
});
|
|
|
|
// Join a meeting
|
|
await mcpClient.callTool('provider_get_joinmeeting', {
|
|
meeting_id: 'meeting-123'
|
|
});
|
|
|
|
// Start call with patient
|
|
await mcpClient.callTool('provider_create_startCall', {
|
|
patient_id: 123,
|
|
agent_id: 456,
|
|
appointment_id: 789,
|
|
call_type: 'consultation'
|
|
});
|
|
```
|
|
|
|
## 🔒 Security Notes
|
|
|
|
- **Public Tools**: No authentication required, rate-limited
|
|
- **Provider Tools**: Require provider authentication, HIPAA-compliant
|
|
- **Patient Tools**: Require patient authentication, access to own data only
|
|
- **Partner/Affiliate/Network Tools**: Require respective authentication levels
|
|
|
|
## 📖 Additional Resources
|
|
|
|
- [API Documentation](./README.md)
|
|
- [Authentication Guide](./docs/authentication.md)
|
|
- [HIPAA Compliance](./docs/hipaa-compliance.md)
|
|
- [Error Handling](./docs/error-handling.md)
|
|
|
|
---
|
|
|
|
*This reference was automatically generated from the live ToolGenerator with duplicates removed*
|
|
*For the most up-to-date information, refer to the source code in `src/config/endpoints.js`*
|