Take an assumed ICD compact code string and convert to a full code based on the ICD version (9 or 10) and type (diagnostic or procedure). This method only formats strings and does not validate the code(s).
See also
get_icd_codes()to retrieve the internal lookup table of ICD codes.lookup_icd_codes()for retrieving details on a specific set of ICD codes.is_icd()to test if a string is a known ICD code.
Other ICD tools:
is_icd(),
lookup_icd_codes()