mco_clean_diagnoses {drdR} | R Documentation

## Validate CIM-10 codes and strip extensions

### Description

Valid CIM-10 codes will be returned stripped of any extension (space extensions, CIM +, etc.), NA will be returned for invalid CIM-10 codes.

### Usage

    mco_clean_diagnoses(diagnoses)

### Arguments

`diagnoses` | Character vector of CIM-10 codes.

### Value

Cleaned up character vector of CIM-10 codes.

[Package drdR version 2020.09.21 Index]