conv_app_intraabscess: Parse entries that indicate an post-operative intraabdominal...

View source: R/conv_app.R

conv_app_intraabscessR Documentation

Parse entries that indicate an post-operative intraabdominal abscess

Description

Parse entries that indicate an post-operative intraabdominal abscess

Usage

conv_app_intraabscess(vec)

Arguments

vec

a character vector to parse

Details

returns TRUE if case-insensitive "^yes-" is detected in the character vector.

Value

a logical vector

Examples

x <- c("No diagnosis of postoperative abscess", "Yes-percutaneous drainage",
"Yes-no treatment or intervention", "Yes-IV antibiotics w/out procedural intervention",
"Yes-oral/IM antibiotics w/out procedural intervention",
"Yes-reoperation for surgical drainage, open", "Yes-reoperation for surgical drainage, minimally invasive",
"Yes-transrectal/other endoscopic drainage", NA)

cbind(x, nsqipr:::conv_app_intraabscess(x))


dylanrussellmd/nsqipr documentation built on Oct. 13, 2023, 11:01 a.m.