Learn R Programming

LABTNSCPSS (version 1.0.2)

get_coding_system: Choose a coding system

Description

Choose a coding system

Usage

get_coding_system(
  coding_system = NULL,
  valid_systems = c("ICD-10-CA", "ICD-10-CM", "ICD-11"),
  verbose = interactive()
)

Value

A single character string indicating the selected coding system.

Arguments

coding_system

Character string. If NULL and interactive(), the user is prompted.

valid_systems

Character vector of allowed coding systems.

verbose

Logical; if TRUE, prints guidance using message().