# Veraxor Virtual BCode

Virtual BCode converts medical billing and service codes into a concise, reusable medical-service classification.

Instead of requiring an agent or application to independently interpret combinations of CPT, diagnosis, revenue, modifier, and place-of-service codes, Virtual BCode returns:

- a stable **Virtual BCode**
- a reusable **canonical service label**
- a short plain-English description
- normalized input codes

Virtual BCode is intended for semantic service classification. It does **not** determine benefits, coverage, payment, medical necessity, network status, or clinical appropriateness.

---

## MCP Endpoint

```text
https://www.veraxor.com/mcp
```

The server supports remote Model Context Protocol (MCP) clients over HTTPS.

### Available Tool

```text
classify_medical_service
```

The tool accepts medical billing and service codes and returns the most appropriate generic medical-service family.

---

## Input

All fields are optional, but useful service information must be supplied for a meaningful classification.

```json
{
  "cpt_codes": ["99214"],
  "diagnosis_codes": ["I10"],
  "place_of_service": "11",
  "revenue_codes": [],
  "modifiers": ["25"]
}
```

### Fields

| Field | Type | Description |
|---|---|---|
| `cpt_codes` | array of strings | CPT/HCPCS procedure codes |
| `diagnosis_codes` | array of strings | ICD diagnosis codes |
| `place_of_service` | string | CMS-style place-of-service code |
| `revenue_codes` | array of strings | Revenue codes |
| `modifiers` | array of strings | Procedure modifiers |

Codes are normalized before classification.

---

## Output

Example:

```json
{
  "success": true,
  "virtual_bcode": "VB-936CB82A",
  "canonical_label": "office_visit",
  "description": "office/outpatient visit est",
  "version": "2026-10-v2",
  "source": "local_student:...",
  "cached": false,
  "processing_ms": 0,
  "normalized_cpt_codes": ["99214"],
  "normalized_diagnosis_codes": ["I10"],
  "normalized_revenue_codes": [],
  "normalized_modifiers": ["25"],
  "normalized_place_of_service": "11"
}
```

### Important Response Fields

#### `virtual_bcode`

Stable machine-friendly identifier for the classified service family.

#### `canonical_label`

Reusable semantic category such as:

```text
office_visit
outpatient_laboratory_testing
diagnostic_imaging
physical_therapy
psychotherapy
durable_medical_equipment
```

#### `description`

Short plain-English description of the service.

#### `version`

Virtual BCode ontology/service version used for the result.

#### `source`

Diagnostic information describing how the result was produced.

Clients should not depend on the exact format or value of this field.

#### `cached`

Indicates whether an existing semantic result was returned from cache.

#### `normalized_*`

The normalized codes actually used by the classifier.

---

## Using Virtual BCode with the OpenAI Responses API

OpenAI agents that support remote MCP servers can connect directly to:

```text
https://www.veraxor.com/mcp
```

Example request:

```bash
curl https://api.openai.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -d '{
    "model": "gpt-6-astra",
    "tools": [
      {
        "type": "mcp",
        "server_label": "veraxor_virtual_bcode",
        "server_description": "Classifies medical billing codes into stable Virtual BCode medical service families.",
        "server_url": "https://www.veraxor.com/mcp",
        "require_approval": "never"
      }
    ],
    "input": "Use Veraxor Virtual BCode to classify CPT 99214 with diagnosis I10, place of service 11, and modifier 25. Report the canonical label and Virtual BCode."
  }'
```

The agent can discover the available MCP tools, call `classify_medical_service`, and use the returned structured result.

Applications handling sensitive information should select MCP approval settings appropriate to their environment.

---

## Example Agent Prompt

An agent can simply be instructed:

```text
Use Veraxor Virtual BCode to classify CPT 99214 with diagnosis I10,
place of service 11, and modifier 25.

Return the canonical service label and Virtual BCode.
```

Example result:

```text
Canonical label: office_visit
Virtual BCode: VB-936CB82A
```

---

## Semantic Classification

Virtual BCode attempts to describe **what medical service was performed**, not how the service should be adjudicated.

Inputs may resolve to concepts such as:

```text
office_visit
emergency_department_visit
inpatient_hospital_care
outpatient_laboratory_testing
diagnostic_imaging
physical_therapy
psychotherapy
colonoscopy
anesthesia
durable_medical_equipment
cardiovascular_diagnostic_testing
chemotherapy_administration
urologic_surgery
eye_surgery
wound_care
```

The service may use procedure codes, diagnosis codes, revenue codes, modifiers, and place of service together when selecting the most appropriate category.

---

## Stable Identifiers

Equivalent medical-service inputs are intended to resolve to the same canonical service family.

A canonical label maps to a stable Virtual BCode, allowing applications to work with a compact identifier instead of repeatedly interpreting raw billing codes.

Example:

```text
office_visit
      ?
VB-936CB82A
```

This makes Virtual BCode useful as a semantic layer between medical billing data and:

- AI agents
- workflow systems
- analytics applications
- claims platforms
- adjudication systems
- benefit systems
- healthcare data pipelines

---

## Privacy and Data Use

Virtual BCode is designed to classify medical service codes.

**Do not submit patient identifiers or other personally identifiable health information.**

Typical requests should contain only non-identifying information such as:

- CPT/HCPCS codes
- diagnosis codes
- place of service
- revenue codes
- modifiers

The service is not intended to receive:

- patient names
- dates of birth
- member IDs
- Social Security numbers
- addresses
- claim notes containing identifying information
- other personally identifiable health information

---

## What Virtual BCode Does Not Do

Virtual BCode does not determine:

- benefit eligibility
- covered or non-covered status
- claim payment amount
- network status
- medical necessity
- prior authorization requirements
- clinical diagnosis
- treatment recommendations

Those decisions belong to other systems or specialized agents.

---

## Reliability

Virtual BCode uses multiple classification paths and may defer uncertain classifications to a higher-capability semantic model.

Internal validation of the current service version showed that its high-confidence local routing tier handled approximately one quarter of the evaluation set at roughly 99% observed classification accuracy.

These figures are experimental measurements from a finite evaluation set and are not a guarantee of accuracy on future or materially different data.

Applications should treat Virtual BCode as semantic classification infrastructure rather than an authoritative medical, clinical, benefit, coverage, or payment determination.

---

## Rate Limits

The public MCP endpoint is rate-limited to protect service availability.

Developers expecting sustained production volume should contact Veraxor for production access and capacity planning.

---

## Endpoint Summary

```text
Protocol:       MCP over HTTPS
Server:         https://www.veraxor.com/mcp
Tool:           classify_medical_service
Authentication: Public endpoint currently requires no MCP authentication
Purpose:        Semantic medical-service classification
PHI:            Do not submit
```

---

## Minimal MCP Definition

For systems that already support remote MCP servers:

```json
{
  "server_label": "veraxor_virtual_bcode",
  "server_description": "Classifies medical billing codes into stable Virtual BCode medical service families.",
  "server_url": "https://www.veraxor.com/mcp"
}
```

After connecting, discover and call:

```text
classify_medical_service
```

---

## Example: Office Visit

Input:

```json
{
  "cpt_codes": ["99214"],
  "diagnosis_codes": ["I10"],
  "place_of_service": "11",
  "revenue_codes": [],
  "modifiers": ["25"]
}
```

Result:

```json
{
  "virtual_bcode": "VB-936CB82A",
  "canonical_label": "office_visit"
}
```

---

## Example: Laboratory Testing

Input:

```json
{
  "cpt_codes": ["80053", "83036"],
  "diagnosis_codes": ["E11.9"],
  "place_of_service": "81",
  "revenue_codes": [],
  "modifiers": []
}
```

The service evaluates the supplied code combination and returns the most appropriate reusable medical-service family.

---

## Versioning

Virtual BCode responses include a service/ontology version:

```json
{
  "version": "2026-10-v2"
}
```

Consumers that persist classifications may also persist this field for auditability and reproducibility.

Virtual BCode identifiers are intended to remain stable for equivalent canonical service concepts.

---

## Contact

For production access, higher-volume use, integration assistance, or commercial inquiries, contact Veraxor through:

```text
https://www.veraxor.com/
```

---

## Quick Start

MCP endpoint:

```text
https://www.veraxor.com/mcp
```

Tool:

```text
classify_medical_service
```

Example arguments:

```json
{
  "cpt_codes": ["99214"],
  "diagnosis_codes": ["I10"],
  "place_of_service": "11",
  "revenue_codes": [],
  "modifiers": ["25"]
}
```

Expected semantic result:

```text
office_visit
VB-936CB82A
```