patient-demographics-summary
Retrieves and formats a complete patient demographic summary from FHIR Patient, RelatedPerson, and Coverage resources. Use when user asks to "pull…
от FDU-INS★ 84 звезды на GitHub
Установить patient-demographics-summary в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Patient Demographics Summary
Overview
Pull structured demographic data from FHIR Patient, RelatedPerson, and Coverage resources. Format into a consolidated summary including identifiers, contact information, emergency contacts, insurance, preferred language, communication preferences, and advance directive status. Flag missing critical data elements that may affect care delivery.
FHIR Resources Used
| Resource | Purpose | Key Fields |
|---|---|---|
| Patient | Core demographics | name, birthDate, gender, address, telecom, communication, identifier, extension |
| RelatedPerson | Emergency contacts, guarantors | name, telecom, relationship, period |
| Coverage | Insurance information | status, type, subscriberId, payor, period, class |
Instructions
Step 1: Retrieve Patient Resource
Tool: fhir_read
resourceType: "Patient"
id: "[patient-id]"
Extract the following fields:
- Identifiers: MRN (
identifierwheretype.coding.code= "MR"), SSN (last 4 only), driver's license - Name:
namearray -- usename.use= "official" as primary; note maiden names (use= "maiden") - Birth Date:
birthDate(calculate age) - Gender:
gender(administrative gender) - Race/Ethnicity: US Core extensions at
extensionwhere URL =http://hl7.org/fhir/us/core/StructureDefinition/us-core-raceandhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity - Address:
addressarray -- identifyuse= "home" vs "work" vs "temp" - Telecom:
telecomarray -- phone (system= "phone"), email (system= "email"), fax - Preferred Language:
communicationarray wherepreferred= true - Marital Status:
maritalStatus - Deceased:
deceasedBooleanordeceasedDateTime - Managing Organization:
managingOrganization
Step 2: Retrieve Emergency Contacts and Related Persons
Tool: fhir_search
resourceType: "RelatedPerson"
queryParams: "patient=[patient-id]"
For each RelatedPerson:
- Extract name, relationship type (
relationship.coding.code), phone, email - Check
periodto confirm the relationship is current (noenddate orend> today) - Identify relationship roles: emergency contact, next of kin, guarantor, power of attorney
Step 3: Retrieve Insurance Coverage
Tool: fhir_search
resourceType: "Coverage"
queryParams: "patient=[patient-id]&status=active"
For each active Coverage:
- Plan name from
classwheretype.coding.code= "plan" - Group number from
classwheretype.coding.code= "group" - Subscriber ID from
subscriberId - Payor organization from
payorreference - Coverage period from
period - Coverage order (
orderfield: 1 = primary, 2 = secondary)
Step 4: Check for Advance Directives
Tool: fhir_search
resourceType: "Consent"
queryParams: "patient=[patient-id]&category=http://terminology.hl7.org/CodeSystem/consentcategorycodes|acd"
If no results, also search:
Tool: fhir_search
resourceType: "DocumentReference"
queryParams: "patient=[patient-id]&type=http://loinc.org|64298-3"
LOINC 64298-3 = Power of attorney / Advance directive
Step 5: Flag Missing Critical Data
Scan the collected data and flag any of the following as missing:
- No emergency contact (zero RelatedPerson resources or none with emergency contact relationship)
- No active insurance coverage
- No preferred language specified
- No allergy documentation status (check if
AllergyIntolerancesearch returns zero results -- this indicates allergies have not been reviewed, not that there are none) - No advance directive on file
- Missing phone number or email
- Missing address
Step 6: Format Output
Present the summary in this structure:
PATIENT DEMOGRAPHICS
====================
Name: [official name]
MRN: [identifier]
DOB: [birthDate] (Age: [calculated])
Gender: [gender]
Race/Ethnicity: [from extensions]
Preferred Language: [language]
Marital Status: [status]
CONTACT INFORMATION
===================
Home Phone: [telecom]
Mobile Phone: [telecom]
Email: [telecom]
Home Address: [address]
EMERGENCY CONTACTS
==================
1. [name] - [relationship] - [phone]
2. [name] - [relationship] - [phone]
INSURANCE COVERAGE
==================
Primary: [plan name] - ID: [subscriberId] - Group: [group]
Secondary: [plan name] - ID: [subscriberId] - Group: [group]
ADVANCE DIRECTIVES
==================
Status: [On file / Not on file]
MISSING DATA FLAGS
==================
- [list of flagged items]
Examples
Example 1: Complete Demographics Pull
User says: "Pull up demographics for patient 12345"
Actions:
fhir_readPatient/12345 -- returns full Patient resource with name, DOB, address, telecom, US Core race/ethnicity extensionsfhir_searchRelatedPerson?patient=12345 -- returns 2 entries: spouse (emergency contact), adult child (next of kin)fhir_searchCoverage?patient=12345&status=active -- returns 1 active Coverage: Blue Cross PPO, primary- `fhir_s
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/fhir-patient-mappings.md
FAQ
Что делает скилл patient-demographics-summary?
Retrieves and formats a complete patient demographic summary from FHIR Patient, RelatedPerson, and Coverage resources. Use when user asks to "pull demographics", "get patient info", "show patient details", "who is this patient", "patient summary", "emergency contacts", "insurance info", or needs a quick overview of non-clinical patient data. Do NOT use for clinical summaries, lab results, medication lists, or diagnosis reviews.
Как установить скилл patient-demographics-summary?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл patient-demographics-summary запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…