Hospital skill
Skill TencentCloudBase/awesome-miniprogram-skills/skills/hospital-skill
医院挂号:搜索医院科室、选择时段、预约、挂号记录From its SKILL.md
npx -y skills add TencentCloudBase/awesome-miniprogram-skills --skill hospital-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.7 KB, 553 tokens by cl100k_base, as published. Nobody here has run it
医院挂号
基于医院列表完成医院搜索、科室与时段选择、预约挂号与挂号记录查询的能力集合。
触发场景
用户原话举例(路由命中本技能):
- "帮我挂个号"
- "附近有哪些医院"
- "我想挂呼吸内科的号"
- "北京大学第一医院有哪些科室"
- "帮我预约一下"
- "查看我的挂号记录"
- "我之前的挂号记录"
不适用范围
- 在线问诊、图文咨询、药品配送等 → 不在本技能范围,由问诊/药房技能处理
- 医疗费用报销、医保查询等 → 不在本技能范围
- 急诊急救、120 呼叫等紧急医疗诉求 → 不在本技能范围,请引导用户拨打 120
接口链路
searchHospitals:医院搜索与候选医院列表展示,支持关键词搜索。getAvailableSlots:查看指定科室的可挂号时段列表。bookAppointment:确认时段后执行预约挂号。getMyAppointments:查询当前用户的挂号记录列表。
使用顺序
- 挂号前需先确定医院和科室;没有医院上下文时,先展示可选医院列表,用户选择医院后再展示科室列表。
- 选择科室后,展示该科室可预约时段列表,用户选择具体时段后进行预约确认。
- 预约确认后展示挂号结果卡片,包含就诊信息。
- 查询挂号记录无需前置条件,直接返回历史记录。
- 所有已绑定组件的接口都应优先展示卡片,不要改成纯文本逐条展开。
What ships with it: 29 files
76.6 KB alongside SKILL.md, 12 of them executable
apis/
- bookAppointment.jsruns2.1 KB
- getAvailableSlots.jsruns1.7 KB
- getMyAppointments.jsruns1.1 KB
- searchHospitals.jsruns1.4 KB
cloudfunctions/
components/
- appointment-list-card/index.jsruns2.6 KB
- appointment-list-card/index.json49 B
- appointment-list-card/index.wxml1.3 KB
- appointment-list-card/index.wxss2.3 KB
- booking-result-card/index.jsruns2.3 KB
- booking-result-card/index.json49 B
- booking-result-card/index.wxml1.5 KB
- booking-result-card/index.wxss2.2 KB
- hospital-list-card/index.jsruns3.1 KB
- hospital-list-card/index.json49 B
- hospital-list-card/index.wxml1.6 KB
- hospital-list-card/index.wxss2.9 KB
- slot-list-card/index.jsruns3.8 KB
- slot-list-card/index.json49 B
- slot-list-card/index.wxml1.6 KB
- slot-list-card/index.wxss2.6 KB
data/
- seed.jsruns10.0 KB
utils/
- util.jsruns2.3 KB
- cloudbaserc.json768 B
- index.jsruns1.2 KB
- mcp.json12.2 KB
- mp-skills.json154 B
- README.md2.3 KB