Comments (1)
"C81" and "C96" are both valid short and decimal codes. The "short_code" parameter refers to the input, not the output. So what you observe is the expected behavior.
If you want the range to return decimal codes use short_to_decimal
:
> short_to_decimal(expand_range("C81", "C81"))
[1] "C81" "C81.0" "C81.00" "C81.01" "C81.02" "C81.03" "C81.04" "C81.05" "C81.06" "C81.07"
[11] "C81.08" "C81.09" "C81.1" "C81.10" "C81.11" "C81.12" "C81.13" "C81.14" "C81.15" "C81.16"
[21] "C81.17" "C81.18" "C81.19" "C81.2" "C81.20" "C81.21" "C81.22" "C81.23" "C81.24" "C81.25"
[31] "C81.26" "C81.27" "C81.28" "C81.29" "C81.3" "C81.30" "C81.31" "C81.32" "C81.33" "C81.34"
[41] "C81.35" "C81.36" "C81.37" "C81.38" "C81.39" "C81.4" "C81.40" "C81.41" "C81.42" "C81.43"
[51] "C81.44" "C81.45" "C81.46" "C81.47" "C81.48" "C81.49" "C81.7" "C81.70" "C81.71" "C81.72"
[61] "C81.73" "C81.74" "C81.75" "C81.76" "C81.77" "C81.78" "C81.79" "C81.9" "C81.90" "C81.91"
[71] "C81.92" "C81.93" "C81.94" "C81.95" "C81.96" "C81.97" "C81.98" "C81.99"
from icd.
Related Issues (20)
- dependency on curl executable should be more obvious HOT 1
- Extending to ICD-O?
- expand_range errors out on ICD-10 decimal codes
- travis build failing due to qpdf HOT 2
- Add `[.icd9cm_pc` and `[.icd10cm_pc` methods
- cannot install in R 3.6.3 or 3.6.1 HOT 1
- package pulled from CRAN HOT 1
- package no longer available on cran HOT 2
- Confusion over undefined ICD codes HOT 2
- Workaround from icd 10 - global burden of disease
- Charlson score accounting twice for the same diagnosis
- Package is down on CRAN HOT 11
- Fails to download who16? HOT 1
- update ICD-10 AHRQ comorbidities
- unable to keep track of which ICD codes are explainable and which are unexplained
- E-Valued ICD10 Codes Return Incorrect Desc or Character Length 0 within `explain_code()`
- How to download the package to a local file HOT 1
- expand_range doesn't work for certain chapters HOT 1
- Not able to install ICD package HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icd.