io_DFRS {amscorer}R Documentation

Calculate Intra-operative Distal Fistula Risk Score (D-FRS)

Description

Calculates the intra-operative Distal Fistula Risk Score (D-FRS) to estimate the probability of clinically relevant (grade B/C) postoperative pancreatic fistula (POPF) according to the 2016 ISGPS definition. Visit https://www.evidencio.com/models/show/2587# for more information.

Usage

io_DFRS(my_data)

Arguments

my_data

A data frame containing the following columns:

  • Texture: Categorical variable ("soft/normal = 1" or "hard/fibrotic = 0")

  • PD_size: Numeric (Pancreatic duct diameter in millimeters)

  • BMI: Numeric (Body mass index in kg/m2)

  • PT: Numeric (Pancreatic thickness in mm)

  • OP_time: Numeric (Operating time in minutes)

Details

The intra-operative Distal Fistula Risk Score (D-FRS) estimates the probability of clinically relevant (grade B/C) postoperative pancreatic fistula (POPF) as per the 2016 ISGPS definition. It is the initial risk assessment tool specific to POPF following distal pancreatectomy, enabling tailored treatment and performance comparison across three risk categories.

Value

A data frame with the Intra-operative (D-FRS) score and risk classification of POPF. Returns NA for cases with missing values.

References

Pastena et al. (2023) doi:10.1097/SLA.0000000000005497

Examples

my_data <- data.frame(
  ID = 1:4,
  BMI = c(NA, 25, 30, 10),
  PT = c(5, 43, 1, 20),
  PD_size = c(100, 0, 1, 19),
  OP_time = c(NA, 20, 605, NA),
  Texture = c(0, 1, 0, 1)
)
io_DFRS(my_data)


[Package amscorer version 0.1.0 Index]