labcorp

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Labcorp Skill

Labcorp Skill

Overview

概述

Enables Claude to use Labcorp for lab testing services including viewing test results, checking appointment status, and managing patient portal access.
使Claude能够借助Labcorp使用实验室检测服务,包括查看检测结果、查询预约状态以及管理患者门户访问权限。

Quick Install

快速安装

bash
curl -sSL https://canifi.com/skills/labcorp/install.sh | bash
Or manually:
bash
cp -r skills/labcorp ~/.canifi/skills/
bash
curl -sSL https://canifi.com/skills/labcorp/install.sh | bash
或者手动安装:
bash
cp -r skills/labcorp ~/.canifi/skills/

Setup

设置

Configure via canifi-env:
bash
undefined
通过canifi-env进行配置:
bash
undefined

First, ensure canifi-env is installed:

首先,确保已安装canifi-env:

canifi-env set LABCORP_EMAIL "your-email@example.com" canifi-env set LABCORP_PASSWORD "your-password"
undefined
canifi-env set LABCORP_EMAIL "your-email@example.com" canifi-env set LABCORP_PASSWORD "your-password"
undefined

Privacy & Authentication

隐私与认证

Your credentials, your choice. Canifi LifeOS respects your privacy.
您的凭据,由您掌控。 Canifi LifeOS尊重您的隐私。

Option 1: Manual Browser Login (Recommended)

选项1:手动浏览器登录(推荐)

If you prefer not to share credentials with Claude Code:
  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password
如果您不想与Claude Code共享凭据:
  1. 使用CDP模式完成浏览器自动化设置
  2. 在Playwright控制的Chrome窗口中手动登录该服务
  3. Claude将使用您的已认证会话,全程不会获取您的密码

Option 2: Environment Variables

选项2:环境变量

If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果您愿意共享凭据,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
注意:存储在canifi-env中的凭据仅能在您的本地设备上访问,绝不会被传输。

Capabilities

功能

  • View lab test results
  • Check appointment status
  • Access test history
  • Find testing locations
  • View order status
  • Access patient portal
  • 查看实验室检测结果
  • 查询预约状态
  • 访问检测历史
  • 查找检测地点
  • 查看订单状态
  • 访问患者门户

Usage Examples

使用示例

Example 1: View Lab Results

示例1:查看检测结果

User: "Are my Labcorp results ready?"
Claude: I'll check for your results.
1. Opening Labcorp via Playwright MCP
2. Accessing patient portal
3. Viewing results section
4. Checking for new results
5. Summarizing available results
用户:“我的Labcorp检测结果出来了吗?”
Claude:我将为您查询结果。
1. 通过Playwright MCP打开Labcorp
2. 访问患者门户
3. 进入结果查看板块
4. 查询新结果
5. 汇总可用结果

Example 2: Check Appointments

示例2:查询预约信息

User: "Do I have any scheduled lab appointments?"
Claude: I'll check your appointments.
1. Accessing appointments section
2. Viewing scheduled tests
3. Listing upcoming appointments
4. Providing location details
用户:“我有预约好的实验室检测吗?”
Claude:我将为您查询预约信息。
1. 进入预约板块
2. 查看已预约的检测
3. 列出即将到来的预约
4. 提供地点详情

Example 3: Find Location

示例3:查找检测地点

User: "Where is the nearest Labcorp location?"
Claude: I'll find nearby locations.
1. Accessing location finder
2. Searching nearby facilities
3. Listing addresses and hours
4. Noting available services
用户:“最近的Labcorp地点在哪里?”
Claude:我将为您查找附近的地点。
1. 进入地点查找工具
2. 搜索附近的机构
3. 列出地址和营业时间
4. 标注可用服务

Authentication Flow

认证流程

  1. Navigate to labcorp.com via Playwright MCP
  2. Click "Sign in" and enter email
  3. Enter password
  4. Handle 2FA if required (via iMessage)
  5. Maintain session for portal access
  1. 通过Playwright MCP导航至labcorp.com
  2. 点击“登录”并输入邮箱
  3. 输入密码
  4. 如需双因素认证(2FA)则进行处理(通过iMessage)
  5. 维持会话以访问门户

Error Handling

错误处理

  • Login Failed: Retry up to 3 times, notify via iMessage
  • Session Expired: Re-authenticate automatically
  • Rate Limited: Implement exponential backoff
  • 2FA Required: Send iMessage notification
  • Results Pending: Note processing time
  • Location Unavailable: Suggest alternatives
  • 登录失败:最多重试3次,通过iMessage通知
  • 会话过期:自动重新认证
  • 速率限制:实现指数退避机制
  • 需要2FA:发送iMessage通知
  • 结果待处理:标注处理时长
  • 地点不可用:推荐替代方案

Self-Improvement Instructions

自我改进说明

When Labcorp updates:
  1. Document new portal features
  2. Update result viewing options
  3. Track appointment scheduling
  4. Log testing service changes
当Labcorp更新时:
  1. 记录新的门户功能
  2. 更新结果查看选项
  3. 跟踪预约安排功能变化
  4. 记录检测服务的变更

Notes

注意事项

  • Results released by provider
  • Walk-in and scheduled appointments
  • Home collection available
  • COVID testing services
  • Drug testing services
  • 结果由服务商发布
  • 支持随到随测和预约检测
  • 提供上门采样服务
  • 提供新冠检测服务
  • 提供药物检测服务