Learn R Programming

cliot (version 1.0.0)

milan_criteria_liver_transplant: Milan Criteria for Liver Transplantation

Description

Determines eligibility for liver transplantation in patients with cirrhosis and hepatocellular carcinoma (HCC) based on the Milan Criteria. These criteria identify patients with small, unresectable HCCs who are likely to have good post-transplant outcomes.

Usage

milan_criteria_liver_transplant(num_tumors, max_tumor_size_cm,
                                extra_hepatic_spread, vascular_invasion)

Value

A list containing:

Result

Eligibility status ("Eligible" or "Not Eligible").

Explanation

The specific rule component that determined the result.

Arguments

num_tumors

Numeric. Total number of tumor nodules.

max_tumor_size_cm

Numeric. Diameter of the largest tumor nodule in centimeters.

extra_hepatic_spread

Numeric (0 or 1). Presence of extra-hepatic manifestations (metastases). (1 = Yes).

vascular_invasion

Numeric (0 or 1). Presence of macrovascular invasion. (1 = Yes).

References

Mazzaferro V, Regalia E, Doci R, et al. Liver transplantation for the treatment of small hepatocellular carcinomas in patients with cirrhosis. N Engl J Med. 1996;334(11):693-699. doi:10.1056/NEJM199603143341104

Examples

Run this code

# Example 1: Eligible (Single small tumor)
# 1 tumor, 4.5 cm, No spread/invasion
milan_criteria_liver_transplant(1, 4.5, 0, 0)

# Example 2: Not Eligible (Too large)
# 2 tumors, largest 4.0 cm (Limit for multiple is 3 cm)
milan_criteria_liver_transplant(2, 4.0, 0, 0)

# Example 3: Eligible (Multiple small tumors)
# 3 tumors, largest 2.8 cm
milan_criteria_liver_transplant(3, 2.8, 0, 0)

Run the code above in your browser using DataLab