extdata. Checking syntactic validity using
link{icd9IsValid} etc. is still useful, with a changing list of
icd-9 codes over time, and possible imperfections in the master lists
derived from CMS.
icd9IsReal(icd9, isShort = icd9GuessIsShort(icd9), onlyBillable = FALSE)
icd9IsRealShort(icd9Short, onlyBillable = FALSE)
icd9IsRealDecimal(icd9Decimal, onlyBillable = FALSE)
icd9GetReal(icd9, isShort = icd9GuessIsShort(icd9), onlyBillable = FALSE)
icd9GetRealShort(icd9Short, onlyBillable = FALSE)
icd9GetRealDecimal(icd9Decimal, onlyBillable = FALSE)FALSE), if
TRUE will divert to test whether the codes are in the billable list
instead of seeing if they are any leaf or branch node.icd9IsRealShort: Are the given short-form codes defined at heading or
leaf (billable) level? icd9IsRealDecimal: Are the given decimal-form codes defined at heading or
leaf (billable) level? icd9GetReal: Return only those codes which are heading or leaf
(billable), specifying whether codes are all short-form or all decimal-form icd9GetRealShort: Return only those short-form codes which are heading
or leaf (billable) icd9GetRealDecimal: Return only those decimal-form codes which are heading
or leaf (billable)