Questions tagged [icd]

ICD is the International Classification of Diseases, a numerical classification system

ICD is the International Classification of Diseases, a numerical classification system is the classification used to code health conditions and related information. The ICD is copyrighted by the World Health Organization (WHO), which owns and publishes the classification. The ICD has been revised periodically to incorporate changes in the medical field. The current version is ICD10, but ICD9 is still in use and ICD11 is in development.

38 questions
3
votes
0 answers

Parsing xml in python- Having trouble writing loop

I am trying the ICD-10 XML and I want to put all of the terms into a CSV. I think that I have it working, but is there a more efficient way to loop through all of the nested tags and to get the and .
Intestinal…
Marqui678
  • 91
  • 1
  • 6
2
votes
1 answer

using awk to identify disease for patients

I have a tab seperated text file A.tsv of icd code matrix which the columns are patient id and icd codes, rows are observations for each patients. NA indicate the patient are not diagnosed as the icd codes study_id 691.8 692.9 701.2 706.1 a1 1…
Ray
  • 21
  • 2
2
votes
3 answers

How to filter alphanumeric characters range?

I need to create dummy variables using ICD-10 codes. For example, chapter 2 starts with C00 and ends with D48X. Data looks like this: data <- data.frame(LINHAA1 = c("B342", "C000", "D450", "0985"), LINHAA2 = c("U071", "C99",…
Lana Meijinhos
  • 347
  • 1
  • 10
2
votes
2 answers

Is there an R function to convert a dataframe of ICD10 codes to their respective subchapters

I have a dataframe of ICD10 codes that I need to convert to their respective subchapters. The subchapters of these codes are identified using the first 3 characters of each code i.e. the subchapter for M1711 is M17. Is there an efficient way to map…
TheGoat
  • 2,587
  • 3
  • 25
  • 58
2
votes
1 answer

Python: ICD-10 RegEx

Goal: create regex of ICD-10 codes. Format Compulsory start: Letter, Digit, (either Letter or Digit), Optional end: has a . then up to 4 Letters or Digits I've most of the 1st half: r'[A-Z][0-9][0-9]' The second half I'm stuck…
DanielBell99
  • 896
  • 5
  • 25
  • 57
2
votes
1 answer

Vulkan API calls to GPU drivers

Background: I have been eyeing writing an application which needs very basic but fast graphics (just drawing lines and squares), and I'm probably going to use a library such as GLFW, or Vulkano if i'm going with Rust. I want to understand a…
Mah
  • 25
  • 6
2
votes
1 answer

Converting icd9 codes in R, keep just the top result when there are multiples

I am trying to convert icd9 codes to icd10 codes. Some of the conversions have multiple results. I just want to keep the top result and place it into a new column. I have a dataframe named test > test icd9 1 4260 2 41401 3 42821 4 8602 5 …
gpeterson
  • 21
  • 1
2
votes
0 answers

Can we add conditions to the output of a deep neural network?

I am currently working on a clinical NER tagging application (CliNER - Clinical Named Entity Recognition system) and I am using a Bi-Directional LSTM built with Keras / Tensorflow backend for this task. I want to know whether there is any method…
Saul_goodman
  • 141
  • 12
2
votes
2 answers

Computing Frequencies Across Multiple Variables SPSS

I am working on a clinical research project using a large dataset of nationwide hospital discharges. We are using SPSS for statistical analysis. The dataset contains 25 diagnoses variables (DX1-DX25) which capture up to 25 diagnoses per discharge. A…
2
votes
2 answers

R: Creating a IC9-Code Description Variable using the ICD-9 package

I have a dataset that contains 3-digit ICD-9 codes and I want to create a ICD9 description variable based on the 3 digit codes. Here is a code to replicate my dataset: id=c(1:5);icdcode=c("786","401","780","300","V30");df=data.frame(id,icdcode) I…
user3641630
  • 311
  • 1
  • 3
  • 11
1
vote
3 answers

Expand ICD10 codes from one row into multiple rows

I have a dataset like this: ICD_10 diagnosis A00 Cholera A01-A03 Other Intestinal infectious diseases A15 Respiratory tuberculosis A17-A19 Other tuberculosis ... On row 2 and 4, there are multiple ICD-10 codes, and I want to expand…
Bobby
  • 27
  • 3
1
vote
2 answers

How to convert a list of ICD9 and ICD10 codes into their meaning (English names) in R?

I have a list of ICD9 AND ICD10 codes like this: 706.2 L81.0 D23.5 782 I want to decode these to English (to the actual name of the diseases). I thought of using the ICD package in R, especially the "explain_table()" function but it's only decoding…
Thierry
  • 21
  • 2
1
vote
3 answers

How to use ICD10 Code in a regression model in R?

I am trying to find the ICD10 codes which are causing certain disease. But ICD10 has alpha numeric classification e.g. A00.00 . There are 1000s of such classifications but I am not sure how to use them in my regression model. Any suggestion…
user7565573
1
vote
1 answer

Compare ICD-10 character string or search whether a diagnosis fall into the range?

I have a question about how to check whether certain diagnosis fall into ICD-10 range in R. Here is my diagnosis code: C349 A219 B003 C509 B700 A090 And here is the standard ICD-10 range I wish to compare…
Yao Nie
  • 13
  • 2
1
vote
0 answers

How to use aqua.io API (for ICD-10 description to code)

I am doing a project for medical data mining ,and using a python api call Aqua.io ,the goal is to search for ICD code by their description. The tutorial is not so clear for me,especially the parameters call 'client_options' and…
Calvin
  • 11
  • 3
1
2 3