hfrs

Community

Compute HFRS from ICD codes for frailty.

Authorhannesill
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables clinicians and data scientists to compute the Hospital Frailty Risk Score (HFRS) from ICD diagnosis codes, enabling frailty assessment and risk stratification using current and prior admissions.

Core Features & Use Cases

  • ICD-based frailty scoring: derives HFRS from ICD-10 and ICD-9 mappings, enabling compatibility with datasets like MIMIC-IV.
  • Two-year history integration: incorporates the index admission plus emergency admissions in the preceding two years to reflect frailty status.
  • Output and reuse: returns a numeric score, risk category, and the list of contributing codes, with Python and SQL examples for reproducible analysis.

Quick Start

Provide a list of ICD-coded diagnoses for a patient and run the calculation to obtain the HFRS score.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hfrs
Download link: https://github.com/hannesill/m4/archive/main.zip#hfrs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.