Systemic Lupus Erythematosus (SLE) is a chronic, systemic autoimmune disease that can affect many parts of the body including skin, lungs, brain, heart, kidneys, joints, and blood vessels. SLE presentation can vary significantly between patients. Because of this, it can be challenging to identify a patient as having SLE. Between 300,000 and 2,000,000 people in the US are estimated to have SLE. Determination of an exact number of people affected is challenging as the disease is difficult to identify given the diverse presentations and the length of time it may take for symptoms to appear. Electronic Health Records (EHR) are widely used in healthcare setting and are a rich source of information about the patients that can be mined for classification of SLE and earlier identification.
For the eMERGE network*, we are using the SLICC (Systemic Lupus International Collaborating Clinics) Criteria to determine if patients have SLE. A group of rheumatologists came up with SLICC criteria in 2012 to improve clinical relevance, and to incorporate the new knowledge of SLE immunology.
non-NLP: Version 4.6 of the pseudocode uses structured EHR data only - NOTE: the SQL pseudocode document is the definitive list of codes and cutoff values and logic to use, if that doc contradicts other files here, please let us know and use the SQL pseudocode doc (https://phekb.org/sites/phenotype/files/FINAL_SLE_SLICC_SQL_code_w_vocab...)
w/ NLP: Version 5.x and later of the pseudocode uses the output of version 4.x, adding NLP (natural language processing) for some of the SLICC criteria that are more accurate with NLP. 3 files have been added for the NLP, namely:
- pseudocode with NLP portions in red in a Word doc;
- the types of text documents needed highlighted in an Excel file;
- and a zip file w/ a README Word doc w/ NLP instructions, the Python & R code in Jupyter notebooks, & the format of the input to the NLP, which is 2 inputs:
- output from version 4.x of the algorithm, i.e. this input DD matches the output DD for version 4.x
- text from notes from in- & out-patient encounters with any primary care, rheumatology, or nephrology departments, & from kidney biopsy pathology reports
* for other studies/projects/networks we have also used the ACR/EULAR criteria, which has some overlapping classification attributes with SLICC. Thus we have also posted 2 additional files with information on all the classification criteria as follows:
- Supplementary tables with :
- Data Definitions which includes correctioions to a few typos in the ICD9/10 codes
- Sensitivity and Specificity of each of the Classification Attributes
- more information about the specific codes in an Excel file
Comments
Lab codes
Can you provide LOINC codes and or OMOP concept_id codes for the labs requested in the algorithm?
OMOP version expected in March
We expect to have our OMOP version of the algorithm completed in March, at which point we will post the OMOP SQL for it here.
OMOP update
due to issues with not only our OMOP instance but also the source data that feeds into it, we are still evaluating our OMOP version. our data warehouse team has been meeting with us weekly to solve the major issues. by the end of May we hope to have the most important issues resolved so we can do a better (but still won't be perfect) test of the OMOP version. Jen
LOINC codes
I'm uploading the LOINC codes now. Jen
Lab LOINC codes
Noted one possible code discrepency in the SLE_SLICC_LOINC_codes.docx documentation.
For Hemolytic Anemia Inclusion lab test, should LOINC code 2532-0 Lactate dehydrogenase [Enzymatic activity/volume] in Serum or Plasma be included and LOINC code 2085-9 Cholesterol in HDL [Mass/Volume] in Serum or Plasma be excluded?
Hemolytic Anemia Inclusion lab tests corrections
For Hemolytic Anemia Inclusion lab test LDH:
Yes, exclude LOINC code 2085-9 Cholesterol in HDL [Mass/Volume] in Serum or Plasma.
Include LOINC code 2532-0 Lactate dehydrogenase [Enzymatic activity/volume] in Serum or Plasma https://uts.nlm.nih.gov/metathesaurus.html#2532-0;0;1;CODE;2019AA;EXACT_...
We will update the pseudocode & code list (SLE_SLICC_LOINC_codes.docx) posted on PheKB to reflect and clarify these changes this week.
Thanks, Jen
Age restriction on controls
emerge_lupus_pseudocode_V1.docx requires controls to currently be between the ages of 18 and 45 years. We only have 5 individuals under the age of 45 in the entire Marshfield eMERGE cohort. With age restriction only on controls we will end up with something like 500 or more cases with a median age of 78 and 2 controls with a median age of 44. If we remove the age restriction on the controls we end up with approximately 3200 controls with a median age of 73. Does it make sense to include the age restriction on the controls?
age restriction removed from final age
There is no longer an age restriction for controls
Minor change to algorithm
Hello all,
We have changed code 529.8 to 529.9 in the oral ulcer inclusion.
Thanks,
Anika
potential issue with a few ICD codes
we found some discrepancies in the ICD codes we had listed in our pseudocode vs. the query we used to test our algorithm. we're checking those out and if there any ICD codes to add/subtract there should be only a few and we'll let you know within the next few weeks. Jen
Discrepancy in ICD codes
Have you figured out the discrepancy problem for ICD codes in the pseudocode ? If yes, when are you going to correct/revise them ? I was told the deadline to implement the pseudocode is May 16 (next Wednesday ).
Thanks
updated ICD & LOINC codes by next wk.
I was out of the country on vacation May 1-15, and in the meantime others have been working on correcting the ICD and LOINC codes, thanks for asking and pointing these out. We have a meeting tomorrow with the clinician expert for this, after which we should have updated / corrected ICD and LOINC codes. I don't see a deadline of May 16, so no worries about that. Thanks for your patience, Jennifer
Lactate Dehydrogenase LDH labs
Hi, for the hemolytic anemia inclusion critieria and the LDH lab, I would like to confirm that the upper limit cutoff is indeed > 2 u /L? Thank you, Dustin
LDH cutoff is 2 TIMES the upper limit at your site
For hemolytic anemia inclusion criteria LDH lab, the upper limit cutoff should actually be 2 times the upper limit of normal (and the unit of measure should be u/L). In other words, the upper limit cutoff is NOT simply > 2 u/L, we were trying to say that whatever the upper limit of normal is at your site, only include those with a number that is greater than twice your upper limit of normal.
We will update the pseudocode & code list (SLE_SLICC_LOINC_codes.docx) posted on PheKB to reflect and clarify these changes this week.
Thanks, Jen
Exclude patients w/exclusion codes within 7-day inclusion codes
For exclusion codes marked with "*", Need to confirm that excluding those patients whose exclusion codes are found within +/- (before or after )7 days of inclusion code, correct ? Thanks !
within 7 days = +/- 7 days
Yes, for exclusion codes marked with "*", exclude those patients whose exclusion codes are found within = +/- (before or after) 7 days of inclusion code.
We will update the pseudocode & code list (SLE_SLICC_LOINC_codes.docx) posted on PheKB to reflect and clarify these changes this week.
Thanks, Jen
LOINC '5820-6','33825-1' (red cell value >0/hpf) ?
These two loinc are used to code WBC casts, how are we able to use them to include patients whose Red cell cout: >0/HPF under micrscope ? How about the LOINC 51790-4 which is used to do RBC casts [#/area] in Urine sediment by Microscopy high power field?
LOINC codes for RBC, not WBC
Yes LOINC lab codes '5820-6','33825-1' (red cell value >0/hpf), are actually used to code White Blood Cell (WBC) casts, so do NOT use them use to include patients whose Red Blood Cell (RBC) count: >0/HPF under microscope.
Yes, Add the LOINC 51790-4 which is used to do RBC casts [#/area] in Urine sediment by Microscopy high power field.
We will update the pseudocode & code list (SLE_SLICC_LOINC_codes.docx) posted on PheKB to reflect and clarify these changes this week.
Thanks, Jen
confirm Leukopenia for LOINC
LOINC: ‘731-0’, ‘26474-7’,’26478-8’,’736-9’,’737-7’,‘26464-8’,‘6690-2’ (value <4)
I think the value <4 should be for LOINC "26464-8" which is the Whole WBC and the value <1.5k for the rest of LOINC, which Leukocytes [#/volume] in Blood, correct ?
DIFF. cutoffs for WBC/LEUKocytes vs. LYMPHocytes
For the Leukopenia criteria, there are actually 2 separate labs :
1) Leukocytes, the overall WBC of all white blood cell types
2) Lymphocytes, a subtype of leukocytes/WBCs
Thus:
1) For LOINC lab codes ‘26464-8’ & ,‘6690-2’, are counts of
LEUKocytes, the value should be < 4 .
2) the rest of the LOINC lab codes,
‘731-0’,‘26474-7’,’26478-8’,’736-9’,’737-7’,
are counts of LYMPHocytes,
the value for all should be < 1.5k .
Thank you for helping us to figure this out.
We will update the pseudocode & code list (SLE_SLICC_LOINC_codes.docx) posted on PheKB to reflect and clarify these changes this week.
Thanks, Jen
pseudocode & codes updated
We have now posted our Algorithm V4.63 (no NLP) with most changes marked from Algorithm V4.5: there are a few codes corrected per the comments posted here and also from the clinician expert, & also 1 minor logic update (excluding hemolytic anemia labs that occured within 7 days of preeclampsia diagnosis). Since the changes are minor, it is OK to just make these changes in your re-implementation of this phenotype algorithm when NLP is added in "year 5" of eMERGE phase III. Please note the codes and logic in the SQL code format are the most accurate as this is the document we reviewed multiple times with our clinician expert.
Thank you for your patience, Jen
LOINC codes for Lactate Dehydrogenase
Are you sure these codes '14646-4','18263-4','2085-9' for LDH ? Thanks !
LOINC codes for LDH (NOT HDL)
For the 1st 2 LOINC codes below, '14646-4','18263-4', these are NOT For LDH, they are for HDL.
Similarly,
Yes, '2085-9' is NOT for LDH, it's HDL, as pointed out by at least 1 other person in the comments here.
Thank you for helping us to figure this out.
We will update the pseudocode & code list (SLE_SLICC_LOINC_codes.docx) posted on PheKB to reflect and clarify these changes this week.
Thanks, Jen
labs in kids
Hi,
Are there pediatric values that you have for Lymphocytes and other labs for the lab-based subphenotypes?
blood count lab values for children?
Hi Todd,
Is there a clinician you know who can help us determine the ranges we should look for in children for the blood counts?
Our SLE clinician expert here doesn't treat children. She did state that the antibody and urine lab ranges should be the same for children & adults.
Thanks,
Jen
pseudocode & codes updated
SLE (lupus) alg. & pseudocode docs updated today again (for the non-NLP version) - I hope by now we have caught all the typos. I highlighted &/or tracked the differences in most places in the algorithm & (SQL) pseudocode docs. Please NOTE: the (SQL) pseudocode doc is our de-facto definitive list of codes and logic as that is the document many people reviewed many times with our clinician expert. Please let us know if you find any more discrepancies in our documentation. Thank you! Jen
minor update to files
just uploaded files with the corrections/additions to codes/logic for SLE (lupus) non-NLP alg.
Jen
error in code & DDs for NLP output
Columbia discovered an error in the NLP code for oral ulcers, we are working on correcting the issue & will post updated code as soon as possible. We will also post the data dictionaries for the 4 output files from the NLP on the DD tab soon as well. Thank you for your patience. Jen