mychart

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

MyChart Skill

MyChart Skill

Overview

概述

Enables Claude to use MyChart for patient portal access including viewing health records, managing appointments, and communicating with healthcare providers.
让Claude能够使用MyChart访问患者门户,包括查看健康记录、管理预约以及与医疗服务提供者沟通。

Quick Install

快速安装

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

Setup

设置

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

First, ensure canifi-env is installed:

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

canifi-env set MYCHART_EMAIL "your-email@example.com" canifi-env set MYCHART_PASSWORD "your-password" canifi-env set MYCHART_ORGANIZATION "your-healthcare-org"
undefined
canifi-env set MYCHART_EMAIL "your-email@example.com" canifi-env set MYCHART_PASSWORD "your-password" canifi-env set MYCHART_ORGANIZATION "your-healthcare-org"
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 health summary
  • Check test results
  • Access appointment history
  • View message inbox
  • Check medications list
  • Access immunization records
  • 查看健康摘要
  • 查看检测结果
  • 访问预约历史
  • 查看消息收件箱
  • 查看药物清单
  • 访问免疫记录

Usage Examples

使用示例

Example 1: View Health Summary

示例1:查看健康摘要

User: "Show me my MyChart health summary"
Claude: I'll access your health summary.
1. Opening MyChart via Playwright MCP
2. Logging into your organization's portal
3. Accessing health summary
4. Viewing key health information
用户:"显示我的MyChart健康摘要"
Claude:我将为您访问健康摘要。
1. 通过Playwright MCP打开MyChart
2. 登录您所在机构的门户
3. 访问健康摘要
4. 查看关键健康信息

Example 2: Check Test Results

示例2:查看检测结果

User: "Are there any new test results in MyChart?"
Claude: I'll check for test results.
1. Accessing test results section
2. Viewing recent results
3. Checking for new entries
4. Summarizing available results
用户:"MyChart里有新的检测结果吗?"
Claude:我将为您查看检测结果。
1. 访问检测结果板块
2. 查看近期结果
3. 检查是否有新条目
4. 汇总可用结果

Example 3: View Appointments

示例3:查看预约

User: "What appointments do I have scheduled?"
Claude: I'll check your appointments.
1. Accessing appointments section
2. Viewing upcoming visits
3. Listing scheduled appointments
4. Providing details and locations
用户:"我有哪些已预约的行程?"
Claude:我将为您查看预约信息。
1. 访问预约板块
2. 查看即将到来的就诊
3. 列出已预约的行程
4. 提供详细信息和地点

Authentication Flow

认证流程

  1. Navigate to your organization's MyChart via Playwright MCP
  2. Enter username/email
  3. Enter password
  4. Handle 2FA if required (via iMessage)
  5. Maintain session for portal access
  1. 通过Playwright MCP导航到您所在机构的MyChart
  2. 输入用户名/邮箱
  3. 输入密码
  4. 处理可能需要的双因素认证(通过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
  • Portal Maintenance: Note downtime
  • Organization Error: Verify portal URL
  • 登录失败:最多重试3次,通过iMessage通知
  • 会话过期:自动重新认证
  • 速率限制:实现指数退避机制
  • 需要双因素认证:发送iMessage通知
  • 门户维护:记录停机时间
  • 机构错误:验证门户URL

Self-Improvement Instructions

自我改进说明

When MyChart updates:
  1. Document new Epic features
  2. Update navigation patterns
  3. Track portal enhancements
  4. Log integration changes
当MyChart更新时:
  1. 记录Epic的新功能
  2. 更新导航模式
  3. 跟踪门户增强功能
  4. 记录集成变更

Notes

注意事项

  • Epic Systems patient portal
  • Used by many health systems
  • Organization-specific URLs
  • Telehealth integration
  • Mobile app companion
  • Epic Systems患者门户
  • 被许多医疗系统使用
  • 机构专属URL
  • 远程医疗集成
  • 配套移动应用