Developers Models guide

Models guide

What each condition card predicts, when it does not score, every feature with its codes, windows, and weights, the calibration and risk bands, the validation recorded in the model file, the follow-up questions for the patient, the next steps shown to clinicians, and the test patients with their expected results.

Generated by analysis/build_models_guide.py from the model files, the test vectors, the card text of the CDS Hooks service, the patient questionnaire design, the validation results reported in the papers, and the Lyme county table (opendata/processed/lyme_county_incidence.csv). Do not edit by hand; rerun the script.

Long COVID (unm-longcovid 1.2.0)

Model file model/longcovid.json, status "research". Research decision support. Surfaces chart patterns for clinician review. Not a diagnosis.

Download longcovid.json

What it predicts and for whom

Card wording, from the CDS Hooks service (web/functions/cds-services/_cds.js): "Chart pattern similar to adults later coded with Long COVID." The number is shown as "N times the average for adults 90 days after COVID-19" and as the "Estimated probability, as of day 90, of a Long COVID code 91 to 455 days after COVID-19". The model predicts a future Long COVID code, and codes miss most cases, so the card keeps the "not a diagnosis" line.

When it does not score

  1. No index event: "no documented COVID-19 index event" ("... on or after 2021-07-02" when the chart has only earlier COVID-19 diagnoses).
  2. No usable birth date: "birth date missing or unusable (age is required)".
  3. Under 18 on day 0 (age is days / 365.25, as in training): "under 18 at the COVID-19 index (the model covers adults)".
  4. Fewer than 90 days between day 0 and the scoring date.
  5. More than 455 days between day 0 and the scoring date: "outside the model's time window".
  6. A Condition coded ICD-10-CM U09.9 or SNOMED CT 1119303003 or 1119304009 or 1325161000000102 is dated on or before the scoring date (before, on, or after the index date), or has no usable date: "a Long COVID diagnosis is already recorded".
  7. No encounters in days -365 to -1 (W0, W1): "no encounters in the year before COVID-19 (insufficient history)".

ICD-10-CM codes match by prefix with dots removed, so a listed code also matches its subcodes. In each case the app says why it did not score. Every rule reads only records dated on or before the scoring date; Conditions whose verificationStatus is refuted or entered-in-error, and records whose status is entered-in-error, are ignored. If a FHIR search the model needs failed or was forbidden, the result is "could not score: <resource> unavailable" instead of a score (interface spec, section 4c).

Windows

WindowDays relative to day 0
W0-365 to -91
W1-90 to -1
W20 to 30
W331 to 90

Features (69, of which 57 carry a weight)

Each feature is 0 or 1. Features with weight 0 are still evaluated, because a derived count feature counts every feature in its group, but they never appear as drivers. Features that differ only in threshold (for example 2+ and 3+ of the same thing) show as one driver carrying the summed weight. ICD-10-CM codes are shown with dots for reading; the model file stores feature codes without dots.

FeatureLabelGroupSource (kind)CodesWindowWeight
age_18_39Age 18-39DemographicsPatient (age_band)Patient.birthDate: age 18 to 39 on day 0on day 0-0.247895
age_40_49Age 40-49DemographicsPatient (age_band)Patient.birthDate: age 40 to 49 on day 0on day 0-0.068725
age_50_59Age 50-59DemographicsPatient (age_band)Patient.birthDate: age 50 to 59 on day 0on day 0-0.038744
age_60_69Age 60-69DemographicsPatient (age_band)Patient.birthDate: age 60 to 69 on day 0on day 00.270792
age_70pAge 70+DemographicsPatient (age_band)Patient.birthDate: age 70 and older on day 0on day 0-0.21015
sex_femaleFemaleDemographicsPatient (sex)Patient.gender = femaleon day 00.207423
sym_dyspneaNew: shortness of breathNew symptomsCondition (new_onset)ICD-10-CM prefix: R06.0days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0.776553
sym_coughNew: coughNew symptomsCondition (new_onset)ICD-10-CM prefix: R05days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0.562928
sym_chest_painNew: chest painNew symptomsCondition (new_onset)ICD-10-CM prefix: R07days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0.830356
sym_msk_painNew: muscle or joint painNew symptomsCondition (new_onset)ICD-10-CM prefix: M79.1, M25.5, M79.6, M79.7days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0.700514
sym_count_ge2Two or more new symptom typesNew symptomsderived (derived_count_ge)at least 2 features of group "New symptoms" presentas its group0.683606
hx_asthmaHistory: asthmaPrior conditionsCondition (any)ICD-10-CM prefix: J45days -365 to -1 (W0, W1)0.440153
hx_copdHistory: COPDPrior conditionsCondition (any)ICD-10-CM prefix: J44days -365 to -1 (W0, W1)0.658129
hx_diabetesHistory: diabetesPrior conditionsCondition (any)ICD-10-CM prefix: E10, E11days -365 to -1 (W0, W1)0.381039
hx_obesityHistory: obesityPrior conditionsCondition (any)ICD-10-CM prefix: E66, Z68.3, Z68.4days -365 to -1 (W0, W1)0.422637
hx_hypertensionHistory: hypertensionPrior conditionsCondition (any)ICD-10-CM prefix: I10days -365 to -1 (W0, W1)0.239287
hx_depressionHistory: depressionPrior conditionsCondition (any)ICD-10-CM prefix: F32, F33days -365 to -1 (W0, W1)0.668623
hx_anxietyHistory: anxietyPrior conditionsCondition (any)ICD-10-CM prefix: F41days -365 to -1 (W0, W1)0.461967
hx_migraineHistory: migrainePrior conditionsCondition (any)ICD-10-CM prefix: G43days -365 to -1 (W0, W1)0.267112
hx_chronic_painHistory: chronic painPrior conditionsCondition (any)ICD-10-CM prefix: G89days -365 to -1 (W0, W1)0.462634
hx_sleep_apneaHistory: sleep apneaPrior conditionsCondition (any)ICD-10-CM prefix: G47.33days -365 to -1 (W0, W1)0.754842
hx_autoimmuneHistory: autoimmunePrior conditionsCondition (any)ICD-10-CM prefix: M05, M06, M32, L40, K50, K51, M45days -365 to -1 (W0, W1)0.353891
hx_hypothyroidHistory: hypothyroidPrior conditionsCondition (any)ICD-10-CM prefix: E03days -365 to -1 (W0, W1)0.239087
hx_heart_diseaseHistory: heart diseasePrior conditionsCondition (any)ICD-10-CM prefix: I25, I50days -365 to -1 (W0, W1)0.065752
acute_inpatientHospitalized around the COVID diagnosisAcute illnessEncounter (encounter_any)Encounter.class IMP (at least one Encounter)days -3 to 300.566488
acute_edEmergency visit in the first monthAcute illnessEncounter (encounter_any)Encounter.class EMER (at least one Encounter)days 0 to 300.464286
out_w0_ge44+ outpatient visits in the baseline yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 4 Encounters)days -365 to -91 (W0)0.268347
out_w3_ge22+ outpatient visits in days 31-90Health care useEncounter (encounter_count_ge)Encounter.class AMB (at least 2 Encounters)days 31 to 90 (W3)0.479927
out_w3_ge44+ outpatient visits in days 31-90Health care useEncounter (encounter_count_ge)Encounter.class AMB (at least 4 Encounters)days 31 to 90 (W3)0.623184
ed_w3_anyEmergency visit in days 31-90Health care useEncounter (encounter_count_ge)Encounter.class EMER (at least 1 Encounter)days 31 to 90 (W3)0.544081
ip_w3_anyHospital stay in days 31-90Health care useEncounter (encounter_count_ge)Encounter.class IMP (at least 1 Encounter)days 31 to 90 (W3)0.627951
visit_rate_upVisit rate after COVID at least double the baseline rateHealth care useEncounter (encounter_rate_ratio_ge)Encounter.class AMB, EMER (rate ratio at least 2.0)visits per day in days 31 to 90 (W3) against days -365 to -91 (W0)0.083971
test_chest_ctChest CTTests after COVIDProcedure (any)CPT: 71250, 71260, 71270, 71271, 71275days 0 to 90 (W2, W3)1.100903
test_chest_xrayChest X-rayTests after COVIDProcedure (any)CPT: 71045, 71046, 71047, 71048days 0 to 90 (W2, W3)0.588097
lab_d_dimerD-dimer testTests after COVIDObservation (any)LOINC: 15179-5, 29280-5, 38898-3, 42499-4, 42727-8, 48058-2, 48065-7, 48066-5, 48067-3, 55398-2
2 more71427-9, 91556-1
days 0 to 90 (W2, W3)0.831808
lab_troponinTroponin testTests after COVIDObservation (any)LOINC: 101375-4, 101865-4, 101911-6, 101912-4, 101913-2, 101914-0, 101915-7, 101916-5, 101917-3, 101918-1
15 more10839-9, 33204-9, 42757-5, 48425-3, 48426-1, 49563-0, 6597-9, 6598-7, 67151-1, 76399-5, 89575-5, 89576-3, 89577-1, 89578-9, 89579-7
days 0 to 90 (W2, W3)0.741017
lab_natriureticBNP or NT-proBNP testTests after COVIDObservation (any)LOINC: 30934-4, 33762-6, 33763-4, 42637-9, 47092-2, 71425-3, 77621-1, 77622-9, 83107-3, 83108-1days 0 to 90 (W2, W3)0.544609
lab_tshThyroid (TSH) testTests after COVIDObservation (any)LOINC: 10516-3, 11033-8, 11579-0, 11580-8, 12932-0, 12933-8, 12934-6, 12935-3, 12936-1, 12937-9
88 more12938-7, 12939-5, 12940-3, 12941-1, 12942-9, 12943-7, 12944-5, 12945-2, 12946-0, 12947-8, 12948-6, 13869-3, 13871-9, 13897-4, 14255-4, 14919-5, 14997-1, 14998-9, 14999-7, 15000-3, 17786-5, 20452-9, 25789-9, 25990-3, 25991-1, 26998-5, 29316-7, 29317-5, 29574-1, 29575-8, 3015-5, 30151-5, 3016-3, 3018-9, 3019-7, 33258-5, 33259-3, 33260-1, 33261-9, 33269-2, 34054-7, 35134-6, 40397-2, 40398-0, 40399-8, 40400-4, 40401-2, 40673-6, 44935-5, 44936-3, 45173-2, 47947-7, 47948-5, 47949-3, 47950-1, 47951-9, 47952-7, 47953-5, 48077-2, 48700-9, 50533-9, 50534-7, 50535-4, 50536-2, 50537-0, 50538-8, 50539-6, 50540-4, 50541-2, 5384-3, 5385-0, 55362-8, 56594-5, 57416-0, 57854-2, 58833-5, 58834-3, 63363-6, 63364-4, 63365-1, 63366-9, 65360-0, 69561-9, 70096-3, 77623-7, 82659-4, 90801-2, 99078-8
days 0 to 90 (W2, W3)0.447952
lab_ferritinFerritin testTests after COVIDObservation (any)LOINC: 14723-1, 14724-9, 20567-4, 2276-4, 24373-3, 48141-6, 53048-5, 74807-9, 86914-9days 0 to 90 (W2, W3)0.529826
lab_crpC-reactive protein testTests after COVIDObservation (any)LOINC: 11039-5, 14634-0, 16503-5, 1988-5, 30522-7, 35648-5, 45062-7, 48421-2, 59182-6, 71426-1
3 more76485-2, 76486-0, 98987-1
days 0 to 90 (W2, W3)0.753055
lab_vitamin_dVitamin D testTests after COVIDObservation (any)LOINC: 14635-7, 1989-3, 46269-7, 49054-0, 55814-8, 57566-2, 57567-0, 57568-8, 57569-6, 62292-8
12 more68438-1, 72403-9, 72404-7, 72888-1, 83070-3, 83071-1, 86918-0, 94673-1, 94674-9, 95593-0, 95594-8, 95595-5
days 0 to 90 (W2, W3)0.551808
lab_b12Vitamin B12 testTests after COVIDObservation (any)LOINC: 1460-5, 14685-2, 14733-0, 15052-4, 16695-9, 16696-7, 1888-7, 2132-9, 2169-1, 2171-7
28 more2440-6, 26916-7, 3029-6, 3031-2, 3032-0, 30904-7, 30905-4, 30906-2, 32341-0, 33766-7, 4203-6, 49264-5, 54376-9, 54377-7, 54378-5, 55850-2, 55881-7, 55882-5, 55883-3, 55884-1, 55885-8, 59211-3, 72157-1, 72158-9, 72160-5, 96297-7, 96805-7, 96809-9
days 0 to 90 (W2, W3)0.608043
rx_inhalerNew inhalerNew medicationsMedicationRequest (new_onset)RxNorm ingredients: albuterol, fluticasone, budesonide, mometasone, beclomethasone, tiotropium, formoterol, salmeterol (1174 RxCUIs listed in the model file)days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0.765785
rx_systemic_steroidNew oral or injected steroidNew medicationsMedicationRequest (new_onset)RxNorm ingredients: prednisone, methylprednisolone, dexamethasone, prednisolone (1254 RxCUIs listed in the model file)days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0.403106
sym_any_fatigueFatigue or malaise (coded by day 90)Symptoms after COVIDCondition (any)ICD-10-CM prefix: R53, G93.3days 0 to 900.852829
sym_any_dyspneaShortness of breath (coded by day 90)Symptoms after COVIDCondition (any)ICD-10-CM prefix: R06.0days 0 to 901.042229
sym_any_coughCough (coded by day 90)Symptoms after COVIDCondition (any)ICD-10-CM prefix: R05days 0 to 900.520265
sym_any_chest_painChest pain (coded by day 90)Symptoms after COVIDCondition (any)ICD-10-CM prefix: R07days 0 to 900.656634
sym_any_autonomicPalpitations, tachycardia, POTS, or orthostatic hypotension (coded by day 90)Symptoms after COVIDCondition (any)ICD-10-CM prefix: R00.0, R00.2, I49.8, G90.A, I95.1days 0 to 900.673716
sym_any_moodAnxiety or depression (coded by day 90)Symptoms after COVIDCondition (any)ICD-10-CM prefix: F41, F32, F33, F43days 0 to 900.602672
sym_any_msk_painMuscle or joint pain (coded by day 90)Symptoms after COVIDCondition (any)ICD-10-CM prefix: M79.1, M25.5, M79.6, M79.7days 0 to 900.740182
sym_any_giGastrointestinal symptoms (coded by day 90)Symptoms after COVIDCondition (any)ICD-10-CM prefix: R10, R11, R14, R19, K58, K59days 0 to 900.439641
sym_any_w3_count_ge22+ symptom types coded in days 31-90Symptoms after COVIDCondition (cluster_count_ge)at least 2 of these symptom clusters coded
fatigue: R53, G93.3
dyspnea: R06.0
cough: R05
chest pain: R07
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1
cognitive: R41, G31.84
headache: R51, G44
dizzy syncope: R42, R55
smell taste: R43
sleep: G47.0, G47.1, G47.8, G47.9, F51
mood: F41, F32, F33, F43
msk pain: M79.1, M25.5, M79.6, M79.7
gi: R10, R11, R14, R19, K58, K59
paresthesia: R20, G62.9
hair loss: L65.9
fever: R50
days 31 to 900.933329
sym_any_w3_count_ge33+ symptom types coded in days 31-90Symptoms after COVIDCondition (cluster_count_ge)at least 3 of these symptom clusters coded
fatigue: R53, G93.3
dyspnea: R06.0
cough: R05
chest pain: R07
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1
cognitive: R41, G31.84
headache: R51, G44
dizzy syncope: R42, R55
smell taste: R43
sleep: G47.0, G47.1, G47.8, G47.9, F51
mood: F41, F32, F33, F43
msk pain: M79.1, M25.5, M79.6, M79.7
gi: R10, R11, R14, R19, K58, K59
paresthesia: R20, G62.9
hair loss: L65.9
fever: R50
days 31 to 900.954975
covid_code_w3COVID-19 still coded at a follow-up visit (days 31-90)Coding after COVIDCondition (any)ICD-10-CM prefix: U07.1days 31 to 901.210176
covid_history_codePersonal history of COVID-19 coded (days 31-90)Coding after COVIDCondition (any)ICD-10-CM prefix: Z86.16days 31 to 901.291872
late_visit_61_90Visit in days 61-90Health care useEncounter (encounter_any)Encounter.class AMB, EMER (at least one Encounter)days 61 to 900.252437
sym_fatigueNew: fatigue or malaiseNew symptomsCondition (new_onset)ICD-10-CM prefix: R53, G93.3days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0
sym_autonomicNew: palpitations, tachycardia, pots, or orthostatic hypotensionNew symptomsCondition (new_onset)ICD-10-CM prefix: R00.0, R00.2, I49.8, G90.A, I95.1days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0
sym_cognitiveNew: cognitive symptoms (brain fog, memory)New symptomsCondition (new_onset)ICD-10-CM prefix: R41, G31.84days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0
sym_headacheNew: headacheNew symptomsCondition (new_onset)ICD-10-CM prefix: R51, G44days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0
sym_dizzy_syncopeNew: dizziness or faintingNew symptomsCondition (new_onset)ICD-10-CM prefix: R42, R55days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0
sym_smell_tasteNew: loss or change of smell or tasteNew symptomsCondition (new_onset)ICD-10-CM prefix: R43days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0
sym_sleepNew: sleep disturbanceNew symptomsCondition (new_onset)ICD-10-CM prefix: G47.0, G47.1, G47.8, G47.9, F51days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0
sym_moodNew: anxiety or depressionNew symptomsCondition (new_onset)ICD-10-CM prefix: F41, F32, F33, F43days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0
sym_giNew: gastrointestinal symptomsNew symptomsCondition (new_onset)ICD-10-CM prefix: R10, R11, R14, R19, K58, K59days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0
sym_paresthesiaNew: tingling, numbness, or neuropathyNew symptomsCondition (new_onset)ICD-10-CM prefix: R20, G62.9days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0
sym_hair_lossNew: hair lossNew symptomsCondition (new_onset)ICD-10-CM prefix: L65.9days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0
sym_feverNew: feverNew symptomsCondition (new_onset)ICD-10-CM prefix: R50days 0 to 90 (W2, W3); none in days -365 to -1 (W0, W1)0

Score, calibration, and risk bands

score = -8.961961 + Σ weight × value. The probability is the piecewise-linear interpolation of the score over the calibration points below, clamped at the ends. The band is the first band whose upper limit is at or above the probability. "Times the average" is the probability divided by the cohort base rate in the model file, reference.cohort_base_rate = 0.010316 (about 1.0%).

Calibration points come from a logistic on binned training-split counts (a = -3.940748, b = 0.189525).

BandProbability up toTimes the average
Typical1.55%1.50
Elevated3.09%3.00
High100%above 3.00
ScoreProbability
-9.93780.29%
-9.25280.34%
-8.56770.38%
-7.88270.43%
-7.19760.49%
-6.51260.56%
-5.82750.64%
-5.14250.73%
-4.45750.83%
-3.77240.94%
-3.08741.07%
-2.40231.22%
-1.71731.38%
-1.03231.57%
-0.34721.79%
0.33782.03%
1.02292.30%
1.70792.62%
2.3932.97%
3.0783.37%
3.7633.81%
4.44814.32%
5.13314.89%
5.81825.53%
6.50326.25%

Validation and provenance

Validation splitValue
AUROC0.6736
AUPRC0.0282
Validation patients4,680
Validation patients later coded50
Comparator AUROC: elastic-net logistic regression fit to participant-level data0.6804
Comparator AUROC: bagged positive-unlabeled learning fit to participant-level data0.6727

Values from the model file, measured in a random 20% validation split of the training cohort. Details are in Paper 1.

Intended use and limitations

Follow-up questions for the patient

About 5 minutes. Everything scored uses a validated instrument; the app's item wording is in web/web/patient/instruments.js.

PartInstrumentWhat it measuresScoringSource
ARECOVER-Adult Long COVID Research Index, 2024 updateSymptoms that best separate Long COVID from no Long COVIDWeighted points; 11 or more = "likely Long COVID" (point values from the Table of Geng et al. 2025; item wording from the RECOVER questionnaire, Thaweethai et al. JAMA 2023, Supplement 3)Geng LN et al. JAMA 2025;333(8):694-700, doi:10.1001/jama.2024.24184
BDePaul Symptom Questionnaire, post-exertional malaise short formPost-exertional malaise, the hallmark of ME/CFS and common in Long COVID, almost never coded5 items on frequency and severity; screen positive by the published ruleCotler J et al. Diagnostics 2018;8(3):66, doi:10.3390/diagnostics8030066
CPost-COVID-19 Functional Status (PCFS) scaleHow much symptoms limit daily lifeOne grade, 0 (no limitation) to 4 (severe)Klok FA et al. Eur Respir J 2020, doi:10.1183/13993003.01494-2020
DChange since before COVID (unscored context)The model's main signals in the patient's wordsShown to the clinician, not scoredDerived from the model; to be validated

A. RECOVER 2024 symptom list

Yes or no for each symptom; points add up. 11 or more = "likely", 1 to 10 = "possible" (Geng et al., JAMA 2025;333:694–700). Each question asks whether the symptom is present now, in the RECOVER questionnaire wording (Thaweethai et al., JAMA 2023, Supplement 3, eTable 1; the wording per item is in web/web/patient/instruments.js). In the published index, fatigue, brain fog, and chest pain also need a severity score (PROMIS Global-10 fatigue item, Neuro-QoL Cognition short form, Seattle Angina Questionnaire-7); the app counts a Yes and says so on the result, so its total can exceed the research index by up to 5 points.

SymptomPoints
loss of smell or taste7
post-exertional malaise6
chronic cough4
brain fog3
palpitations2
dizziness2
shortness of breath2
thirst1
chest pain1
fatigue1
snoring or sleep apnea1

B. DePaul Symptom Questionnaire, post-exertional malaise (DSQ-PEM)

"For each symptom below, please circle one number for frequency and one number for severity."

  1. Dead, heavy feeling after starting to exercise
  2. Next day soreness or fatigue after non-strenuous, everyday activities
  3. Mentally tired after the slightest effort
  4. Minimum exercise makes you physically tired
  5. Physically drained or sick after mild activity

Screen rule: screen positive if, on at least one of items 1–5, frequency is 2 or higher and severity is 2 or higher.

Optional context item for the clinician, not part of the rule: "If you feel worse after activities, how long does this last?" < 1 h, 2–3 h, 4–10 h, 11–13 h, 14–23 h, ≥ 24 h.

Attribution: "DePaul Symptom Questionnaire PEM items (Cotler et al., Diagnostics 2018), CC BY 4.0." Do not reword, reorder, or rescale the items.

C. Post-COVID-19 Functional Status (PCFS) scale

"How much are you currently affected in your everyday life by COVID-19? Please indicate which one of the following statements applies to you most. Please tick only one box at a time."

StatementGrade
I have no limitations in my everyday life and no symptoms, pain, depression or anxiety.0
I have negligible limitations in my everyday life as I can perform all usual duties/activities, although I still have persistent symptoms, pain, depression or anxiety.1
I suffer from limitations in my everyday life as I occasionally need to avoid or reduce usual duties/activities or need to spread these over time due to symptoms, pain, depression or anxiety. I am, however, able to perform all activities without any assistance.2
I suffer from limitations in my everyday life as I am not able to perform all usual duties/activities due to symptoms, pain, depression or anxiety. I am, however, able to take care of myself without any assistance.3
I suffer from severe limitations in my everyday life: I am not able to take care of myself and therefore I am dependent on nursing care and/or assistance from another person due to symptoms, pain, depression or anxiety.4

Rules from the form: the answer concerns the average situation of the past week; if two grades seem to apply, choose the higher one. Show the grade with its label: 0 no functional limitations, 1 negligible, 2 slight, 3 moderate, 4 severe.

Attribution: "Post-COVID-19 Functional Status scale (Klok et al., Eur Respir J 2020), version 2."

D. Change since before COVID (unscored context)

Each item is answered "much more / somewhat more / about the same / less" compared with before your COVID infection.

  1. How tired you feel during a normal day.
  2. How short of breath you get with activities you used to do easily.
  3. How often your heart races or pounds, especially when you stand up.
  4. How often you have trouble thinking, concentrating, or remembering.
  5. How often you have seen a doctor or gone to urgent care or the emergency department.

Next steps shown to clinicians

  1. Review the dated chart findings behind the score (each driver links to the resources that triggered it).
  2. Ask the patient to complete the follow-up questions below (RECOVER symptom list, DePaul PEM screen, PCFS grade, change items); the answers come back as a FHIR QuestionnaireResponse labeled "patient report".
  3. Flag for clinician review if the chart band is High, or the RECOVER score is 11 or more, or the PEM screen is positive. The chart probability and the questionnaire scores are never added into one number.
  4. If the review supports post-COVID illness, the card names the next step: a post-COVID clinic referral or clinical trial screening.

Sources: the patient questionnaire design, which sets the triage rule in step 3.

Test patients and expected results

Synthetic FHIR R4 bundles in model/test_vectors/bundles/, scored as of 2024-06-01. Expected outputs are in model/test_vectors/expected/unm-longcovid-1.2.0/; this generator reran the reference scorer on every bundle and they match. The JavaScript scorer must reproduce them to 1e-9.

PatientScenarioExpected resultTop drivers
Mariashould score highHigh, 6.25% (6.06 times the average)3+ symptom types coded in days 31-90; Personal history of COVID-19 coded (days 31-90); COVID-19 still coded at a follow-up visit (days 31-90)
Jamesshould score lowTypical, 0.43% (0.42 times the average)New: cough; Cough (coded by day 90); Age 40-49
Rosaalready coded: not scorednot scored: a Long COVID diagnosis is already recorded
Leeno COVID: not scorednot scored: no documented COVID-19 index event
Norano baseline encounters: not scorednot scored: no encounters in the year before COVID-19 (insufficient history)
Danabuilt for the Lyme cardnot scored: no documented COVID-19 index event
Elenabuilt for the Chronic fatigue and ME/CFS cardnot scored: no documented COVID-19 index event
Omarbuilt for the Chronic fatigue and ME/CFS cardnot scored: no documented COVID-19 index event
Gracebuilt for the Chronic fatigue and ME/CFS cardnot scored: no documented COVID-19 index event
Sofiabuilt for the Fibromyalgia cardnot scored: no documented COVID-19 index event
PriyaLong COVID code before the COVID-19 index: not scorednot scored: a Long COVID diagnosis is already recorded
SamLong COVID code (SNOMED) on the index date: not scorednot scored: a Long COVID diagnosis is already recorded
TheoLong COVID code on day 90, the landmark day: not scorednot scored: a Long COVID diagnosis is already recorded
Yaraundated Long COVID code: not scorednot scored: a Long COVID diagnosis is already recorded
VeraCOVID-19 508 days before, past day 455: not scorednot scored: more than 455 days since the COVID-19 index (outside the model's time window)
Willpartial dates, a pre-era infection, and refuted or future Long COVID codes: should score (index 2023-12-05)Typical, 0.49% (0.48 times the average)Shortness of breath (coded by day 90); New: shortness of breath; Age 40-49
Umano birth date: not scored by any modelnot scored: birth date missing or unusable (age is required)
Kai16 at the COVID-19 index, 17 on the scoring date: not scored by any modelnot scored: under 18 at the COVID-19 index (the model covers adults)

Chronic fatigue and ME/CFS (unm-chronicfatigue 1.0.0)

Model file model/chronicfatigue.json, status "research". Research decision support. Surfaces chart patterns for clinician review. Not a diagnosis.

Download chronicfatigue.json

What it predicts and for whom

Card wording, from the CDS Hooks service (web/functions/cds-services/_cds.js): "Chart pattern similar to patients who report a chronic fatigue or ME/CFS diagnosis that was never coded." The number is shown as "N times the average for adults with a visit in the past year" and as the "Probability that the patient reports a chronic fatigue diagnosis". It is a prompt to ask the patient, not a diagnosis.

When it does not score

  1. No usable birth date: "birth date missing or unusable (age is required)".
  2. Under 18 on day 0 (age is days / 365.25, as in training): "under 18 on the scoring date (the model covers adults)".
  3. A Condition coded ICD-10-CM G93.3 or R53.82 is dated on or before day 0, or has no usable date: "a chronic fatigue or ME/CFS diagnosis is already recorded".
  4. No AMB, EMER, or IMP encounter in days -365 to -1 (R): "no encounters in the past year (insufficient history)".

ICD-10-CM codes match by prefix with dots removed, so a listed code also matches its subcodes. In each case the app says why it did not score. Every rule reads only records dated on or before the scoring date; Conditions whose verificationStatus is refuted or entered-in-error, and records whose status is entered-in-error, are ignored. If a FHIR search the model needs failed or was forbidden, the result is "could not score: <resource> unavailable" instead of a score (interface spec, section 4c).

Windows

WindowDays relative to day 0
H-1825 to -1
R-365 to -1

Features (73, of which 73 carry a weight)

Each feature is 0 or 1. Features that differ only in threshold (for example 2+ and 3+ of the same thing) show as one driver carrying the summed weight. ICD-10-CM codes are shown with dots for reading; the model file stores feature codes without dots.

FeatureLabelGroupSource (kind)CodesWindowWeight
age_18_39Age 18-39DemographicsPatient (age_band)Patient.birthDate: age 18 to 39 on day 0on day 00.489792
age_40_49Age 40-49DemographicsPatient (age_band)Patient.birthDate: age 40 to 49 on day 0on day 00.583748
age_50_59Age 50-59DemographicsPatient (age_band)Patient.birthDate: age 50 to 59 on day 0on day 00.320034
age_60_69Age 60-69DemographicsPatient (age_band)Patient.birthDate: age 60 to 69 on day 0on day 0-0.423285
age_70pAge 70 or olderDemographicsPatient (age_band)Patient.birthDate: age 70 and older on day 0on day 0-1.013379
sex_femaleFemaleDemographicsPatient (sex)Patient.gender = femaleon day 00.910153
cx_fatigue_otherFatigue or malaise codedConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -1825 to -1 (H)0.670716
cx_fatigue_recentFatigue or malaise coded in the past yearConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -365 to -1 (R)0.774788
cx_sleepSleep disturbanceConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.0, G47.1, G47.8, G47.9, F51days -1825 to -1 (H)0.727156
cx_sleep_apneaSleep apneaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.33days -1825 to -1 (H)0.536925
cx_cognitiveCognitive symptoms (brain fog, memory)Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R41, G31.84days -1825 to -1 (H)0.887045
cx_autonomicPalpitations, POTS, orthostatic hypotension, or dysautonomiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9days -1825 to -1 (H)0.585676
cx_dizzy_syncopeDizziness or faintingConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R42, R55days -1825 to -1 (H)0.561932
cx_headacheHeadacheConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R51, G44days -1825 to -1 (H)0.773621
cx_migraineMigraineConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G43days -1825 to -1 (H)1.097934
cx_myalgia_arthralgiaMuscle or joint painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.1, M25.5, M79.6days -1825 to -1 (H)0.177264
cx_fibromyalgiaFibromyalgiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.7days -1825 to -1 (H)2.431874
cx_chronic_painChronic painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G89days -1825 to -1 (H)0.638573
cx_depressionDepressionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F32, F33days -1825 to -1 (H)0.921373
cx_anxietyAnxietyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F41days -1825 to -1 (H)0.790211
cx_ptsdPosttraumatic stress disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F43.1days -1825 to -1 (H)1.237668
cx_ibs_giIrritable bowel or gastrointestinal symptomsConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: K58, R10, R11, R14, R19days -1825 to -1 (H)0.493963
cx_sore_throat_nodesSore throat or enlarged lymph nodesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: J02, R59days -1825 to -1 (H)0.211643
cx_feverFeverConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R50days -1825 to -1 (H)0.391684
cx_ebv_monoInfectious mononucleosis (EBV)Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: B27days -1825 to -1 (H)0.887581
cx_lymeLyme diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: A69.2days -1825 to -1 (H)-0.271162
cx_covidCOVID-19Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U07.1days -1825 to -1 (H)0.08205
cx_long_covidLong COVIDConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U09.9days -1825 to -1 (H)1.206585
cx_eds_hypermobilityEhlers-Danlos syndrome or hypermobilityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Q79.6, M35.7days -1825 to -1 (H)2.403742
cx_mast_cellMast cell disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D89.4days -1825 to -1 (H)2.449947
cx_hypothyroidHypothyroidismConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E03days -1825 to -1 (H)0.342808
cx_anemiaAnemiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D50, D51, D52, D53, D63, D64days -1825 to -1 (H)0.39724
cx_vitd_deficiencyVitamin D deficiencyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E55days -1825 to -1 (H)0.292694
cx_autoimmuneAutoimmune or demyelinating diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M05, M06, M32, M35, L40, K50, K51, M45, G35days -1825 to -1 (H)0.975025
cx_obesityObesityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E66, Z68.3, Z68.4days -1825 to -1 (H)0.3161
cx_diabetesDiabetesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E10, E11days -1825 to -1 (H)0.191133
cx_hypertensionHypertensionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I10days -1825 to -1 (H)-0.103328
cx_heart_diseaseCoronary disease or heart failureConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I25, I50days -1825 to -1 (H)0.019584
cx_cancerCancerConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Cdays -1825 to -1 (H)-0.340299
clusters_ge3Three or more symptom typesSymptom patternCondition (cluster_count_ge)at least 3 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83
sleep: G47.0, G47.1, G47.8, G47.9, F51
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6
mood: F32, F33, F41
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
days -1825 to -10.713187
clusters_ge5Five or more symptom typesSymptom patternCondition (cluster_count_ge)at least 5 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83
sleep: G47.0, G47.1, G47.8, G47.9, F51
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6
mood: F32, F33, F41
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
days -1825 to -11.115405
px_tiltTilt-table testTests and evaluationsProcedure (any)CPT: 93660days -1825 to -1 (H)1.700041
px_sleep_studySleep studyTests and evaluationsProcedure (any)CPT: 95806, 95807, 95808, 95809, 95810, 95811, G0398, G0399, G0400days -1825 to -1 (H)0.556376
px_brain_mriBrain MRITests and evaluationsProcedure (any)CPT: 70551, 70552, 70553days -1825 to -1 (H)0.584632
px_echoEchocardiogramTests and evaluationsProcedure (any)CPT: 93303, 93304, 93305, 93306, 93307, 93308, 93312, 93313, 93314, 93315, 93316, 93317, 93318, 93350, 93351, 93352days -1825 to -1 (H)0.116374
px_cardiac_monitorHolter or event monitorTests and evaluationsProcedure (any)CPT: 93224, 93225, 93226, 93227, 93228, 93229, 93241, 93242, 93243, 93244, 93245, 93246, 93247, 93248, 93268, 93269, 93270, 93271, 93272days -1825 to -1 (H)0.26169
px_exercise_testExercise or cardiopulmonary exercise testTests and evaluationsProcedure (any)CPT: 94621, 93015, 93016, 93017, 93018days -1825 to -1 (H)0.027442
px_neuropsychNeuropsychological testingTests and evaluationsProcedure (any)CPT: 96132, 96133, 96136, 96137, 96138, 96139days -1825 to -1 (H)0.826992
px_pt_evalPhysical therapy evaluationTests and evaluationsProcedure (any)CPT: 97161, 97162, 97163days -1825 to -1 (H)0.123131
lab_tshThyroid (TSH) testLab tests orderedObservation (any)LOINC: 10516-3, 11033-8, 11579-0, 11580-8, 12932-0, 12933-8, 12934-6, 12935-3, 12936-1, 12937-9
88 more12938-7, 12939-5, 12940-3, 12941-1, 12942-9, 12943-7, 12944-5, 12945-2, 12946-0, 12947-8, 12948-6, 13869-3, 13871-9, 13897-4, 14255-4, 14919-5, 14997-1, 14998-9, 14999-7, 15000-3, 17786-5, 20452-9, 25789-9, 25990-3, 25991-1, 26998-5, 29316-7, 29317-5, 29574-1, 29575-8, 3015-5, 30151-5, 3016-3, 3018-9, 3019-7, 33258-5, 33259-3, 33260-1, 33261-9, 33269-2, 34054-7, 35134-6, 40397-2, 40398-0, 40399-8, 40400-4, 40401-2, 40673-6, 44935-5, 44936-3, 45173-2, 47947-7, 47948-5, 47949-3, 47950-1, 47951-9, 47952-7, 47953-5, 48077-2, 48700-9, 50533-9, 50534-7, 50535-4, 50536-2, 50537-0, 50538-8, 50539-6, 50540-4, 50541-2, 5384-3, 5385-0, 55362-8, 56594-5, 57416-0, 57854-2, 58833-5, 58834-3, 63363-6, 63364-4, 63365-1, 63366-9, 65360-0, 69561-9, 70096-3, 77623-7, 82659-4, 90801-2, 99078-8
days -1825 to -1 (H)0.397745
lab_ferritinFerritin testLab tests orderedObservation (any)LOINC: 14723-1, 14724-9, 20567-4, 2276-4, 24373-3, 48141-6, 53048-5, 74807-9, 86914-9days -1825 to -1 (H)0.662508
lab_b12Vitamin B12 testLab tests orderedObservation (any)LOINC: 1460-5, 14685-2, 14733-0, 15052-4, 16695-9, 16696-7, 1888-7, 2132-9, 2169-1, 2171-7
28 more2440-6, 26916-7, 3029-6, 3031-2, 3032-0, 30904-7, 30905-4, 30906-2, 32341-0, 33766-7, 4203-6, 49264-5, 54376-9, 54377-7, 54378-5, 55850-2, 55881-7, 55882-5, 55883-3, 55884-1, 55885-8, 59211-3, 72157-1, 72158-9, 72160-5, 96297-7, 96805-7, 96809-9
days -1825 to -1 (H)0.694428
lab_vitamin_dVitamin D testLab tests orderedObservation (any)LOINC: 14635-7, 1989-3, 46269-7, 49054-0, 55814-8, 57566-2, 57567-0, 57568-8, 57569-6, 62292-8
12 more68438-1, 72403-9, 72404-7, 72888-1, 83070-3, 83071-1, 86918-0, 94673-1, 94674-9, 95593-0, 95594-8, 95595-5
days -1825 to -1 (H)0.373015
lab_anaAntinuclear antibody (ANA) testLab tests orderedObservation (any)LOINC: 101221-0, 101231-9, 11088-2, 11089-0, 11090-8, 11565-9, 11571-7, 13066-6, 13067-4, 13068-2
267 more14030-1, 14235-6, 14240-6, 14607-6, 14608-4, 14609-2, 14610-0, 14611-8, 14612-6, 14613-4, 14614-2, 14615-9, 14616-7, 14722-3, 15398-1, 16139-8, 16392-3, 16393-1, 16394-9, 16824-5, 17031-6, 17032-4, 17341-9, 17380-7, 17532-3, 17533-1, 17535-6, 17536-4, 17569-5, 17583-6, 17584-4, 17586-9, 17587-7, 17589-3, 17590-1, 17591-9, 17592-7, 17791-5, 17792-3, 19137-9, 20398-4, 20399-2, 20400-8, 20401-6, 20432-1, 20435-4, 21260-5, 21423-9, 21522-8, 22296-8, 22297-6, 26023-2, 26703-9, 26880-5, 26975-3, 27048-8, 27200-5, 27416-7, 29374-6, 29948-7, 29949-5, 29953-7, 29954-5, 30138-2, 30342-0, 30556-5, 31372-6, 31535-8, 31540-8, 31541-6, 31542-4, 31543-2, 31544-0, 31562-2, 31563-0, 31627-3, 31628-1, 31693-5, 32041-6, 32715-5, 32716-3, 33253-6, 33460-7, 33566-1, 33567-9, 33568-7, 33569-5, 33570-3, 33600-8, 33635-4, 35278-1, 35333-4, 40655-3, 41025-8, 42212-1, 42213-9, 42214-7, 42254-3, 42498-6, 43100-7, 43119-7, 43182-5, 44083-4, 44751-6, 44752-4, 45142-7, 47074-0, 47383-5, 49309-8, 49310-6, 49311-4, 49738-8, 5047-6, 5048-4, 51749-0, 51928-0, 5234-0, 5235-7, 5275-3, 5276-1, 53002-2, 53006-3, 53007-1, 53008-9, 5301-7, 5302-5, 5348-8, 5349-6, 5351-2, 5352-0, 5353-8, 5354-6, 5355-3, 5356-1, 5357-9, 53983-3, 53984-1, 53985-8, 53986-6, 53987-4, 53988-2, 53989-0, 53990-8, 53991-6, 53992-4, 53993-2, 53994-0, 53997-3, 53998-1, 53999-9, 54000-5, 54005-4, 54006-2, 54149-0, 54154-0, 54155-7, 56148-0, 56693-5, 56721-4, 56723-0, 56724-8, 56725-5, 56730-5, 56731-3, 56733-9, 56977-2, 57010-1, 57431-9, 57448-3, 59069-5, 59390-5, 63238-0, 63239-8, 63265-3, 63266-1, 63267-9, 63294-3, 63295-0, 63296-8, 63297-6, 63305-7, 63306-5, 63307-3, 63308-1, 63317-2, 63318-0, 63319-8, 63334-7, 63335-4, 63336-2, 63337-0, 63338-8, 63345-3, 63346-1, 63347-9, 63348-7, 63349-5, 63350-3, 63351-1, 63352-9, 63353-7, 63354-5, 63388-3, 63389-1, 63390-9, 63391-7, 63393-3, 63394-1, 63398-2, 63399-0, 63400-6, 63401-4, 63402-2, 63403-0, 63404-8, 63405-5, 63406-3, 63536-7, 63540-9, 63542-5, 63545-8, 63546-6, 63547-4, 63569-8, 63570-6, 6822-1, 68369-8, 68370-6, 68371-4, 68372-2, 68373-0, 68374-8, 68375-5, 68376-3, 8061-4, 8076-2, 8088-7, 8091-1, 8092-9, 8093-7, 8094-5, 81728-8, 89501-1, 89502-9, 89526-8, 89527-6, 89529-2, 89531-8, 89533-4, 89535-9, 89536-7, 89537-5, 93712-8, 9399-7, 9423-5, 96919-6, 96920-4, 96921-2, 96922-0, 96923-8, 96924-6, 96925-3, 96926-1, 96927-9, 9722-0, 9839-2, 99069-7
days -1825 to -1 (H)0.945915
lab_crpC-reactive protein testLab tests orderedObservation (any)LOINC: 11039-5, 14634-0, 16503-5, 1988-5, 30522-7, 35648-5, 45062-7, 48421-2, 59182-6, 71426-1
3 more76485-2, 76486-0, 98987-1
days -1825 to -1 (H)0.96582
lab_esrSedimentation rate (ESR) testLab tests orderedObservation (any)LOINC: 18184-2, 30341-2, 43402-7, 4537-7, 4538-5, 4539-3, 82477-1days -1825 to -1 (H)1.010238
lab_ebvEpstein-Barr virus testLab tests orderedObservation (any)LOINC: 100677-4, 100678-2, 101817-5, 11009-8, 11010-6, 12212-7, 13236-5, 13237-3, 13238-1, 14083-0
135 more16823-7, 16824-5, 16825-2, 16826-0, 16827-8, 18427-5, 18428-3, 20432-1, 20490-9, 20491-7, 21260-5, 22290-1, 22291-9, 22292-7, 22293-5, 22294-3, 22295-0, 22296-8, 22297-6, 22298-4, 23858-4, 23970-7, 23971-5, 23972-3, 23994-7, 23995-4, 23996-2, 24007-7, 24114-1, 24115-8, 24316-2, 26705-4, 30083-0, 30136-6, 30137-4, 30138-2, 30339-6, 30340-4, 31369-2, 31370-0, 31371-8, 31372-6, 31373-4, 31374-2, 31375-9, 32585-2, 32828-6, 32829-4, 32830-2, 32843-5, 32844-3, 32845-0, 33395-5, 33479-7, 34593-4, 34639-5, 35397-9, 35398-7, 36923-1, 40750-2, 40751-0, 40752-8, 40753-6, 42497-8, 42498-6, 43730-1, 47064-1, 47066-6, 47068-2, 47072-4, 47432-0, 47433-8, 47434-6, 47435-3, 47436-1, 47437-9, 47982-4, 48723-1, 49069-8, 49178-7, 49352-8, 49353-6, 49354-4, 49355-1, 49356-9, 49564-8, 5002-1, 5003-9, 5004-7, 5005-4, 50969-5, 51454-7, 5153-2, 5154-0, 5155-7, 5156-5, 5157-3, 5158-1, 5159-9, 5160-7, 53774-6, 56598-6, 56599-4, 58760-0, 59183-4, 59805-2, 66493-8, 6814-8, 6815-5, 69949-6, 72206-6, 7882-4, 7883-2, 7884-0, 7885-7, 7886-5, 81119-0, 83095-0, 84871-3, 84872-1, 87554-2, 93711-0, 93712-8, 93713-6, 93714-4, 93840-7, 93841-5, 94102-1, 94827-3, 94828-1, 94829-9, 94830-7, 95138-4, 9633-9, 97993-0
days -1825 to -1 (H)0.613875
lab_lymeLyme disease testLab tests orderedObservation (any)LOINC: 100711-1, 101149-3, 101352-3, 101353-1, 101357-2, 101358-0, 101403-4, 103961-9, 10846-4, 10847-2
265 more11006-4, 11007-2, 11550-1, 11551-9, 12781-1, 12860-3, 12861-1, 12862-9, 12863-7, 12864-5, 12865-2, 12866-0, 12867-8, 12868-6, 12869-4, 12873-6, 12874-4, 12877-7, 12878-5, 12879-3, 12880-1, 12881-9, 12882-7, 12883-5, 12884-3, 12885-0, 12886-8, 12887-6, 12888-4, 12889-2, 12890-0, 12891-8, 12892-6, 12896-7, 13202-7, 13203-5, 13204-3, 13205-0, 13206-8, 13207-6, 13502-0, 13503-8, 14077-2, 14078-0, 16475-6, 16476-4, 16477-2, 16478-0, 16479-8, 16480-6, 16481-4, 16482-2, 18201-4, 18202-2, 18203-0, 19052-0, 20449-5, 21116-9, 21117-7, 21118-5, 21119-3, 21120-1, 22118-4, 22119-2, 22120-0, 22121-8, 22122-6, 22123-4, 22124-2, 22125-9, 22126-7, 22127-5, 22128-3, 22129-1, 22130-9, 22131-7, 22132-5, 22133-3, 22134-1, 22135-8, 22136-6, 22137-4, 23676-0, 23833-7, 23966-5, 23977-2, 23978-0, 23979-8, 23980-6, 23981-4, 23982-2, 23983-0, 23984-8, 23985-5, 26006-7, 27982-8, 27985-1, 27986-9, 27992-7, 28002-4, 28036-2, 28037-0, 28039-6, 28040-4, 28043-8, 28048-7, 28053-7, 28054-5, 28055-2, 28056-0, 28057-8, 28058-6, 28062-8, 29898-4, 29952-9, 30010-3, 30011-1, 30012-9, 30013-7, 30014-5, 30015-2, 30016-0, 30017-8, 30018-6, 30019-4, 30020-2, 30021-0, 30128-3, 30526-8, 31155-5, 31268-6, 31269-4, 31738-8, 32666-0, 32667-8, 32668-6, 32669-4, 33931-7, 33932-5, 34148-7, 34942-3, 34943-1, 35638-6, 38173-1, 38174-9, 40612-4, 41279-1, 42236-0, 42237-8, 42238-6, 42239-4, 42589-2, 42767-4, 43074-4, 43075-1, 43076-9, 43077-7, 43573-5, 43842-4, 44020-6, 44452-1, 44453-9, 44454-7, 44455-4, 44456-2, 44946-2, 44947-0, 44948-8, 44949-6, 45165-8, 45189-8, 46174-9, 46248-1, 47304-1, 48500-3, 48651-4, 4991-6, 49973-1, 49974-9, 49975-6, 49976-4, 49977-2, 49978-0, 49979-8, 49980-6, 49981-4, 49982-2, 49983-0, 49984-8, 49991-3, 49992-1, 49993-9, 49994-7, 49995-4, 49996-2, 49997-0, 49998-8, 5060-9, 5061-7, 5062-5, 5063-3, 5064-1, 5065-8, 51742-5, 51743-3, 51744-1, 51745-8, 51746-6, 51747-4, 53362-0, 53363-8, 53364-6, 53730-8, 55726-4, 57916-9, 60342-3, 60343-1, 62341-3, 62342-1, 6318-0, 6319-8, 6320-6, 6321-4, 6322-2, 67823-5, 67825-0, 7817-0, 7818-8, 79708-4, 79709-2, 83080-2, 83081-0, 87423-0, 87547-6, 90893-9, 94247-4, 94250-8, 94475-1, 94476-9, 94477-7, 9586-9, 9587-7, 9588-5, 9589-3, 9590-1, 9591-9, 9592-7, 9593-5, 9594-3, 9595-0, 9596-8, 9597-6, 9598-4, 9599-2, 96427-0, 96428-8, 96429-6, 96430-4, 96431-2, 96432-0, 98204-1, 98205-8, 98206-6, 98207-4, 98208-2
days -1825 to -1 (H)0.575929
lab_cortisolCortisol testLab tests orderedObservation (any)LOINC: 100662-6, 100799-6, 100800-2, 100801-0, 100802-8, 100803-6, 100998-4, 101315-0, 101316-8, 101319-2
578 more101586-6, 101977-7, 101979-3, 101980-1, 102023-9, 102024-7, 102025-4, 102026-2, 102027-0, 102028-8, 10332-5, 103647-4, 11040-3, 11155-9, 12557-5, 12558-3, 12559-1, 12560-9, 12561-7, 12562-5, 12563-3, 12564-1, 12565-8, 12566-6, 12567-4, 12568-2, 12569-0, 12570-8, 13480-9, 1356-5, 1357-3, 13600-2, 13601-0, 13602-8, 13611-9, 13872-7, 1389-6, 1390-4, 1391-2, 1392-0, 1393-8, 1394-6, 1395-3, 1396-1, 1397-9, 1398-7, 1399-5, 1400-1, 1401-9, 1402-7, 1403-5, 1404-3, 14043-4, 1406-8, 1407-6, 1408-4, 1409-2, 1410-0, 1411-8, 1412-6, 1413-4, 1414-2, 14148-1, 1415-9, 14158-0, 1416-7, 1417-5, 1418-3, 1419-1, 1421-7, 1422-5, 1423-3, 1424-1, 1425-8, 1426-6, 1427-4, 1428-2, 1429-0, 1430-8, 1431-6, 1432-4, 1433-2, 1434-0, 1435-7, 1436-5, 1437-3, 1438-1, 1439-9, 1440-7, 1441-5, 1442-3, 1443-1, 1444-9, 1445-6, 1446-4, 1447-2, 1448-0, 1449-8, 1450-6, 1451-4, 14567-2, 14675-3, 14676-1, 14677-9, 14678-7, 14679-5, 15043-3, 15044-1, 16295-8, 1657-6, 16667-8, 16668-6, 16669-4, 16670-2, 16671-0, 16672-8, 16673-6, 16674-4, 16675-1, 18351-7, 18365-7, 20622-7, 20995-7, 21034-4, 21035-1, 21039-3, 21044-3, 21222-5, 21223-3, 21224-1, 21225-8, 21226-6, 2142-8, 2143-6, 2144-4, 2145-1, 2147-7, 24389-9, 24390-7, 24391-5, 24392-3, 24393-1, 24394-9, 24395-6, 25315-3, 25618-0, 25619-8, 25621-4, 25622-2, 25623-0, 25624-8, 25625-5, 25626-3, 25627-1, 25628-9, 25882-2, 25883-0, 25884-8, 25885-5, 26525-6, 26526-4, 26527-2, 26528-0, 26529-8, 26530-6, 26531-4, 26532-2, 26533-0, 26534-8, 26535-5, 26536-3, 26828-4, 27199-9, 28045-3, 28046-1, 28550-2, 29358-9, 29363-9, 2995-9, 2996-7, 30171-3, 30172-1, 30173-9, 32009-3, 32310-5, 32311-3, 32312-1, 32313-9, 32314-7, 32315-4, 33257-7, 33346-8, 34065-3, 34204-8, 34205-5, 34206-3, 34476-2, 34909-2, 38551-8, 40274-3, 40275-0, 40310-5, 40311-3, 40312-1, 40313-9, 40314-7, 40315-4, 40316-2, 40317-0, 40809-6, 40810-4, 40928-4, 41289-0, 41407-8, 42572-8, 43126-2, 43215-3, 43217-9, 44309-3, 44310-1, 44412-5, 44864-7, 44916-5, 44917-3, 45047-8, 45048-6, 45049-4, 45050-2, 45051-0, 45184-9, 45296-1, 46397-6, 46398-4, 46399-2, 46403-2, 46416-4, 47604-4, 47605-1, 47606-9, 47607-7, 47608-5, 47609-3, 47844-6, 47845-3, 47846-1, 47847-9, 47848-7, 47849-5, 47850-3, 47851-1, 48098-8, 48099-6, 48100-2, 48101-0, 48102-8, 48103-6, 48104-4, 48105-1, 49029-2, 49324-7, 49968-1, 49969-9, 50071-0, 50072-8, 50073-6, 50074-4, 50075-1, 50093-4, 50094-2, 50095-9, 50096-7, 50097-5, 50250-0, 50336-7, 50415-9, 50416-7, 50421-7, 50422-5, 50423-3, 50424-1, 50429-0, 50430-8, 50431-6, 50432-4, 50433-2, 50434-0, 50441-5, 50442-3, 50453-0, 50454-8, 50455-5, 50456-3, 50457-1, 50458-9, 50459-7, 50460-5, 50645-1, 50716-0, 50717-8, 50718-6, 50719-4, 50720-2, 50721-0, 50752-5, 50848-1, 51424-0, 51488-5, 51489-3, 51490-1, 51491-9, 51492-7, 51493-5, 51494-3, 51495-0, 51844-9, 53336-4, 53337-2, 53338-0, 53339-8, 53341-4, 53342-2, 53345-5, 53346-3, 54211-8, 54212-6, 54213-4, 54214-2, 54215-9, 54235-7, 54236-5, 55138-2, 55348-7, 55467-5, 55468-3, 55472-5, 55473-3, 55809-8, 55810-6, 55811-4, 55812-2, 55822-1, 55823-9, 55826-2, 55844-5, 55845-2, 56517-6, 56518-4, 56519-2, 56520-0, 56521-8, 56585-3, 57002-8, 57463-2, 57464-0, 57465-7, 57466-5, 57494-7, 57495-4, 57496-2, 57497-0, 57498-8, 57499-6, 57500-1, 57501-9, 57502-7, 57503-5, 57504-3, 57505-0, 57506-8, 57507-6, 57557-1, 57558-9, 57559-7, 57563-9, 57564-7, 57565-4, 57597-7, 57598-5, 57599-3, 57600-9, 57601-7, 57602-5, 57603-3, 57604-1, 57613-2, 57614-0, 57615-7, 57616-5, 57617-3, 57618-1, 57619-9, 57620-7, 57672-8, 57684-3, 57685-0, 57686-8, 57687-6, 57688-4, 57689-2, 57690-0, 57691-8, 57692-6, 57693-4, 57694-2, 57695-9, 57824-5, 57825-2, 58631-3, 58632-1, 58633-9, 58634-7, 58635-4, 58636-2, 58637-0, 58638-8, 58639-6, 58640-4, 58641-2, 58642-0, 58643-8, 58644-6, 58645-3, 58646-1, 58647-9, 58648-7, 58649-5, 58650-3, 58651-1, 58652-9, 58653-7, 58654-5, 58655-2, 58656-0, 58657-8, 58658-6, 58659-4, 58660-2, 58661-0, 58662-8, 58663-6, 58664-4, 58665-1, 58666-9, 58667-7, 58668-5, 58669-3, 58670-1, 58671-9, 58672-7, 58673-5, 58674-3, 58675-0, 58676-8, 58677-6, 58678-4, 58679-2, 58680-0, 58688-3, 58689-1, 58690-9, 58691-7, 58692-5, 58693-3, 58694-1, 58695-8, 58696-6, 58697-4, 58698-2, 58819-4, 58820-2, 58821-0, 58822-8, 58823-6, 58824-4, 58825-1, 58826-9, 58827-7, 58828-5, 58829-3, 58830-1, 58908-5, 58909-3, 58910-1, 58985-3, 59153-7, 59273-3, 59803-7, 59804-5, 60013-0, 60680-6, 60681-4, 65364-2, 68315-1, 6869-2, 71805-6, 72392-4, 73841-9, 73842-7, 73843-5, 73862-5, 73863-3, 73864-1, 73890-6, 73891-4, 73892-2, 74872-3, 75516-5, 76347-4, 76352-4, 77607-0, 77925-6, 77926-4, 77927-2, 77928-0, 77929-8, 77930-6, 77931-4, 77932-2, 77933-0, 77934-8, 77935-5, 77936-3, 77937-1, 78047-8, 78988-3, 81793-2, 81794-0, 81804-7, 82848-3, 82849-1, 82850-9, 82851-7, 82854-1, 82855-8, 82856-6, 82857-4, 82861-6, 82862-4, 82878-0, 82879-8, 82894-7, 82895-4, 82896-2, 82897-0, 82898-8, 82899-6, 82900-2, 82901-0, 82908-5, 82909-3, 83088-5, 83089-3, 83090-1, 83091-9, 87429-7, 93480-2, 93481-0, 93482-8, 93483-6, 93484-4, 93773-0, 94873-7, 95578-1, 95579-9, 95580-7, 95581-5, 95582-3, 9612-3, 9613-1, 9614-9, 9615-6, 96424-7, 96425-4, 96798-4, 96801-6, 97765-2, 9812-9, 9813-7
days -1825 to -1 (H)1.168388
lab_ckCreatine kinase testLab tests orderedObservation (any)LOINC: 101446-3, 12187-1, 12189-7, 13969-1, 14680-3, 15048-2, 15049-0, 16688-4, 20569-0, 2151-9
35 more2152-7, 2153-5, 2154-3, 2155-0, 2156-8, 2157-6, 2158-4, 24335-2, 26019-0, 26020-8, 32673-6, 33547-1, 34160-2, 38482-6, 49129-0, 49136-5, 49258-7, 49259-5, 49551-5, 50756-6, 50757-4, 51505-6, 51506-4, 51507-2, 53433-9, 5912-1, 59149-5, 72561-4, 72562-2, 72563-0, 72564-8, 72565-5, 83092-7, 9642-0, 9643-8
days -1825 to -1 (H)0.874456
rx_stimulantStimulant or wakefulness drugMedicationsMedicationRequest (any)RxNorm ingredients: modafinil, armodafinil, methylphenidate, amphetamine, dextroamphetamine, lisdexamfetamine (788 RxCUIs listed in the model file)days -1825 to -1 (H)1.626329
rx_naltrexoneNaltrexoneMedicationsMedicationRequest (any)RxNorm ingredients: naltrexone (114 RxCUIs listed in the model file)days -1825 to -1 (H)1.171087
rx_ssri_snriSSRI or SNRI antidepressantMedicationsMedicationRequest (any)RxNorm ingredients: sertraline, fluoxetine, citalopram, escitalopram, paroxetine, venlafaxine, duloxetine, desvenlafaxine (490 RxCUIs listed in the model file)days -1825 to -1 (H)1.26461
rx_tricyclic_lowdoseAmitriptyline, nortriptyline, or cyclobenzaprineMedicationsMedicationRequest (any)RxNorm ingredients: amitriptyline, nortriptyline, cyclobenzaprine (295 RxCUIs listed in the model file)days -1825 to -1 (H)1.094156
rx_gabapentinoidGabapentin or pregabalinMedicationsMedicationRequest (any)RxNorm ingredients: gabapentin, pregabalin (162 RxCUIs listed in the model file)days -1825 to -1 (H)1.149882
rx_sleep_aidSleep medicationMedicationsMedicationRequest (any)RxNorm ingredients: zolpidem, trazodone, eszopiclone (169 RxCUIs listed in the model file)days -1825 to -1 (H)0.925638
rx_beta_blockerBeta blockerMedicationsMedicationRequest (any)RxNorm ingredients: propranolol, metoprolol, atenolol, bisoprolol, nadolol, carvedilol (787 RxCUIs listed in the model file)days -1825 to -1 (H)0.636441
rx_potsPOTS medicationMedicationsMedicationRequest (any)RxNorm ingredients: ivabradine, midodrine, fludrocortisone, pyridostigmine (122 RxCUIs listed in the model file)days -1825 to -1 (H)1.766644
rx_opioidOpioidMedicationsMedicationRequest (any)RxNorm ingredients: oxycodone, hydrocodone, tramadol, morphine (3607 RxCUIs listed in the model file)days -1825 to -1 (H)0.714435
util_out_r_ge66+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 6 Encounters)days -365 to -1 (R)0.365597
util_out_r_ge1212+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 12 Encounters)days -365 to -1 (R)0.46548
util_ed_rEmergency visit in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class EMER (at least 1 Encounter)days -365 to -1 (R)0.71396
util_ip_hHospital stay in the past 5 yearsHealth care useEncounter (encounter_count_ge)Encounter.class IMP (at least 1 Encounter)days -1825 to -1 (H)0.349585

Score, calibration, and risk bands

score = -9.410605 + Σ weight × value. The probability is the piecewise-linear interpolation of the score over the calibration points below, clamped at the ends. The band is the first band whose upper limit is at or above the probability. "Times the average" is the probability divided by the cohort base rate in the model file, reference.cohort_base_rate = 0.05148 (about 5.1%).

Calibration points come from a logistic on binned training-split counts (a = -2.743357, b = 0.164731).

BandProbability up toTimes the average
Typical7.72%1.50
Elevated15.4%3.00
High100%above 3.00
ScoreProbability
-12.86760.77%
-11.06881.03%
-9.271.38%
-7.47121.85%
-5.67242.47%
-3.87363.29%
-2.07474.37%
-0.27595.79%
1.52297.64%
3.321710.0%
5.120513.0%
6.919316.7%
8.718121.3%
10.516926.7%
12.315732.9%
14.114539.7%
15.913347.0%
17.712154.3%
19.510961.6%
21.309868.3%
23.108674.3%
24.907479.6%
26.706284.0%
28.50587.6%
30.303890.5%

Validation and provenance

Validation splitValue
AUROC: Self-reported diagnosis0.74 (95% CI, 0.73 to 0.76)
AUROC: Self-reported diagnosis with no code observed after the survey0.74 (95% CI, 0.72 to 0.75)

Measured inside the All of Us Researcher Workbench in a random 20% validation split of the training cohort, for the summary-count score built from the same released counts as this file. 95% confidence intervals are from 200 bootstrap resamples of the validation split. Validation was on one cohort; the model has not been validated at other health systems. Details are in Paper 3.

Intended use and limitations

Follow-up questions for the patient

DePaul Symptom Questionnaire, post-exertional malaise (DSQ-PEM)

"For each symptom below, please circle one number for frequency and one number for severity."

  1. Dead, heavy feeling after starting to exercise
  2. Next day soreness or fatigue after non-strenuous, everyday activities
  3. Mentally tired after the slightest effort
  4. Minimum exercise makes you physically tired
  5. Physically drained or sick after mild activity

Screen rule: screen positive if, on at least one of items 1–5, frequency is 2 or higher and severity is 2 or higher.

Optional context item for the clinician, not part of the rule: "If you feel worse after activities, how long does this last?" < 1 h, 2–3 h, 4–10 h, 11–13 h, 14–23 h, ≥ 24 h.

Attribution: "DePaul Symptom Questionnaire PEM items (Cotler et al., Diagnostics 2018), CC BY 4.0." Do not reword, reorder, or rescale the items.

Clinician checklist: IOM 2015 ME/CFS criteria

Diagnosis requires all of the following (Institute of Medicine, Beyond Myalgic Encephalomyelitis/Chronic Fatigue Syndrome, 2015):

The checklist is shown to the clinician and is not scored by the app.

Next steps shown to clinicians

  1. Review the dated chart findings behind the score.
  2. Ask the patient to complete the DePaul post-exertional malaise screen above.
  3. Walk through the IOM 2015 criteria checklist above with the patient; the checklist records the clinician's judgment and is not scored by the app.

Sources: the IOM 2015 report and the DePaul screen (citations above).

Test patients and expected results

Synthetic FHIR R4 bundles in model/test_vectors/bundles/, scored as of 2024-06-01. Expected outputs are in model/test_vectors/expected/unm-chronicfatigue-1.0.0/; this generator reran the reference scorer on every bundle and they match. The JavaScript scorer must reproduce them to 1e-9.

PatientScenarioExpected resultTop drivers
Mariabuilt for the Long COVID cardTypical, 5.42% (1.05 times the average)C-reactive protein test; Female; Cognitive symptoms (brain fog, memory)
Jamesbuilt for the Long COVID cardTypical, 1.51% (0.29 times the average)Age 40-49; COVID-19
Rosabuilt for the Long COVID cardTypical, 2.04% (0.40 times the average)Long COVID; Female; Age 50-59
Leebuilt for the Long COVID cardTypical, 1.47% (0.29 times the average)Age 18-39
Norabuilt for the Long COVID cardTypical, 1.73% (0.34 times the average)Female; Age 18-39; COVID-19
Danabuilt for the Lyme cardTypical, 1.71% (0.33 times the average)Female; Age 50-59; Muscle or joint pain
Elenalong fatigue work-up, never coded: should score highHigh, 16.9% (3.29 times the average)Five or more symptom types; POTS medication; Tilt-table test
Omarroutine care: should score typicalTypical, 1.47% (0.28 times the average)Age 40-49; Hypertension
Gracealready coded: not scorednot scored: a chronic fatigue or ME/CFS diagnosis is already recorded
Sofiabuilt for the Fibromyalgia cardHigh, 16.7% (3.24 times the average)Five or more symptom types; SSRI or SNRI antidepressant; Gabapentin or pregabalin
Priyabuilt for the Long COVID cardTypical, 2.69% (0.52 times the average)Long COVID; Female; Fatigue or malaise coded in the past year
Sambuilt for the Long COVID cardTypical, 1.82% (0.35 times the average)Fatigue or malaise coded in the past year; Fatigue or malaise coded; Age 50-59
Theobuilt for the Long COVID cardTypical, 2.29% (0.44 times the average)Long COVID; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Yarabuilt for the Long COVID cardTypical, 2.19% (0.42 times the average)Female; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Verabuilt for the Long COVID cardTypical, 1.87% (0.36 times the average)Female; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Willbuilt for the Long COVID cardTypical, 1.51% (0.29 times the average)Age 40-49; COVID-19
Umano birth date: not scored by any modelnot scored: birth date missing or unusable (age is required)
Kai16 at the COVID-19 index, 17 on the scoring date: not scored by any modelnot scored: under 18 on the scoring date (the model covers adults)

Fibromyalgia (unm-fibromyalgia 1.0.0)

Model file model/fibromyalgia.json, status "research". Research decision support. Surfaces chart patterns for clinician review. Not a diagnosis.

Download fibromyalgia.json

What it predicts and for whom

Card wording, from the CDS Hooks service (web/functions/cds-services/_cds.js): "Chart pattern similar to patients who report a fibromyalgia diagnosis that was never coded." The number is shown as "N times the average for adults with a visit in the past year" and as the "Probability that the patient reports a fibromyalgia diagnosis". It is a prompt to ask the patient, not a diagnosis.

When it does not score

  1. No usable birth date: "birth date missing or unusable (age is required)".
  2. Under 18 on day 0 (age is days / 365.25, as in training): "under 18 on the scoring date (the model covers adults)".
  3. A Condition coded ICD-10-CM M79.7 is dated on or before day 0, or has no usable date: "a fibromyalgia diagnosis is already recorded".
  4. No AMB, EMER, or IMP encounter in days -365 to -1 (R): "no encounters in the past year (insufficient history)".

ICD-10-CM codes match by prefix with dots removed, so a listed code also matches its subcodes. In each case the app says why it did not score. Every rule reads only records dated on or before the scoring date; Conditions whose verificationStatus is refuted or entered-in-error, and records whose status is entered-in-error, are ignored. If a FHIR search the model needs failed or was forbidden, the result is "could not score: <resource> unavailable" instead of a score (interface spec, section 4c).

Windows

WindowDays relative to day 0
H-1825 to -1
R-365 to -1

Features (80, of which 80 carry a weight)

Each feature is 0 or 1. Features that differ only in threshold (for example 2+ and 3+ of the same thing) show as one driver carrying the summed weight. ICD-10-CM codes are shown with dots for reading; the model file stores feature codes without dots.

FeatureLabelGroupSource (kind)CodesWindowWeight
age_18_39Age 18-39DemographicsPatient (age_band)Patient.birthDate: age 18 to 39 on day 0on day 0-0.252785
age_40_49Age 40-49DemographicsPatient (age_band)Patient.birthDate: age 40 to 49 on day 0on day 00.442721
age_50_59Age 50-59DemographicsPatient (age_band)Patient.birthDate: age 50 to 59 on day 0on day 00.404008
age_60_69Age 60-69DemographicsPatient (age_band)Patient.birthDate: age 60 to 69 on day 0on day 0-0.022255
age_70pAge 70 or olderDemographicsPatient (age_band)Patient.birthDate: age 70 and older on day 0on day 0-0.532782
sex_femaleFemaleDemographicsPatient (sex)Patient.gender = femaleon day 01.418259
cx_fatigue_otherFatigue or malaise codedConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -1825 to -1 (H)0.060234
cx_fatigue_recentFatigue or malaise coded in the past yearConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -365 to -1 (R)0.224383
cx_sleepSleep disturbanceConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.0, G47.1, G47.8, G47.9, F51days -1825 to -1 (H)0.171624
cx_sleep_apneaSleep apneaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.33days -1825 to -1 (H)0.081631
cx_cognitiveCognitive symptoms (brain fog, memory)Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R41, G31.84days -1825 to -1 (H)0.326286
cx_autonomicPalpitations, POTS, orthostatic hypotension, or dysautonomiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9days -1825 to -1 (H)0.142701
cx_dizzy_syncopeDizziness or faintingConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R42, R55days -1825 to -1 (H)0.063471
cx_headacheHeadacheConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R51, G44days -1825 to -1 (H)0.331228
cx_migraineMigraineConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G43days -1825 to -1 (H)0.500329
cx_myalgia_arthralgiaMuscle or joint painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.1, M25.5, M79.6days -1825 to -1 (H)-0.13902
cx_chronic_painChronic painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G89days -1825 to -1 (H)0.314535
cx_depressionDepressionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F32, F33days -1825 to -1 (H)0.27067
cx_anxietyAnxietyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F41days -1825 to -1 (H)0.175487
cx_ptsdPosttraumatic stress disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F43.1days -1825 to -1 (H)0.603062
cx_ibs_giIrritable bowel or gastrointestinal symptomsConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: K58, R10, R11, R14, R19days -1825 to -1 (H)0.057334
cx_sore_throat_nodesSore throat or enlarged lymph nodesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: J02, R59days -1825 to -1 (H)-0.205929
cx_feverFeverConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R50days -1825 to -1 (H)0.045511
cx_lymeLyme diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: A69.2days -1825 to -1 (H)0.144907
cx_covidCOVID-19Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U07.1days -1825 to -1 (H)-0.148889
cx_long_covidLong COVIDConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U09.9days -1825 to -1 (H)0.829315
cx_eds_hypermobilityEhlers-Danlos syndrome or hypermobilityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Q79.6, M35.7days -1825 to -1 (H)1.518964
cx_hypothyroidHypothyroidismConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E03days -1825 to -1 (H)0.123162
cx_anemiaAnemiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D50, D51, D52, D53, D63, D64days -1825 to -1 (H)-0.148498
cx_vitd_deficiencyVitamin D deficiencyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E55days -1825 to -1 (H)-0.144336
cx_autoimmuneAutoimmune or demyelinating diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M05, M06, M32, M35, L40, K50, K51, M45, G35days -1825 to -1 (H)0.666699
cx_obesityObesityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E66, Z68.3, Z68.4days -1825 to -1 (H)-0.004027
cx_diabetesDiabetesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E10, E11days -1825 to -1 (H)-0.06933
cx_hypertensionHypertensionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I10days -1825 to -1 (H)-0.29179
cx_heart_diseaseCoronary disease or heart failureConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I25, I50days -1825 to -1 (H)-0.177444
cx_cancerCancerConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Cdays -1825 to -1 (H)-0.519467
cx_cfsChronic fatigue or ME/CFSConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G93.3, R53.82days -1825 to -1 (H)0.615446
cx_tmjTemporomandibular joint disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M26.6days -1825 to -1 (H)0.591086
cx_rlsRestless legs syndromeConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G25.81days -1825 to -1 (H)0.551027
cx_interstitial_cystitisInterstitial cystitis or bladder painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: N30.1days -1825 to -1 (H)0.887849
cx_osteoarthritisOsteoarthritisConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M15, M16, M17, M18, M19days -1825 to -1 (H)-0.01737
cx_neck_back_painNeck or low back painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M54.2, M54.5days -1825 to -1 (H)0.223033
clusters_ge3Three or more symptom typesSymptom patternCondition (cluster_count_ge)at least 3 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83, G93.3, R53.82
sleep: G47.0, G47.1, G47.8, G47.9, F51, G25.81
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, M26.6, M54.2, M54.5
mood: F32, F33, F41
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
days -1825 to -10.120593
clusters_ge5Five or more symptom typesSymptom patternCondition (cluster_count_ge)at least 5 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83, G93.3, R53.82
sleep: G47.0, G47.1, G47.8, G47.9, F51, G25.81
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, M26.6, M54.2, M54.5
mood: F32, F33, F41
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
days -1825 to -10.44464
px_sleep_studySleep studyTests and evaluationsProcedure (any)CPT: 95806, 95807, 95808, 95809, 95810, 95811, G0398, G0399, G0400days -1825 to -1 (H)0.209498
px_brain_mriBrain MRITests and evaluationsProcedure (any)CPT: 70551, 70552, 70553days -1825 to -1 (H)0.158937
px_echoEchocardiogramTests and evaluationsProcedure (any)CPT: 93303, 93304, 93305, 93306, 93307, 93308, 93312, 93313, 93314, 93315, 93316, 93317, 93318, 93350, 93351, 93352days -1825 to -1 (H)-0.10988
px_cardiac_monitorHolter or event monitorTests and evaluationsProcedure (any)CPT: 93224, 93225, 93226, 93227, 93228, 93229, 93241, 93242, 93243, 93244, 93245, 93246, 93247, 93248, 93268, 93269, 93270, 93271, 93272days -1825 to -1 (H)0.006251
px_exercise_testExercise or cardiopulmonary exercise testTests and evaluationsProcedure (any)CPT: 94621, 93015, 93016, 93017, 93018days -1825 to -1 (H)-0.049903
px_neuropsychNeuropsychological testingTests and evaluationsProcedure (any)CPT: 96132, 96133, 96136, 96137, 96138, 96139days -1825 to -1 (H)0.602407
px_pt_evalPhysical therapy evaluationTests and evaluationsProcedure (any)CPT: 97161, 97162, 97163days -1825 to -1 (H)0.014746
lab_tshThyroid (TSH) testLab tests orderedObservation (any)LOINC: 10516-3, 11033-8, 11579-0, 11580-8, 12932-0, 12933-8, 12934-6, 12935-3, 12936-1, 12937-9
88 more12938-7, 12939-5, 12940-3, 12941-1, 12942-9, 12943-7, 12944-5, 12945-2, 12946-0, 12947-8, 12948-6, 13869-3, 13871-9, 13897-4, 14255-4, 14919-5, 14997-1, 14998-9, 14999-7, 15000-3, 17786-5, 20452-9, 25789-9, 25990-3, 25991-1, 26998-5, 29316-7, 29317-5, 29574-1, 29575-8, 3015-5, 30151-5, 3016-3, 3018-9, 3019-7, 33258-5, 33259-3, 33260-1, 33261-9, 33269-2, 34054-7, 35134-6, 40397-2, 40398-0, 40399-8, 40400-4, 40401-2, 40673-6, 44935-5, 44936-3, 45173-2, 47947-7, 47948-5, 47949-3, 47950-1, 47951-9, 47952-7, 47953-5, 48077-2, 48700-9, 50533-9, 50534-7, 50535-4, 50536-2, 50537-0, 50538-8, 50539-6, 50540-4, 50541-2, 5384-3, 5385-0, 55362-8, 56594-5, 57416-0, 57854-2, 58833-5, 58834-3, 63363-6, 63364-4, 63365-1, 63366-9, 65360-0, 69561-9, 70096-3, 77623-7, 82659-4, 90801-2, 99078-8
days -1825 to -1 (H)0.097727
lab_ferritinFerritin testLab tests orderedObservation (any)LOINC: 14723-1, 14724-9, 20567-4, 2276-4, 24373-3, 48141-6, 53048-5, 74807-9, 86914-9days -1825 to -1 (H)0.394368
lab_b12Vitamin B12 testLab tests orderedObservation (any)LOINC: 1460-5, 14685-2, 14733-0, 15052-4, 16695-9, 16696-7, 1888-7, 2132-9, 2169-1, 2171-7
28 more2440-6, 26916-7, 3029-6, 3031-2, 3032-0, 30904-7, 30905-4, 30906-2, 32341-0, 33766-7, 4203-6, 49264-5, 54376-9, 54377-7, 54378-5, 55850-2, 55881-7, 55882-5, 55883-3, 55884-1, 55885-8, 59211-3, 72157-1, 72158-9, 72160-5, 96297-7, 96805-7, 96809-9
days -1825 to -1 (H)0.463123
lab_vitamin_dVitamin D testLab tests orderedObservation (any)LOINC: 14635-7, 1989-3, 46269-7, 49054-0, 55814-8, 57566-2, 57567-0, 57568-8, 57569-6, 62292-8
12 more68438-1, 72403-9, 72404-7, 72888-1, 83070-3, 83071-1, 86918-0, 94673-1, 94674-9, 95593-0, 95594-8, 95595-5
days -1825 to -1 (H)0.17151
lab_anaAntinuclear antibody (ANA) testLab tests orderedObservation (any)LOINC: 101221-0, 101231-9, 11088-2, 11089-0, 11090-8, 11565-9, 11571-7, 13066-6, 13067-4, 13068-2
267 more14030-1, 14235-6, 14240-6, 14607-6, 14608-4, 14609-2, 14610-0, 14611-8, 14612-6, 14613-4, 14614-2, 14615-9, 14616-7, 14722-3, 15398-1, 16139-8, 16392-3, 16393-1, 16394-9, 16824-5, 17031-6, 17032-4, 17341-9, 17380-7, 17532-3, 17533-1, 17535-6, 17536-4, 17569-5, 17583-6, 17584-4, 17586-9, 17587-7, 17589-3, 17590-1, 17591-9, 17592-7, 17791-5, 17792-3, 19137-9, 20398-4, 20399-2, 20400-8, 20401-6, 20432-1, 20435-4, 21260-5, 21423-9, 21522-8, 22296-8, 22297-6, 26023-2, 26703-9, 26880-5, 26975-3, 27048-8, 27200-5, 27416-7, 29374-6, 29948-7, 29949-5, 29953-7, 29954-5, 30138-2, 30342-0, 30556-5, 31372-6, 31535-8, 31540-8, 31541-6, 31542-4, 31543-2, 31544-0, 31562-2, 31563-0, 31627-3, 31628-1, 31693-5, 32041-6, 32715-5, 32716-3, 33253-6, 33460-7, 33566-1, 33567-9, 33568-7, 33569-5, 33570-3, 33600-8, 33635-4, 35278-1, 35333-4, 40655-3, 41025-8, 42212-1, 42213-9, 42214-7, 42254-3, 42498-6, 43100-7, 43119-7, 43182-5, 44083-4, 44751-6, 44752-4, 45142-7, 47074-0, 47383-5, 49309-8, 49310-6, 49311-4, 49738-8, 5047-6, 5048-4, 51749-0, 51928-0, 5234-0, 5235-7, 5275-3, 5276-1, 53002-2, 53006-3, 53007-1, 53008-9, 5301-7, 5302-5, 5348-8, 5349-6, 5351-2, 5352-0, 5353-8, 5354-6, 5355-3, 5356-1, 5357-9, 53983-3, 53984-1, 53985-8, 53986-6, 53987-4, 53988-2, 53989-0, 53990-8, 53991-6, 53992-4, 53993-2, 53994-0, 53997-3, 53998-1, 53999-9, 54000-5, 54005-4, 54006-2, 54149-0, 54154-0, 54155-7, 56148-0, 56693-5, 56721-4, 56723-0, 56724-8, 56725-5, 56730-5, 56731-3, 56733-9, 56977-2, 57010-1, 57431-9, 57448-3, 59069-5, 59390-5, 63238-0, 63239-8, 63265-3, 63266-1, 63267-9, 63294-3, 63295-0, 63296-8, 63297-6, 63305-7, 63306-5, 63307-3, 63308-1, 63317-2, 63318-0, 63319-8, 63334-7, 63335-4, 63336-2, 63337-0, 63338-8, 63345-3, 63346-1, 63347-9, 63348-7, 63349-5, 63350-3, 63351-1, 63352-9, 63353-7, 63354-5, 63388-3, 63389-1, 63390-9, 63391-7, 63393-3, 63394-1, 63398-2, 63399-0, 63400-6, 63401-4, 63402-2, 63403-0, 63404-8, 63405-5, 63406-3, 63536-7, 63540-9, 63542-5, 63545-8, 63546-6, 63547-4, 63569-8, 63570-6, 6822-1, 68369-8, 68370-6, 68371-4, 68372-2, 68373-0, 68374-8, 68375-5, 68376-3, 8061-4, 8076-2, 8088-7, 8091-1, 8092-9, 8093-7, 8094-5, 81728-8, 89501-1, 89502-9, 89526-8, 89527-6, 89529-2, 89531-8, 89533-4, 89535-9, 89536-7, 89537-5, 93712-8, 9399-7, 9423-5, 96919-6, 96920-4, 96921-2, 96922-0, 96923-8, 96924-6, 96925-3, 96926-1, 96927-9, 9722-0, 9839-2, 99069-7
days -1825 to -1 (H)0.763016
lab_crpC-reactive protein testLab tests orderedObservation (any)LOINC: 11039-5, 14634-0, 16503-5, 1988-5, 30522-7, 35648-5, 45062-7, 48421-2, 59182-6, 71426-1
3 more76485-2, 76486-0, 98987-1
days -1825 to -1 (H)0.872717
lab_esrSedimentation rate (ESR) testLab tests orderedObservation (any)LOINC: 18184-2, 30341-2, 43402-7, 4537-7, 4538-5, 4539-3, 82477-1days -1825 to -1 (H)0.856091
lab_ebvEpstein-Barr virus testLab tests orderedObservation (any)LOINC: 100677-4, 100678-2, 101817-5, 11009-8, 11010-6, 12212-7, 13236-5, 13237-3, 13238-1, 14083-0
135 more16823-7, 16824-5, 16825-2, 16826-0, 16827-8, 18427-5, 18428-3, 20432-1, 20490-9, 20491-7, 21260-5, 22290-1, 22291-9, 22292-7, 22293-5, 22294-3, 22295-0, 22296-8, 22297-6, 22298-4, 23858-4, 23970-7, 23971-5, 23972-3, 23994-7, 23995-4, 23996-2, 24007-7, 24114-1, 24115-8, 24316-2, 26705-4, 30083-0, 30136-6, 30137-4, 30138-2, 30339-6, 30340-4, 31369-2, 31370-0, 31371-8, 31372-6, 31373-4, 31374-2, 31375-9, 32585-2, 32828-6, 32829-4, 32830-2, 32843-5, 32844-3, 32845-0, 33395-5, 33479-7, 34593-4, 34639-5, 35397-9, 35398-7, 36923-1, 40750-2, 40751-0, 40752-8, 40753-6, 42497-8, 42498-6, 43730-1, 47064-1, 47066-6, 47068-2, 47072-4, 47432-0, 47433-8, 47434-6, 47435-3, 47436-1, 47437-9, 47982-4, 48723-1, 49069-8, 49178-7, 49352-8, 49353-6, 49354-4, 49355-1, 49356-9, 49564-8, 5002-1, 5003-9, 5004-7, 5005-4, 50969-5, 51454-7, 5153-2, 5154-0, 5155-7, 5156-5, 5157-3, 5158-1, 5159-9, 5160-7, 53774-6, 56598-6, 56599-4, 58760-0, 59183-4, 59805-2, 66493-8, 6814-8, 6815-5, 69949-6, 72206-6, 7882-4, 7883-2, 7884-0, 7885-7, 7886-5, 81119-0, 83095-0, 84871-3, 84872-1, 87554-2, 93711-0, 93712-8, 93713-6, 93714-4, 93840-7, 93841-5, 94102-1, 94827-3, 94828-1, 94829-9, 94830-7, 95138-4, 9633-9, 97993-0
days -1825 to -1 (H)0.12271
lab_lymeLyme disease testLab tests orderedObservation (any)LOINC: 100711-1, 101149-3, 101352-3, 101353-1, 101357-2, 101358-0, 101403-4, 103961-9, 10846-4, 10847-2
265 more11006-4, 11007-2, 11550-1, 11551-9, 12781-1, 12860-3, 12861-1, 12862-9, 12863-7, 12864-5, 12865-2, 12866-0, 12867-8, 12868-6, 12869-4, 12873-6, 12874-4, 12877-7, 12878-5, 12879-3, 12880-1, 12881-9, 12882-7, 12883-5, 12884-3, 12885-0, 12886-8, 12887-6, 12888-4, 12889-2, 12890-0, 12891-8, 12892-6, 12896-7, 13202-7, 13203-5, 13204-3, 13205-0, 13206-8, 13207-6, 13502-0, 13503-8, 14077-2, 14078-0, 16475-6, 16476-4, 16477-2, 16478-0, 16479-8, 16480-6, 16481-4, 16482-2, 18201-4, 18202-2, 18203-0, 19052-0, 20449-5, 21116-9, 21117-7, 21118-5, 21119-3, 21120-1, 22118-4, 22119-2, 22120-0, 22121-8, 22122-6, 22123-4, 22124-2, 22125-9, 22126-7, 22127-5, 22128-3, 22129-1, 22130-9, 22131-7, 22132-5, 22133-3, 22134-1, 22135-8, 22136-6, 22137-4, 23676-0, 23833-7, 23966-5, 23977-2, 23978-0, 23979-8, 23980-6, 23981-4, 23982-2, 23983-0, 23984-8, 23985-5, 26006-7, 27982-8, 27985-1, 27986-9, 27992-7, 28002-4, 28036-2, 28037-0, 28039-6, 28040-4, 28043-8, 28048-7, 28053-7, 28054-5, 28055-2, 28056-0, 28057-8, 28058-6, 28062-8, 29898-4, 29952-9, 30010-3, 30011-1, 30012-9, 30013-7, 30014-5, 30015-2, 30016-0, 30017-8, 30018-6, 30019-4, 30020-2, 30021-0, 30128-3, 30526-8, 31155-5, 31268-6, 31269-4, 31738-8, 32666-0, 32667-8, 32668-6, 32669-4, 33931-7, 33932-5, 34148-7, 34942-3, 34943-1, 35638-6, 38173-1, 38174-9, 40612-4, 41279-1, 42236-0, 42237-8, 42238-6, 42239-4, 42589-2, 42767-4, 43074-4, 43075-1, 43076-9, 43077-7, 43573-5, 43842-4, 44020-6, 44452-1, 44453-9, 44454-7, 44455-4, 44456-2, 44946-2, 44947-0, 44948-8, 44949-6, 45165-8, 45189-8, 46174-9, 46248-1, 47304-1, 48500-3, 48651-4, 4991-6, 49973-1, 49974-9, 49975-6, 49976-4, 49977-2, 49978-0, 49979-8, 49980-6, 49981-4, 49982-2, 49983-0, 49984-8, 49991-3, 49992-1, 49993-9, 49994-7, 49995-4, 49996-2, 49997-0, 49998-8, 5060-9, 5061-7, 5062-5, 5063-3, 5064-1, 5065-8, 51742-5, 51743-3, 51744-1, 51745-8, 51746-6, 51747-4, 53362-0, 53363-8, 53364-6, 53730-8, 55726-4, 57916-9, 60342-3, 60343-1, 62341-3, 62342-1, 6318-0, 6319-8, 6320-6, 6321-4, 6322-2, 67823-5, 67825-0, 7817-0, 7818-8, 79708-4, 79709-2, 83080-2, 83081-0, 87423-0, 87547-6, 90893-9, 94247-4, 94250-8, 94475-1, 94476-9, 94477-7, 9586-9, 9587-7, 9588-5, 9589-3, 9590-1, 9591-9, 9592-7, 9593-5, 9594-3, 9595-0, 9596-8, 9597-6, 9598-4, 9599-2, 96427-0, 96428-8, 96429-6, 96430-4, 96431-2, 96432-0, 98204-1, 98205-8, 98206-6, 98207-4, 98208-2
days -1825 to -1 (H)0.351245
lab_cortisolCortisol testLab tests orderedObservation (any)LOINC: 100662-6, 100799-6, 100800-2, 100801-0, 100802-8, 100803-6, 100998-4, 101315-0, 101316-8, 101319-2
578 more101586-6, 101977-7, 101979-3, 101980-1, 102023-9, 102024-7, 102025-4, 102026-2, 102027-0, 102028-8, 10332-5, 103647-4, 11040-3, 11155-9, 12557-5, 12558-3, 12559-1, 12560-9, 12561-7, 12562-5, 12563-3, 12564-1, 12565-8, 12566-6, 12567-4, 12568-2, 12569-0, 12570-8, 13480-9, 1356-5, 1357-3, 13600-2, 13601-0, 13602-8, 13611-9, 13872-7, 1389-6, 1390-4, 1391-2, 1392-0, 1393-8, 1394-6, 1395-3, 1396-1, 1397-9, 1398-7, 1399-5, 1400-1, 1401-9, 1402-7, 1403-5, 1404-3, 14043-4, 1406-8, 1407-6, 1408-4, 1409-2, 1410-0, 1411-8, 1412-6, 1413-4, 1414-2, 14148-1, 1415-9, 14158-0, 1416-7, 1417-5, 1418-3, 1419-1, 1421-7, 1422-5, 1423-3, 1424-1, 1425-8, 1426-6, 1427-4, 1428-2, 1429-0, 1430-8, 1431-6, 1432-4, 1433-2, 1434-0, 1435-7, 1436-5, 1437-3, 1438-1, 1439-9, 1440-7, 1441-5, 1442-3, 1443-1, 1444-9, 1445-6, 1446-4, 1447-2, 1448-0, 1449-8, 1450-6, 1451-4, 14567-2, 14675-3, 14676-1, 14677-9, 14678-7, 14679-5, 15043-3, 15044-1, 16295-8, 1657-6, 16667-8, 16668-6, 16669-4, 16670-2, 16671-0, 16672-8, 16673-6, 16674-4, 16675-1, 18351-7, 18365-7, 20622-7, 20995-7, 21034-4, 21035-1, 21039-3, 21044-3, 21222-5, 21223-3, 21224-1, 21225-8, 21226-6, 2142-8, 2143-6, 2144-4, 2145-1, 2147-7, 24389-9, 24390-7, 24391-5, 24392-3, 24393-1, 24394-9, 24395-6, 25315-3, 25618-0, 25619-8, 25621-4, 25622-2, 25623-0, 25624-8, 25625-5, 25626-3, 25627-1, 25628-9, 25882-2, 25883-0, 25884-8, 25885-5, 26525-6, 26526-4, 26527-2, 26528-0, 26529-8, 26530-6, 26531-4, 26532-2, 26533-0, 26534-8, 26535-5, 26536-3, 26828-4, 27199-9, 28045-3, 28046-1, 28550-2, 29358-9, 29363-9, 2995-9, 2996-7, 30171-3, 30172-1, 30173-9, 32009-3, 32310-5, 32311-3, 32312-1, 32313-9, 32314-7, 32315-4, 33257-7, 33346-8, 34065-3, 34204-8, 34205-5, 34206-3, 34476-2, 34909-2, 38551-8, 40274-3, 40275-0, 40310-5, 40311-3, 40312-1, 40313-9, 40314-7, 40315-4, 40316-2, 40317-0, 40809-6, 40810-4, 40928-4, 41289-0, 41407-8, 42572-8, 43126-2, 43215-3, 43217-9, 44309-3, 44310-1, 44412-5, 44864-7, 44916-5, 44917-3, 45047-8, 45048-6, 45049-4, 45050-2, 45051-0, 45184-9, 45296-1, 46397-6, 46398-4, 46399-2, 46403-2, 46416-4, 47604-4, 47605-1, 47606-9, 47607-7, 47608-5, 47609-3, 47844-6, 47845-3, 47846-1, 47847-9, 47848-7, 47849-5, 47850-3, 47851-1, 48098-8, 48099-6, 48100-2, 48101-0, 48102-8, 48103-6, 48104-4, 48105-1, 49029-2, 49324-7, 49968-1, 49969-9, 50071-0, 50072-8, 50073-6, 50074-4, 50075-1, 50093-4, 50094-2, 50095-9, 50096-7, 50097-5, 50250-0, 50336-7, 50415-9, 50416-7, 50421-7, 50422-5, 50423-3, 50424-1, 50429-0, 50430-8, 50431-6, 50432-4, 50433-2, 50434-0, 50441-5, 50442-3, 50453-0, 50454-8, 50455-5, 50456-3, 50457-1, 50458-9, 50459-7, 50460-5, 50645-1, 50716-0, 50717-8, 50718-6, 50719-4, 50720-2, 50721-0, 50752-5, 50848-1, 51424-0, 51488-5, 51489-3, 51490-1, 51491-9, 51492-7, 51493-5, 51494-3, 51495-0, 51844-9, 53336-4, 53337-2, 53338-0, 53339-8, 53341-4, 53342-2, 53345-5, 53346-3, 54211-8, 54212-6, 54213-4, 54214-2, 54215-9, 54235-7, 54236-5, 55138-2, 55348-7, 55467-5, 55468-3, 55472-5, 55473-3, 55809-8, 55810-6, 55811-4, 55812-2, 55822-1, 55823-9, 55826-2, 55844-5, 55845-2, 56517-6, 56518-4, 56519-2, 56520-0, 56521-8, 56585-3, 57002-8, 57463-2, 57464-0, 57465-7, 57466-5, 57494-7, 57495-4, 57496-2, 57497-0, 57498-8, 57499-6, 57500-1, 57501-9, 57502-7, 57503-5, 57504-3, 57505-0, 57506-8, 57507-6, 57557-1, 57558-9, 57559-7, 57563-9, 57564-7, 57565-4, 57597-7, 57598-5, 57599-3, 57600-9, 57601-7, 57602-5, 57603-3, 57604-1, 57613-2, 57614-0, 57615-7, 57616-5, 57617-3, 57618-1, 57619-9, 57620-7, 57672-8, 57684-3, 57685-0, 57686-8, 57687-6, 57688-4, 57689-2, 57690-0, 57691-8, 57692-6, 57693-4, 57694-2, 57695-9, 57824-5, 57825-2, 58631-3, 58632-1, 58633-9, 58634-7, 58635-4, 58636-2, 58637-0, 58638-8, 58639-6, 58640-4, 58641-2, 58642-0, 58643-8, 58644-6, 58645-3, 58646-1, 58647-9, 58648-7, 58649-5, 58650-3, 58651-1, 58652-9, 58653-7, 58654-5, 58655-2, 58656-0, 58657-8, 58658-6, 58659-4, 58660-2, 58661-0, 58662-8, 58663-6, 58664-4, 58665-1, 58666-9, 58667-7, 58668-5, 58669-3, 58670-1, 58671-9, 58672-7, 58673-5, 58674-3, 58675-0, 58676-8, 58677-6, 58678-4, 58679-2, 58680-0, 58688-3, 58689-1, 58690-9, 58691-7, 58692-5, 58693-3, 58694-1, 58695-8, 58696-6, 58697-4, 58698-2, 58819-4, 58820-2, 58821-0, 58822-8, 58823-6, 58824-4, 58825-1, 58826-9, 58827-7, 58828-5, 58829-3, 58830-1, 58908-5, 58909-3, 58910-1, 58985-3, 59153-7, 59273-3, 59803-7, 59804-5, 60013-0, 60680-6, 60681-4, 65364-2, 68315-1, 6869-2, 71805-6, 72392-4, 73841-9, 73842-7, 73843-5, 73862-5, 73863-3, 73864-1, 73890-6, 73891-4, 73892-2, 74872-3, 75516-5, 76347-4, 76352-4, 77607-0, 77925-6, 77926-4, 77927-2, 77928-0, 77929-8, 77930-6, 77931-4, 77932-2, 77933-0, 77934-8, 77935-5, 77936-3, 77937-1, 78047-8, 78988-3, 81793-2, 81794-0, 81804-7, 82848-3, 82849-1, 82850-9, 82851-7, 82854-1, 82855-8, 82856-6, 82857-4, 82861-6, 82862-4, 82878-0, 82879-8, 82894-7, 82895-4, 82896-2, 82897-0, 82898-8, 82899-6, 82900-2, 82901-0, 82908-5, 82909-3, 83088-5, 83089-3, 83090-1, 83091-9, 87429-7, 93480-2, 93481-0, 93482-8, 93483-6, 93484-4, 93773-0, 94873-7, 95578-1, 95579-9, 95580-7, 95581-5, 95582-3, 9612-3, 9613-1, 9614-9, 9615-6, 96424-7, 96425-4, 96798-4, 96801-6, 97765-2, 9812-9, 9813-7
days -1825 to -1 (H)0.802328
lab_ckCreatine kinase testLab tests orderedObservation (any)LOINC: 101446-3, 12187-1, 12189-7, 13969-1, 14680-3, 15048-2, 15049-0, 16688-4, 20569-0, 2151-9
35 more2152-7, 2153-5, 2154-3, 2155-0, 2156-8, 2157-6, 2158-4, 24335-2, 26019-0, 26020-8, 32673-6, 33547-1, 34160-2, 38482-6, 49129-0, 49136-5, 49258-7, 49259-5, 49551-5, 50756-6, 50757-4, 51505-6, 51506-4, 51507-2, 53433-9, 5912-1, 59149-5, 72561-4, 72562-2, 72563-0, 72564-8, 72565-5, 83092-7, 9642-0, 9643-8
days -1825 to -1 (H)0.68409
lab_rfRheumatoid factor testLab tests orderedObservation (any)LOINC: 11572-5, 11573-3, 13634-1, 13929-5, 13930-3, 14034-3, 15203-3, 15204-1, 15205-8, 15206-6
28 more17534-9, 17857-4, 25745-1, 25746-9, 29351-4, 30231-5, 31046-6, 33313-8, 33314-6, 33577-8, 33648-7, 33910-1, 43932-3, 45156-7, 46435-4, 46437-0, 5297-7, 5298-5, 5299-3, 5300-9, 53562-5, 53924-7, 63313-1, 63314-9, 63315-6, 6823-9, 6928-6, 9338-5
days -1825 to -1 (H)1.0372
lab_ccpAnti-CCP antibody testLab tests orderedObservation (any)LOINC: 32218-0, 33935-8, 42898-7, 46435-4, 46437-0, 53027-9, 53028-7, 57093-7, 63217-4, 63375-0
2 more82576-0, 94874-5
days -1825 to -1 (H)1.112898
rx_stimulantStimulant or wakefulness drugMedicationsMedicationRequest (any)RxNorm ingredients: modafinil, armodafinil, methylphenidate, amphetamine, dextroamphetamine, lisdexamfetamine (788 RxCUIs listed in the model file)days -1825 to -1 (H)1.151201
rx_naltrexoneNaltrexoneMedicationsMedicationRequest (any)RxNorm ingredients: naltrexone (114 RxCUIs listed in the model file)days -1825 to -1 (H)0.986071
rx_ssri_snriSSRI or SNRI antidepressantMedicationsMedicationRequest (any)RxNorm ingredients: sertraline, fluoxetine, citalopram, escitalopram, paroxetine, venlafaxine, duloxetine, desvenlafaxine (490 RxCUIs listed in the model file)days -1825 to -1 (H)1.067999
rx_tricyclic_lowdoseAmitriptyline, nortriptyline, or cyclobenzaprineMedicationsMedicationRequest (any)RxNorm ingredients: amitriptyline, nortriptyline, cyclobenzaprine (295 RxCUIs listed in the model file)days -1825 to -1 (H)1.02849
rx_gabapentinoidGabapentin or pregabalinMedicationsMedicationRequest (any)RxNorm ingredients: gabapentin, pregabalin (162 RxCUIs listed in the model file)days -1825 to -1 (H)1.189872
rx_sleep_aidSleep medicationMedicationsMedicationRequest (any)RxNorm ingredients: zolpidem, trazodone, eszopiclone (169 RxCUIs listed in the model file)days -1825 to -1 (H)0.798984
rx_beta_blockerBeta blockerMedicationsMedicationRequest (any)RxNorm ingredients: propranolol, metoprolol, atenolol, bisoprolol, nadolol, carvedilol (787 RxCUIs listed in the model file)days -1825 to -1 (H)0.523748
rx_potsPOTS medicationMedicationsMedicationRequest (any)RxNorm ingredients: ivabradine, midodrine, fludrocortisone, pyridostigmine (122 RxCUIs listed in the model file)days -1825 to -1 (H)1.230711
rx_opioidOpioidMedicationsMedicationRequest (any)RxNorm ingredients: oxycodone, hydrocodone, tramadol, morphine (3607 RxCUIs listed in the model file)days -1825 to -1 (H)0.672035
rx_milnacipranMilnacipranMedicationsMedicationRequest (any)RxNorm ingredients: milnacipran (28 RxCUIs listed in the model file)days -1825 to -1 (H)3.803082
rx_nsaidNSAID pain relieverMedicationsMedicationRequest (any)RxNorm ingredients: naproxen, ibuprofen, meloxicam, diclofenac, ketorolac (1712 RxCUIs listed in the model file)days -1825 to -1 (H)0.578664
rx_muscle_relaxantMuscle relaxantMedicationsMedicationRequest (any)RxNorm ingredients: tizanidine, methocarbamol, baclofen (237 RxCUIs listed in the model file)days -1825 to -1 (H)1.220985
util_out_r_ge66+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 6 Encounters)days -365 to -1 (R)0.182756
util_out_r_ge1212+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 12 Encounters)days -365 to -1 (R)0.273678
util_ed_rEmergency visit in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class EMER (at least 1 Encounter)days -365 to -1 (R)0.47388
util_ip_hHospital stay in the past 5 yearsHealth care useEncounter (encounter_count_ge)Encounter.class IMP (at least 1 Encounter)days -1825 to -1 (H)-0.006032

Score, calibration, and risk bands

score = -7.555595 + Σ weight × value. The probability is the piecewise-linear interpolation of the score over the calibration points below, clamped at the ends. The band is the first band whose upper limit is at or above the probability. "Times the average" is the probability divided by the cohort base rate in the model file, reference.cohort_base_rate = 0.032152 (about 3.2%).

Calibration points come from a logistic on binned training-split counts (a = -2.842966, b = 0.253208).

BandProbability up toTimes the average
Typical4.82%1.50
Elevated9.65%3.00
High100%above 3.00
ScoreProbability
-11.54930.31%
-10.27190.43%
-8.99460.59%
-7.71720.82%
-6.43981.13%
-5.16241.55%
-3.8852.13%
-2.60772.92%
-1.33033.99%
-0.05295.44%
1.22457.36%
2.50189.89%
3.779213.2%
5.056617.3%
6.33422.5%
7.611328.6%
8.888735.6%
10.166143.3%
11.443551.4%
12.720859.3%
13.998266.9%
15.275673.6%
16.55379.4%
17.830384.2%
19.107788.0%

Validation and provenance

Validation splitValue
AUROC: Self-reported diagnosis0.72 (95% CI, 0.71 to 0.74)
AUROC: Self-reported diagnosis with no code observed after the survey0.73 (95% CI, 0.71 to 0.74)

Measured inside the All of Us Researcher Workbench in a random 20% validation split of the training cohort, for the summary-count score built from the same released counts as this file. 95% confidence intervals are from 200 bootstrap resamples of the validation split. Validation was on one cohort; the model has not been validated at other health systems. Details are in Paper 3.

Intended use and limitations

Follow-up questions for the patient

Clinician checklist: 2016 revised fibromyalgia diagnostic criteria

A patient meets the criteria when all of the following hold (Wolfe F et al. 2016 revisions to the 2010/2011 fibromyalgia diagnostic criteria. Semin Arthritis Rheum 2016;46(3):319-329, doi:10.1016/j.semarthrit.2016.08.012):

The checklist is shown to the clinician and is not scored by the app.

Next steps shown to clinicians

  1. Review the dated chart findings behind the score.
  2. Assess the patient with the 2016 revised fibromyalgia diagnostic criteria above, using the Widespread Pain Index and the Symptom Severity Scale.
  3. The checklist records the clinician's judgment and is not scored by the app.

Sources: Wolfe et al. 2016 (citation above).

Test patients and expected results

Synthetic FHIR R4 bundles in model/test_vectors/bundles/, scored as of 2024-06-01. Expected outputs are in model/test_vectors/expected/unm-fibromyalgia-1.0.0/; this generator reran the reference scorer on every bundle and they match. The JavaScript scorer must reproduce them to 1e-9.

PatientScenarioExpected resultTop drivers
Mariabuilt for the Long COVID cardTypical, 2.73% (0.85 times the average)Female; C-reactive protein test; Beta blocker
Jamesbuilt for the Long COVID cardTypical, 0.93% (0.29 times the average)Age 40-49; COVID-19
Rosabuilt for the Long COVID cardTypical, 1.60% (0.50 times the average)Female; Long COVID; Age 50-59
Leebuilt for the Long COVID cardTypical, 0.80% (0.25 times the average)Age 18-39
Norabuilt for the Long COVID cardTypical, 1.10% (0.34 times the average)Female; COVID-19; Age 18-39
Danabuilt for the Lyme cardTypical, 1.32% (0.41 times the average)Female; Age 50-59; Muscle or joint pain
Elenabuilt for the Chronic fatigue and ME/CFS cardTypical, 3.96% (1.23 times the average)Female; POTS medication; Stimulant or wakefulness drug
Omarbuilt for the Chronic fatigue and ME/CFS cardTypical, 0.89% (0.28 times the average)Age 40-49; Hypertension
Gracebuilt for the Chronic fatigue and ME/CFS cardTypical, 1.59% (0.49 times the average)Female; Chronic fatigue or ME/CFS; Age 40-49
Sofiayears of widespread pain, negative rheumatology work-up, never codedHigh, 30.9% (9.60 times the average)Female; Muscle relaxant; Gabapentin or pregabalin
Priyabuilt for the Long COVID cardTypical, 1.75% (0.54 times the average)Female; Long COVID; Age 40-49
Sambuilt for the Long COVID cardTypical, 0.99% (0.31 times the average)Age 50-59; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Theobuilt for the Long COVID cardTypical, 1.03% (0.32 times the average)Long COVID; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Yarabuilt for the Long COVID cardTypical, 1.19% (0.37 times the average)Female; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Verabuilt for the Long COVID cardTypical, 1.27% (0.39 times the average)Female; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Willbuilt for the Long COVID cardTypical, 0.93% (0.29 times the average)Age 40-49; COVID-19
Umano birth date: not scored by any modelnot scored: birth date missing or unusable (age is required)
Kai16 at the COVID-19 index, 17 on the scoring date: not scored by any modelnot scored: under 18 on the scoring date (the model covers adults)

Endometriosis (unm-endometriosis 1.0.0)

Model file model/endometriosis.json, status "research". Research decision support. Surfaces chart patterns for clinician review. Not a diagnosis.

Download endometriosis.json

What it predicts and for whom

Card wording, from the CDS Hooks service (web/functions/cds-services/_cds.js): "Chart pattern similar to women who report an endometriosis diagnosis that was never coded." The number is shown as "N times the average for women with a visit in the past year" and as the "Probability that the patient reports an endometriosis diagnosis".

When it does not score

  1. No usable birth date: "birth date missing or unusable (age is required)".
  2. Under 18 on day 0 (age is days / 365.25, as in training): "under 18 on the scoring date (the model covers adults)".
  3. A Condition coded ICD-10-CM N80 is dated on or before day 0, or has no usable date: "an endometriosis diagnosis is already recorded".
  4. No AMB, EMER, or IMP encounter in days -365 to -1 (R): "no encounters in the past year (insufficient history)".

ICD-10-CM codes match by prefix with dots removed, so a listed code also matches its subcodes. In each case the app says why it did not score. Every rule reads only records dated on or before the scoring date; Conditions whose verificationStatus is refuted or entered-in-error, and records whose status is entered-in-error, are ignored. If a FHIR search the model needs failed or was forbidden, the result is "could not score: <resource> unavailable" instead of a score (interface spec, section 4c).

Windows

WindowDays relative to day 0
H-1825 to -1
R-365 to -1

Features (90, of which 90 carry a weight)

Each feature is 0 or 1. Features that differ only in threshold (for example 2+ and 3+ of the same thing) show as one driver carrying the summed weight. ICD-10-CM codes are shown with dots for reading; the model file stores feature codes without dots.

FeatureLabelGroupSource (kind)CodesWindowWeight
age_18_39Age 18-39DemographicsPatient (age_band)Patient.birthDate: age 18 to 39 on day 0on day 0-0.809
age_40_49Age 40-49DemographicsPatient (age_band)Patient.birthDate: age 40 to 49 on day 0on day 00.040091
age_50_59Age 50-59DemographicsPatient (age_band)Patient.birthDate: age 50 to 59 on day 0on day 00.203706
age_60_69Age 60-69DemographicsPatient (age_band)Patient.birthDate: age 60 to 69 on day 0on day 00.239167
age_70pAge 70 or olderDemographicsPatient (age_band)Patient.birthDate: age 70 and older on day 0on day 00.142928
cx_fatigue_otherFatigue or malaise codedConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -1825 to -1 (H)0.213696
cx_fatigue_recentFatigue or malaise coded in the past yearConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -365 to -1 (R)0.213768
cx_sleepSleep disturbanceConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.0, G47.1, G47.8, G47.9, F51days -1825 to -1 (H)0.19364
cx_sleep_apneaSleep apneaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.33days -1825 to -1 (H)0.374368
cx_cognitiveCognitive symptoms (brain fog, memory)Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R41, G31.84days -1825 to -1 (H)0.28477
cx_autonomicPalpitations, POTS, orthostatic hypotension, or dysautonomiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9days -1825 to -1 (H)0.172511
cx_dizzy_syncopeDizziness or faintingConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R42, R55days -1825 to -1 (H)0.186338
cx_headacheHeadacheConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R51, G44days -1825 to -1 (H)0.195611
cx_migraineMigraineConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G43days -1825 to -1 (H)0.354064
cx_myalgia_arthralgiaMuscle or joint painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.1, M25.5, M79.6days -1825 to -1 (H)0.114614
cx_fibromyalgiaFibromyalgiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.7days -1825 to -1 (H)0.750387
cx_chronic_painChronic painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G89days -1825 to -1 (H)0.246491
cx_depressionDepressionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F32, F33days -1825 to -1 (H)0.144486
cx_anxietyAnxietyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F41days -1825 to -1 (H)0.122778
cx_ptsdPosttraumatic stress disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F43.1days -1825 to -1 (H)0.388218
cx_ibs_giIrritable bowel or gastrointestinal symptomsConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: K58, R10, R11, R14, R19days -1825 to -1 (H)0.235731
cx_sore_throat_nodesSore throat or enlarged lymph nodesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: J02, R59days -1825 to -1 (H)-0.003898
cx_feverFeverConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R50days -1825 to -1 (H)0.183784
cx_lymeLyme diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: A69.2days -1825 to -1 (H)-0.067427
cx_covidCOVID-19Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U07.1days -1825 to -1 (H)0.042982
cx_long_covidLong COVIDConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U09.9days -1825 to -1 (H)0.200547
cx_eds_hypermobilityEhlers-Danlos syndrome or hypermobilityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Q79.6, M35.7days -1825 to -1 (H)0.553945
cx_mast_cellMast cell disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D89.4days -1825 to -1 (H)0.66439
cx_hypothyroidHypothyroidismConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E03days -1825 to -1 (H)0.239703
cx_anemiaAnemiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D50, D51, D52, D53, D63, D64days -1825 to -1 (H)0.069039
cx_vitd_deficiencyVitamin D deficiencyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E55days -1825 to -1 (H)0.08571
cx_autoimmuneAutoimmune or demyelinating diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M05, M06, M32, M35, L40, K50, K51, M45, G35days -1825 to -1 (H)0.308856
cx_obesityObesityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E66, Z68.3, Z68.4days -1825 to -1 (H)0.036298
cx_diabetesDiabetesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E10, E11days -1825 to -1 (H)0.120036
cx_hypertensionHypertensionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I10days -1825 to -1 (H)0.256913
cx_heart_diseaseCoronary disease or heart failureConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I25, I50days -1825 to -1 (H)0.309201
cx_cancerCancerConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Cdays -1825 to -1 (H)0.10188
cx_pelvic_painPelvic painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R10.2days -1825 to -1 (H)0.186635
cx_dysmenorrheaPainful periods (dysmenorrhea)Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: N94.4, N94.5, N94.6days -1825 to -1 (H)0.256662
cx_dyspareuniaPain with intercourseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: N94.1days -1825 to -1 (H)0.259699
cx_menstrualHeavy or irregular menstrual bleedingConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: N92days -1825 to -1 (H)-0.611174
cx_infertilityFemale infertilityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: N97days -1825 to -1 (H)-0.361386
cx_ovarian_cystOvarian cystConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: N83.2days -1825 to -1 (H)0.037743
cx_fibroidsUterine fibroidsConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D25days -1825 to -1 (H)-0.013628
cx_pcosPolycystic ovary syndromeConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E28.2days -1825 to -1 (H)-0.165205
cx_interstitial_cystitisInterstitial cystitis or bladder painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: N30.1days -1825 to -1 (H)0.748166
cx_back_painLow back painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M54.5days -1825 to -1 (H)0.220645
cx_constipationConstipationConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: K59.0days -1825 to -1 (H)0.204372
clusters_ge3Three or more symptom typesSymptom patternCondition (cluster_count_ge)at least 3 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83
sleep: G47.0, G47.1, G47.8, G47.9, F51
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, R10.2, N94.1, M54.5
mood: F32, F33, F41
gi: K58, R10, R11, R14, R19, K59.0
immune: J02, R59, R50
menstrual: N94.4, N94.5, N94.6, N92
urinary: N30.1
days -1825 to -10.188333
clusters_ge5Five or more symptom typesSymptom patternCondition (cluster_count_ge)at least 5 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83
sleep: G47.0, G47.1, G47.8, G47.9, F51
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, R10.2, N94.1, M54.5
mood: F32, F33, F41
gi: K58, R10, R11, R14, R19, K59.0
immune: J02, R59, R50
menstrual: N94.4, N94.5, N94.6, N92
urinary: N30.1
days -1825 to -10.301708
px_tiltTilt-table testTests and evaluationsProcedure (any)CPT: 93660days -1825 to -1 (H)0.448017
px_sleep_studySleep studyTests and evaluationsProcedure (any)CPT: 95806, 95807, 95808, 95809, 95810, 95811, G0398, G0399, G0400days -1825 to -1 (H)0.270888
px_brain_mriBrain MRITests and evaluationsProcedure (any)CPT: 70551, 70552, 70553days -1825 to -1 (H)0.175115
px_echoEchocardiogramTests and evaluationsProcedure (any)CPT: 93303, 93304, 93305, 93306, 93307, 93308, 93312, 93313, 93314, 93315, 93316, 93317, 93318, 93350, 93351, 93352days -1825 to -1 (H)0.218244
px_cardiac_monitorHolter or event monitorTests and evaluationsProcedure (any)CPT: 93224, 93225, 93226, 93227, 93228, 93229, 93241, 93242, 93243, 93244, 93245, 93246, 93247, 93248, 93268, 93269, 93270, 93271, 93272days -1825 to -1 (H)0.281183
px_exercise_testExercise or cardiopulmonary exercise testTests and evaluationsProcedure (any)CPT: 94621, 93015, 93016, 93017, 93018days -1825 to -1 (H)0.310112
px_neuropsychNeuropsychological testingTests and evaluationsProcedure (any)CPT: 96132, 96133, 96136, 96137, 96138, 96139days -1825 to -1 (H)0.436608
px_pt_evalPhysical therapy evaluationTests and evaluationsProcedure (any)CPT: 97161, 97162, 97163days -1825 to -1 (H)0.17809
px_pelvic_usPelvic or transvaginal ultrasoundTests and evaluationsProcedure (any)CPT: 76830, 76856, 76857days -1825 to -1 (H)-0.138356
px_hysterectomyHysterectomyTests and evaluationsProcedure (any)CPT: 58150, 58570, 58571, 58572, 58573days -1825 to -1 (H)0.35961
px_pelvic_mriPelvic MRITests and evaluationsProcedure (any)CPT: 72195, 72196, 72197days -1825 to -1 (H)0.39973
lab_tshThyroid (TSH) testLab tests orderedObservation (any)LOINC: 10516-3, 11033-8, 11579-0, 11580-8, 12932-0, 12933-8, 12934-6, 12935-3, 12936-1, 12937-9
88 more12938-7, 12939-5, 12940-3, 12941-1, 12942-9, 12943-7, 12944-5, 12945-2, 12946-0, 12947-8, 12948-6, 13869-3, 13871-9, 13897-4, 14255-4, 14919-5, 14997-1, 14998-9, 14999-7, 15000-3, 17786-5, 20452-9, 25789-9, 25990-3, 25991-1, 26998-5, 29316-7, 29317-5, 29574-1, 29575-8, 3015-5, 30151-5, 3016-3, 3018-9, 3019-7, 33258-5, 33259-3, 33260-1, 33261-9, 33269-2, 34054-7, 35134-6, 40397-2, 40398-0, 40399-8, 40400-4, 40401-2, 40673-6, 44935-5, 44936-3, 45173-2, 47947-7, 47948-5, 47949-3, 47950-1, 47951-9, 47952-7, 47953-5, 48077-2, 48700-9, 50533-9, 50534-7, 50535-4, 50536-2, 50537-0, 50538-8, 50539-6, 50540-4, 50541-2, 5384-3, 5385-0, 55362-8, 56594-5, 57416-0, 57854-2, 58833-5, 58834-3, 63363-6, 63364-4, 63365-1, 63366-9, 65360-0, 69561-9, 70096-3, 77623-7, 82659-4, 90801-2, 99078-8
days -1825 to -1 (H)0.012551
lab_ferritinFerritin testLab tests orderedObservation (any)LOINC: 14723-1, 14724-9, 20567-4, 2276-4, 24373-3, 48141-6, 53048-5, 74807-9, 86914-9days -1825 to -1 (H)0.131807
lab_b12Vitamin B12 testLab tests orderedObservation (any)LOINC: 1460-5, 14685-2, 14733-0, 15052-4, 16695-9, 16696-7, 1888-7, 2132-9, 2169-1, 2171-7
28 more2440-6, 26916-7, 3029-6, 3031-2, 3032-0, 30904-7, 30905-4, 30906-2, 32341-0, 33766-7, 4203-6, 49264-5, 54376-9, 54377-7, 54378-5, 55850-2, 55881-7, 55882-5, 55883-3, 55884-1, 55885-8, 59211-3, 72157-1, 72158-9, 72160-5, 96297-7, 96805-7, 96809-9
days -1825 to -1 (H)0.230225
lab_vitamin_dVitamin D testLab tests orderedObservation (any)LOINC: 14635-7, 1989-3, 46269-7, 49054-0, 55814-8, 57566-2, 57567-0, 57568-8, 57569-6, 62292-8
12 more68438-1, 72403-9, 72404-7, 72888-1, 83070-3, 83071-1, 86918-0, 94673-1, 94674-9, 95593-0, 95594-8, 95595-5
days -1825 to -1 (H)0.049632
lab_anaAntinuclear antibody (ANA) testLab tests orderedObservation (any)LOINC: 101221-0, 101231-9, 11088-2, 11089-0, 11090-8, 11565-9, 11571-7, 13066-6, 13067-4, 13068-2
267 more14030-1, 14235-6, 14240-6, 14607-6, 14608-4, 14609-2, 14610-0, 14611-8, 14612-6, 14613-4, 14614-2, 14615-9, 14616-7, 14722-3, 15398-1, 16139-8, 16392-3, 16393-1, 16394-9, 16824-5, 17031-6, 17032-4, 17341-9, 17380-7, 17532-3, 17533-1, 17535-6, 17536-4, 17569-5, 17583-6, 17584-4, 17586-9, 17587-7, 17589-3, 17590-1, 17591-9, 17592-7, 17791-5, 17792-3, 19137-9, 20398-4, 20399-2, 20400-8, 20401-6, 20432-1, 20435-4, 21260-5, 21423-9, 21522-8, 22296-8, 22297-6, 26023-2, 26703-9, 26880-5, 26975-3, 27048-8, 27200-5, 27416-7, 29374-6, 29948-7, 29949-5, 29953-7, 29954-5, 30138-2, 30342-0, 30556-5, 31372-6, 31535-8, 31540-8, 31541-6, 31542-4, 31543-2, 31544-0, 31562-2, 31563-0, 31627-3, 31628-1, 31693-5, 32041-6, 32715-5, 32716-3, 33253-6, 33460-7, 33566-1, 33567-9, 33568-7, 33569-5, 33570-3, 33600-8, 33635-4, 35278-1, 35333-4, 40655-3, 41025-8, 42212-1, 42213-9, 42214-7, 42254-3, 42498-6, 43100-7, 43119-7, 43182-5, 44083-4, 44751-6, 44752-4, 45142-7, 47074-0, 47383-5, 49309-8, 49310-6, 49311-4, 49738-8, 5047-6, 5048-4, 51749-0, 51928-0, 5234-0, 5235-7, 5275-3, 5276-1, 53002-2, 53006-3, 53007-1, 53008-9, 5301-7, 5302-5, 5348-8, 5349-6, 5351-2, 5352-0, 5353-8, 5354-6, 5355-3, 5356-1, 5357-9, 53983-3, 53984-1, 53985-8, 53986-6, 53987-4, 53988-2, 53989-0, 53990-8, 53991-6, 53992-4, 53993-2, 53994-0, 53997-3, 53998-1, 53999-9, 54000-5, 54005-4, 54006-2, 54149-0, 54154-0, 54155-7, 56148-0, 56693-5, 56721-4, 56723-0, 56724-8, 56725-5, 56730-5, 56731-3, 56733-9, 56977-2, 57010-1, 57431-9, 57448-3, 59069-5, 59390-5, 63238-0, 63239-8, 63265-3, 63266-1, 63267-9, 63294-3, 63295-0, 63296-8, 63297-6, 63305-7, 63306-5, 63307-3, 63308-1, 63317-2, 63318-0, 63319-8, 63334-7, 63335-4, 63336-2, 63337-0, 63338-8, 63345-3, 63346-1, 63347-9, 63348-7, 63349-5, 63350-3, 63351-1, 63352-9, 63353-7, 63354-5, 63388-3, 63389-1, 63390-9, 63391-7, 63393-3, 63394-1, 63398-2, 63399-0, 63400-6, 63401-4, 63402-2, 63403-0, 63404-8, 63405-5, 63406-3, 63536-7, 63540-9, 63542-5, 63545-8, 63546-6, 63547-4, 63569-8, 63570-6, 6822-1, 68369-8, 68370-6, 68371-4, 68372-2, 68373-0, 68374-8, 68375-5, 68376-3, 8061-4, 8076-2, 8088-7, 8091-1, 8092-9, 8093-7, 8094-5, 81728-8, 89501-1, 89502-9, 89526-8, 89527-6, 89529-2, 89531-8, 89533-4, 89535-9, 89536-7, 89537-5, 93712-8, 9399-7, 9423-5, 96919-6, 96920-4, 96921-2, 96922-0, 96923-8, 96924-6, 96925-3, 96926-1, 96927-9, 9722-0, 9839-2, 99069-7
days -1825 to -1 (H)0.310794
lab_crpC-reactive protein testLab tests orderedObservation (any)LOINC: 11039-5, 14634-0, 16503-5, 1988-5, 30522-7, 35648-5, 45062-7, 48421-2, 59182-6, 71426-1
3 more76485-2, 76486-0, 98987-1
days -1825 to -1 (H)0.389346
lab_esrSedimentation rate (ESR) testLab tests orderedObservation (any)LOINC: 18184-2, 30341-2, 43402-7, 4537-7, 4538-5, 4539-3, 82477-1days -1825 to -1 (H)0.353959
lab_ebvEpstein-Barr virus testLab tests orderedObservation (any)LOINC: 100677-4, 100678-2, 101817-5, 11009-8, 11010-6, 12212-7, 13236-5, 13237-3, 13238-1, 14083-0
135 more16823-7, 16824-5, 16825-2, 16826-0, 16827-8, 18427-5, 18428-3, 20432-1, 20490-9, 20491-7, 21260-5, 22290-1, 22291-9, 22292-7, 22293-5, 22294-3, 22295-0, 22296-8, 22297-6, 22298-4, 23858-4, 23970-7, 23971-5, 23972-3, 23994-7, 23995-4, 23996-2, 24007-7, 24114-1, 24115-8, 24316-2, 26705-4, 30083-0, 30136-6, 30137-4, 30138-2, 30339-6, 30340-4, 31369-2, 31370-0, 31371-8, 31372-6, 31373-4, 31374-2, 31375-9, 32585-2, 32828-6, 32829-4, 32830-2, 32843-5, 32844-3, 32845-0, 33395-5, 33479-7, 34593-4, 34639-5, 35397-9, 35398-7, 36923-1, 40750-2, 40751-0, 40752-8, 40753-6, 42497-8, 42498-6, 43730-1, 47064-1, 47066-6, 47068-2, 47072-4, 47432-0, 47433-8, 47434-6, 47435-3, 47436-1, 47437-9, 47982-4, 48723-1, 49069-8, 49178-7, 49352-8, 49353-6, 49354-4, 49355-1, 49356-9, 49564-8, 5002-1, 5003-9, 5004-7, 5005-4, 50969-5, 51454-7, 5153-2, 5154-0, 5155-7, 5156-5, 5157-3, 5158-1, 5159-9, 5160-7, 53774-6, 56598-6, 56599-4, 58760-0, 59183-4, 59805-2, 66493-8, 6814-8, 6815-5, 69949-6, 72206-6, 7882-4, 7883-2, 7884-0, 7885-7, 7886-5, 81119-0, 83095-0, 84871-3, 84872-1, 87554-2, 93711-0, 93712-8, 93713-6, 93714-4, 93840-7, 93841-5, 94102-1, 94827-3, 94828-1, 94829-9, 94830-7, 95138-4, 9633-9, 97993-0
days -1825 to -1 (H)0.167721
lab_lymeLyme disease testLab tests orderedObservation (any)LOINC: 100711-1, 101149-3, 101352-3, 101353-1, 101357-2, 101358-0, 101403-4, 103961-9, 10846-4, 10847-2
265 more11006-4, 11007-2, 11550-1, 11551-9, 12781-1, 12860-3, 12861-1, 12862-9, 12863-7, 12864-5, 12865-2, 12866-0, 12867-8, 12868-6, 12869-4, 12873-6, 12874-4, 12877-7, 12878-5, 12879-3, 12880-1, 12881-9, 12882-7, 12883-5, 12884-3, 12885-0, 12886-8, 12887-6, 12888-4, 12889-2, 12890-0, 12891-8, 12892-6, 12896-7, 13202-7, 13203-5, 13204-3, 13205-0, 13206-8, 13207-6, 13502-0, 13503-8, 14077-2, 14078-0, 16475-6, 16476-4, 16477-2, 16478-0, 16479-8, 16480-6, 16481-4, 16482-2, 18201-4, 18202-2, 18203-0, 19052-0, 20449-5, 21116-9, 21117-7, 21118-5, 21119-3, 21120-1, 22118-4, 22119-2, 22120-0, 22121-8, 22122-6, 22123-4, 22124-2, 22125-9, 22126-7, 22127-5, 22128-3, 22129-1, 22130-9, 22131-7, 22132-5, 22133-3, 22134-1, 22135-8, 22136-6, 22137-4, 23676-0, 23833-7, 23966-5, 23977-2, 23978-0, 23979-8, 23980-6, 23981-4, 23982-2, 23983-0, 23984-8, 23985-5, 26006-7, 27982-8, 27985-1, 27986-9, 27992-7, 28002-4, 28036-2, 28037-0, 28039-6, 28040-4, 28043-8, 28048-7, 28053-7, 28054-5, 28055-2, 28056-0, 28057-8, 28058-6, 28062-8, 29898-4, 29952-9, 30010-3, 30011-1, 30012-9, 30013-7, 30014-5, 30015-2, 30016-0, 30017-8, 30018-6, 30019-4, 30020-2, 30021-0, 30128-3, 30526-8, 31155-5, 31268-6, 31269-4, 31738-8, 32666-0, 32667-8, 32668-6, 32669-4, 33931-7, 33932-5, 34148-7, 34942-3, 34943-1, 35638-6, 38173-1, 38174-9, 40612-4, 41279-1, 42236-0, 42237-8, 42238-6, 42239-4, 42589-2, 42767-4, 43074-4, 43075-1, 43076-9, 43077-7, 43573-5, 43842-4, 44020-6, 44452-1, 44453-9, 44454-7, 44455-4, 44456-2, 44946-2, 44947-0, 44948-8, 44949-6, 45165-8, 45189-8, 46174-9, 46248-1, 47304-1, 48500-3, 48651-4, 4991-6, 49973-1, 49974-9, 49975-6, 49976-4, 49977-2, 49978-0, 49979-8, 49980-6, 49981-4, 49982-2, 49983-0, 49984-8, 49991-3, 49992-1, 49993-9, 49994-7, 49995-4, 49996-2, 49997-0, 49998-8, 5060-9, 5061-7, 5062-5, 5063-3, 5064-1, 5065-8, 51742-5, 51743-3, 51744-1, 51745-8, 51746-6, 51747-4, 53362-0, 53363-8, 53364-6, 53730-8, 55726-4, 57916-9, 60342-3, 60343-1, 62341-3, 62342-1, 6318-0, 6319-8, 6320-6, 6321-4, 6322-2, 67823-5, 67825-0, 7817-0, 7818-8, 79708-4, 79709-2, 83080-2, 83081-0, 87423-0, 87547-6, 90893-9, 94247-4, 94250-8, 94475-1, 94476-9, 94477-7, 9586-9, 9587-7, 9588-5, 9589-3, 9590-1, 9591-9, 9592-7, 9593-5, 9594-3, 9595-0, 9596-8, 9597-6, 9598-4, 9599-2, 96427-0, 96428-8, 96429-6, 96430-4, 96431-2, 96432-0, 98204-1, 98205-8, 98206-6, 98207-4, 98208-2
days -1825 to -1 (H)0.208717
lab_cortisolCortisol testLab tests orderedObservation (any)LOINC: 100662-6, 100799-6, 100800-2, 100801-0, 100802-8, 100803-6, 100998-4, 101315-0, 101316-8, 101319-2
578 more101586-6, 101977-7, 101979-3, 101980-1, 102023-9, 102024-7, 102025-4, 102026-2, 102027-0, 102028-8, 10332-5, 103647-4, 11040-3, 11155-9, 12557-5, 12558-3, 12559-1, 12560-9, 12561-7, 12562-5, 12563-3, 12564-1, 12565-8, 12566-6, 12567-4, 12568-2, 12569-0, 12570-8, 13480-9, 1356-5, 1357-3, 13600-2, 13601-0, 13602-8, 13611-9, 13872-7, 1389-6, 1390-4, 1391-2, 1392-0, 1393-8, 1394-6, 1395-3, 1396-1, 1397-9, 1398-7, 1399-5, 1400-1, 1401-9, 1402-7, 1403-5, 1404-3, 14043-4, 1406-8, 1407-6, 1408-4, 1409-2, 1410-0, 1411-8, 1412-6, 1413-4, 1414-2, 14148-1, 1415-9, 14158-0, 1416-7, 1417-5, 1418-3, 1419-1, 1421-7, 1422-5, 1423-3, 1424-1, 1425-8, 1426-6, 1427-4, 1428-2, 1429-0, 1430-8, 1431-6, 1432-4, 1433-2, 1434-0, 1435-7, 1436-5, 1437-3, 1438-1, 1439-9, 1440-7, 1441-5, 1442-3, 1443-1, 1444-9, 1445-6, 1446-4, 1447-2, 1448-0, 1449-8, 1450-6, 1451-4, 14567-2, 14675-3, 14676-1, 14677-9, 14678-7, 14679-5, 15043-3, 15044-1, 16295-8, 1657-6, 16667-8, 16668-6, 16669-4, 16670-2, 16671-0, 16672-8, 16673-6, 16674-4, 16675-1, 18351-7, 18365-7, 20622-7, 20995-7, 21034-4, 21035-1, 21039-3, 21044-3, 21222-5, 21223-3, 21224-1, 21225-8, 21226-6, 2142-8, 2143-6, 2144-4, 2145-1, 2147-7, 24389-9, 24390-7, 24391-5, 24392-3, 24393-1, 24394-9, 24395-6, 25315-3, 25618-0, 25619-8, 25621-4, 25622-2, 25623-0, 25624-8, 25625-5, 25626-3, 25627-1, 25628-9, 25882-2, 25883-0, 25884-8, 25885-5, 26525-6, 26526-4, 26527-2, 26528-0, 26529-8, 26530-6, 26531-4, 26532-2, 26533-0, 26534-8, 26535-5, 26536-3, 26828-4, 27199-9, 28045-3, 28046-1, 28550-2, 29358-9, 29363-9, 2995-9, 2996-7, 30171-3, 30172-1, 30173-9, 32009-3, 32310-5, 32311-3, 32312-1, 32313-9, 32314-7, 32315-4, 33257-7, 33346-8, 34065-3, 34204-8, 34205-5, 34206-3, 34476-2, 34909-2, 38551-8, 40274-3, 40275-0, 40310-5, 40311-3, 40312-1, 40313-9, 40314-7, 40315-4, 40316-2, 40317-0, 40809-6, 40810-4, 40928-4, 41289-0, 41407-8, 42572-8, 43126-2, 43215-3, 43217-9, 44309-3, 44310-1, 44412-5, 44864-7, 44916-5, 44917-3, 45047-8, 45048-6, 45049-4, 45050-2, 45051-0, 45184-9, 45296-1, 46397-6, 46398-4, 46399-2, 46403-2, 46416-4, 47604-4, 47605-1, 47606-9, 47607-7, 47608-5, 47609-3, 47844-6, 47845-3, 47846-1, 47847-9, 47848-7, 47849-5, 47850-3, 47851-1, 48098-8, 48099-6, 48100-2, 48101-0, 48102-8, 48103-6, 48104-4, 48105-1, 49029-2, 49324-7, 49968-1, 49969-9, 50071-0, 50072-8, 50073-6, 50074-4, 50075-1, 50093-4, 50094-2, 50095-9, 50096-7, 50097-5, 50250-0, 50336-7, 50415-9, 50416-7, 50421-7, 50422-5, 50423-3, 50424-1, 50429-0, 50430-8, 50431-6, 50432-4, 50433-2, 50434-0, 50441-5, 50442-3, 50453-0, 50454-8, 50455-5, 50456-3, 50457-1, 50458-9, 50459-7, 50460-5, 50645-1, 50716-0, 50717-8, 50718-6, 50719-4, 50720-2, 50721-0, 50752-5, 50848-1, 51424-0, 51488-5, 51489-3, 51490-1, 51491-9, 51492-7, 51493-5, 51494-3, 51495-0, 51844-9, 53336-4, 53337-2, 53338-0, 53339-8, 53341-4, 53342-2, 53345-5, 53346-3, 54211-8, 54212-6, 54213-4, 54214-2, 54215-9, 54235-7, 54236-5, 55138-2, 55348-7, 55467-5, 55468-3, 55472-5, 55473-3, 55809-8, 55810-6, 55811-4, 55812-2, 55822-1, 55823-9, 55826-2, 55844-5, 55845-2, 56517-6, 56518-4, 56519-2, 56520-0, 56521-8, 56585-3, 57002-8, 57463-2, 57464-0, 57465-7, 57466-5, 57494-7, 57495-4, 57496-2, 57497-0, 57498-8, 57499-6, 57500-1, 57501-9, 57502-7, 57503-5, 57504-3, 57505-0, 57506-8, 57507-6, 57557-1, 57558-9, 57559-7, 57563-9, 57564-7, 57565-4, 57597-7, 57598-5, 57599-3, 57600-9, 57601-7, 57602-5, 57603-3, 57604-1, 57613-2, 57614-0, 57615-7, 57616-5, 57617-3, 57618-1, 57619-9, 57620-7, 57672-8, 57684-3, 57685-0, 57686-8, 57687-6, 57688-4, 57689-2, 57690-0, 57691-8, 57692-6, 57693-4, 57694-2, 57695-9, 57824-5, 57825-2, 58631-3, 58632-1, 58633-9, 58634-7, 58635-4, 58636-2, 58637-0, 58638-8, 58639-6, 58640-4, 58641-2, 58642-0, 58643-8, 58644-6, 58645-3, 58646-1, 58647-9, 58648-7, 58649-5, 58650-3, 58651-1, 58652-9, 58653-7, 58654-5, 58655-2, 58656-0, 58657-8, 58658-6, 58659-4, 58660-2, 58661-0, 58662-8, 58663-6, 58664-4, 58665-1, 58666-9, 58667-7, 58668-5, 58669-3, 58670-1, 58671-9, 58672-7, 58673-5, 58674-3, 58675-0, 58676-8, 58677-6, 58678-4, 58679-2, 58680-0, 58688-3, 58689-1, 58690-9, 58691-7, 58692-5, 58693-3, 58694-1, 58695-8, 58696-6, 58697-4, 58698-2, 58819-4, 58820-2, 58821-0, 58822-8, 58823-6, 58824-4, 58825-1, 58826-9, 58827-7, 58828-5, 58829-3, 58830-1, 58908-5, 58909-3, 58910-1, 58985-3, 59153-7, 59273-3, 59803-7, 59804-5, 60013-0, 60680-6, 60681-4, 65364-2, 68315-1, 6869-2, 71805-6, 72392-4, 73841-9, 73842-7, 73843-5, 73862-5, 73863-3, 73864-1, 73890-6, 73891-4, 73892-2, 74872-3, 75516-5, 76347-4, 76352-4, 77607-0, 77925-6, 77926-4, 77927-2, 77928-0, 77929-8, 77930-6, 77931-4, 77932-2, 77933-0, 77934-8, 77935-5, 77936-3, 77937-1, 78047-8, 78988-3, 81793-2, 81794-0, 81804-7, 82848-3, 82849-1, 82850-9, 82851-7, 82854-1, 82855-8, 82856-6, 82857-4, 82861-6, 82862-4, 82878-0, 82879-8, 82894-7, 82895-4, 82896-2, 82897-0, 82898-8, 82899-6, 82900-2, 82901-0, 82908-5, 82909-3, 83088-5, 83089-3, 83090-1, 83091-9, 87429-7, 93480-2, 93481-0, 93482-8, 93483-6, 93484-4, 93773-0, 94873-7, 95578-1, 95579-9, 95580-7, 95581-5, 95582-3, 9612-3, 9613-1, 9614-9, 9615-6, 96424-7, 96425-4, 96798-4, 96801-6, 97765-2, 9812-9, 9813-7
days -1825 to -1 (H)0.328189
lab_ckCreatine kinase testLab tests orderedObservation (any)LOINC: 101446-3, 12187-1, 12189-7, 13969-1, 14680-3, 15048-2, 15049-0, 16688-4, 20569-0, 2151-9
35 more2152-7, 2153-5, 2154-3, 2155-0, 2156-8, 2157-6, 2158-4, 24335-2, 26019-0, 26020-8, 32673-6, 33547-1, 34160-2, 38482-6, 49129-0, 49136-5, 49258-7, 49259-5, 49551-5, 50756-6, 50757-4, 51505-6, 51506-4, 51507-2, 53433-9, 5912-1, 59149-5, 72561-4, 72562-2, 72563-0, 72564-8, 72565-5, 83092-7, 9642-0, 9643-8
days -1825 to -1 (H)0.364595
lab_ca125CA-125 testLab tests orderedObservation (any)LOINC: 10334-1, 11210-2, 15156-3, 15157-1, 19165-0, 2006-5, 40618-1, 48677-9, 50775-6, 59040-6
3 more68923-2, 83082-8, 97743-9
days -1825 to -1 (H)0.255224
rx_stimulantStimulant or wakefulness drugMedicationsMedicationRequest (any)RxNorm ingredients: modafinil, armodafinil, methylphenidate, amphetamine, dextroamphetamine, lisdexamfetamine (788 RxCUIs listed in the model file)days -1825 to -1 (H)0.366591
rx_naltrexoneNaltrexoneMedicationsMedicationRequest (any)RxNorm ingredients: naltrexone (114 RxCUIs listed in the model file)days -1825 to -1 (H)0.235089
rx_ssri_snriSSRI or SNRI antidepressantMedicationsMedicationRequest (any)RxNorm ingredients: sertraline, fluoxetine, citalopram, escitalopram, paroxetine, venlafaxine, duloxetine, desvenlafaxine (490 RxCUIs listed in the model file)days -1825 to -1 (H)0.286227
rx_tricyclic_lowdoseAmitriptyline, nortriptyline, or cyclobenzaprineMedicationsMedicationRequest (any)RxNorm ingredients: amitriptyline, nortriptyline, cyclobenzaprine (295 RxCUIs listed in the model file)days -1825 to -1 (H)0.396435
rx_gabapentinoidGabapentin or pregabalinMedicationsMedicationRequest (any)RxNorm ingredients: gabapentin, pregabalin (162 RxCUIs listed in the model file)days -1825 to -1 (H)0.472002
rx_sleep_aidSleep medicationMedicationsMedicationRequest (any)RxNorm ingredients: zolpidem, trazodone, eszopiclone (169 RxCUIs listed in the model file)days -1825 to -1 (H)0.299121
rx_beta_blockerBeta blockerMedicationsMedicationRequest (any)RxNorm ingredients: propranolol, metoprolol, atenolol, bisoprolol, nadolol, carvedilol (787 RxCUIs listed in the model file)days -1825 to -1 (H)0.38409
rx_potsPOTS medicationMedicationsMedicationRequest (any)RxNorm ingredients: ivabradine, midodrine, fludrocortisone, pyridostigmine (122 RxCUIs listed in the model file)days -1825 to -1 (H)0.500891
rx_opioidOpioidMedicationsMedicationRequest (any)RxNorm ingredients: oxycodone, hydrocodone, tramadol, morphine (3607 RxCUIs listed in the model file)days -1825 to -1 (H)0.351719
rx_hormonalHormonal contraceptive or progestinMedicationsMedicationRequest (any)RxNorm ingredients: norethindrone, levonorgestrel, drospirenone, medroxyprogesterone, etonogestrel, desogestrel, norgestimate (1192 RxCUIs listed in the model file)days -1825 to -1 (H)-0.504473
rx_gnrhGnRH agonist or antagonistMedicationsMedicationRequest (any)RxNorm ingredients: leuprolide, elagolix, relugolix (172 RxCUIs listed in the model file)days -1825 to -1 (H)0.621038
rx_nsaidNSAID pain relieverMedicationsMedicationRequest (any)RxNorm ingredients: naproxen, ibuprofen, meloxicam, diclofenac, ketorolac (1712 RxCUIs listed in the model file)days -1825 to -1 (H)0.225447
rx_aromataseAromatase inhibitorMedicationsMedicationRequest (any)RxNorm ingredients: letrozole, anastrozole (32 RxCUIs listed in the model file)days -1825 to -1 (H)0.063787
util_out_r_ge66+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 6 Encounters)days -365 to -1 (R)0.166486
util_out_r_ge1212+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 12 Encounters)days -365 to -1 (R)0.176564
util_ed_rEmergency visit in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class EMER (at least 1 Encounter)days -365 to -1 (R)0.197593
util_ip_hHospital stay in the past 5 yearsHealth care useEncounter (encounter_count_ge)Encounter.class IMP (at least 1 Encounter)days -1825 to -1 (H)0.101132

Score, calibration, and risk bands

score = -4.729346 + Σ weight × value. The probability is the piecewise-linear interpolation of the score over the calibration points below, clamped at the ends. The band is the first band whose upper limit is at or above the probability. "Times the average" is the probability divided by the cohort base rate in the model file, reference.cohort_base_rate = 0.085038 (about 8.5%).

Calibration points come from a logistic on binned training-split counts (a = -2.036885, b = 0.16132).

BandProbability up toTimes the average
Typical12.8%1.50
Elevated25.5%3.00
High100%above 3.00
ScoreProbability
-8.79233.06%
-7.98023.47%
-7.1683.94%
-6.35594.47%
-5.54375.06%
-4.73165.73%
-3.91946.48%
-3.10737.32%
-2.29518.26%
-1.4839.31%
-0.670810.5%
0.141311.8%
0.953513.2%
1.765614.8%
2.577816.5%
3.389918.4%
4.202120.4%
5.014222.7%
5.826425.0%
6.638527.6%
7.450730.3%
8.262833.1%
9.07536.1%
9.887139.1%
10.699342.3%

Validation and provenance

Intended use and limitations

Test patients and expected results

Synthetic FHIR R4 bundles in model/test_vectors/bundles/, scored as of 2024-06-01. Expected outputs are in model/test_vectors/expected/unm-endometriosis-1.0.0/; this generator reran the reference scorer on every bundle and they match. The JavaScript scorer must reproduce them to 1e-9.

PatientScenarioExpected resultTop drivers
Mariabuilt for the Long COVID cardTypical, 8.74% (1.03 times the average)C-reactive protein test; Beta blocker; Cognitive symptoms (brain fog, memory)
Jamesbuilt for the Long COVID cardnot scored: the model covers women (FHIR gender female)
Rosabuilt for the Long COVID cardTypical, 6.15% (0.72 times the average)Age 50-59; Long COVID; COVID-19
Leebuilt for the Long COVID cardnot scored: the model covers women (FHIR gender female)
Norabuilt for the Long COVID cardTypical, 5.10% (0.60 times the average)COVID-19; Age 18-39
Danabuilt for the Lyme cardTypical, 6.03% (0.71 times the average)Age 50-59; Muscle or joint pain
Elenabuilt for the Chronic fatigue and ME/CFS cardTypical, 9.33% (1.10 times the average)POTS medication; Five or more symptom types; Tilt-table test
Omarbuilt for the Chronic fatigue and ME/CFS cardnot scored: the model covers women (FHIR gender female)
Gracebuilt for the Chronic fatigue and ME/CFS cardTypical, 5.77% (0.68 times the average)Age 40-49
Sofiabuilt for the Fibromyalgia cardTypical, 12.4% (1.46 times the average)Five or more symptom types; Gabapentin or pregabalin; Amitriptyline, nortriptyline, or cyclobenzaprine
Priyabuilt for the Long COVID cardTypical, 6.39% (0.75 times the average)Fatigue or malaise coded in the past year; Fatigue or malaise coded; Long COVID
Sambuilt for the Long COVID cardnot scored: the model covers women (FHIR gender female)
Theobuilt for the Long COVID cardnot scored: the model covers women (FHIR gender female)
Yarabuilt for the Long COVID cardTypical, 5.45% (0.64 times the average)Fatigue or malaise coded in the past year; Fatigue or malaise coded; COVID-19
Verabuilt for the Long COVID cardTypical, 6.39% (0.75 times the average)Age 60-69; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Willbuilt for the Long COVID cardnot scored: the model covers women (FHIR gender female)
Umano birth date: not scored by any modelnot scored: birth date missing or unusable (age is required)
Kai16 at the COVID-19 index, 17 on the scoring date: not scored by any modelnot scored: under 18 on the scoring date (the model covers adults)

Lyme (unm-lyme 1.0.0)

Model file model/lyme.json, status "research". Research decision support. Surfaces chart patterns for clinician review. Not a diagnosis.

Download lyme.json

What it predicts and for whom

Card wording, from the CDS Hooks service (web/functions/cds-services/_cds.js): "Chart pattern similar to patients who report a Lyme disease diagnosis that was never coded." The number is shown as "N times the average for adults with a visit in the past year" and as the "Probability that the patient reports a Lyme disease diagnosis".

When it does not score

  1. No usable birth date: "birth date missing or unusable (age is required)".
  2. Under 18 on day 0 (age is days / 365.25, as in training): "under 18 on the scoring date (the model covers adults)".
  3. A Condition coded ICD-10-CM A69.2 is dated on or before day 0, or has no usable date: "a Lyme disease diagnosis is already recorded".
  4. No AMB, EMER, or IMP encounter in days -365 to -1 (R): "no encounters in the past year (insufficient history)".

ICD-10-CM codes match by prefix with dots removed, so a listed code also matches its subcodes. In each case the app says why it did not score. Every rule reads only records dated on or before the scoring date; Conditions whose verificationStatus is refuted or entered-in-error, and records whose status is entered-in-error, are ignored. If a FHIR search the model needs failed or was forbidden, the result is "could not score: <resource> unavailable" instead of a score (interface spec, section 4c).

Windows

WindowDays relative to day 0
H-1825 to -1
R-365 to -1

Features (86, of which 86 carry a weight)

Each feature is 0 or 1. Features that differ only in threshold (for example 2+ and 3+ of the same thing) show as one driver carrying the summed weight. ICD-10-CM codes are shown with dots for reading; the model file stores feature codes without dots.

FeatureLabelGroupSource (kind)CodesWindowWeight
age_18_39Age 18-39DemographicsPatient (age_band)Patient.birthDate: age 18 to 39 on day 0on day 0-0.348005
age_40_49Age 40-49DemographicsPatient (age_band)Patient.birthDate: age 40 to 49 on day 0on day 0-0.324699
age_50_59Age 50-59DemographicsPatient (age_band)Patient.birthDate: age 50 to 59 on day 0on day 0-0.211528
age_60_69Age 60-69DemographicsPatient (age_band)Patient.birthDate: age 60 to 69 on day 0on day 00.191844
age_70pAge 70 or olderDemographicsPatient (age_band)Patient.birthDate: age 70 and older on day 0on day 00.355548
sex_femaleFemaleDemographicsPatient (sex)Patient.gender = femaleon day 0-0.197277
cx_fatigue_otherFatigue or malaise codedConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -1825 to -1 (H)0.288474
cx_fatigue_recentFatigue or malaise coded in the past yearConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -365 to -1 (R)0.188096
cx_sleepSleep disturbanceConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.0, G47.1, G47.8, G47.9, F51days -1825 to -1 (H)-0.060141
cx_sleep_apneaSleep apneaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.33days -1825 to -1 (H)-0.174849
cx_cognitiveCognitive symptoms (brain fog, memory)Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R41, G31.84days -1825 to -1 (H)0.065405
cx_autonomicPalpitations, POTS, orthostatic hypotension, or dysautonomiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9days -1825 to -1 (H)0.0226
cx_dizzy_syncopeDizziness or faintingConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R42, R55days -1825 to -1 (H)0.034014
cx_headacheHeadacheConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R51, G44days -1825 to -1 (H)-0.029797
cx_migraineMigraineConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G43days -1825 to -1 (H)0.04114
cx_myalgia_arthralgiaMuscle or joint painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.1, M25.5, M79.6days -1825 to -1 (H)-0.039507
cx_chronic_painChronic painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G89days -1825 to -1 (H)0.032722
cx_depressionDepressionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F32, F33days -1825 to -1 (H)-0.17947
cx_anxietyAnxietyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F41days -1825 to -1 (H)-0.247614
cx_ptsdPosttraumatic stress disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F43.1days -1825 to -1 (H)0.096939
cx_ibs_giIrritable bowel or gastrointestinal symptomsConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: K58, R10, R11, R14, R19days -1825 to -1 (H)-0.107598
cx_sore_throat_nodesSore throat or enlarged lymph nodesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: J02, R59days -1825 to -1 (H)-0.152447
cx_feverFeverConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R50days -1825 to -1 (H)0.243165
cx_covidCOVID-19Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U07.1days -1825 to -1 (H)-0.134513
cx_eds_hypermobilityEhlers-Danlos syndrome or hypermobilityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Q79.6, M35.7days -1825 to -1 (H)0.354145
cx_hypothyroidHypothyroidismConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E03days -1825 to -1 (H)0.000977
cx_anemiaAnemiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D50, D51, D52, D53, D63, D64days -1825 to -1 (H)-0.207664
cx_vitd_deficiencyVitamin D deficiencyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E55days -1825 to -1 (H)-0.182119
cx_autoimmuneAutoimmune or demyelinating diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M05, M06, M32, M35, L40, K50, K51, M45, G35days -1825 to -1 (H)0.152498
cx_obesityObesityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E66, Z68.3, Z68.4days -1825 to -1 (H)-0.40707
cx_diabetesDiabetesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E10, E11days -1825 to -1 (H)-0.367321
cx_hypertensionHypertensionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I10days -1825 to -1 (H)-0.131332
cx_heart_diseaseCoronary disease or heart failureConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I25, I50days -1825 to -1 (H)0.047011
cx_cancerCancerConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Cdays -1825 to -1 (H)0.189714
cx_cfsChronic fatigue or ME/CFSConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G93.3, R53.82days -1825 to -1 (H)0.198272
cx_tmjTemporomandibular joint disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M26.6days -1825 to -1 (H)-0.085549
cx_rlsRestless legs syndromeConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G25.81days -1825 to -1 (H)0.282786
cx_osteoarthritisOsteoarthritisConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M15, M16, M17, M18, M19days -1825 to -1 (H)0.064715
cx_neck_back_painNeck or low back painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M54.2, M54.5days -1825 to -1 (H)-0.114621
cx_fibromyalgiaFibromyalgiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.7days -1825 to -1 (H)0.340771
cx_rashRash or skin rednessConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R21, L53days -1825 to -1 (H)0.233767
cx_joint_swellingJoint swelling or arthritisConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M25.4, M13days -1825 to -1 (H)0.016058
cx_paresthesia_neuropathyNumbness, tingling, or neuropathyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R20.0, R20.2, G62days -1825 to -1 (H)0.039722
cx_radiculopathyRadiculopathyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M54.1days -1825 to -1 (H)0.050367
cx_heart_blockHeart blockConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I44days -1825 to -1 (H)0.12311
cx_insect_biteInsect or tick biteConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: W57days -1825 to -1 (H)1.042833
clusters_ge3Three or more symptom typesSymptom patternCondition (cluster_count_ge)at least 3 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83, G93.3, R53.82
sleep: G47.0, G47.1, G47.8, G47.9, F51, G25.81
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, M26.6, M54.2, M54.5, M25.4, M13
mood: F32, F33, F41
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
neuro: G51.0, R20.0, R20.2, G62, M54.1
skin: R21, L53
days -1825 to -10.00856
clusters_ge5Five or more symptom typesSymptom patternCondition (cluster_count_ge)at least 5 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83, G93.3, R53.82
sleep: G47.0, G47.1, G47.8, G47.9, F51, G25.81
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, M26.6, M54.2, M54.5, M25.4, M13
mood: F32, F33, F41
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
neuro: G51.0, R20.0, R20.2, G62, M54.1
skin: R21, L53
days -1825 to -10.069784
px_sleep_studySleep studyTests and evaluationsProcedure (any)CPT: 95806, 95807, 95808, 95809, 95810, 95811, G0398, G0399, G0400days -1825 to -1 (H)0.009834
px_brain_mriBrain MRITests and evaluationsProcedure (any)CPT: 70551, 70552, 70553days -1825 to -1 (H)0.124091
px_echoEchocardiogramTests and evaluationsProcedure (any)CPT: 93303, 93304, 93305, 93306, 93307, 93308, 93312, 93313, 93314, 93315, 93316, 93317, 93318, 93350, 93351, 93352days -1825 to -1 (H)0.167417
px_cardiac_monitorHolter or event monitorTests and evaluationsProcedure (any)CPT: 93224, 93225, 93226, 93227, 93228, 93229, 93241, 93242, 93243, 93244, 93245, 93246, 93247, 93248, 93268, 93269, 93270, 93271, 93272days -1825 to -1 (H)0.226211
px_exercise_testExercise or cardiopulmonary exercise testTests and evaluationsProcedure (any)CPT: 94621, 93015, 93016, 93017, 93018days -1825 to -1 (H)0.213743
px_neuropsychNeuropsychological testingTests and evaluationsProcedure (any)CPT: 96132, 96133, 96136, 96137, 96138, 96139days -1825 to -1 (H)0.177882
px_pt_evalPhysical therapy evaluationTests and evaluationsProcedure (any)CPT: 97161, 97162, 97163days -1825 to -1 (H)0.122209
lab_tshThyroid (TSH) testLab tests orderedObservation (any)LOINC: 10516-3, 11033-8, 11579-0, 11580-8, 12932-0, 12933-8, 12934-6, 12935-3, 12936-1, 12937-9
88 more12938-7, 12939-5, 12940-3, 12941-1, 12942-9, 12943-7, 12944-5, 12945-2, 12946-0, 12947-8, 12948-6, 13869-3, 13871-9, 13897-4, 14255-4, 14919-5, 14997-1, 14998-9, 14999-7, 15000-3, 17786-5, 20452-9, 25789-9, 25990-3, 25991-1, 26998-5, 29316-7, 29317-5, 29574-1, 29575-8, 3015-5, 30151-5, 3016-3, 3018-9, 3019-7, 33258-5, 33259-3, 33260-1, 33261-9, 33269-2, 34054-7, 35134-6, 40397-2, 40398-0, 40399-8, 40400-4, 40401-2, 40673-6, 44935-5, 44936-3, 45173-2, 47947-7, 47948-5, 47949-3, 47950-1, 47951-9, 47952-7, 47953-5, 48077-2, 48700-9, 50533-9, 50534-7, 50535-4, 50536-2, 50537-0, 50538-8, 50539-6, 50540-4, 50541-2, 5384-3, 5385-0, 55362-8, 56594-5, 57416-0, 57854-2, 58833-5, 58834-3, 63363-6, 63364-4, 63365-1, 63366-9, 65360-0, 69561-9, 70096-3, 77623-7, 82659-4, 90801-2, 99078-8
days -1825 to -1 (H)0.08167
lab_ferritinFerritin testLab tests orderedObservation (any)LOINC: 14723-1, 14724-9, 20567-4, 2276-4, 24373-3, 48141-6, 53048-5, 74807-9, 86914-9days -1825 to -1 (H)0.031481
lab_b12Vitamin B12 testLab tests orderedObservation (any)LOINC: 1460-5, 14685-2, 14733-0, 15052-4, 16695-9, 16696-7, 1888-7, 2132-9, 2169-1, 2171-7
28 more2440-6, 26916-7, 3029-6, 3031-2, 3032-0, 30904-7, 30905-4, 30906-2, 32341-0, 33766-7, 4203-6, 49264-5, 54376-9, 54377-7, 54378-5, 55850-2, 55881-7, 55882-5, 55883-3, 55884-1, 55885-8, 59211-3, 72157-1, 72158-9, 72160-5, 96297-7, 96805-7, 96809-9
days -1825 to -1 (H)0.149955
lab_vitamin_dVitamin D testLab tests orderedObservation (any)LOINC: 14635-7, 1989-3, 46269-7, 49054-0, 55814-8, 57566-2, 57567-0, 57568-8, 57569-6, 62292-8
12 more68438-1, 72403-9, 72404-7, 72888-1, 83070-3, 83071-1, 86918-0, 94673-1, 94674-9, 95593-0, 95594-8, 95595-5
days -1825 to -1 (H)0.128229
lab_anaAntinuclear antibody (ANA) testLab tests orderedObservation (any)LOINC: 101221-0, 101231-9, 11088-2, 11089-0, 11090-8, 11565-9, 11571-7, 13066-6, 13067-4, 13068-2
267 more14030-1, 14235-6, 14240-6, 14607-6, 14608-4, 14609-2, 14610-0, 14611-8, 14612-6, 14613-4, 14614-2, 14615-9, 14616-7, 14722-3, 15398-1, 16139-8, 16392-3, 16393-1, 16394-9, 16824-5, 17031-6, 17032-4, 17341-9, 17380-7, 17532-3, 17533-1, 17535-6, 17536-4, 17569-5, 17583-6, 17584-4, 17586-9, 17587-7, 17589-3, 17590-1, 17591-9, 17592-7, 17791-5, 17792-3, 19137-9, 20398-4, 20399-2, 20400-8, 20401-6, 20432-1, 20435-4, 21260-5, 21423-9, 21522-8, 22296-8, 22297-6, 26023-2, 26703-9, 26880-5, 26975-3, 27048-8, 27200-5, 27416-7, 29374-6, 29948-7, 29949-5, 29953-7, 29954-5, 30138-2, 30342-0, 30556-5, 31372-6, 31535-8, 31540-8, 31541-6, 31542-4, 31543-2, 31544-0, 31562-2, 31563-0, 31627-3, 31628-1, 31693-5, 32041-6, 32715-5, 32716-3, 33253-6, 33460-7, 33566-1, 33567-9, 33568-7, 33569-5, 33570-3, 33600-8, 33635-4, 35278-1, 35333-4, 40655-3, 41025-8, 42212-1, 42213-9, 42214-7, 42254-3, 42498-6, 43100-7, 43119-7, 43182-5, 44083-4, 44751-6, 44752-4, 45142-7, 47074-0, 47383-5, 49309-8, 49310-6, 49311-4, 49738-8, 5047-6, 5048-4, 51749-0, 51928-0, 5234-0, 5235-7, 5275-3, 5276-1, 53002-2, 53006-3, 53007-1, 53008-9, 5301-7, 5302-5, 5348-8, 5349-6, 5351-2, 5352-0, 5353-8, 5354-6, 5355-3, 5356-1, 5357-9, 53983-3, 53984-1, 53985-8, 53986-6, 53987-4, 53988-2, 53989-0, 53990-8, 53991-6, 53992-4, 53993-2, 53994-0, 53997-3, 53998-1, 53999-9, 54000-5, 54005-4, 54006-2, 54149-0, 54154-0, 54155-7, 56148-0, 56693-5, 56721-4, 56723-0, 56724-8, 56725-5, 56730-5, 56731-3, 56733-9, 56977-2, 57010-1, 57431-9, 57448-3, 59069-5, 59390-5, 63238-0, 63239-8, 63265-3, 63266-1, 63267-9, 63294-3, 63295-0, 63296-8, 63297-6, 63305-7, 63306-5, 63307-3, 63308-1, 63317-2, 63318-0, 63319-8, 63334-7, 63335-4, 63336-2, 63337-0, 63338-8, 63345-3, 63346-1, 63347-9, 63348-7, 63349-5, 63350-3, 63351-1, 63352-9, 63353-7, 63354-5, 63388-3, 63389-1, 63390-9, 63391-7, 63393-3, 63394-1, 63398-2, 63399-0, 63400-6, 63401-4, 63402-2, 63403-0, 63404-8, 63405-5, 63406-3, 63536-7, 63540-9, 63542-5, 63545-8, 63546-6, 63547-4, 63569-8, 63570-6, 6822-1, 68369-8, 68370-6, 68371-4, 68372-2, 68373-0, 68374-8, 68375-5, 68376-3, 8061-4, 8076-2, 8088-7, 8091-1, 8092-9, 8093-7, 8094-5, 81728-8, 89501-1, 89502-9, 89526-8, 89527-6, 89529-2, 89531-8, 89533-4, 89535-9, 89536-7, 89537-5, 93712-8, 9399-7, 9423-5, 96919-6, 96920-4, 96921-2, 96922-0, 96923-8, 96924-6, 96925-3, 96926-1, 96927-9, 9722-0, 9839-2, 99069-7
days -1825 to -1 (H)0.217279
lab_crpC-reactive protein testLab tests orderedObservation (any)LOINC: 11039-5, 14634-0, 16503-5, 1988-5, 30522-7, 35648-5, 45062-7, 48421-2, 59182-6, 71426-1
3 more76485-2, 76486-0, 98987-1
days -1825 to -1 (H)0.338144
lab_esrSedimentation rate (ESR) testLab tests orderedObservation (any)LOINC: 18184-2, 30341-2, 43402-7, 4537-7, 4538-5, 4539-3, 82477-1days -1825 to -1 (H)0.398775
lab_ebvEpstein-Barr virus testLab tests orderedObservation (any)LOINC: 100677-4, 100678-2, 101817-5, 11009-8, 11010-6, 12212-7, 13236-5, 13237-3, 13238-1, 14083-0
135 more16823-7, 16824-5, 16825-2, 16826-0, 16827-8, 18427-5, 18428-3, 20432-1, 20490-9, 20491-7, 21260-5, 22290-1, 22291-9, 22292-7, 22293-5, 22294-3, 22295-0, 22296-8, 22297-6, 22298-4, 23858-4, 23970-7, 23971-5, 23972-3, 23994-7, 23995-4, 23996-2, 24007-7, 24114-1, 24115-8, 24316-2, 26705-4, 30083-0, 30136-6, 30137-4, 30138-2, 30339-6, 30340-4, 31369-2, 31370-0, 31371-8, 31372-6, 31373-4, 31374-2, 31375-9, 32585-2, 32828-6, 32829-4, 32830-2, 32843-5, 32844-3, 32845-0, 33395-5, 33479-7, 34593-4, 34639-5, 35397-9, 35398-7, 36923-1, 40750-2, 40751-0, 40752-8, 40753-6, 42497-8, 42498-6, 43730-1, 47064-1, 47066-6, 47068-2, 47072-4, 47432-0, 47433-8, 47434-6, 47435-3, 47436-1, 47437-9, 47982-4, 48723-1, 49069-8, 49178-7, 49352-8, 49353-6, 49354-4, 49355-1, 49356-9, 49564-8, 5002-1, 5003-9, 5004-7, 5005-4, 50969-5, 51454-7, 5153-2, 5154-0, 5155-7, 5156-5, 5157-3, 5158-1, 5159-9, 5160-7, 53774-6, 56598-6, 56599-4, 58760-0, 59183-4, 59805-2, 66493-8, 6814-8, 6815-5, 69949-6, 72206-6, 7882-4, 7883-2, 7884-0, 7885-7, 7886-5, 81119-0, 83095-0, 84871-3, 84872-1, 87554-2, 93711-0, 93712-8, 93713-6, 93714-4, 93840-7, 93841-5, 94102-1, 94827-3, 94828-1, 94829-9, 94830-7, 95138-4, 9633-9, 97993-0
days -1825 to -1 (H)0.375106
lab_lymeLyme disease testLab tests orderedObservation (any)LOINC: 100711-1, 101149-3, 101352-3, 101353-1, 101357-2, 101358-0, 101403-4, 103961-9, 10846-4, 10847-2
265 more11006-4, 11007-2, 11550-1, 11551-9, 12781-1, 12860-3, 12861-1, 12862-9, 12863-7, 12864-5, 12865-2, 12866-0, 12867-8, 12868-6, 12869-4, 12873-6, 12874-4, 12877-7, 12878-5, 12879-3, 12880-1, 12881-9, 12882-7, 12883-5, 12884-3, 12885-0, 12886-8, 12887-6, 12888-4, 12889-2, 12890-0, 12891-8, 12892-6, 12896-7, 13202-7, 13203-5, 13204-3, 13205-0, 13206-8, 13207-6, 13502-0, 13503-8, 14077-2, 14078-0, 16475-6, 16476-4, 16477-2, 16478-0, 16479-8, 16480-6, 16481-4, 16482-2, 18201-4, 18202-2, 18203-0, 19052-0, 20449-5, 21116-9, 21117-7, 21118-5, 21119-3, 21120-1, 22118-4, 22119-2, 22120-0, 22121-8, 22122-6, 22123-4, 22124-2, 22125-9, 22126-7, 22127-5, 22128-3, 22129-1, 22130-9, 22131-7, 22132-5, 22133-3, 22134-1, 22135-8, 22136-6, 22137-4, 23676-0, 23833-7, 23966-5, 23977-2, 23978-0, 23979-8, 23980-6, 23981-4, 23982-2, 23983-0, 23984-8, 23985-5, 26006-7, 27982-8, 27985-1, 27986-9, 27992-7, 28002-4, 28036-2, 28037-0, 28039-6, 28040-4, 28043-8, 28048-7, 28053-7, 28054-5, 28055-2, 28056-0, 28057-8, 28058-6, 28062-8, 29898-4, 29952-9, 30010-3, 30011-1, 30012-9, 30013-7, 30014-5, 30015-2, 30016-0, 30017-8, 30018-6, 30019-4, 30020-2, 30021-0, 30128-3, 30526-8, 31155-5, 31268-6, 31269-4, 31738-8, 32666-0, 32667-8, 32668-6, 32669-4, 33931-7, 33932-5, 34148-7, 34942-3, 34943-1, 35638-6, 38173-1, 38174-9, 40612-4, 41279-1, 42236-0, 42237-8, 42238-6, 42239-4, 42589-2, 42767-4, 43074-4, 43075-1, 43076-9, 43077-7, 43573-5, 43842-4, 44020-6, 44452-1, 44453-9, 44454-7, 44455-4, 44456-2, 44946-2, 44947-0, 44948-8, 44949-6, 45165-8, 45189-8, 46174-9, 46248-1, 47304-1, 48500-3, 48651-4, 4991-6, 49973-1, 49974-9, 49975-6, 49976-4, 49977-2, 49978-0, 49979-8, 49980-6, 49981-4, 49982-2, 49983-0, 49984-8, 49991-3, 49992-1, 49993-9, 49994-7, 49995-4, 49996-2, 49997-0, 49998-8, 5060-9, 5061-7, 5062-5, 5063-3, 5064-1, 5065-8, 51742-5, 51743-3, 51744-1, 51745-8, 51746-6, 51747-4, 53362-0, 53363-8, 53364-6, 53730-8, 55726-4, 57916-9, 60342-3, 60343-1, 62341-3, 62342-1, 6318-0, 6319-8, 6320-6, 6321-4, 6322-2, 67823-5, 67825-0, 7817-0, 7818-8, 79708-4, 79709-2, 83080-2, 83081-0, 87423-0, 87547-6, 90893-9, 94247-4, 94250-8, 94475-1, 94476-9, 94477-7, 9586-9, 9587-7, 9588-5, 9589-3, 9590-1, 9591-9, 9592-7, 9593-5, 9594-3, 9595-0, 9596-8, 9597-6, 9598-4, 9599-2, 96427-0, 96428-8, 96429-6, 96430-4, 96431-2, 96432-0, 98204-1, 98205-8, 98206-6, 98207-4, 98208-2
days -1825 to -1 (H)1.708059
lab_cortisolCortisol testLab tests orderedObservation (any)LOINC: 100662-6, 100799-6, 100800-2, 100801-0, 100802-8, 100803-6, 100998-4, 101315-0, 101316-8, 101319-2
578 more101586-6, 101977-7, 101979-3, 101980-1, 102023-9, 102024-7, 102025-4, 102026-2, 102027-0, 102028-8, 10332-5, 103647-4, 11040-3, 11155-9, 12557-5, 12558-3, 12559-1, 12560-9, 12561-7, 12562-5, 12563-3, 12564-1, 12565-8, 12566-6, 12567-4, 12568-2, 12569-0, 12570-8, 13480-9, 1356-5, 1357-3, 13600-2, 13601-0, 13602-8, 13611-9, 13872-7, 1389-6, 1390-4, 1391-2, 1392-0, 1393-8, 1394-6, 1395-3, 1396-1, 1397-9, 1398-7, 1399-5, 1400-1, 1401-9, 1402-7, 1403-5, 1404-3, 14043-4, 1406-8, 1407-6, 1408-4, 1409-2, 1410-0, 1411-8, 1412-6, 1413-4, 1414-2, 14148-1, 1415-9, 14158-0, 1416-7, 1417-5, 1418-3, 1419-1, 1421-7, 1422-5, 1423-3, 1424-1, 1425-8, 1426-6, 1427-4, 1428-2, 1429-0, 1430-8, 1431-6, 1432-4, 1433-2, 1434-0, 1435-7, 1436-5, 1437-3, 1438-1, 1439-9, 1440-7, 1441-5, 1442-3, 1443-1, 1444-9, 1445-6, 1446-4, 1447-2, 1448-0, 1449-8, 1450-6, 1451-4, 14567-2, 14675-3, 14676-1, 14677-9, 14678-7, 14679-5, 15043-3, 15044-1, 16295-8, 1657-6, 16667-8, 16668-6, 16669-4, 16670-2, 16671-0, 16672-8, 16673-6, 16674-4, 16675-1, 18351-7, 18365-7, 20622-7, 20995-7, 21034-4, 21035-1, 21039-3, 21044-3, 21222-5, 21223-3, 21224-1, 21225-8, 21226-6, 2142-8, 2143-6, 2144-4, 2145-1, 2147-7, 24389-9, 24390-7, 24391-5, 24392-3, 24393-1, 24394-9, 24395-6, 25315-3, 25618-0, 25619-8, 25621-4, 25622-2, 25623-0, 25624-8, 25625-5, 25626-3, 25627-1, 25628-9, 25882-2, 25883-0, 25884-8, 25885-5, 26525-6, 26526-4, 26527-2, 26528-0, 26529-8, 26530-6, 26531-4, 26532-2, 26533-0, 26534-8, 26535-5, 26536-3, 26828-4, 27199-9, 28045-3, 28046-1, 28550-2, 29358-9, 29363-9, 2995-9, 2996-7, 30171-3, 30172-1, 30173-9, 32009-3, 32310-5, 32311-3, 32312-1, 32313-9, 32314-7, 32315-4, 33257-7, 33346-8, 34065-3, 34204-8, 34205-5, 34206-3, 34476-2, 34909-2, 38551-8, 40274-3, 40275-0, 40310-5, 40311-3, 40312-1, 40313-9, 40314-7, 40315-4, 40316-2, 40317-0, 40809-6, 40810-4, 40928-4, 41289-0, 41407-8, 42572-8, 43126-2, 43215-3, 43217-9, 44309-3, 44310-1, 44412-5, 44864-7, 44916-5, 44917-3, 45047-8, 45048-6, 45049-4, 45050-2, 45051-0, 45184-9, 45296-1, 46397-6, 46398-4, 46399-2, 46403-2, 46416-4, 47604-4, 47605-1, 47606-9, 47607-7, 47608-5, 47609-3, 47844-6, 47845-3, 47846-1, 47847-9, 47848-7, 47849-5, 47850-3, 47851-1, 48098-8, 48099-6, 48100-2, 48101-0, 48102-8, 48103-6, 48104-4, 48105-1, 49029-2, 49324-7, 49968-1, 49969-9, 50071-0, 50072-8, 50073-6, 50074-4, 50075-1, 50093-4, 50094-2, 50095-9, 50096-7, 50097-5, 50250-0, 50336-7, 50415-9, 50416-7, 50421-7, 50422-5, 50423-3, 50424-1, 50429-0, 50430-8, 50431-6, 50432-4, 50433-2, 50434-0, 50441-5, 50442-3, 50453-0, 50454-8, 50455-5, 50456-3, 50457-1, 50458-9, 50459-7, 50460-5, 50645-1, 50716-0, 50717-8, 50718-6, 50719-4, 50720-2, 50721-0, 50752-5, 50848-1, 51424-0, 51488-5, 51489-3, 51490-1, 51491-9, 51492-7, 51493-5, 51494-3, 51495-0, 51844-9, 53336-4, 53337-2, 53338-0, 53339-8, 53341-4, 53342-2, 53345-5, 53346-3, 54211-8, 54212-6, 54213-4, 54214-2, 54215-9, 54235-7, 54236-5, 55138-2, 55348-7, 55467-5, 55468-3, 55472-5, 55473-3, 55809-8, 55810-6, 55811-4, 55812-2, 55822-1, 55823-9, 55826-2, 55844-5, 55845-2, 56517-6, 56518-4, 56519-2, 56520-0, 56521-8, 56585-3, 57002-8, 57463-2, 57464-0, 57465-7, 57466-5, 57494-7, 57495-4, 57496-2, 57497-0, 57498-8, 57499-6, 57500-1, 57501-9, 57502-7, 57503-5, 57504-3, 57505-0, 57506-8, 57507-6, 57557-1, 57558-9, 57559-7, 57563-9, 57564-7, 57565-4, 57597-7, 57598-5, 57599-3, 57600-9, 57601-7, 57602-5, 57603-3, 57604-1, 57613-2, 57614-0, 57615-7, 57616-5, 57617-3, 57618-1, 57619-9, 57620-7, 57672-8, 57684-3, 57685-0, 57686-8, 57687-6, 57688-4, 57689-2, 57690-0, 57691-8, 57692-6, 57693-4, 57694-2, 57695-9, 57824-5, 57825-2, 58631-3, 58632-1, 58633-9, 58634-7, 58635-4, 58636-2, 58637-0, 58638-8, 58639-6, 58640-4, 58641-2, 58642-0, 58643-8, 58644-6, 58645-3, 58646-1, 58647-9, 58648-7, 58649-5, 58650-3, 58651-1, 58652-9, 58653-7, 58654-5, 58655-2, 58656-0, 58657-8, 58658-6, 58659-4, 58660-2, 58661-0, 58662-8, 58663-6, 58664-4, 58665-1, 58666-9, 58667-7, 58668-5, 58669-3, 58670-1, 58671-9, 58672-7, 58673-5, 58674-3, 58675-0, 58676-8, 58677-6, 58678-4, 58679-2, 58680-0, 58688-3, 58689-1, 58690-9, 58691-7, 58692-5, 58693-3, 58694-1, 58695-8, 58696-6, 58697-4, 58698-2, 58819-4, 58820-2, 58821-0, 58822-8, 58823-6, 58824-4, 58825-1, 58826-9, 58827-7, 58828-5, 58829-3, 58830-1, 58908-5, 58909-3, 58910-1, 58985-3, 59153-7, 59273-3, 59803-7, 59804-5, 60013-0, 60680-6, 60681-4, 65364-2, 68315-1, 6869-2, 71805-6, 72392-4, 73841-9, 73842-7, 73843-5, 73862-5, 73863-3, 73864-1, 73890-6, 73891-4, 73892-2, 74872-3, 75516-5, 76347-4, 76352-4, 77607-0, 77925-6, 77926-4, 77927-2, 77928-0, 77929-8, 77930-6, 77931-4, 77932-2, 77933-0, 77934-8, 77935-5, 77936-3, 77937-1, 78047-8, 78988-3, 81793-2, 81794-0, 81804-7, 82848-3, 82849-1, 82850-9, 82851-7, 82854-1, 82855-8, 82856-6, 82857-4, 82861-6, 82862-4, 82878-0, 82879-8, 82894-7, 82895-4, 82896-2, 82897-0, 82898-8, 82899-6, 82900-2, 82901-0, 82908-5, 82909-3, 83088-5, 83089-3, 83090-1, 83091-9, 87429-7, 93480-2, 93481-0, 93482-8, 93483-6, 93484-4, 93773-0, 94873-7, 95578-1, 95579-9, 95580-7, 95581-5, 95582-3, 9612-3, 9613-1, 9614-9, 9615-6, 96424-7, 96425-4, 96798-4, 96801-6, 97765-2, 9812-9, 9813-7
days -1825 to -1 (H)0.322032
lab_ckCreatine kinase testLab tests orderedObservation (any)LOINC: 101446-3, 12187-1, 12189-7, 13969-1, 14680-3, 15048-2, 15049-0, 16688-4, 20569-0, 2151-9
35 more2152-7, 2153-5, 2154-3, 2155-0, 2156-8, 2157-6, 2158-4, 24335-2, 26019-0, 26020-8, 32673-6, 33547-1, 34160-2, 38482-6, 49129-0, 49136-5, 49258-7, 49259-5, 49551-5, 50756-6, 50757-4, 51505-6, 51506-4, 51507-2, 53433-9, 5912-1, 59149-5, 72561-4, 72562-2, 72563-0, 72564-8, 72565-5, 83092-7, 9642-0, 9643-8
days -1825 to -1 (H)0.272215
lab_rfRheumatoid factor testLab tests orderedObservation (any)LOINC: 11572-5, 11573-3, 13634-1, 13929-5, 13930-3, 14034-3, 15203-3, 15204-1, 15205-8, 15206-6
28 more17534-9, 17857-4, 25745-1, 25746-9, 29351-4, 30231-5, 31046-6, 33313-8, 33314-6, 33577-8, 33648-7, 33910-1, 43932-3, 45156-7, 46435-4, 46437-0, 5297-7, 5298-5, 5299-3, 5300-9, 53562-5, 53924-7, 63313-1, 63314-9, 63315-6, 6823-9, 6928-6, 9338-5
days -1825 to -1 (H)0.340206
lab_ccpAnti-CCP antibody testLab tests orderedObservation (any)LOINC: 32218-0, 33935-8, 42898-7, 46435-4, 46437-0, 53027-9, 53028-7, 57093-7, 63217-4, 63375-0
2 more82576-0, 94874-5
days -1825 to -1 (H)0.259556
rx_stimulantStimulant or wakefulness drugMedicationsMedicationRequest (any)RxNorm ingredients: modafinil, armodafinil, methylphenidate, amphetamine, dextroamphetamine, lisdexamfetamine (788 RxCUIs listed in the model file)days -1825 to -1 (H)0.359936
rx_naltrexoneNaltrexoneMedicationsMedicationRequest (any)RxNorm ingredients: naltrexone (114 RxCUIs listed in the model file)days -1825 to -1 (H)0.178496
rx_ssri_snriSSRI or SNRI antidepressantMedicationsMedicationRequest (any)RxNorm ingredients: sertraline, fluoxetine, citalopram, escitalopram, paroxetine, venlafaxine, duloxetine, desvenlafaxine (490 RxCUIs listed in the model file)days -1825 to -1 (H)0.090931
rx_tricyclic_lowdoseAmitriptyline, nortriptyline, or cyclobenzaprineMedicationsMedicationRequest (any)RxNorm ingredients: amitriptyline, nortriptyline, cyclobenzaprine (295 RxCUIs listed in the model file)days -1825 to -1 (H)0.090954
rx_gabapentinoidGabapentin or pregabalinMedicationsMedicationRequest (any)RxNorm ingredients: gabapentin, pregabalin (162 RxCUIs listed in the model file)days -1825 to -1 (H)0.120816
rx_sleep_aidSleep medicationMedicationsMedicationRequest (any)RxNorm ingredients: zolpidem, trazodone, eszopiclone (169 RxCUIs listed in the model file)days -1825 to -1 (H)0.161496
rx_beta_blockerBeta blockerMedicationsMedicationRequest (any)RxNorm ingredients: propranolol, metoprolol, atenolol, bisoprolol, nadolol, carvedilol (787 RxCUIs listed in the model file)days -1825 to -1 (H)0.209135
rx_potsPOTS medicationMedicationsMedicationRequest (any)RxNorm ingredients: ivabradine, midodrine, fludrocortisone, pyridostigmine (122 RxCUIs listed in the model file)days -1825 to -1 (H)0.241264
rx_opioidOpioidMedicationsMedicationRequest (any)RxNorm ingredients: oxycodone, hydrocodone, tramadol, morphine (3607 RxCUIs listed in the model file)days -1825 to -1 (H)0.119231
rx_nsaidNSAID pain relieverMedicationsMedicationRequest (any)RxNorm ingredients: naproxen, ibuprofen, meloxicam, diclofenac, ketorolac (1712 RxCUIs listed in the model file)days -1825 to -1 (H)0.045576
rx_muscle_relaxantMuscle relaxantMedicationsMedicationRequest (any)RxNorm ingredients: tizanidine, methocarbamol, baclofen (237 RxCUIs listed in the model file)days -1825 to -1 (H)0.062134
rx_doxycyclineDoxycyclineMedicationsMedicationRequest (any)RxNorm ingredients: doxycycline (289 RxCUIs listed in the model file)days -1825 to -1 (H)0.871091
rx_lyme_oral_beta_lactamAmoxicillin or cefuroximeMedicationsMedicationRequest (any)RxNorm ingredients: amoxicillin, cefuroxime (780 RxCUIs listed in the model file)days -1825 to -1 (H)0.195741
rx_ceftriaxoneCeftriaxoneMedicationsMedicationRequest (any)RxNorm ingredients: ceftriaxone (20 RxCUIs listed in the model file)days -1825 to -1 (H)-0.04212
util_out_r_ge66+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 6 Encounters)days -365 to -1 (R)0.090404
util_out_r_ge1212+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 12 Encounters)days -365 to -1 (R)0.08672
util_ed_rEmergency visit in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class EMER (at least 1 Encounter)days -365 to -1 (R)-0.068726
util_ip_hHospital stay in the past 5 yearsHealth care useEncounter (encounter_count_ge)Encounter.class IMP (at least 1 Encounter)days -1825 to -1 (H)-0.121547

Score, calibration, and risk bands

score = -4.356271 + Σ weight × value. The probability is the piecewise-linear interpolation of the score over the calibration points below, clamped at the ends. The band is the first band whose upper limit is at or above the probability. "Times the average" is the probability divided by the cohort base rate in the model file, reference.cohort_base_rate = 0.02308 (about 2.3%).

Calibration points come from a logistic on binned training-split counts (a = -2.032003, b = 0.491336).

BandProbability up toTimes the average
Typical3.46%1.50
Elevated6.92%3.00
High100%above 3.00
ScoreProbability
-8.69160.18%
-8.11310.24%
-7.53460.32%
-6.95610.43%
-6.37760.57%
-5.79910.75%
-5.22061.00%
-4.64211.32%
-4.06361.75%
-3.48512.31%
-2.90663.05%
-2.32814.01%
-1.74965.26%
-1.1716.87%
-0.59258.92%
-0.01411.5%
0.564514.7%
1.14318.7%
1.721523.4%
2.328.9%
2.878535.0%
3.45741.7%
4.035548.8%
4.61455.8%
5.192562.7%

Validation and provenance

Intended use and limitations

Test patients and expected results

Synthetic FHIR R4 bundles in model/test_vectors/bundles/, scored as of 2024-06-01. Expected outputs are in model/test_vectors/expected/unm-lyme-1.0.0/; this generator reran the reference scorer on every bundle and they match. The JavaScript scorer must reproduce them to 1e-9.

PatientScenarioExpected resultTop drivers
Mariabuilt for the Long COVID cardTypical, 2.42% (1.05 times the average)C-reactive protein test; Fatigue or malaise coded; Holter or event monitor
Jamesbuilt for the Long COVID cardTypical, 1.22% (0.53 times the average)COVID-19; Age 40-49
Rosabuilt for the Long COVID cardTypical, 1.18% (0.51 times the average)COVID-19; Female; Age 50-59
Leebuilt for the Long COVID cardTypical, 1.29% (0.56 times the average)Age 18-39
Norabuilt for the Long COVID cardTypical, 1.10% (0.48 times the average)COVID-19; Female; Age 18-39
Danabuilt for the Lyme cardElevated, 3.48% (1.51 times the average)Insect or tick bite; Doxycycline; Rash or skin redness
Elenabuilt for the Chronic fatigue and ME/CFS cardTypical, 2.24% (0.97 times the average)Stimulant or wakefulness drug; Fatigue or malaise coded; POTS medication
Omarbuilt for the Chronic fatigue and ME/CFS cardTypical, 1.23% (0.53 times the average)Hypertension; Age 40-49
Gracebuilt for the Chronic fatigue and ME/CFS cardTypical, 1.30% (0.56 times the average)Chronic fatigue or ME/CFS; Female; Age 40-49
Sofiabuilt for the Fibromyalgia cardElevated, 3.94% (1.71 times the average)Sedimentation rate (ESR) test; Rheumatoid factor test; C-reactive protein test
Priyabuilt for the Long COVID cardTypical, 1.40% (0.61 times the average)Fatigue or malaise coded; Fatigue or malaise coded in the past year; COVID-19
Sambuilt for the Long COVID cardTypical, 1.63% (0.71 times the average)Fatigue or malaise coded; Fatigue or malaise coded in the past year; COVID-19
Theobuilt for the Long COVID cardTypical, 1.53% (0.66 times the average)Fatigue or malaise coded; Fatigue or malaise coded in the past year; COVID-19
Yarabuilt for the Long COVID cardTypical, 1.38% (0.60 times the average)Fatigue or malaise coded; Fatigue or malaise coded in the past year; COVID-19
Verabuilt for the Long COVID cardTypical, 1.79% (0.78 times the average)Fatigue or malaise coded; Age 60-69; Fatigue or malaise coded in the past year
Willbuilt for the Long COVID cardTypical, 1.22% (0.53 times the average)COVID-19; Age 40-49
Umano birth date: not scored by any modelnot scored: birth date missing or unusable (age is required)
Kai16 at the COVID-19 index, 17 on the scoring date: not scored by any modelnot scored: under 18 on the scoring date (the model covers adults)

Lupus (unm-lupus 1.0.0)

Model file model/lupus.json, status "research". Research decision support. Surfaces chart patterns for clinician review. Not a diagnosis.

Download lupus.json

What it predicts and for whom

Card wording, from the CDS Hooks service (web/functions/cds-services/_cds.js): "Chart pattern similar to patients who report a lupus diagnosis that was never coded." The number is shown as "N times the average for adults with a visit in the past year" and as the "Probability that the patient reports a lupus diagnosis".

When it does not score

  1. No usable birth date: "birth date missing or unusable (age is required)".
  2. Under 18 on day 0 (age is days / 365.25, as in training): "under 18 on the scoring date (the model covers adults)".
  3. A Condition coded ICD-10-CM M32 is dated on or before day 0, or has no usable date: "a lupus diagnosis is already recorded".
  4. No AMB, EMER, or IMP encounter in days -365 to -1 (R): "no encounters in the past year (insufficient history)".

ICD-10-CM codes match by prefix with dots removed, so a listed code also matches its subcodes. In each case the app says why it did not score. Every rule reads only records dated on or before the scoring date; Conditions whose verificationStatus is refuted or entered-in-error, and records whose status is entered-in-error, are ignored. If a FHIR search the model needs failed or was forbidden, the result is "could not score: <resource> unavailable" instead of a score (interface spec, section 4c).

Windows

WindowDays relative to day 0
H-1825 to -1
R-365 to -1

Features (79, of which 79 carry a weight)

Each feature is 0 or 1. Features that differ only in threshold (for example 2+ and 3+ of the same thing) show as one driver carrying the summed weight. ICD-10-CM codes are shown with dots for reading; the model file stores feature codes without dots.

FeatureLabelGroupSource (kind)CodesWindowWeight
age_18_39Age 18-39DemographicsPatient (age_band)Patient.birthDate: age 18 to 39 on day 0on day 00.088406
age_40_49Age 40-49DemographicsPatient (age_band)Patient.birthDate: age 40 to 49 on day 0on day 00.667276
age_50_59Age 50-59DemographicsPatient (age_band)Patient.birthDate: age 50 to 59 on day 0on day 00.326695
age_60_69Age 60-69DemographicsPatient (age_band)Patient.birthDate: age 60 to 69 on day 0on day 0-0.145446
age_70pAge 70 or olderDemographicsPatient (age_band)Patient.birthDate: age 70 and older on day 0on day 0-0.907416
sex_femaleFemaleDemographicsPatient (sex)Patient.gender = femaleon day 01.689212
cx_fatigue_otherFatigue or malaise codedConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -1825 to -1 (H)-0.312887
cx_fatigue_recentFatigue or malaise coded in the past yearConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -365 to -1 (R)-0.003361
cx_sleepSleep disturbanceConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.0, G47.1, G47.8, G47.9, F51days -1825 to -1 (H)-0.417869
cx_sleep_apneaSleep apneaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.33days -1825 to -1 (H)-0.406663
cx_cognitiveCognitive symptoms (brain fog, memory)Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R41, G31.84days -1825 to -1 (H)0.134812
cx_autonomicPalpitations, POTS, orthostatic hypotension, or dysautonomiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9days -1825 to -1 (H)0.089003
cx_dizzy_syncopeDizziness or faintingConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R42, R55days -1825 to -1 (H)0.000265
cx_headacheHeadacheConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R51, G44days -1825 to -1 (H)0.193715
cx_migraineMigraineConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G43days -1825 to -1 (H)0.230931
cx_myalgia_arthralgiaMuscle or joint painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.1, M25.5, M79.6days -1825 to -1 (H)-0.349986
cx_chronic_painChronic painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G89days -1825 to -1 (H)-0.041036
cx_depressionDepressionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F32, F33days -1825 to -1 (H)-0.038422
cx_anxietyAnxietyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F41days -1825 to -1 (H)-0.100198
cx_ptsdPosttraumatic stress disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F43.1days -1825 to -1 (H)0.467801
cx_ibs_giIrritable bowel or gastrointestinal symptomsConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: K58, R10, R11, R14, R19days -1825 to -1 (H)-0.074227
cx_sore_throat_nodesSore throat or enlarged lymph nodesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: J02, R59days -1825 to -1 (H)-0.219444
cx_covidCOVID-19Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U07.1days -1825 to -1 (H)-0.188643
cx_hypothyroidHypothyroidismConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E03days -1825 to -1 (H)-0.171409
cx_anemiaAnemiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D50, D51, D52, D53, D63, D64days -1825 to -1 (H)-0.176149
cx_vitd_deficiencyVitamin D deficiencyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E55days -1825 to -1 (H)-0.304398
cx_autoimmune_otherOther autoimmune or demyelinating diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M05, M06, M35, L40, K50, K51, M45, G35days -1825 to -1 (H)1.181821
cx_obesityObesityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E66, Z68.3, Z68.4days -1825 to -1 (H)-0.423115
cx_diabetesDiabetesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E10, E11days -1825 to -1 (H)-0.56095
cx_hypertensionHypertensionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I10days -1825 to -1 (H)-0.634038
cx_heart_diseaseCoronary disease or heart failureConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I25, I50days -1825 to -1 (H)-0.506619
cx_cancerCancerConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Cdays -1825 to -1 (H)-0.860709
cx_cfsChronic fatigue or ME/CFSConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G93.3, R53.82days -1825 to -1 (H)0.440091
cx_osteoarthritisOsteoarthritisConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M15, M16, M17, M18, M19days -1825 to -1 (H)-0.142106
cx_neck_back_painNeck or low back painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M54.2, M54.5days -1825 to -1 (H)-0.157092
cx_fibromyalgiaFibromyalgiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.7days -1825 to -1 (H)1.524674
cx_cutaneous_lupusCutaneous lupusConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: L93days -1825 to -1 (H)3.987127
cx_rashRash or skin rednessConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R21, L53days -1825 to -1 (H)0.167239
cx_raynaudRaynaud phenomenonConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I73.0days -1825 to -1 (H)1.383432
cx_arthritisArthritis or joint swellingConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M13, M25.4days -1825 to -1 (H)-0.209911
cx_sjogrenSjögren syndromeConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M35.0days -1825 to -1 (H)1.901257
clusters_ge3Three or more symptom typesSymptom patternCondition (cluster_count_ge)at least 3 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83, G93.3, R53.82
sleep: G47.0, G47.1, G47.8, G47.9, F51, G25.81
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, M26.6, M54.2, M54.5, M13, M25.4
mood: F32, F33, F41
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
skin: L93, L56, R21, L53, L63, L64, L65
days -1825 to -1-0.179103
clusters_ge5Five or more symptom typesSymptom patternCondition (cluster_count_ge)at least 5 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83, G93.3, R53.82
sleep: G47.0, G47.1, G47.8, G47.9, F51, G25.81
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, M26.6, M54.2, M54.5, M13, M25.4
mood: F32, F33, F41
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
skin: L93, L56, R21, L53, L63, L64, L65
days -1825 to -10.023973
px_brain_mriBrain MRITests and evaluationsProcedure (any)CPT: 70551, 70552, 70553days -1825 to -1 (H)0.07254
px_echoEchocardiogramTests and evaluationsProcedure (any)CPT: 93303, 93304, 93305, 93306, 93307, 93308, 93312, 93313, 93314, 93315, 93316, 93317, 93318, 93350, 93351, 93352days -1825 to -1 (H)-0.343738
px_exercise_testExercise or cardiopulmonary exercise testTests and evaluationsProcedure (any)CPT: 94621, 93015, 93016, 93017, 93018days -1825 to -1 (H)-0.348917
px_pt_evalPhysical therapy evaluationTests and evaluationsProcedure (any)CPT: 97161, 97162, 97163days -1825 to -1 (H)-0.385129
lab_tshThyroid (TSH) testLab tests orderedObservation (any)LOINC: 10516-3, 11033-8, 11579-0, 11580-8, 12932-0, 12933-8, 12934-6, 12935-3, 12936-1, 12937-9
88 more12938-7, 12939-5, 12940-3, 12941-1, 12942-9, 12943-7, 12944-5, 12945-2, 12946-0, 12947-8, 12948-6, 13869-3, 13871-9, 13897-4, 14255-4, 14919-5, 14997-1, 14998-9, 14999-7, 15000-3, 17786-5, 20452-9, 25789-9, 25990-3, 25991-1, 26998-5, 29316-7, 29317-5, 29574-1, 29575-8, 3015-5, 30151-5, 3016-3, 3018-9, 3019-7, 33258-5, 33259-3, 33260-1, 33261-9, 33269-2, 34054-7, 35134-6, 40397-2, 40398-0, 40399-8, 40400-4, 40401-2, 40673-6, 44935-5, 44936-3, 45173-2, 47947-7, 47948-5, 47949-3, 47950-1, 47951-9, 47952-7, 47953-5, 48077-2, 48700-9, 50533-9, 50534-7, 50535-4, 50536-2, 50537-0, 50538-8, 50539-6, 50540-4, 50541-2, 5384-3, 5385-0, 55362-8, 56594-5, 57416-0, 57854-2, 58833-5, 58834-3, 63363-6, 63364-4, 63365-1, 63366-9, 65360-0, 69561-9, 70096-3, 77623-7, 82659-4, 90801-2, 99078-8
days -1825 to -1 (H)-0.045699
lab_ferritinFerritin testLab tests orderedObservation (any)LOINC: 14723-1, 14724-9, 20567-4, 2276-4, 24373-3, 48141-6, 53048-5, 74807-9, 86914-9days -1825 to -1 (H)0.407947
lab_b12Vitamin B12 testLab tests orderedObservation (any)LOINC: 1460-5, 14685-2, 14733-0, 15052-4, 16695-9, 16696-7, 1888-7, 2132-9, 2169-1, 2171-7
28 more2440-6, 26916-7, 3029-6, 3031-2, 3032-0, 30904-7, 30905-4, 30906-2, 32341-0, 33766-7, 4203-6, 49264-5, 54376-9, 54377-7, 54378-5, 55850-2, 55881-7, 55882-5, 55883-3, 55884-1, 55885-8, 59211-3, 72157-1, 72158-9, 72160-5, 96297-7, 96805-7, 96809-9
days -1825 to -1 (H)0.329897
lab_vitamin_dVitamin D testLab tests orderedObservation (any)LOINC: 14635-7, 1989-3, 46269-7, 49054-0, 55814-8, 57566-2, 57567-0, 57568-8, 57569-6, 62292-8
12 more68438-1, 72403-9, 72404-7, 72888-1, 83070-3, 83071-1, 86918-0, 94673-1, 94674-9, 95593-0, 95594-8, 95595-5
days -1825 to -1 (H)0.175014
lab_anaAntinuclear antibody (ANA) testLab tests orderedObservation (any)LOINC: 101221-0, 101231-9, 11088-2, 11089-0, 11090-8, 11565-9, 11571-7, 13066-6, 13067-4, 13068-2
267 more14030-1, 14235-6, 14240-6, 14607-6, 14608-4, 14609-2, 14610-0, 14611-8, 14612-6, 14613-4, 14614-2, 14615-9, 14616-7, 14722-3, 15398-1, 16139-8, 16392-3, 16393-1, 16394-9, 16824-5, 17031-6, 17032-4, 17341-9, 17380-7, 17532-3, 17533-1, 17535-6, 17536-4, 17569-5, 17583-6, 17584-4, 17586-9, 17587-7, 17589-3, 17590-1, 17591-9, 17592-7, 17791-5, 17792-3, 19137-9, 20398-4, 20399-2, 20400-8, 20401-6, 20432-1, 20435-4, 21260-5, 21423-9, 21522-8, 22296-8, 22297-6, 26023-2, 26703-9, 26880-5, 26975-3, 27048-8, 27200-5, 27416-7, 29374-6, 29948-7, 29949-5, 29953-7, 29954-5, 30138-2, 30342-0, 30556-5, 31372-6, 31535-8, 31540-8, 31541-6, 31542-4, 31543-2, 31544-0, 31562-2, 31563-0, 31627-3, 31628-1, 31693-5, 32041-6, 32715-5, 32716-3, 33253-6, 33460-7, 33566-1, 33567-9, 33568-7, 33569-5, 33570-3, 33600-8, 33635-4, 35278-1, 35333-4, 40655-3, 41025-8, 42212-1, 42213-9, 42214-7, 42254-3, 42498-6, 43100-7, 43119-7, 43182-5, 44083-4, 44751-6, 44752-4, 45142-7, 47074-0, 47383-5, 49309-8, 49310-6, 49311-4, 49738-8, 5047-6, 5048-4, 51749-0, 51928-0, 5234-0, 5235-7, 5275-3, 5276-1, 53002-2, 53006-3, 53007-1, 53008-9, 5301-7, 5302-5, 5348-8, 5349-6, 5351-2, 5352-0, 5353-8, 5354-6, 5355-3, 5356-1, 5357-9, 53983-3, 53984-1, 53985-8, 53986-6, 53987-4, 53988-2, 53989-0, 53990-8, 53991-6, 53992-4, 53993-2, 53994-0, 53997-3, 53998-1, 53999-9, 54000-5, 54005-4, 54006-2, 54149-0, 54154-0, 54155-7, 56148-0, 56693-5, 56721-4, 56723-0, 56724-8, 56725-5, 56730-5, 56731-3, 56733-9, 56977-2, 57010-1, 57431-9, 57448-3, 59069-5, 59390-5, 63238-0, 63239-8, 63265-3, 63266-1, 63267-9, 63294-3, 63295-0, 63296-8, 63297-6, 63305-7, 63306-5, 63307-3, 63308-1, 63317-2, 63318-0, 63319-8, 63334-7, 63335-4, 63336-2, 63337-0, 63338-8, 63345-3, 63346-1, 63347-9, 63348-7, 63349-5, 63350-3, 63351-1, 63352-9, 63353-7, 63354-5, 63388-3, 63389-1, 63390-9, 63391-7, 63393-3, 63394-1, 63398-2, 63399-0, 63400-6, 63401-4, 63402-2, 63403-0, 63404-8, 63405-5, 63406-3, 63536-7, 63540-9, 63542-5, 63545-8, 63546-6, 63547-4, 63569-8, 63570-6, 6822-1, 68369-8, 68370-6, 68371-4, 68372-2, 68373-0, 68374-8, 68375-5, 68376-3, 8061-4, 8076-2, 8088-7, 8091-1, 8092-9, 8093-7, 8094-5, 81728-8, 89501-1, 89502-9, 89526-8, 89527-6, 89529-2, 89531-8, 89533-4, 89535-9, 89536-7, 89537-5, 93712-8, 9399-7, 9423-5, 96919-6, 96920-4, 96921-2, 96922-0, 96923-8, 96924-6, 96925-3, 96926-1, 96927-9, 9722-0, 9839-2, 99069-7
days -1825 to -1 (H)1.577756
lab_crpC-reactive protein testLab tests orderedObservation (any)LOINC: 11039-5, 14634-0, 16503-5, 1988-5, 30522-7, 35648-5, 45062-7, 48421-2, 59182-6, 71426-1
3 more76485-2, 76486-0, 98987-1
days -1825 to -1 (H)1.384903
lab_esrSedimentation rate (ESR) testLab tests orderedObservation (any)LOINC: 18184-2, 30341-2, 43402-7, 4537-7, 4538-5, 4539-3, 82477-1days -1825 to -1 (H)1.421693
lab_cortisolCortisol testLab tests orderedObservation (any)LOINC: 100662-6, 100799-6, 100800-2, 100801-0, 100802-8, 100803-6, 100998-4, 101315-0, 101316-8, 101319-2
578 more101586-6, 101977-7, 101979-3, 101980-1, 102023-9, 102024-7, 102025-4, 102026-2, 102027-0, 102028-8, 10332-5, 103647-4, 11040-3, 11155-9, 12557-5, 12558-3, 12559-1, 12560-9, 12561-7, 12562-5, 12563-3, 12564-1, 12565-8, 12566-6, 12567-4, 12568-2, 12569-0, 12570-8, 13480-9, 1356-5, 1357-3, 13600-2, 13601-0, 13602-8, 13611-9, 13872-7, 1389-6, 1390-4, 1391-2, 1392-0, 1393-8, 1394-6, 1395-3, 1396-1, 1397-9, 1398-7, 1399-5, 1400-1, 1401-9, 1402-7, 1403-5, 1404-3, 14043-4, 1406-8, 1407-6, 1408-4, 1409-2, 1410-0, 1411-8, 1412-6, 1413-4, 1414-2, 14148-1, 1415-9, 14158-0, 1416-7, 1417-5, 1418-3, 1419-1, 1421-7, 1422-5, 1423-3, 1424-1, 1425-8, 1426-6, 1427-4, 1428-2, 1429-0, 1430-8, 1431-6, 1432-4, 1433-2, 1434-0, 1435-7, 1436-5, 1437-3, 1438-1, 1439-9, 1440-7, 1441-5, 1442-3, 1443-1, 1444-9, 1445-6, 1446-4, 1447-2, 1448-0, 1449-8, 1450-6, 1451-4, 14567-2, 14675-3, 14676-1, 14677-9, 14678-7, 14679-5, 15043-3, 15044-1, 16295-8, 1657-6, 16667-8, 16668-6, 16669-4, 16670-2, 16671-0, 16672-8, 16673-6, 16674-4, 16675-1, 18351-7, 18365-7, 20622-7, 20995-7, 21034-4, 21035-1, 21039-3, 21044-3, 21222-5, 21223-3, 21224-1, 21225-8, 21226-6, 2142-8, 2143-6, 2144-4, 2145-1, 2147-7, 24389-9, 24390-7, 24391-5, 24392-3, 24393-1, 24394-9, 24395-6, 25315-3, 25618-0, 25619-8, 25621-4, 25622-2, 25623-0, 25624-8, 25625-5, 25626-3, 25627-1, 25628-9, 25882-2, 25883-0, 25884-8, 25885-5, 26525-6, 26526-4, 26527-2, 26528-0, 26529-8, 26530-6, 26531-4, 26532-2, 26533-0, 26534-8, 26535-5, 26536-3, 26828-4, 27199-9, 28045-3, 28046-1, 28550-2, 29358-9, 29363-9, 2995-9, 2996-7, 30171-3, 30172-1, 30173-9, 32009-3, 32310-5, 32311-3, 32312-1, 32313-9, 32314-7, 32315-4, 33257-7, 33346-8, 34065-3, 34204-8, 34205-5, 34206-3, 34476-2, 34909-2, 38551-8, 40274-3, 40275-0, 40310-5, 40311-3, 40312-1, 40313-9, 40314-7, 40315-4, 40316-2, 40317-0, 40809-6, 40810-4, 40928-4, 41289-0, 41407-8, 42572-8, 43126-2, 43215-3, 43217-9, 44309-3, 44310-1, 44412-5, 44864-7, 44916-5, 44917-3, 45047-8, 45048-6, 45049-4, 45050-2, 45051-0, 45184-9, 45296-1, 46397-6, 46398-4, 46399-2, 46403-2, 46416-4, 47604-4, 47605-1, 47606-9, 47607-7, 47608-5, 47609-3, 47844-6, 47845-3, 47846-1, 47847-9, 47848-7, 47849-5, 47850-3, 47851-1, 48098-8, 48099-6, 48100-2, 48101-0, 48102-8, 48103-6, 48104-4, 48105-1, 49029-2, 49324-7, 49968-1, 49969-9, 50071-0, 50072-8, 50073-6, 50074-4, 50075-1, 50093-4, 50094-2, 50095-9, 50096-7, 50097-5, 50250-0, 50336-7, 50415-9, 50416-7, 50421-7, 50422-5, 50423-3, 50424-1, 50429-0, 50430-8, 50431-6, 50432-4, 50433-2, 50434-0, 50441-5, 50442-3, 50453-0, 50454-8, 50455-5, 50456-3, 50457-1, 50458-9, 50459-7, 50460-5, 50645-1, 50716-0, 50717-8, 50718-6, 50719-4, 50720-2, 50721-0, 50752-5, 50848-1, 51424-0, 51488-5, 51489-3, 51490-1, 51491-9, 51492-7, 51493-5, 51494-3, 51495-0, 51844-9, 53336-4, 53337-2, 53338-0, 53339-8, 53341-4, 53342-2, 53345-5, 53346-3, 54211-8, 54212-6, 54213-4, 54214-2, 54215-9, 54235-7, 54236-5, 55138-2, 55348-7, 55467-5, 55468-3, 55472-5, 55473-3, 55809-8, 55810-6, 55811-4, 55812-2, 55822-1, 55823-9, 55826-2, 55844-5, 55845-2, 56517-6, 56518-4, 56519-2, 56520-0, 56521-8, 56585-3, 57002-8, 57463-2, 57464-0, 57465-7, 57466-5, 57494-7, 57495-4, 57496-2, 57497-0, 57498-8, 57499-6, 57500-1, 57501-9, 57502-7, 57503-5, 57504-3, 57505-0, 57506-8, 57507-6, 57557-1, 57558-9, 57559-7, 57563-9, 57564-7, 57565-4, 57597-7, 57598-5, 57599-3, 57600-9, 57601-7, 57602-5, 57603-3, 57604-1, 57613-2, 57614-0, 57615-7, 57616-5, 57617-3, 57618-1, 57619-9, 57620-7, 57672-8, 57684-3, 57685-0, 57686-8, 57687-6, 57688-4, 57689-2, 57690-0, 57691-8, 57692-6, 57693-4, 57694-2, 57695-9, 57824-5, 57825-2, 58631-3, 58632-1, 58633-9, 58634-7, 58635-4, 58636-2, 58637-0, 58638-8, 58639-6, 58640-4, 58641-2, 58642-0, 58643-8, 58644-6, 58645-3, 58646-1, 58647-9, 58648-7, 58649-5, 58650-3, 58651-1, 58652-9, 58653-7, 58654-5, 58655-2, 58656-0, 58657-8, 58658-6, 58659-4, 58660-2, 58661-0, 58662-8, 58663-6, 58664-4, 58665-1, 58666-9, 58667-7, 58668-5, 58669-3, 58670-1, 58671-9, 58672-7, 58673-5, 58674-3, 58675-0, 58676-8, 58677-6, 58678-4, 58679-2, 58680-0, 58688-3, 58689-1, 58690-9, 58691-7, 58692-5, 58693-3, 58694-1, 58695-8, 58696-6, 58697-4, 58698-2, 58819-4, 58820-2, 58821-0, 58822-8, 58823-6, 58824-4, 58825-1, 58826-9, 58827-7, 58828-5, 58829-3, 58830-1, 58908-5, 58909-3, 58910-1, 58985-3, 59153-7, 59273-3, 59803-7, 59804-5, 60013-0, 60680-6, 60681-4, 65364-2, 68315-1, 6869-2, 71805-6, 72392-4, 73841-9, 73842-7, 73843-5, 73862-5, 73863-3, 73864-1, 73890-6, 73891-4, 73892-2, 74872-3, 75516-5, 76347-4, 76352-4, 77607-0, 77925-6, 77926-4, 77927-2, 77928-0, 77929-8, 77930-6, 77931-4, 77932-2, 77933-0, 77934-8, 77935-5, 77936-3, 77937-1, 78047-8, 78988-3, 81793-2, 81794-0, 81804-7, 82848-3, 82849-1, 82850-9, 82851-7, 82854-1, 82855-8, 82856-6, 82857-4, 82861-6, 82862-4, 82878-0, 82879-8, 82894-7, 82895-4, 82896-2, 82897-0, 82898-8, 82899-6, 82900-2, 82901-0, 82908-5, 82909-3, 83088-5, 83089-3, 83090-1, 83091-9, 87429-7, 93480-2, 93481-0, 93482-8, 93483-6, 93484-4, 93773-0, 94873-7, 95578-1, 95579-9, 95580-7, 95581-5, 95582-3, 9612-3, 9613-1, 9614-9, 9615-6, 96424-7, 96425-4, 96798-4, 96801-6, 97765-2, 9812-9, 9813-7
days -1825 to -1 (H)0.648969
lab_ckCreatine kinase testLab tests orderedObservation (any)LOINC: 101446-3, 12187-1, 12189-7, 13969-1, 14680-3, 15048-2, 15049-0, 16688-4, 20569-0, 2151-9
35 more2152-7, 2153-5, 2154-3, 2155-0, 2156-8, 2157-6, 2158-4, 24335-2, 26019-0, 26020-8, 32673-6, 33547-1, 34160-2, 38482-6, 49129-0, 49136-5, 49258-7, 49259-5, 49551-5, 50756-6, 50757-4, 51505-6, 51506-4, 51507-2, 53433-9, 5912-1, 59149-5, 72561-4, 72562-2, 72563-0, 72564-8, 72565-5, 83092-7, 9642-0, 9643-8
days -1825 to -1 (H)0.825259
lab_rfRheumatoid factor testLab tests orderedObservation (any)LOINC: 11572-5, 11573-3, 13634-1, 13929-5, 13930-3, 14034-3, 15203-3, 15204-1, 15205-8, 15206-6
28 more17534-9, 17857-4, 25745-1, 25746-9, 29351-4, 30231-5, 31046-6, 33313-8, 33314-6, 33577-8, 33648-7, 33910-1, 43932-3, 45156-7, 46435-4, 46437-0, 5297-7, 5298-5, 5299-3, 5300-9, 53562-5, 53924-7, 63313-1, 63314-9, 63315-6, 6823-9, 6928-6, 9338-5
days -1825 to -1 (H)1.248846
lab_ccpAnti-CCP antibody testLab tests orderedObservation (any)LOINC: 32218-0, 33935-8, 42898-7, 46435-4, 46437-0, 53027-9, 53028-7, 57093-7, 63217-4, 63375-0
2 more82576-0, 94874-5
days -1825 to -1 (H)1.49661
lab_dsdnaAnti-double-stranded DNA testLab tests orderedObservation (any)LOINC: 11013-0, 12277-0, 15177-9, 31348-6, 32677-7, 34187-5, 37993-3, 42200-6, 47299-3, 48308-1
13 more5130-0, 5131-8, 53148-3, 54910-5, 63220-8, 63221-6, 63222-4, 63223-2, 63408-9, 63409-7, 63410-5, 6457-6, 81716-3
days -1825 to -1 (H)2.52052
lab_smithAnti-Smith antibody testLab tests orderedObservation (any)LOINC: 11090-8, 14030-1, 17589-3, 17590-1, 17591-9, 17592-7, 21522-8, 26703-9, 26880-5, 27048-8
22 more30556-5, 31627-3, 31628-1, 33460-7, 33567-9, 33568-7, 43182-5, 5355-3, 5356-1, 5357-9, 56148-0, 56730-5, 63352-9, 63353-7, 63354-5, 63405-5, 63406-3, 63546-6, 63547-4, 89501-1, 89531-8, 9722-0
days -1825 to -1 (H)2.228757
lab_c3Complement C3 testLab tests orderedObservation (any)LOINC: 10434-9, 14195-2, 15164-7, 34401-0, 34544-7, 38388-5, 43575-0, 43578-4, 43579-2, 44714-4
20 more4485-9, 4486-7, 4487-5, 4488-3, 4489-1, 4490-9, 4491-7, 4492-5, 48420-4, 54409-8, 54410-6, 55774-4, 56471-6, 58956-4, 60277-1, 6295-0, 6296-8, 6801-5, 81313-9, 87723-3
days -1825 to -1 (H)2.863384
lab_c4Complement C4 testLab tests orderedObservation (any)LOINC: 15165-4, 21217-5, 26931-6, 38522-9, 39565-7, 43580-0, 43581-8, 43582-6, 44715-1, 4498-2
11 more4500-5, 4501-3, 4502-1, 4503-9, 4504-7, 48731-4, 57949-0, 6293-5, 6908-8, 76496-9, 93978-5
days -1825 to -1 (H)2.836616
lab_cardiolipinAnticardiolipin antibody testLab tests orderedObservation (any)LOINC: 2040-4, 20424-8, 20425-5, 20484-2, 20485-9, 20669-8, 24319-6, 24385-7, 24386-5, 27183-3
25 more29860-4, 30470-9, 3180-7, 3181-5, 3182-3, 42729-4, 42730-2, 42731-0, 42732-8, 42733-6, 42734-4, 43361-5, 43362-3, 43363-1, 45057-7, 46125-1, 5076-5, 55772-8, 55773-6, 56149-8, 80154-8, 8062-2, 8063-0, 8065-5, 8067-1
days -1825 to -1 (H)2.091116
rx_stimulantStimulant or wakefulness drugMedicationsMedicationRequest (any)RxNorm ingredients: modafinil, armodafinil, methylphenidate, amphetamine, dextroamphetamine, lisdexamfetamine (788 RxCUIs listed in the model file)days -1825 to -1 (H)0.582608
rx_ssri_snriSSRI or SNRI antidepressantMedicationsMedicationRequest (any)RxNorm ingredients: sertraline, fluoxetine, citalopram, escitalopram, paroxetine, venlafaxine, duloxetine, desvenlafaxine (490 RxCUIs listed in the model file)days -1825 to -1 (H)0.598112
rx_tricyclic_lowdoseAmitriptyline, nortriptyline, or cyclobenzaprineMedicationsMedicationRequest (any)RxNorm ingredients: amitriptyline, nortriptyline, cyclobenzaprine (295 RxCUIs listed in the model file)days -1825 to -1 (H)0.602509
rx_gabapentinoidGabapentin or pregabalinMedicationsMedicationRequest (any)RxNorm ingredients: gabapentin, pregabalin (162 RxCUIs listed in the model file)days -1825 to -1 (H)0.556131
rx_sleep_aidSleep medicationMedicationsMedicationRequest (any)RxNorm ingredients: zolpidem, trazodone, eszopiclone (169 RxCUIs listed in the model file)days -1825 to -1 (H)0.348187
rx_beta_blockerBeta blockerMedicationsMedicationRequest (any)RxNorm ingredients: propranolol, metoprolol, atenolol, bisoprolol, nadolol, carvedilol (787 RxCUIs listed in the model file)days -1825 to -1 (H)0.22289
rx_opioidOpioidMedicationsMedicationRequest (any)RxNorm ingredients: oxycodone, hydrocodone, tramadol, morphine (3607 RxCUIs listed in the model file)days -1825 to -1 (H)0.389245
rx_nsaidNSAID pain relieverMedicationsMedicationRequest (any)RxNorm ingredients: naproxen, ibuprofen, meloxicam, diclofenac, ketorolac (1712 RxCUIs listed in the model file)days -1825 to -1 (H)0.26353
rx_muscle_relaxantMuscle relaxantMedicationsMedicationRequest (any)RxNorm ingredients: tizanidine, methocarbamol, baclofen (237 RxCUIs listed in the model file)days -1825 to -1 (H)0.888323
rx_hydroxychloroquineHydroxychloroquineMedicationsMedicationRequest (any)RxNorm ingredients: hydroxychloroquine (29 RxCUIs listed in the model file)days -1825 to -1 (H)3.406322
rx_glucocorticoidOral or injected steroidMedicationsMedicationRequest (any)RxNorm ingredients: prednisone, prednisolone, methylprednisolone (946 RxCUIs listed in the model file)days -1825 to -1 (H)0.601303
rx_immunosuppressantImmunosuppressantMedicationsMedicationRequest (any)RxNorm ingredients: mycophenolate mofetil, mycophenolic acid, azathioprine, methotrexate, cyclophosphamide (378 RxCUIs listed in the model file)days -1825 to -1 (H)1.772923
util_out_r_ge66+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 6 Encounters)days -365 to -1 (R)0.074679
util_out_r_ge1212+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 12 Encounters)days -365 to -1 (R)0.016347
util_ed_rEmergency visit in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class EMER (at least 1 Encounter)days -365 to -1 (R)0.418723
util_ip_hHospital stay in the past 5 yearsHealth care useEncounter (encounter_count_ge)Encounter.class IMP (at least 1 Encounter)days -1825 to -1 (H)-0.030831

Score, calibration, and risk bands

score = -8.150635 + Σ weight × value. The probability is the piecewise-linear interpolation of the score over the calibration points below, clamped at the ends. The band is the first band whose upper limit is at or above the probability. "Times the average" is the probability divided by the cohort base rate in the model file, reference.cohort_base_rate = 0.004048 (about 0.4%).

Calibration points come from a logistic on binned training-split counts (a = -4.488303, b = 0.293527).

BandProbability up toTimes the average
Typical0.61%1.50
Elevated1.21%3.00
High100%above 3.00
ScoreProbability
-16.11730.01%
-14.20150.02%
-12.28560.03%
-10.36980.05%
-8.45390.09%
-6.53810.16%
-4.62230.29%
-2.70640.51%
-0.79060.88%
1.12521.54%
3.04112.67%
4.95694.59%
6.87277.79%
8.788612.9%
10.704420.6%
12.620331.3%
14.536144.5%
16.451958.4%
18.367871.2%
20.283681.2%
22.199488.4%
24.115393.0%
26.031195.9%
27.94797.6%
29.862898.6%

Validation and provenance

Intended use and limitations

Test patients and expected results

Synthetic FHIR R4 bundles in model/test_vectors/bundles/, scored as of 2024-06-01. Expected outputs are in model/test_vectors/expected/unm-lupus-1.0.0/; this generator reran the reference scorer on every bundle and they match. The JavaScript scorer must reproduce them to 1e-9.

PatientScenarioExpected resultTop drivers
Mariabuilt for the Long COVID cardTypical, 0.30% (0.74 times the average)Female; C-reactive protein test; Age 40-49
Jamesbuilt for the Long COVID cardTypical, 0.12% (0.30 times the average)Age 40-49; COVID-19
Rosabuilt for the Long COVID cardTypical, 0.18% (0.44 times the average)Female; Age 50-59; COVID-19
Leebuilt for the Long COVID cardTypical, 0.11% (0.27 times the average)Age 18-39
Norabuilt for the Long COVID cardTypical, 0.16% (0.40 times the average)Female; Age 18-39; COVID-19
Danabuilt for the Lyme cardTypical, 0.18% (0.44 times the average)Female; Age 50-59; Rash or skin redness
Elenabuilt for the Chronic fatigue and ME/CFS cardTypical, 0.19% (0.46 times the average)Female; Stimulant or wakefulness drug; Ferritin test
Omarbuilt for the Chronic fatigue and ME/CFS cardTypical, 0.11% (0.26 times the average)Age 40-49; Hypertension
Gracebuilt for the Chronic fatigue and ME/CFS cardTypical, 0.24% (0.60 times the average)Female; Age 40-49; Chronic fatigue or ME/CFS
Sofiabuilt for the Fibromyalgia cardHigh, 3.59% (8.88 times the average)Female; Antinuclear antibody (ANA) test; Anti-CCP antibody test
Priyabuilt for the Long COVID cardTypical, 0.18% (0.45 times the average)Female; Age 40-49; Fatigue or malaise coded in the past year
Sambuilt for the Long COVID cardTypical, 0.10% (0.24 times the average)Age 50-59; Fatigue or malaise coded in the past year; COVID-19
Theobuilt for the Long COVID cardTypical, 0.09% (0.23 times the average)Age 18-39; Fatigue or malaise coded in the past year; COVID-19
Yarabuilt for the Long COVID cardTypical, 0.15% (0.38 times the average)Female; Age 18-39; Fatigue or malaise coded in the past year
Verabuilt for the Long COVID cardTypical, 0.14% (0.35 times the average)Female; Fatigue or malaise coded in the past year; Age 60-69
Willbuilt for the Long COVID cardTypical, 0.12% (0.30 times the average)Age 40-49; COVID-19
Umano birth date: not scored by any modelnot scored: birth date missing or unusable (age is required)
Kai16 at the COVID-19 index, 17 on the scoring date: not scored by any modelnot scored: under 18 on the scoring date (the model covers adults)

Migraine (unm-migraine 1.0.0)

Model file model/migraine.json, status "research". Research decision support. Surfaces chart patterns for clinician review. Not a diagnosis.

Download migraine.json

What it predicts and for whom

Card wording, from the CDS Hooks service (web/functions/cds-services/_cds.js): "Chart pattern similar to patients who report a migraine diagnosis that was never coded." The number is shown as "N times the average for adults with a visit in the past year" and as the "Probability that the patient reports a migraine diagnosis".

When it does not score

  1. No usable birth date: "birth date missing or unusable (age is required)".
  2. Under 18 on day 0 (age is days / 365.25, as in training): "under 18 on the scoring date (the model covers adults)".
  3. A Condition coded ICD-10-CM G43 is dated on or before day 0, or has no usable date: "a migraine diagnosis is already recorded".
  4. No AMB, EMER, or IMP encounter in days -365 to -1 (R): "no encounters in the past year (insufficient history)".

ICD-10-CM codes match by prefix with dots removed, so a listed code also matches its subcodes. In each case the app says why it did not score. Every rule reads only records dated on or before the scoring date; Conditions whose verificationStatus is refuted or entered-in-error, and records whose status is entered-in-error, are ignored. If a FHIR search the model needs failed or was forbidden, the result is "could not score: <resource> unavailable" instead of a score (interface spec, section 4c).

Windows

WindowDays relative to day 0
H-1825 to -1
R-365 to -1

Features (88, of which 88 carry a weight)

Each feature is 0 or 1. Features that differ only in threshold (for example 2+ and 3+ of the same thing) show as one driver carrying the summed weight. ICD-10-CM codes are shown with dots for reading; the model file stores feature codes without dots.

FeatureLabelGroupSource (kind)CodesWindowWeight
age_18_39Age 18-39DemographicsPatient (age_band)Patient.birthDate: age 18 to 39 on day 0on day 00.438625
age_40_49Age 40-49DemographicsPatient (age_band)Patient.birthDate: age 40 to 49 on day 0on day 00.52573
age_50_59Age 50-59DemographicsPatient (age_band)Patient.birthDate: age 50 to 59 on day 0on day 00.255073
age_60_69Age 60-69DemographicsPatient (age_band)Patient.birthDate: age 60 to 69 on day 0on day 0-0.291615
age_70pAge 70 or olderDemographicsPatient (age_band)Patient.birthDate: age 70 and older on day 0on day 0-0.738724
sex_femaleFemaleDemographicsPatient (sex)Patient.gender = femaleon day 01.121884
cx_fatigue_otherFatigue or malaise codedConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -1825 to -1 (H)-0.121761
cx_fatigue_recentFatigue or malaise coded in the past yearConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -365 to -1 (R)-0.028575
cx_sleepSleep disturbanceConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.0, G47.1, G47.8, G47.9, F51days -1825 to -1 (H)-0.078043
cx_sleep_apneaSleep apneaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.33days -1825 to -1 (H)-0.225586
cx_cognitiveCognitive symptoms (brain fog, memory)Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R41, G31.84days -1825 to -1 (H)-0.071275
cx_autonomicPalpitations, POTS, orthostatic hypotension, or dysautonomiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9days -1825 to -1 (H)-0.081455
cx_dizzy_syncopeDizziness or faintingConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R42, R55days -1825 to -1 (H)-0.094575
cx_headacheHeadacheConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R51, G44days -1825 to -1 (H)0.400664
cx_myalgia_arthralgiaMuscle or joint painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.1, M25.5, M79.6days -1825 to -1 (H)-0.313623
cx_chronic_painChronic painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G89days -1825 to -1 (H)-0.121272
cx_depressionDepressionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F32, F33days -1825 to -1 (H)0.103152
cx_anxietyAnxietyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F41days -1825 to -1 (H)0.107091
cx_ptsdPosttraumatic stress disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F43.1days -1825 to -1 (H)0.32953
cx_ibs_giIrritable bowel or gastrointestinal symptomsConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: K58, R10, R11, R14, R19days -1825 to -1 (H)-0.069707
cx_sore_throat_nodesSore throat or enlarged lymph nodesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: J02, R59days -1825 to -1 (H)-0.10886
cx_feverFeverConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R50days -1825 to -1 (H)-0.154348
cx_ebv_monoInfectious mononucleosis (EBV)Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: B27days -1825 to -1 (H)-0.060591
cx_lymeLyme diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: A69.2days -1825 to -1 (H)-0.249159
cx_covidCOVID-19Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U07.1days -1825 to -1 (H)-0.175911
cx_long_covidLong COVIDConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U09.9days -1825 to -1 (H)0.311603
cx_eds_hypermobilityEhlers-Danlos syndrome or hypermobilityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Q79.6, M35.7days -1825 to -1 (H)1.207138
cx_mast_cellMast cell disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D89.4days -1825 to -1 (H)1.455033
cx_hypothyroidHypothyroidismConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E03days -1825 to -1 (H)-0.10791
cx_anemiaAnemiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D50, D51, D52, D53, D63, D64days -1825 to -1 (H)-0.394094
cx_vitd_deficiencyVitamin D deficiencyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E55days -1825 to -1 (H)-0.183378
cx_autoimmuneAutoimmune or demyelinating diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M05, M06, M32, M35, L40, K50, K51, M45, G35days -1825 to -1 (H)-0.00328
cx_obesityObesityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E66, Z68.3, Z68.4days -1825 to -1 (H)-0.219346
cx_diabetesDiabetesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E10, E11days -1825 to -1 (H)-0.485988
cx_hypertensionHypertensionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I10days -1825 to -1 (H)-0.492724
cx_heart_diseaseCoronary disease or heart failureConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I25, I50days -1825 to -1 (H)-0.610659
cx_cancerCancerConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Cdays -1825 to -1 (H)-0.616781
cx_cfsChronic fatigue or ME/CFSConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G93.3, R53.82days -1825 to -1 (H)0.12346
cx_tmjTemporomandibular joint disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M26.6days -1825 to -1 (H)0.140914
cx_rlsRestless legs syndromeConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G25.81days -1825 to -1 (H)0.112829
cx_interstitial_cystitisInterstitial cystitis or bladder painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: N30.1days -1825 to -1 (H)0.690506
cx_osteoarthritisOsteoarthritisConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M15, M16, M17, M18, M19days -1825 to -1 (H)-0.383964
cx_neck_back_painNeck or low back painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M54.2, M54.5days -1825 to -1 (H)-0.12921
cx_fibromyalgiaFibromyalgiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.7days -1825 to -1 (H)0.902738
clusters_ge3Three or more symptom typesSymptom patternCondition (cluster_count_ge)at least 3 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83, G93.3, R53.82
sleep: G47.0, G47.1, G47.8, G47.9, F51, G25.81
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, M26.6, M54.2, M54.5
mood: F32, F33, F41
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
days -1825 to -1-0.07922
clusters_ge5Five or more symptom typesSymptom patternCondition (cluster_count_ge)at least 5 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83, G93.3, R53.82
sleep: G47.0, G47.1, G47.8, G47.9, F51, G25.81
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, M26.6, M54.2, M54.5
mood: F32, F33, F41
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
days -1825 to -10.082743
px_tiltTilt-table testTests and evaluationsProcedure (any)CPT: 93660days -1825 to -1 (H)0.489007
px_sleep_studySleep studyTests and evaluationsProcedure (any)CPT: 95806, 95807, 95808, 95809, 95810, 95811, G0398, G0399, G0400days -1825 to -1 (H)-0.034933
px_brain_mriBrain MRITests and evaluationsProcedure (any)CPT: 70551, 70552, 70553days -1825 to -1 (H)0.112588
px_echoEchocardiogramTests and evaluationsProcedure (any)CPT: 93303, 93304, 93305, 93306, 93307, 93308, 93312, 93313, 93314, 93315, 93316, 93317, 93318, 93350, 93351, 93352days -1825 to -1 (H)-0.230154
px_cardiac_monitorHolter or event monitorTests and evaluationsProcedure (any)CPT: 93224, 93225, 93226, 93227, 93228, 93229, 93241, 93242, 93243, 93244, 93245, 93246, 93247, 93248, 93268, 93269, 93270, 93271, 93272days -1825 to -1 (H)-0.006274
px_exercise_testExercise or cardiopulmonary exercise testTests and evaluationsProcedure (any)CPT: 94621, 93015, 93016, 93017, 93018days -1825 to -1 (H)-0.251273
px_neuropsychNeuropsychological testingTests and evaluationsProcedure (any)CPT: 96132, 96133, 96136, 96137, 96138, 96139days -1825 to -1 (H)0.079185
px_pt_evalPhysical therapy evaluationTests and evaluationsProcedure (any)CPT: 97161, 97162, 97163days -1825 to -1 (H)-0.11369
px_head_ctHead CTTests and evaluationsProcedure (any)CPT: 70450, 70451, 70452, 70453, 70454, 70455, 70456, 70457, 70458, 70459, 70460, 70461, 70462, 70463, 70464, 70465, 70466, 70467, 70468, 70469
1 more70470
days -1825 to -1 (H)-0.036021
lab_tshThyroid (TSH) testLab tests orderedObservation (any)LOINC: 10516-3, 11033-8, 11579-0, 11580-8, 12932-0, 12933-8, 12934-6, 12935-3, 12936-1, 12937-9
88 more12938-7, 12939-5, 12940-3, 12941-1, 12942-9, 12943-7, 12944-5, 12945-2, 12946-0, 12947-8, 12948-6, 13869-3, 13871-9, 13897-4, 14255-4, 14919-5, 14997-1, 14998-9, 14999-7, 15000-3, 17786-5, 20452-9, 25789-9, 25990-3, 25991-1, 26998-5, 29316-7, 29317-5, 29574-1, 29575-8, 3015-5, 30151-5, 3016-3, 3018-9, 3019-7, 33258-5, 33259-3, 33260-1, 33261-9, 33269-2, 34054-7, 35134-6, 40397-2, 40398-0, 40399-8, 40400-4, 40401-2, 40673-6, 44935-5, 44936-3, 45173-2, 47947-7, 47948-5, 47949-3, 47950-1, 47951-9, 47952-7, 47953-5, 48077-2, 48700-9, 50533-9, 50534-7, 50535-4, 50536-2, 50537-0, 50538-8, 50539-6, 50540-4, 50541-2, 5384-3, 5385-0, 55362-8, 56594-5, 57416-0, 57854-2, 58833-5, 58834-3, 63363-6, 63364-4, 63365-1, 63366-9, 65360-0, 69561-9, 70096-3, 77623-7, 82659-4, 90801-2, 99078-8
days -1825 to -1 (H)0.050133
lab_ferritinFerritin testLab tests orderedObservation (any)LOINC: 14723-1, 14724-9, 20567-4, 2276-4, 24373-3, 48141-6, 53048-5, 74807-9, 86914-9days -1825 to -1 (H)0.126205
lab_b12Vitamin B12 testLab tests orderedObservation (any)LOINC: 1460-5, 14685-2, 14733-0, 15052-4, 16695-9, 16696-7, 1888-7, 2132-9, 2169-1, 2171-7
28 more2440-6, 26916-7, 3029-6, 3031-2, 3032-0, 30904-7, 30905-4, 30906-2, 32341-0, 33766-7, 4203-6, 49264-5, 54376-9, 54377-7, 54378-5, 55850-2, 55881-7, 55882-5, 55883-3, 55884-1, 55885-8, 59211-3, 72157-1, 72158-9, 72160-5, 96297-7, 96805-7, 96809-9
days -1825 to -1 (H)0.108199
lab_vitamin_dVitamin D testLab tests orderedObservation (any)LOINC: 14635-7, 1989-3, 46269-7, 49054-0, 55814-8, 57566-2, 57567-0, 57568-8, 57569-6, 62292-8
12 more68438-1, 72403-9, 72404-7, 72888-1, 83070-3, 83071-1, 86918-0, 94673-1, 94674-9, 95593-0, 95594-8, 95595-5
days -1825 to -1 (H)0.031033
lab_anaAntinuclear antibody (ANA) testLab tests orderedObservation (any)LOINC: 101221-0, 101231-9, 11088-2, 11089-0, 11090-8, 11565-9, 11571-7, 13066-6, 13067-4, 13068-2
267 more14030-1, 14235-6, 14240-6, 14607-6, 14608-4, 14609-2, 14610-0, 14611-8, 14612-6, 14613-4, 14614-2, 14615-9, 14616-7, 14722-3, 15398-1, 16139-8, 16392-3, 16393-1, 16394-9, 16824-5, 17031-6, 17032-4, 17341-9, 17380-7, 17532-3, 17533-1, 17535-6, 17536-4, 17569-5, 17583-6, 17584-4, 17586-9, 17587-7, 17589-3, 17590-1, 17591-9, 17592-7, 17791-5, 17792-3, 19137-9, 20398-4, 20399-2, 20400-8, 20401-6, 20432-1, 20435-4, 21260-5, 21423-9, 21522-8, 22296-8, 22297-6, 26023-2, 26703-9, 26880-5, 26975-3, 27048-8, 27200-5, 27416-7, 29374-6, 29948-7, 29949-5, 29953-7, 29954-5, 30138-2, 30342-0, 30556-5, 31372-6, 31535-8, 31540-8, 31541-6, 31542-4, 31543-2, 31544-0, 31562-2, 31563-0, 31627-3, 31628-1, 31693-5, 32041-6, 32715-5, 32716-3, 33253-6, 33460-7, 33566-1, 33567-9, 33568-7, 33569-5, 33570-3, 33600-8, 33635-4, 35278-1, 35333-4, 40655-3, 41025-8, 42212-1, 42213-9, 42214-7, 42254-3, 42498-6, 43100-7, 43119-7, 43182-5, 44083-4, 44751-6, 44752-4, 45142-7, 47074-0, 47383-5, 49309-8, 49310-6, 49311-4, 49738-8, 5047-6, 5048-4, 51749-0, 51928-0, 5234-0, 5235-7, 5275-3, 5276-1, 53002-2, 53006-3, 53007-1, 53008-9, 5301-7, 5302-5, 5348-8, 5349-6, 5351-2, 5352-0, 5353-8, 5354-6, 5355-3, 5356-1, 5357-9, 53983-3, 53984-1, 53985-8, 53986-6, 53987-4, 53988-2, 53989-0, 53990-8, 53991-6, 53992-4, 53993-2, 53994-0, 53997-3, 53998-1, 53999-9, 54000-5, 54005-4, 54006-2, 54149-0, 54154-0, 54155-7, 56148-0, 56693-5, 56721-4, 56723-0, 56724-8, 56725-5, 56730-5, 56731-3, 56733-9, 56977-2, 57010-1, 57431-9, 57448-3, 59069-5, 59390-5, 63238-0, 63239-8, 63265-3, 63266-1, 63267-9, 63294-3, 63295-0, 63296-8, 63297-6, 63305-7, 63306-5, 63307-3, 63308-1, 63317-2, 63318-0, 63319-8, 63334-7, 63335-4, 63336-2, 63337-0, 63338-8, 63345-3, 63346-1, 63347-9, 63348-7, 63349-5, 63350-3, 63351-1, 63352-9, 63353-7, 63354-5, 63388-3, 63389-1, 63390-9, 63391-7, 63393-3, 63394-1, 63398-2, 63399-0, 63400-6, 63401-4, 63402-2, 63403-0, 63404-8, 63405-5, 63406-3, 63536-7, 63540-9, 63542-5, 63545-8, 63546-6, 63547-4, 63569-8, 63570-6, 6822-1, 68369-8, 68370-6, 68371-4, 68372-2, 68373-0, 68374-8, 68375-5, 68376-3, 8061-4, 8076-2, 8088-7, 8091-1, 8092-9, 8093-7, 8094-5, 81728-8, 89501-1, 89502-9, 89526-8, 89527-6, 89529-2, 89531-8, 89533-4, 89535-9, 89536-7, 89537-5, 93712-8, 9399-7, 9423-5, 96919-6, 96920-4, 96921-2, 96922-0, 96923-8, 96924-6, 96925-3, 96926-1, 96927-9, 9722-0, 9839-2, 99069-7
days -1825 to -1 (H)0.261714
lab_crpC-reactive protein testLab tests orderedObservation (any)LOINC: 11039-5, 14634-0, 16503-5, 1988-5, 30522-7, 35648-5, 45062-7, 48421-2, 59182-6, 71426-1
3 more76485-2, 76486-0, 98987-1
days -1825 to -1 (H)0.30191
lab_esrSedimentation rate (ESR) testLab tests orderedObservation (any)LOINC: 18184-2, 30341-2, 43402-7, 4537-7, 4538-5, 4539-3, 82477-1days -1825 to -1 (H)0.278505
lab_ebvEpstein-Barr virus testLab tests orderedObservation (any)LOINC: 100677-4, 100678-2, 101817-5, 11009-8, 11010-6, 12212-7, 13236-5, 13237-3, 13238-1, 14083-0
135 more16823-7, 16824-5, 16825-2, 16826-0, 16827-8, 18427-5, 18428-3, 20432-1, 20490-9, 20491-7, 21260-5, 22290-1, 22291-9, 22292-7, 22293-5, 22294-3, 22295-0, 22296-8, 22297-6, 22298-4, 23858-4, 23970-7, 23971-5, 23972-3, 23994-7, 23995-4, 23996-2, 24007-7, 24114-1, 24115-8, 24316-2, 26705-4, 30083-0, 30136-6, 30137-4, 30138-2, 30339-6, 30340-4, 31369-2, 31370-0, 31371-8, 31372-6, 31373-4, 31374-2, 31375-9, 32585-2, 32828-6, 32829-4, 32830-2, 32843-5, 32844-3, 32845-0, 33395-5, 33479-7, 34593-4, 34639-5, 35397-9, 35398-7, 36923-1, 40750-2, 40751-0, 40752-8, 40753-6, 42497-8, 42498-6, 43730-1, 47064-1, 47066-6, 47068-2, 47072-4, 47432-0, 47433-8, 47434-6, 47435-3, 47436-1, 47437-9, 47982-4, 48723-1, 49069-8, 49178-7, 49352-8, 49353-6, 49354-4, 49355-1, 49356-9, 49564-8, 5002-1, 5003-9, 5004-7, 5005-4, 50969-5, 51454-7, 5153-2, 5154-0, 5155-7, 5156-5, 5157-3, 5158-1, 5159-9, 5160-7, 53774-6, 56598-6, 56599-4, 58760-0, 59183-4, 59805-2, 66493-8, 6814-8, 6815-5, 69949-6, 72206-6, 7882-4, 7883-2, 7884-0, 7885-7, 7886-5, 81119-0, 83095-0, 84871-3, 84872-1, 87554-2, 93711-0, 93712-8, 93713-6, 93714-4, 93840-7, 93841-5, 94102-1, 94827-3, 94828-1, 94829-9, 94830-7, 95138-4, 9633-9, 97993-0
days -1825 to -1 (H)-0.217291
lab_lymeLyme disease testLab tests orderedObservation (any)LOINC: 100711-1, 101149-3, 101352-3, 101353-1, 101357-2, 101358-0, 101403-4, 103961-9, 10846-4, 10847-2
265 more11006-4, 11007-2, 11550-1, 11551-9, 12781-1, 12860-3, 12861-1, 12862-9, 12863-7, 12864-5, 12865-2, 12866-0, 12867-8, 12868-6, 12869-4, 12873-6, 12874-4, 12877-7, 12878-5, 12879-3, 12880-1, 12881-9, 12882-7, 12883-5, 12884-3, 12885-0, 12886-8, 12887-6, 12888-4, 12889-2, 12890-0, 12891-8, 12892-6, 12896-7, 13202-7, 13203-5, 13204-3, 13205-0, 13206-8, 13207-6, 13502-0, 13503-8, 14077-2, 14078-0, 16475-6, 16476-4, 16477-2, 16478-0, 16479-8, 16480-6, 16481-4, 16482-2, 18201-4, 18202-2, 18203-0, 19052-0, 20449-5, 21116-9, 21117-7, 21118-5, 21119-3, 21120-1, 22118-4, 22119-2, 22120-0, 22121-8, 22122-6, 22123-4, 22124-2, 22125-9, 22126-7, 22127-5, 22128-3, 22129-1, 22130-9, 22131-7, 22132-5, 22133-3, 22134-1, 22135-8, 22136-6, 22137-4, 23676-0, 23833-7, 23966-5, 23977-2, 23978-0, 23979-8, 23980-6, 23981-4, 23982-2, 23983-0, 23984-8, 23985-5, 26006-7, 27982-8, 27985-1, 27986-9, 27992-7, 28002-4, 28036-2, 28037-0, 28039-6, 28040-4, 28043-8, 28048-7, 28053-7, 28054-5, 28055-2, 28056-0, 28057-8, 28058-6, 28062-8, 29898-4, 29952-9, 30010-3, 30011-1, 30012-9, 30013-7, 30014-5, 30015-2, 30016-0, 30017-8, 30018-6, 30019-4, 30020-2, 30021-0, 30128-3, 30526-8, 31155-5, 31268-6, 31269-4, 31738-8, 32666-0, 32667-8, 32668-6, 32669-4, 33931-7, 33932-5, 34148-7, 34942-3, 34943-1, 35638-6, 38173-1, 38174-9, 40612-4, 41279-1, 42236-0, 42237-8, 42238-6, 42239-4, 42589-2, 42767-4, 43074-4, 43075-1, 43076-9, 43077-7, 43573-5, 43842-4, 44020-6, 44452-1, 44453-9, 44454-7, 44455-4, 44456-2, 44946-2, 44947-0, 44948-8, 44949-6, 45165-8, 45189-8, 46174-9, 46248-1, 47304-1, 48500-3, 48651-4, 4991-6, 49973-1, 49974-9, 49975-6, 49976-4, 49977-2, 49978-0, 49979-8, 49980-6, 49981-4, 49982-2, 49983-0, 49984-8, 49991-3, 49992-1, 49993-9, 49994-7, 49995-4, 49996-2, 49997-0, 49998-8, 5060-9, 5061-7, 5062-5, 5063-3, 5064-1, 5065-8, 51742-5, 51743-3, 51744-1, 51745-8, 51746-6, 51747-4, 53362-0, 53363-8, 53364-6, 53730-8, 55726-4, 57916-9, 60342-3, 60343-1, 62341-3, 62342-1, 6318-0, 6319-8, 6320-6, 6321-4, 6322-2, 67823-5, 67825-0, 7817-0, 7818-8, 79708-4, 79709-2, 83080-2, 83081-0, 87423-0, 87547-6, 90893-9, 94247-4, 94250-8, 94475-1, 94476-9, 94477-7, 9586-9, 9587-7, 9588-5, 9589-3, 9590-1, 9591-9, 9592-7, 9593-5, 9594-3, 9595-0, 9596-8, 9597-6, 9598-4, 9599-2, 96427-0, 96428-8, 96429-6, 96430-4, 96431-2, 96432-0, 98204-1, 98205-8, 98206-6, 98207-4, 98208-2
days -1825 to -1 (H)0.083267
lab_cortisolCortisol testLab tests orderedObservation (any)LOINC: 100662-6, 100799-6, 100800-2, 100801-0, 100802-8, 100803-6, 100998-4, 101315-0, 101316-8, 101319-2
578 more101586-6, 101977-7, 101979-3, 101980-1, 102023-9, 102024-7, 102025-4, 102026-2, 102027-0, 102028-8, 10332-5, 103647-4, 11040-3, 11155-9, 12557-5, 12558-3, 12559-1, 12560-9, 12561-7, 12562-5, 12563-3, 12564-1, 12565-8, 12566-6, 12567-4, 12568-2, 12569-0, 12570-8, 13480-9, 1356-5, 1357-3, 13600-2, 13601-0, 13602-8, 13611-9, 13872-7, 1389-6, 1390-4, 1391-2, 1392-0, 1393-8, 1394-6, 1395-3, 1396-1, 1397-9, 1398-7, 1399-5, 1400-1, 1401-9, 1402-7, 1403-5, 1404-3, 14043-4, 1406-8, 1407-6, 1408-4, 1409-2, 1410-0, 1411-8, 1412-6, 1413-4, 1414-2, 14148-1, 1415-9, 14158-0, 1416-7, 1417-5, 1418-3, 1419-1, 1421-7, 1422-5, 1423-3, 1424-1, 1425-8, 1426-6, 1427-4, 1428-2, 1429-0, 1430-8, 1431-6, 1432-4, 1433-2, 1434-0, 1435-7, 1436-5, 1437-3, 1438-1, 1439-9, 1440-7, 1441-5, 1442-3, 1443-1, 1444-9, 1445-6, 1446-4, 1447-2, 1448-0, 1449-8, 1450-6, 1451-4, 14567-2, 14675-3, 14676-1, 14677-9, 14678-7, 14679-5, 15043-3, 15044-1, 16295-8, 1657-6, 16667-8, 16668-6, 16669-4, 16670-2, 16671-0, 16672-8, 16673-6, 16674-4, 16675-1, 18351-7, 18365-7, 20622-7, 20995-7, 21034-4, 21035-1, 21039-3, 21044-3, 21222-5, 21223-3, 21224-1, 21225-8, 21226-6, 2142-8, 2143-6, 2144-4, 2145-1, 2147-7, 24389-9, 24390-7, 24391-5, 24392-3, 24393-1, 24394-9, 24395-6, 25315-3, 25618-0, 25619-8, 25621-4, 25622-2, 25623-0, 25624-8, 25625-5, 25626-3, 25627-1, 25628-9, 25882-2, 25883-0, 25884-8, 25885-5, 26525-6, 26526-4, 26527-2, 26528-0, 26529-8, 26530-6, 26531-4, 26532-2, 26533-0, 26534-8, 26535-5, 26536-3, 26828-4, 27199-9, 28045-3, 28046-1, 28550-2, 29358-9, 29363-9, 2995-9, 2996-7, 30171-3, 30172-1, 30173-9, 32009-3, 32310-5, 32311-3, 32312-1, 32313-9, 32314-7, 32315-4, 33257-7, 33346-8, 34065-3, 34204-8, 34205-5, 34206-3, 34476-2, 34909-2, 38551-8, 40274-3, 40275-0, 40310-5, 40311-3, 40312-1, 40313-9, 40314-7, 40315-4, 40316-2, 40317-0, 40809-6, 40810-4, 40928-4, 41289-0, 41407-8, 42572-8, 43126-2, 43215-3, 43217-9, 44309-3, 44310-1, 44412-5, 44864-7, 44916-5, 44917-3, 45047-8, 45048-6, 45049-4, 45050-2, 45051-0, 45184-9, 45296-1, 46397-6, 46398-4, 46399-2, 46403-2, 46416-4, 47604-4, 47605-1, 47606-9, 47607-7, 47608-5, 47609-3, 47844-6, 47845-3, 47846-1, 47847-9, 47848-7, 47849-5, 47850-3, 47851-1, 48098-8, 48099-6, 48100-2, 48101-0, 48102-8, 48103-6, 48104-4, 48105-1, 49029-2, 49324-7, 49968-1, 49969-9, 50071-0, 50072-8, 50073-6, 50074-4, 50075-1, 50093-4, 50094-2, 50095-9, 50096-7, 50097-5, 50250-0, 50336-7, 50415-9, 50416-7, 50421-7, 50422-5, 50423-3, 50424-1, 50429-0, 50430-8, 50431-6, 50432-4, 50433-2, 50434-0, 50441-5, 50442-3, 50453-0, 50454-8, 50455-5, 50456-3, 50457-1, 50458-9, 50459-7, 50460-5, 50645-1, 50716-0, 50717-8, 50718-6, 50719-4, 50720-2, 50721-0, 50752-5, 50848-1, 51424-0, 51488-5, 51489-3, 51490-1, 51491-9, 51492-7, 51493-5, 51494-3, 51495-0, 51844-9, 53336-4, 53337-2, 53338-0, 53339-8, 53341-4, 53342-2, 53345-5, 53346-3, 54211-8, 54212-6, 54213-4, 54214-2, 54215-9, 54235-7, 54236-5, 55138-2, 55348-7, 55467-5, 55468-3, 55472-5, 55473-3, 55809-8, 55810-6, 55811-4, 55812-2, 55822-1, 55823-9, 55826-2, 55844-5, 55845-2, 56517-6, 56518-4, 56519-2, 56520-0, 56521-8, 56585-3, 57002-8, 57463-2, 57464-0, 57465-7, 57466-5, 57494-7, 57495-4, 57496-2, 57497-0, 57498-8, 57499-6, 57500-1, 57501-9, 57502-7, 57503-5, 57504-3, 57505-0, 57506-8, 57507-6, 57557-1, 57558-9, 57559-7, 57563-9, 57564-7, 57565-4, 57597-7, 57598-5, 57599-3, 57600-9, 57601-7, 57602-5, 57603-3, 57604-1, 57613-2, 57614-0, 57615-7, 57616-5, 57617-3, 57618-1, 57619-9, 57620-7, 57672-8, 57684-3, 57685-0, 57686-8, 57687-6, 57688-4, 57689-2, 57690-0, 57691-8, 57692-6, 57693-4, 57694-2, 57695-9, 57824-5, 57825-2, 58631-3, 58632-1, 58633-9, 58634-7, 58635-4, 58636-2, 58637-0, 58638-8, 58639-6, 58640-4, 58641-2, 58642-0, 58643-8, 58644-6, 58645-3, 58646-1, 58647-9, 58648-7, 58649-5, 58650-3, 58651-1, 58652-9, 58653-7, 58654-5, 58655-2, 58656-0, 58657-8, 58658-6, 58659-4, 58660-2, 58661-0, 58662-8, 58663-6, 58664-4, 58665-1, 58666-9, 58667-7, 58668-5, 58669-3, 58670-1, 58671-9, 58672-7, 58673-5, 58674-3, 58675-0, 58676-8, 58677-6, 58678-4, 58679-2, 58680-0, 58688-3, 58689-1, 58690-9, 58691-7, 58692-5, 58693-3, 58694-1, 58695-8, 58696-6, 58697-4, 58698-2, 58819-4, 58820-2, 58821-0, 58822-8, 58823-6, 58824-4, 58825-1, 58826-9, 58827-7, 58828-5, 58829-3, 58830-1, 58908-5, 58909-3, 58910-1, 58985-3, 59153-7, 59273-3, 59803-7, 59804-5, 60013-0, 60680-6, 60681-4, 65364-2, 68315-1, 6869-2, 71805-6, 72392-4, 73841-9, 73842-7, 73843-5, 73862-5, 73863-3, 73864-1, 73890-6, 73891-4, 73892-2, 74872-3, 75516-5, 76347-4, 76352-4, 77607-0, 77925-6, 77926-4, 77927-2, 77928-0, 77929-8, 77930-6, 77931-4, 77932-2, 77933-0, 77934-8, 77935-5, 77936-3, 77937-1, 78047-8, 78988-3, 81793-2, 81794-0, 81804-7, 82848-3, 82849-1, 82850-9, 82851-7, 82854-1, 82855-8, 82856-6, 82857-4, 82861-6, 82862-4, 82878-0, 82879-8, 82894-7, 82895-4, 82896-2, 82897-0, 82898-8, 82899-6, 82900-2, 82901-0, 82908-5, 82909-3, 83088-5, 83089-3, 83090-1, 83091-9, 87429-7, 93480-2, 93481-0, 93482-8, 93483-6, 93484-4, 93773-0, 94873-7, 95578-1, 95579-9, 95580-7, 95581-5, 95582-3, 9612-3, 9613-1, 9614-9, 9615-6, 96424-7, 96425-4, 96798-4, 96801-6, 97765-2, 9812-9, 9813-7
days -1825 to -1 (H)0.399741
lab_ckCreatine kinase testLab tests orderedObservation (any)LOINC: 101446-3, 12187-1, 12189-7, 13969-1, 14680-3, 15048-2, 15049-0, 16688-4, 20569-0, 2151-9
35 more2152-7, 2153-5, 2154-3, 2155-0, 2156-8, 2157-6, 2158-4, 24335-2, 26019-0, 26020-8, 32673-6, 33547-1, 34160-2, 38482-6, 49129-0, 49136-5, 49258-7, 49259-5, 49551-5, 50756-6, 50757-4, 51505-6, 51506-4, 51507-2, 53433-9, 5912-1, 59149-5, 72561-4, 72562-2, 72563-0, 72564-8, 72565-5, 83092-7, 9642-0, 9643-8
days -1825 to -1 (H)0.063038
lab_rfRheumatoid factor testLab tests orderedObservation (any)LOINC: 11572-5, 11573-3, 13634-1, 13929-5, 13930-3, 14034-3, 15203-3, 15204-1, 15205-8, 15206-6
28 more17534-9, 17857-4, 25745-1, 25746-9, 29351-4, 30231-5, 31046-6, 33313-8, 33314-6, 33577-8, 33648-7, 33910-1, 43932-3, 45156-7, 46435-4, 46437-0, 5297-7, 5298-5, 5299-3, 5300-9, 53562-5, 53924-7, 63313-1, 63314-9, 63315-6, 6823-9, 6928-6, 9338-5
days -1825 to -1 (H)0.418197
lab_ccpAnti-CCP antibody testLab tests orderedObservation (any)LOINC: 32218-0, 33935-8, 42898-7, 46435-4, 46437-0, 53027-9, 53028-7, 57093-7, 63217-4, 63375-0
2 more82576-0, 94874-5
days -1825 to -1 (H)0.51091
rx_stimulantStimulant or wakefulness drugMedicationsMedicationRequest (any)RxNorm ingredients: modafinil, armodafinil, methylphenidate, amphetamine, dextroamphetamine, lisdexamfetamine (788 RxCUIs listed in the model file)days -1825 to -1 (H)0.857209
rx_naltrexoneNaltrexoneMedicationsMedicationRequest (any)RxNorm ingredients: naltrexone (114 RxCUIs listed in the model file)days -1825 to -1 (H)0.436797
rx_ssri_snriSSRI or SNRI antidepressantMedicationsMedicationRequest (any)RxNorm ingredients: sertraline, fluoxetine, citalopram, escitalopram, paroxetine, venlafaxine, duloxetine, desvenlafaxine (490 RxCUIs listed in the model file)days -1825 to -1 (H)0.654281
rx_tricyclic_lowdoseAmitriptyline, nortriptyline, or cyclobenzaprineMedicationsMedicationRequest (any)RxNorm ingredients: amitriptyline, nortriptyline, cyclobenzaprine (295 RxCUIs listed in the model file)days -1825 to -1 (H)0.63842
rx_gabapentinoidGabapentin or pregabalinMedicationsMedicationRequest (any)RxNorm ingredients: gabapentin, pregabalin (162 RxCUIs listed in the model file)days -1825 to -1 (H)0.366878
rx_sleep_aidSleep medicationMedicationsMedicationRequest (any)RxNorm ingredients: zolpidem, trazodone, eszopiclone (169 RxCUIs listed in the model file)days -1825 to -1 (H)0.330134
rx_beta_blockerBeta blockerMedicationsMedicationRequest (any)RxNorm ingredients: propranolol, metoprolol, atenolol, bisoprolol, nadolol, carvedilol (787 RxCUIs listed in the model file)days -1825 to -1 (H)0.178516
rx_potsPOTS medicationMedicationsMedicationRequest (any)RxNorm ingredients: ivabradine, midodrine, fludrocortisone, pyridostigmine (122 RxCUIs listed in the model file)days -1825 to -1 (H)0.741587
rx_opioidOpioidMedicationsMedicationRequest (any)RxNorm ingredients: oxycodone, hydrocodone, tramadol, morphine (3607 RxCUIs listed in the model file)days -1825 to -1 (H)0.182148
rx_milnacipranMilnacipranMedicationsMedicationRequest (any)RxNorm ingredients: milnacipran (28 RxCUIs listed in the model file)days -1825 to -1 (H)1.728002
rx_nsaidNSAID pain relieverMedicationsMedicationRequest (any)RxNorm ingredients: naproxen, ibuprofen, meloxicam, diclofenac, ketorolac (1712 RxCUIs listed in the model file)days -1825 to -1 (H)0.289883
rx_muscle_relaxantMuscle relaxantMedicationsMedicationRequest (any)RxNorm ingredients: tizanidine, methocarbamol, baclofen (237 RxCUIs listed in the model file)days -1825 to -1 (H)0.571544
rx_triptanTriptanMedicationsMedicationRequest (any)RxNorm ingredients: sumatriptan, rizatriptan, zolmitriptan, eletriptan, naratriptan, almotriptan, frovatriptan (286 RxCUIs listed in the model file)days -1825 to -1 (H)1.77925
rx_cgrpCGRP-targeted migraine drugMedicationsMedicationRequest (any)RxNorm ingredients: erenumab, fremanezumab, galcanezumab, eptinezumab, rimegepant, ubrogepant, atogepant (129 RxCUIs listed in the model file)days -1825 to -1 (H)3.944482
rx_topiramateTopiramateMedicationsMedicationRequest (any)RxNorm ingredients: topiramate (135 RxCUIs listed in the model file)days -1825 to -1 (H)1.361601
rx_antiemeticAntinausea drugMedicationsMedicationRequest (any)RxNorm ingredients: ondansetron, metoclopramide, prochlorperazine, promethazine (621 RxCUIs listed in the model file)days -1825 to -1 (H)0.350759
util_out_r_ge66+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 6 Encounters)days -365 to -1 (R)-0.0437
util_out_r_ge1212+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 12 Encounters)days -365 to -1 (R)0.015092
util_ed_rEmergency visit in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class EMER (at least 1 Encounter)days -365 to -1 (R)0.239377
util_ip_hHospital stay in the past 5 yearsHealth care useEncounter (encounter_count_ge)Encounter.class IMP (at least 1 Encounter)days -1825 to -1 (H)-0.116961

Score, calibration, and risk bands

score = -2.774273 + Σ weight × value. The probability is the piecewise-linear interpolation of the score over the calibration points below, clamped at the ends. The band is the first band whose upper limit is at or above the probability. "Times the average" is the probability divided by the cohort base rate in the model file, reference.cohort_base_rate = 0.134288 (about 13.4%).

Calibration points come from a logistic on binned training-split counts (a = -1.313992, b = 0.386146).

BandProbability up toTimes the average
Typical20.1%1.50
Elevated40.3%3.00
High100%above 3.00
ScoreProbability
-10.26540.51%
-9.18750.77%
-8.10961.16%
-7.03171.75%
-5.95392.63%
-4.8763.93%
-3.79815.84%
-2.72028.59%
-1.642312.5%
-0.564417.8%
0.513524.7%
1.591433.2%
2.669243.0%
3.747153.3%
4.82563.4%
5.902972.4%
6.980879.9%
8.058785.8%
9.136690.2%
10.214593.3%
11.292395.5%
12.370297.0%
13.448198.0%
14.52698.7%
15.603999.1%

Validation and provenance

Intended use and limitations

Test patients and expected results

Synthetic FHIR R4 bundles in model/test_vectors/bundles/, scored as of 2024-06-01. Expected outputs are in model/test_vectors/expected/unm-migraine-1.0.0/; this generator reran the reference scorer on every bundle and they match. The JavaScript scorer must reproduce them to 1e-9.

PatientScenarioExpected resultTop drivers
Mariabuilt for the Long COVID cardTypical, 14.7% (1.09 times the average)Female; Age 40-49; C-reactive protein test
Jamesbuilt for the Long COVID cardTypical, 9.66% (0.72 times the average)Age 40-49; COVID-19
Rosabuilt for the Long COVID cardTypical, 14.3% (1.07 times the average)Female; Long COVID; Age 50-59
Leebuilt for the Long COVID cardTypical, 9.98% (0.74 times the average)Age 18-39
Norabuilt for the Long COVID cardTypical, 13.7% (1.02 times the average)Female; Age 18-39; COVID-19
Danabuilt for the Lyme cardTypical, 12.2% (0.91 times the average)Female; Age 50-59; Muscle or joint pain
Elenabuilt for the Chronic fatigue and ME/CFS cardElevated, 22.7% (1.69 times the average)Female; Stimulant or wakefulness drug; POTS medication
Omarbuilt for the Chronic fatigue and ME/CFS cardTypical, 8.54% (0.64 times the average)Age 40-49; Hypertension
Gracebuilt for the Chronic fatigue and ME/CFS cardTypical, 15.6% (1.16 times the average)Female; Age 40-49; Chronic fatigue or ME/CFS
Sofiabuilt for the Fibromyalgia cardHigh, 53.1% (3.95 times the average)Female; SSRI or SNRI antidepressant; Amitriptyline, nortriptyline, or cyclobenzaprine
Priyabuilt for the Long COVID cardTypical, 14.9% (1.11 times the average)Female; Age 40-49; Long COVID
Sambuilt for the Long COVID cardTypical, 8.27% (0.62 times the average)Age 50-59; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Theobuilt for the Long COVID cardTypical, 9.93% (0.74 times the average)Age 18-39; Long COVID; Fatigue or malaise coded in the past year
Yarabuilt for the Long COVID cardTypical, 13.0% (0.97 times the average)Female; Age 18-39; Fatigue or malaise coded in the past year
Verabuilt for the Long COVID cardTypical, 10.2% (0.76 times the average)Female; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Willbuilt for the Long COVID cardTypical, 9.66% (0.72 times the average)Age 40-49; COVID-19
Umano birth date: not scored by any modelnot scored: birth date missing or unusable (age is required)
Kai16 at the COVID-19 index, 17 on the scoring date: not scored by any modelnot scored: under 18 on the scoring date (the model covers adults)

Depression (unm-depression 1.0.0)

Model file model/depression.json, status "research". Research decision support. Surfaces chart patterns for clinician review. Not a diagnosis.

Download depression.json

What it predicts and for whom

Card wording, from the CDS Hooks service (web/functions/cds-services/_cds.js): "Chart pattern similar to patients who report a depression diagnosis that was never coded." The number is shown as "N times the average for adults with a visit in the past year" and as the "Probability that the patient reports a depression diagnosis".

When it does not score

  1. No usable birth date: "birth date missing or unusable (age is required)".
  2. Under 18 on day 0 (age is days / 365.25, as in training): "under 18 on the scoring date (the model covers adults)".
  3. A Condition coded ICD-10-CM F32 or F33 is dated on or before day 0, or has no usable date: "a depression diagnosis is already recorded".
  4. No AMB, EMER, or IMP encounter in days -365 to -1 (R): "no encounters in the past year (insufficient history)".

ICD-10-CM codes match by prefix with dots removed, so a listed code also matches its subcodes. In each case the app says why it did not score. Every rule reads only records dated on or before the scoring date; Conditions whose verificationStatus is refuted or entered-in-error, and records whose status is entered-in-error, are ignored. If a FHIR search the model needs failed or was forbidden, the result is "could not score: <resource> unavailable" instead of a score (interface spec, section 4c).

Windows

WindowDays relative to day 0
H-1825 to -1
R-365 to -1

Features (86, of which 86 carry a weight)

Each feature is 0 or 1. Features that differ only in threshold (for example 2+ and 3+ of the same thing) show as one driver carrying the summed weight. ICD-10-CM codes are shown with dots for reading; the model file stores feature codes without dots.

FeatureLabelGroupSource (kind)CodesWindowWeight
age_18_39Age 18-39DemographicsPatient (age_band)Patient.birthDate: age 18 to 39 on day 0on day 00.759557
age_40_49Age 40-49DemographicsPatient (age_band)Patient.birthDate: age 40 to 49 on day 0on day 00.501363
age_50_59Age 50-59DemographicsPatient (age_band)Patient.birthDate: age 50 to 59 on day 0on day 00.166047
age_60_69Age 60-69DemographicsPatient (age_band)Patient.birthDate: age 60 to 69 on day 0on day 0-0.331083
age_70pAge 70 or olderDemographicsPatient (age_band)Patient.birthDate: age 70 and older on day 0on day 0-0.916873
sex_femaleFemaleDemographicsPatient (sex)Patient.gender = femaleon day 00.741824
cx_fatigue_otherFatigue or malaise codedConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -1825 to -1 (H)-0.268827
cx_fatigue_recentFatigue or malaise coded in the past yearConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -365 to -1 (R)-0.194493
cx_sleepSleep disturbanceConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.0, G47.1, G47.8, G47.9, F51days -1825 to -1 (H)-0.052838
cx_sleep_apneaSleep apneaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.33days -1825 to -1 (H)-0.2054
cx_cognitiveCognitive symptoms (brain fog, memory)Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R41, G31.84days -1825 to -1 (H)0.001427
cx_autonomicPalpitations, POTS, orthostatic hypotension, or dysautonomiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9days -1825 to -1 (H)-0.365135
cx_dizzy_syncopeDizziness or faintingConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R42, R55days -1825 to -1 (H)-0.304991
cx_headacheHeadacheConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R51, G44days -1825 to -1 (H)-0.077916
cx_migraineMigraineConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G43days -1825 to -1 (H)0.13888
cx_myalgia_arthralgiaMuscle or joint painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.1, M25.5, M79.6days -1825 to -1 (H)-0.541115
cx_chronic_painChronic painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G89days -1825 to -1 (H)-0.32311
cx_anxietyAnxietyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F41days -1825 to -1 (H)0.584745
cx_ptsdPosttraumatic stress disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F43.1days -1825 to -1 (H)1.061047
cx_ibs_giIrritable bowel or gastrointestinal symptomsConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: K58, R10, R11, R14, R19days -1825 to -1 (H)-0.277448
cx_sore_throat_nodesSore throat or enlarged lymph nodesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: J02, R59days -1825 to -1 (H)-0.241414
cx_feverFeverConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R50days -1825 to -1 (H)-0.401185
cx_ebv_monoInfectious mononucleosis (EBV)Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: B27days -1825 to -1 (H)-0.232271
cx_lymeLyme diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: A69.2days -1825 to -1 (H)-0.426762
cx_covidCOVID-19Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U07.1days -1825 to -1 (H)-0.472966
cx_long_covidLong COVIDConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U09.9days -1825 to -1 (H)-0.066216
cx_eds_hypermobilityEhlers-Danlos syndrome or hypermobilityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Q79.6, M35.7days -1825 to -1 (H)0.725108
cx_mast_cellMast cell disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D89.4days -1825 to -1 (H)0.954857
cx_hypothyroidHypothyroidismConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E03days -1825 to -1 (H)-0.31925
cx_anemiaAnemiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D50, D51, D52, D53, D63, D64days -1825 to -1 (H)-0.552308
cx_vitd_deficiencyVitamin D deficiencyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E55days -1825 to -1 (H)-0.412196
cx_autoimmuneAutoimmune or demyelinating diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M05, M06, M32, M35, L40, K50, K51, M45, G35days -1825 to -1 (H)-0.148662
cx_obesityObesityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E66, Z68.3, Z68.4days -1825 to -1 (H)-0.304983
cx_diabetesDiabetesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E10, E11days -1825 to -1 (H)-0.413015
cx_hypertensionHypertensionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I10days -1825 to -1 (H)-0.763357
cx_heart_diseaseCoronary disease or heart failureConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I25, I50days -1825 to -1 (H)-0.841265
cx_cancerCancerConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Cdays -1825 to -1 (H)-0.815473
cx_cfsChronic fatigue or ME/CFSConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G93.3, R53.82days -1825 to -1 (H)0.142409
cx_tmjTemporomandibular joint disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M26.6days -1825 to -1 (H)-0.057737
cx_rlsRestless legs syndromeConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G25.81days -1825 to -1 (H)0.056121
cx_interstitial_cystitisInterstitial cystitis or bladder painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: N30.1days -1825 to -1 (H)0.44266
cx_osteoarthritisOsteoarthritisConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M15, M16, M17, M18, M19days -1825 to -1 (H)-0.64871
cx_neck_back_painNeck or low back painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M54.2, M54.5days -1825 to -1 (H)-0.35656
cx_fibromyalgiaFibromyalgiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.7days -1825 to -1 (H)0.867096
cx_suicidal_ideationSuicidal ideationConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R45.851days -1825 to -1 (H)1.215031
clusters_ge3Three or more symptom typesSymptom patternCondition (cluster_count_ge)at least 3 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83, G93.3, R53.82
sleep: G47.0, G47.1, G47.8, G47.9, F51, G25.81
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, M26.6, M54.2, M54.5
mood: F41, R45.851
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
days -1825 to -1-0.167401
clusters_ge5Five or more symptom typesSymptom patternCondition (cluster_count_ge)at least 5 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83, G93.3, R53.82
sleep: G47.0, G47.1, G47.8, G47.9, F51, G25.81
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, M26.6, M54.2, M54.5
mood: F41, R45.851
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
days -1825 to -10.092213
px_tiltTilt-table testTests and evaluationsProcedure (any)CPT: 93660days -1825 to -1 (H)0.40907
px_sleep_studySleep studyTests and evaluationsProcedure (any)CPT: 95806, 95807, 95808, 95809, 95810, 95811, G0398, G0399, G0400days -1825 to -1 (H)-0.037392
px_brain_mriBrain MRITests and evaluationsProcedure (any)CPT: 70551, 70552, 70553days -1825 to -1 (H)-0.114466
px_echoEchocardiogramTests and evaluationsProcedure (any)CPT: 93303, 93304, 93305, 93306, 93307, 93308, 93312, 93313, 93314, 93315, 93316, 93317, 93318, 93350, 93351, 93352days -1825 to -1 (H)-0.530069
px_cardiac_monitorHolter or event monitorTests and evaluationsProcedure (any)CPT: 93224, 93225, 93226, 93227, 93228, 93229, 93241, 93242, 93243, 93244, 93245, 93246, 93247, 93248, 93268, 93269, 93270, 93271, 93272days -1825 to -1 (H)-0.338951
px_exercise_testExercise or cardiopulmonary exercise testTests and evaluationsProcedure (any)CPT: 94621, 93015, 93016, 93017, 93018days -1825 to -1 (H)-0.518214
px_neuropsychNeuropsychological testingTests and evaluationsProcedure (any)CPT: 96132, 96133, 96136, 96137, 96138, 96139days -1825 to -1 (H)0.340725
px_pt_evalPhysical therapy evaluationTests and evaluationsProcedure (any)CPT: 97161, 97162, 97163days -1825 to -1 (H)-0.364226
px_psychotherapyPsychotherapy or psychiatric evaluationTests and evaluationsProcedure (any)CPT: 90791, 90792, 90832, 90833, 90834, 90835, 90836, 90837, 90838days -1825 to -1 (H)0.526165
lab_tshThyroid (TSH) testLab tests orderedObservation (any)LOINC: 10516-3, 11033-8, 11579-0, 11580-8, 12932-0, 12933-8, 12934-6, 12935-3, 12936-1, 12937-9
88 more12938-7, 12939-5, 12940-3, 12941-1, 12942-9, 12943-7, 12944-5, 12945-2, 12946-0, 12947-8, 12948-6, 13869-3, 13871-9, 13897-4, 14255-4, 14919-5, 14997-1, 14998-9, 14999-7, 15000-3, 17786-5, 20452-9, 25789-9, 25990-3, 25991-1, 26998-5, 29316-7, 29317-5, 29574-1, 29575-8, 3015-5, 30151-5, 3016-3, 3018-9, 3019-7, 33258-5, 33259-3, 33260-1, 33261-9, 33269-2, 34054-7, 35134-6, 40397-2, 40398-0, 40399-8, 40400-4, 40401-2, 40673-6, 44935-5, 44936-3, 45173-2, 47947-7, 47948-5, 47949-3, 47950-1, 47951-9, 47952-7, 47953-5, 48077-2, 48700-9, 50533-9, 50534-7, 50535-4, 50536-2, 50537-0, 50538-8, 50539-6, 50540-4, 50541-2, 5384-3, 5385-0, 55362-8, 56594-5, 57416-0, 57854-2, 58833-5, 58834-3, 63363-6, 63364-4, 63365-1, 63366-9, 65360-0, 69561-9, 70096-3, 77623-7, 82659-4, 90801-2, 99078-8
days -1825 to -1 (H)0.01579
lab_ferritinFerritin testLab tests orderedObservation (any)LOINC: 14723-1, 14724-9, 20567-4, 2276-4, 24373-3, 48141-6, 53048-5, 74807-9, 86914-9days -1825 to -1 (H)0.176969
lab_b12Vitamin B12 testLab tests orderedObservation (any)LOINC: 1460-5, 14685-2, 14733-0, 15052-4, 16695-9, 16696-7, 1888-7, 2132-9, 2169-1, 2171-7
28 more2440-6, 26916-7, 3029-6, 3031-2, 3032-0, 30904-7, 30905-4, 30906-2, 32341-0, 33766-7, 4203-6, 49264-5, 54376-9, 54377-7, 54378-5, 55850-2, 55881-7, 55882-5, 55883-3, 55884-1, 55885-8, 59211-3, 72157-1, 72158-9, 72160-5, 96297-7, 96805-7, 96809-9
days -1825 to -1 (H)0.163119
lab_vitamin_dVitamin D testLab tests orderedObservation (any)LOINC: 14635-7, 1989-3, 46269-7, 49054-0, 55814-8, 57566-2, 57567-0, 57568-8, 57569-6, 62292-8
12 more68438-1, 72403-9, 72404-7, 72888-1, 83070-3, 83071-1, 86918-0, 94673-1, 94674-9, 95593-0, 95594-8, 95595-5
days -1825 to -1 (H)-0.013094
lab_anaAntinuclear antibody (ANA) testLab tests orderedObservation (any)LOINC: 101221-0, 101231-9, 11088-2, 11089-0, 11090-8, 11565-9, 11571-7, 13066-6, 13067-4, 13068-2
267 more14030-1, 14235-6, 14240-6, 14607-6, 14608-4, 14609-2, 14610-0, 14611-8, 14612-6, 14613-4, 14614-2, 14615-9, 14616-7, 14722-3, 15398-1, 16139-8, 16392-3, 16393-1, 16394-9, 16824-5, 17031-6, 17032-4, 17341-9, 17380-7, 17532-3, 17533-1, 17535-6, 17536-4, 17569-5, 17583-6, 17584-4, 17586-9, 17587-7, 17589-3, 17590-1, 17591-9, 17592-7, 17791-5, 17792-3, 19137-9, 20398-4, 20399-2, 20400-8, 20401-6, 20432-1, 20435-4, 21260-5, 21423-9, 21522-8, 22296-8, 22297-6, 26023-2, 26703-9, 26880-5, 26975-3, 27048-8, 27200-5, 27416-7, 29374-6, 29948-7, 29949-5, 29953-7, 29954-5, 30138-2, 30342-0, 30556-5, 31372-6, 31535-8, 31540-8, 31541-6, 31542-4, 31543-2, 31544-0, 31562-2, 31563-0, 31627-3, 31628-1, 31693-5, 32041-6, 32715-5, 32716-3, 33253-6, 33460-7, 33566-1, 33567-9, 33568-7, 33569-5, 33570-3, 33600-8, 33635-4, 35278-1, 35333-4, 40655-3, 41025-8, 42212-1, 42213-9, 42214-7, 42254-3, 42498-6, 43100-7, 43119-7, 43182-5, 44083-4, 44751-6, 44752-4, 45142-7, 47074-0, 47383-5, 49309-8, 49310-6, 49311-4, 49738-8, 5047-6, 5048-4, 51749-0, 51928-0, 5234-0, 5235-7, 5275-3, 5276-1, 53002-2, 53006-3, 53007-1, 53008-9, 5301-7, 5302-5, 5348-8, 5349-6, 5351-2, 5352-0, 5353-8, 5354-6, 5355-3, 5356-1, 5357-9, 53983-3, 53984-1, 53985-8, 53986-6, 53987-4, 53988-2, 53989-0, 53990-8, 53991-6, 53992-4, 53993-2, 53994-0, 53997-3, 53998-1, 53999-9, 54000-5, 54005-4, 54006-2, 54149-0, 54154-0, 54155-7, 56148-0, 56693-5, 56721-4, 56723-0, 56724-8, 56725-5, 56730-5, 56731-3, 56733-9, 56977-2, 57010-1, 57431-9, 57448-3, 59069-5, 59390-5, 63238-0, 63239-8, 63265-3, 63266-1, 63267-9, 63294-3, 63295-0, 63296-8, 63297-6, 63305-7, 63306-5, 63307-3, 63308-1, 63317-2, 63318-0, 63319-8, 63334-7, 63335-4, 63336-2, 63337-0, 63338-8, 63345-3, 63346-1, 63347-9, 63348-7, 63349-5, 63350-3, 63351-1, 63352-9, 63353-7, 63354-5, 63388-3, 63389-1, 63390-9, 63391-7, 63393-3, 63394-1, 63398-2, 63399-0, 63400-6, 63401-4, 63402-2, 63403-0, 63404-8, 63405-5, 63406-3, 63536-7, 63540-9, 63542-5, 63545-8, 63546-6, 63547-4, 63569-8, 63570-6, 6822-1, 68369-8, 68370-6, 68371-4, 68372-2, 68373-0, 68374-8, 68375-5, 68376-3, 8061-4, 8076-2, 8088-7, 8091-1, 8092-9, 8093-7, 8094-5, 81728-8, 89501-1, 89502-9, 89526-8, 89527-6, 89529-2, 89531-8, 89533-4, 89535-9, 89536-7, 89537-5, 93712-8, 9399-7, 9423-5, 96919-6, 96920-4, 96921-2, 96922-0, 96923-8, 96924-6, 96925-3, 96926-1, 96927-9, 9722-0, 9839-2, 99069-7
days -1825 to -1 (H)0.106062
lab_crpC-reactive protein testLab tests orderedObservation (any)LOINC: 11039-5, 14634-0, 16503-5, 1988-5, 30522-7, 35648-5, 45062-7, 48421-2, 59182-6, 71426-1
3 more76485-2, 76486-0, 98987-1
days -1825 to -1 (H)0.224942
lab_esrSedimentation rate (ESR) testLab tests orderedObservation (any)LOINC: 18184-2, 30341-2, 43402-7, 4537-7, 4538-5, 4539-3, 82477-1days -1825 to -1 (H)0.193015
lab_ebvEpstein-Barr virus testLab tests orderedObservation (any)LOINC: 100677-4, 100678-2, 101817-5, 11009-8, 11010-6, 12212-7, 13236-5, 13237-3, 13238-1, 14083-0
135 more16823-7, 16824-5, 16825-2, 16826-0, 16827-8, 18427-5, 18428-3, 20432-1, 20490-9, 20491-7, 21260-5, 22290-1, 22291-9, 22292-7, 22293-5, 22294-3, 22295-0, 22296-8, 22297-6, 22298-4, 23858-4, 23970-7, 23971-5, 23972-3, 23994-7, 23995-4, 23996-2, 24007-7, 24114-1, 24115-8, 24316-2, 26705-4, 30083-0, 30136-6, 30137-4, 30138-2, 30339-6, 30340-4, 31369-2, 31370-0, 31371-8, 31372-6, 31373-4, 31374-2, 31375-9, 32585-2, 32828-6, 32829-4, 32830-2, 32843-5, 32844-3, 32845-0, 33395-5, 33479-7, 34593-4, 34639-5, 35397-9, 35398-7, 36923-1, 40750-2, 40751-0, 40752-8, 40753-6, 42497-8, 42498-6, 43730-1, 47064-1, 47066-6, 47068-2, 47072-4, 47432-0, 47433-8, 47434-6, 47435-3, 47436-1, 47437-9, 47982-4, 48723-1, 49069-8, 49178-7, 49352-8, 49353-6, 49354-4, 49355-1, 49356-9, 49564-8, 5002-1, 5003-9, 5004-7, 5005-4, 50969-5, 51454-7, 5153-2, 5154-0, 5155-7, 5156-5, 5157-3, 5158-1, 5159-9, 5160-7, 53774-6, 56598-6, 56599-4, 58760-0, 59183-4, 59805-2, 66493-8, 6814-8, 6815-5, 69949-6, 72206-6, 7882-4, 7883-2, 7884-0, 7885-7, 7886-5, 81119-0, 83095-0, 84871-3, 84872-1, 87554-2, 93711-0, 93712-8, 93713-6, 93714-4, 93840-7, 93841-5, 94102-1, 94827-3, 94828-1, 94829-9, 94830-7, 95138-4, 9633-9, 97993-0
days -1825 to -1 (H)-0.162164
lab_lymeLyme disease testLab tests orderedObservation (any)LOINC: 100711-1, 101149-3, 101352-3, 101353-1, 101357-2, 101358-0, 101403-4, 103961-9, 10846-4, 10847-2
265 more11006-4, 11007-2, 11550-1, 11551-9, 12781-1, 12860-3, 12861-1, 12862-9, 12863-7, 12864-5, 12865-2, 12866-0, 12867-8, 12868-6, 12869-4, 12873-6, 12874-4, 12877-7, 12878-5, 12879-3, 12880-1, 12881-9, 12882-7, 12883-5, 12884-3, 12885-0, 12886-8, 12887-6, 12888-4, 12889-2, 12890-0, 12891-8, 12892-6, 12896-7, 13202-7, 13203-5, 13204-3, 13205-0, 13206-8, 13207-6, 13502-0, 13503-8, 14077-2, 14078-0, 16475-6, 16476-4, 16477-2, 16478-0, 16479-8, 16480-6, 16481-4, 16482-2, 18201-4, 18202-2, 18203-0, 19052-0, 20449-5, 21116-9, 21117-7, 21118-5, 21119-3, 21120-1, 22118-4, 22119-2, 22120-0, 22121-8, 22122-6, 22123-4, 22124-2, 22125-9, 22126-7, 22127-5, 22128-3, 22129-1, 22130-9, 22131-7, 22132-5, 22133-3, 22134-1, 22135-8, 22136-6, 22137-4, 23676-0, 23833-7, 23966-5, 23977-2, 23978-0, 23979-8, 23980-6, 23981-4, 23982-2, 23983-0, 23984-8, 23985-5, 26006-7, 27982-8, 27985-1, 27986-9, 27992-7, 28002-4, 28036-2, 28037-0, 28039-6, 28040-4, 28043-8, 28048-7, 28053-7, 28054-5, 28055-2, 28056-0, 28057-8, 28058-6, 28062-8, 29898-4, 29952-9, 30010-3, 30011-1, 30012-9, 30013-7, 30014-5, 30015-2, 30016-0, 30017-8, 30018-6, 30019-4, 30020-2, 30021-0, 30128-3, 30526-8, 31155-5, 31268-6, 31269-4, 31738-8, 32666-0, 32667-8, 32668-6, 32669-4, 33931-7, 33932-5, 34148-7, 34942-3, 34943-1, 35638-6, 38173-1, 38174-9, 40612-4, 41279-1, 42236-0, 42237-8, 42238-6, 42239-4, 42589-2, 42767-4, 43074-4, 43075-1, 43076-9, 43077-7, 43573-5, 43842-4, 44020-6, 44452-1, 44453-9, 44454-7, 44455-4, 44456-2, 44946-2, 44947-0, 44948-8, 44949-6, 45165-8, 45189-8, 46174-9, 46248-1, 47304-1, 48500-3, 48651-4, 4991-6, 49973-1, 49974-9, 49975-6, 49976-4, 49977-2, 49978-0, 49979-8, 49980-6, 49981-4, 49982-2, 49983-0, 49984-8, 49991-3, 49992-1, 49993-9, 49994-7, 49995-4, 49996-2, 49997-0, 49998-8, 5060-9, 5061-7, 5062-5, 5063-3, 5064-1, 5065-8, 51742-5, 51743-3, 51744-1, 51745-8, 51746-6, 51747-4, 53362-0, 53363-8, 53364-6, 53730-8, 55726-4, 57916-9, 60342-3, 60343-1, 62341-3, 62342-1, 6318-0, 6319-8, 6320-6, 6321-4, 6322-2, 67823-5, 67825-0, 7817-0, 7818-8, 79708-4, 79709-2, 83080-2, 83081-0, 87423-0, 87547-6, 90893-9, 94247-4, 94250-8, 94475-1, 94476-9, 94477-7, 9586-9, 9587-7, 9588-5, 9589-3, 9590-1, 9591-9, 9592-7, 9593-5, 9594-3, 9595-0, 9596-8, 9597-6, 9598-4, 9599-2, 96427-0, 96428-8, 96429-6, 96430-4, 96431-2, 96432-0, 98204-1, 98205-8, 98206-6, 98207-4, 98208-2
days -1825 to -1 (H)-0.024648
lab_cortisolCortisol testLab tests orderedObservation (any)LOINC: 100662-6, 100799-6, 100800-2, 100801-0, 100802-8, 100803-6, 100998-4, 101315-0, 101316-8, 101319-2
578 more101586-6, 101977-7, 101979-3, 101980-1, 102023-9, 102024-7, 102025-4, 102026-2, 102027-0, 102028-8, 10332-5, 103647-4, 11040-3, 11155-9, 12557-5, 12558-3, 12559-1, 12560-9, 12561-7, 12562-5, 12563-3, 12564-1, 12565-8, 12566-6, 12567-4, 12568-2, 12569-0, 12570-8, 13480-9, 1356-5, 1357-3, 13600-2, 13601-0, 13602-8, 13611-9, 13872-7, 1389-6, 1390-4, 1391-2, 1392-0, 1393-8, 1394-6, 1395-3, 1396-1, 1397-9, 1398-7, 1399-5, 1400-1, 1401-9, 1402-7, 1403-5, 1404-3, 14043-4, 1406-8, 1407-6, 1408-4, 1409-2, 1410-0, 1411-8, 1412-6, 1413-4, 1414-2, 14148-1, 1415-9, 14158-0, 1416-7, 1417-5, 1418-3, 1419-1, 1421-7, 1422-5, 1423-3, 1424-1, 1425-8, 1426-6, 1427-4, 1428-2, 1429-0, 1430-8, 1431-6, 1432-4, 1433-2, 1434-0, 1435-7, 1436-5, 1437-3, 1438-1, 1439-9, 1440-7, 1441-5, 1442-3, 1443-1, 1444-9, 1445-6, 1446-4, 1447-2, 1448-0, 1449-8, 1450-6, 1451-4, 14567-2, 14675-3, 14676-1, 14677-9, 14678-7, 14679-5, 15043-3, 15044-1, 16295-8, 1657-6, 16667-8, 16668-6, 16669-4, 16670-2, 16671-0, 16672-8, 16673-6, 16674-4, 16675-1, 18351-7, 18365-7, 20622-7, 20995-7, 21034-4, 21035-1, 21039-3, 21044-3, 21222-5, 21223-3, 21224-1, 21225-8, 21226-6, 2142-8, 2143-6, 2144-4, 2145-1, 2147-7, 24389-9, 24390-7, 24391-5, 24392-3, 24393-1, 24394-9, 24395-6, 25315-3, 25618-0, 25619-8, 25621-4, 25622-2, 25623-0, 25624-8, 25625-5, 25626-3, 25627-1, 25628-9, 25882-2, 25883-0, 25884-8, 25885-5, 26525-6, 26526-4, 26527-2, 26528-0, 26529-8, 26530-6, 26531-4, 26532-2, 26533-0, 26534-8, 26535-5, 26536-3, 26828-4, 27199-9, 28045-3, 28046-1, 28550-2, 29358-9, 29363-9, 2995-9, 2996-7, 30171-3, 30172-1, 30173-9, 32009-3, 32310-5, 32311-3, 32312-1, 32313-9, 32314-7, 32315-4, 33257-7, 33346-8, 34065-3, 34204-8, 34205-5, 34206-3, 34476-2, 34909-2, 38551-8, 40274-3, 40275-0, 40310-5, 40311-3, 40312-1, 40313-9, 40314-7, 40315-4, 40316-2, 40317-0, 40809-6, 40810-4, 40928-4, 41289-0, 41407-8, 42572-8, 43126-2, 43215-3, 43217-9, 44309-3, 44310-1, 44412-5, 44864-7, 44916-5, 44917-3, 45047-8, 45048-6, 45049-4, 45050-2, 45051-0, 45184-9, 45296-1, 46397-6, 46398-4, 46399-2, 46403-2, 46416-4, 47604-4, 47605-1, 47606-9, 47607-7, 47608-5, 47609-3, 47844-6, 47845-3, 47846-1, 47847-9, 47848-7, 47849-5, 47850-3, 47851-1, 48098-8, 48099-6, 48100-2, 48101-0, 48102-8, 48103-6, 48104-4, 48105-1, 49029-2, 49324-7, 49968-1, 49969-9, 50071-0, 50072-8, 50073-6, 50074-4, 50075-1, 50093-4, 50094-2, 50095-9, 50096-7, 50097-5, 50250-0, 50336-7, 50415-9, 50416-7, 50421-7, 50422-5, 50423-3, 50424-1, 50429-0, 50430-8, 50431-6, 50432-4, 50433-2, 50434-0, 50441-5, 50442-3, 50453-0, 50454-8, 50455-5, 50456-3, 50457-1, 50458-9, 50459-7, 50460-5, 50645-1, 50716-0, 50717-8, 50718-6, 50719-4, 50720-2, 50721-0, 50752-5, 50848-1, 51424-0, 51488-5, 51489-3, 51490-1, 51491-9, 51492-7, 51493-5, 51494-3, 51495-0, 51844-9, 53336-4, 53337-2, 53338-0, 53339-8, 53341-4, 53342-2, 53345-5, 53346-3, 54211-8, 54212-6, 54213-4, 54214-2, 54215-9, 54235-7, 54236-5, 55138-2, 55348-7, 55467-5, 55468-3, 55472-5, 55473-3, 55809-8, 55810-6, 55811-4, 55812-2, 55822-1, 55823-9, 55826-2, 55844-5, 55845-2, 56517-6, 56518-4, 56519-2, 56520-0, 56521-8, 56585-3, 57002-8, 57463-2, 57464-0, 57465-7, 57466-5, 57494-7, 57495-4, 57496-2, 57497-0, 57498-8, 57499-6, 57500-1, 57501-9, 57502-7, 57503-5, 57504-3, 57505-0, 57506-8, 57507-6, 57557-1, 57558-9, 57559-7, 57563-9, 57564-7, 57565-4, 57597-7, 57598-5, 57599-3, 57600-9, 57601-7, 57602-5, 57603-3, 57604-1, 57613-2, 57614-0, 57615-7, 57616-5, 57617-3, 57618-1, 57619-9, 57620-7, 57672-8, 57684-3, 57685-0, 57686-8, 57687-6, 57688-4, 57689-2, 57690-0, 57691-8, 57692-6, 57693-4, 57694-2, 57695-9, 57824-5, 57825-2, 58631-3, 58632-1, 58633-9, 58634-7, 58635-4, 58636-2, 58637-0, 58638-8, 58639-6, 58640-4, 58641-2, 58642-0, 58643-8, 58644-6, 58645-3, 58646-1, 58647-9, 58648-7, 58649-5, 58650-3, 58651-1, 58652-9, 58653-7, 58654-5, 58655-2, 58656-0, 58657-8, 58658-6, 58659-4, 58660-2, 58661-0, 58662-8, 58663-6, 58664-4, 58665-1, 58666-9, 58667-7, 58668-5, 58669-3, 58670-1, 58671-9, 58672-7, 58673-5, 58674-3, 58675-0, 58676-8, 58677-6, 58678-4, 58679-2, 58680-0, 58688-3, 58689-1, 58690-9, 58691-7, 58692-5, 58693-3, 58694-1, 58695-8, 58696-6, 58697-4, 58698-2, 58819-4, 58820-2, 58821-0, 58822-8, 58823-6, 58824-4, 58825-1, 58826-9, 58827-7, 58828-5, 58829-3, 58830-1, 58908-5, 58909-3, 58910-1, 58985-3, 59153-7, 59273-3, 59803-7, 59804-5, 60013-0, 60680-6, 60681-4, 65364-2, 68315-1, 6869-2, 71805-6, 72392-4, 73841-9, 73842-7, 73843-5, 73862-5, 73863-3, 73864-1, 73890-6, 73891-4, 73892-2, 74872-3, 75516-5, 76347-4, 76352-4, 77607-0, 77925-6, 77926-4, 77927-2, 77928-0, 77929-8, 77930-6, 77931-4, 77932-2, 77933-0, 77934-8, 77935-5, 77936-3, 77937-1, 78047-8, 78988-3, 81793-2, 81794-0, 81804-7, 82848-3, 82849-1, 82850-9, 82851-7, 82854-1, 82855-8, 82856-6, 82857-4, 82861-6, 82862-4, 82878-0, 82879-8, 82894-7, 82895-4, 82896-2, 82897-0, 82898-8, 82899-6, 82900-2, 82901-0, 82908-5, 82909-3, 83088-5, 83089-3, 83090-1, 83091-9, 87429-7, 93480-2, 93481-0, 93482-8, 93483-6, 93484-4, 93773-0, 94873-7, 95578-1, 95579-9, 95580-7, 95581-5, 95582-3, 9612-3, 9613-1, 9614-9, 9615-6, 96424-7, 96425-4, 96798-4, 96801-6, 97765-2, 9812-9, 9813-7
days -1825 to -1 (H)0.379511
lab_ckCreatine kinase testLab tests orderedObservation (any)LOINC: 101446-3, 12187-1, 12189-7, 13969-1, 14680-3, 15048-2, 15049-0, 16688-4, 20569-0, 2151-9
35 more2152-7, 2153-5, 2154-3, 2155-0, 2156-8, 2157-6, 2158-4, 24335-2, 26019-0, 26020-8, 32673-6, 33547-1, 34160-2, 38482-6, 49129-0, 49136-5, 49258-7, 49259-5, 49551-5, 50756-6, 50757-4, 51505-6, 51506-4, 51507-2, 53433-9, 5912-1, 59149-5, 72561-4, 72562-2, 72563-0, 72564-8, 72565-5, 83092-7, 9642-0, 9643-8
days -1825 to -1 (H)0.053748
lab_rfRheumatoid factor testLab tests orderedObservation (any)LOINC: 11572-5, 11573-3, 13634-1, 13929-5, 13930-3, 14034-3, 15203-3, 15204-1, 15205-8, 15206-6
28 more17534-9, 17857-4, 25745-1, 25746-9, 29351-4, 30231-5, 31046-6, 33313-8, 33314-6, 33577-8, 33648-7, 33910-1, 43932-3, 45156-7, 46435-4, 46437-0, 5297-7, 5298-5, 5299-3, 5300-9, 53562-5, 53924-7, 63313-1, 63314-9, 63315-6, 6823-9, 6928-6, 9338-5
days -1825 to -1 (H)0.293353
lab_ccpAnti-CCP antibody testLab tests orderedObservation (any)LOINC: 32218-0, 33935-8, 42898-7, 46435-4, 46437-0, 53027-9, 53028-7, 57093-7, 63217-4, 63375-0
2 more82576-0, 94874-5
days -1825 to -1 (H)0.373152
rx_stimulantStimulant or wakefulness drugMedicationsMedicationRequest (any)RxNorm ingredients: modafinil, armodafinil, methylphenidate, amphetamine, dextroamphetamine, lisdexamfetamine (788 RxCUIs listed in the model file)days -1825 to -1 (H)1.619563
rx_naltrexoneNaltrexoneMedicationsMedicationRequest (any)RxNorm ingredients: naltrexone (114 RxCUIs listed in the model file)days -1825 to -1 (H)1.269975
rx_ssri_snriSSRI or SNRI antidepressantMedicationsMedicationRequest (any)RxNorm ingredients: sertraline, fluoxetine, citalopram, escitalopram, paroxetine, venlafaxine, duloxetine, desvenlafaxine (490 RxCUIs listed in the model file)days -1825 to -1 (H)1.844417
rx_tricyclic_lowdoseAmitriptyline, nortriptyline, or cyclobenzaprineMedicationsMedicationRequest (any)RxNorm ingredients: amitriptyline, nortriptyline, cyclobenzaprine (295 RxCUIs listed in the model file)days -1825 to -1 (H)0.579823
rx_gabapentinoidGabapentin or pregabalinMedicationsMedicationRequest (any)RxNorm ingredients: gabapentin, pregabalin (162 RxCUIs listed in the model file)days -1825 to -1 (H)0.497287
rx_sleep_aidSleep medicationMedicationsMedicationRequest (any)RxNorm ingredients: zolpidem, trazodone, eszopiclone (169 RxCUIs listed in the model file)days -1825 to -1 (H)0.841304
rx_beta_blockerBeta blockerMedicationsMedicationRequest (any)RxNorm ingredients: propranolol, metoprolol, atenolol, bisoprolol, nadolol, carvedilol (787 RxCUIs listed in the model file)days -1825 to -1 (H)0.129138
rx_potsPOTS medicationMedicationsMedicationRequest (any)RxNorm ingredients: ivabradine, midodrine, fludrocortisone, pyridostigmine (122 RxCUIs listed in the model file)days -1825 to -1 (H)0.545912
rx_opioidOpioidMedicationsMedicationRequest (any)RxNorm ingredients: oxycodone, hydrocodone, tramadol, morphine (3607 RxCUIs listed in the model file)days -1825 to -1 (H)0.167944
rx_milnacipranMilnacipranMedicationsMedicationRequest (any)RxNorm ingredients: milnacipran (28 RxCUIs listed in the model file)days -1825 to -1 (H)1.382474
rx_nsaidNSAID pain relieverMedicationsMedicationRequest (any)RxNorm ingredients: naproxen, ibuprofen, meloxicam, diclofenac, ketorolac (1712 RxCUIs listed in the model file)days -1825 to -1 (H)0.255318
rx_muscle_relaxantMuscle relaxantMedicationsMedicationRequest (any)RxNorm ingredients: tizanidine, methocarbamol, baclofen (237 RxCUIs listed in the model file)days -1825 to -1 (H)0.600579
rx_other_antidepressantBupropion, mirtazapine, or another antidepressantMedicationsMedicationRequest (any)RxNorm ingredients: bupropion, mirtazapine, vortioxetine, vilazodone (223 RxCUIs listed in the model file)days -1825 to -1 (H)2.082246
util_out_r_ge66+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 6 Encounters)days -365 to -1 (R)-0.098603
util_out_r_ge1212+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 12 Encounters)days -365 to -1 (R)-0.060633
util_ed_rEmergency visit in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class EMER (at least 1 Encounter)days -365 to -1 (R)0.251104
util_ip_hHospital stay in the past 5 yearsHealth care useEncounter (encounter_count_ge)Encounter.class IMP (at least 1 Encounter)days -1825 to -1 (H)-0.176001

Score, calibration, and risk bands

score = -1.185411 + Σ weight × value. The probability is the piecewise-linear interpolation of the score over the calibration points below, clamped at the ends. The band is the first band whose upper limit is at or above the probability. "Times the average" is the probability divided by the cohort base rate in the model file, reference.cohort_base_rate = 0.208691 (about 20.9%).

Calibration points come from a logistic on binned training-split counts (a = -1.060449, b = 0.39768).

BandProbability up toTimes the average
Typical31.3%1.50
Elevated62.6%3.00
High100%above 3.00
ScoreProbability
-12.64630.23%
-11.55350.35%
-10.46070.54%
-9.36790.83%
-8.2751.27%
-7.18221.95%
-6.08942.98%
-4.99664.53%
-3.90386.83%
-2.810910.2%
-1.718114.9%
-0.625321.3%
0.467529.4%
1.560339.2%
2.653149.9%
3.74660.6%
4.838870.3%
5.931678.6%
7.024485.0%
8.117289.7%
9.2193.1%
10.302995.4%
11.395797.0%
12.488598.0%
13.581398.7%

Validation and provenance

Intended use and limitations

Test patients and expected results

Synthetic FHIR R4 bundles in model/test_vectors/bundles/, scored as of 2024-06-01. Expected outputs are in model/test_vectors/expected/unm-depression-1.0.0/; this generator reran the reference scorer on every bundle and they match. The JavaScript scorer must reproduce them to 1e-9.

PatientScenarioExpected resultTop drivers
Mariabuilt for the Long COVID cardTypical, 14.7% (0.71 times the average)Female; Age 40-49; Emergency visit in the past year
Jamesbuilt for the Long COVID cardTypical, 18.2% (0.87 times the average)Age 40-49; COVID-19
Rosabuilt for the Long COVID cardTypical, 20.1% (0.97 times the average)Female; Age 50-59; Long COVID
Leebuilt for the Long COVID cardTypical, 22.8% (1.09 times the average)Age 18-39
Norabuilt for the Long COVID cardTypical, 24.8% (1.19 times the average)Age 18-39; Female; COVID-19
Danabuilt for the Lyme cardTypical, 20.1% (0.96 times the average)Female; Age 50-59; Muscle or joint pain
Elenabuilt for the Chronic fatigue and ME/CFS cardElevated, 33.3% (1.59 times the average)Stimulant or wakefulness drug; Age 18-39; Female
Omarbuilt for the Chronic fatigue and ME/CFS cardTypical, 16.5% (0.79 times the average)Age 40-49; Hypertension
Gracebuilt for the Chronic fatigue and ME/CFS cardTypical, 27.4% (1.31 times the average)Female; Age 40-49; Chronic fatigue or ME/CFS
Sofiabuilt for the Fibromyalgia cardHigh, 70.0% (3.35 times the average)SSRI or SNRI antidepressant; Sleep medication; Female
Priyabuilt for the Long COVID cardTypical, 19.4% (0.93 times the average)Female; Age 40-49; Long COVID
Sambuilt for the Long COVID cardTypical, 13.9% (0.66 times the average)Age 50-59; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Theobuilt for the Long COVID cardTypical, 16.6% (0.79 times the average)Age 18-39; Long COVID; Fatigue or malaise coded in the past year
Yarabuilt for the Long COVID cardTypical, 21.3% (1.02 times the average)Age 18-39; Female; Fatigue or malaise coded in the past year
Verabuilt for the Long COVID cardTypical, 14.9% (0.72 times the average)Female; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Willbuilt for the Long COVID cardTypical, 18.2% (0.87 times the average)Age 40-49; COVID-19
Umano birth date: not scored by any modelnot scored: birth date missing or unusable (age is required)
Kai16 at the COVID-19 index, 17 on the scoring date: not scored by any modelnot scored: under 18 on the scoring date (the model covers adults)

Anxiety (unm-anxiety 1.0.0)

Model file model/anxiety.json, status "research". Research decision support. Surfaces chart patterns for clinician review. Not a diagnosis.

Download anxiety.json

What it predicts and for whom

Card wording, from the CDS Hooks service (web/functions/cds-services/_cds.js): "Chart pattern similar to patients who report an anxiety diagnosis that was never coded." The number is shown as "N times the average for adults with a visit in the past year" and as the "Probability that the patient reports an anxiety diagnosis".

When it does not score

  1. No usable birth date: "birth date missing or unusable (age is required)".
  2. Under 18 on day 0 (age is days / 365.25, as in training): "under 18 on the scoring date (the model covers adults)".
  3. A Condition coded ICD-10-CM F41 is dated on or before day 0, or has no usable date: "an anxiety diagnosis is already recorded".
  4. No AMB, EMER, or IMP encounter in days -365 to -1 (R): "no encounters in the past year (insufficient history)".

ICD-10-CM codes match by prefix with dots removed, so a listed code also matches its subcodes. In each case the app says why it did not score. Every rule reads only records dated on or before the scoring date; Conditions whose verificationStatus is refuted or entered-in-error, and records whose status is entered-in-error, are ignored. If a FHIR search the model needs failed or was forbidden, the result is "could not score: <resource> unavailable" instead of a score (interface spec, section 4c).

Windows

WindowDays relative to day 0
H-1825 to -1
R-365 to -1

Features (84, of which 84 carry a weight)

Each feature is 0 or 1. Features that differ only in threshold (for example 2+ and 3+ of the same thing) show as one driver carrying the summed weight. ICD-10-CM codes are shown with dots for reading; the model file stores feature codes without dots.

FeatureLabelGroupSource (kind)CodesWindowWeight
age_18_39Age 18-39DemographicsPatient (age_band)Patient.birthDate: age 18 to 39 on day 0on day 01.17858
age_40_49Age 40-49DemographicsPatient (age_band)Patient.birthDate: age 40 to 49 on day 0on day 00.635782
age_50_59Age 50-59DemographicsPatient (age_band)Patient.birthDate: age 50 to 59 on day 0on day 00.168333
age_60_69Age 60-69DemographicsPatient (age_band)Patient.birthDate: age 60 to 69 on day 0on day 0-0.625077
age_70pAge 70 or olderDemographicsPatient (age_band)Patient.birthDate: age 70 and older on day 0on day 0-1.357707
sex_femaleFemaleDemographicsPatient (sex)Patient.gender = femaleon day 00.92015
cx_fatigue_otherFatigue or malaise codedConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -1825 to -1 (H)-0.400398
cx_fatigue_recentFatigue or malaise coded in the past yearConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R53.0, R53.1, R53.81, R53.83days -365 to -1 (R)-0.28011
cx_sleepSleep disturbanceConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.0, G47.1, G47.8, G47.9, F51days -1825 to -1 (H)-0.188671
cx_sleep_apneaSleep apneaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G47.33days -1825 to -1 (H)-0.365612
cx_cognitiveCognitive symptoms (brain fog, memory)Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R41, G31.84days -1825 to -1 (H)-0.170754
cx_autonomicPalpitations, POTS, orthostatic hypotension, or dysautonomiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9days -1825 to -1 (H)-0.32433
cx_dizzy_syncopeDizziness or faintingConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R42, R55days -1825 to -1 (H)-0.347299
cx_headacheHeadacheConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R51, G44days -1825 to -1 (H)-0.064332
cx_migraineMigraineConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G43days -1825 to -1 (H)0.165784
cx_myalgia_arthralgiaMuscle or joint painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.1, M25.5, M79.6days -1825 to -1 (H)-0.666756
cx_chronic_painChronic painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G89days -1825 to -1 (H)-0.399266
cx_depressionDepressionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F32, F33days -1825 to -1 (H)0.572239
cx_ptsdPosttraumatic stress disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: F43.1days -1825 to -1 (H)1.133541
cx_ibs_giIrritable bowel or gastrointestinal symptomsConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: K58, R10, R11, R14, R19days -1825 to -1 (H)-0.316076
cx_sore_throat_nodesSore throat or enlarged lymph nodesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: J02, R59days -1825 to -1 (H)-0.268455
cx_feverFeverConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: R50days -1825 to -1 (H)-0.525287
cx_lymeLyme diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: A69.2days -1825 to -1 (H)-0.68444
cx_covidCOVID-19Conditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U07.1days -1825 to -1 (H)-0.424803
cx_long_covidLong COVIDConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: U09.9days -1825 to -1 (H)-0.0277
cx_eds_hypermobilityEhlers-Danlos syndrome or hypermobilityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Q79.6, M35.7days -1825 to -1 (H)0.789063
cx_hypothyroidHypothyroidismConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E03days -1825 to -1 (H)-0.504422
cx_anemiaAnemiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: D50, D51, D52, D53, D63, D64days -1825 to -1 (H)-0.594288
cx_vitd_deficiencyVitamin D deficiencyConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E55days -1825 to -1 (H)-0.513303
cx_autoimmuneAutoimmune or demyelinating diseaseConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M05, M06, M32, M35, L40, K50, K51, M45, G35days -1825 to -1 (H)-0.184984
cx_obesityObesityConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E66, Z68.3, Z68.4days -1825 to -1 (H)-0.43279
cx_diabetesDiabetesConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: E10, E11days -1825 to -1 (H)-0.588794
cx_hypertensionHypertensionConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I10days -1825 to -1 (H)-0.870062
cx_heart_diseaseCoronary disease or heart failureConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: I25, I50days -1825 to -1 (H)-0.993745
cx_cancerCancerConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: Cdays -1825 to -1 (H)-0.982914
cx_cfsChronic fatigue or ME/CFSConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G93.3, R53.82days -1825 to -1 (H)0.02085
cx_tmjTemporomandibular joint disorderConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M26.6days -1825 to -1 (H)-0.086624
cx_rlsRestless legs syndromeConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: G25.81days -1825 to -1 (H)-0.079688
cx_interstitial_cystitisInterstitial cystitis or bladder painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: N30.1days -1825 to -1 (H)0.509897
cx_osteoarthritisOsteoarthritisConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M15, M16, M17, M18, M19days -1825 to -1 (H)-0.830087
cx_neck_back_painNeck or low back painConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M54.2, M54.5days -1825 to -1 (H)-0.388553
cx_fibromyalgiaFibromyalgiaConditions and symptoms (past 5 years)Condition (any)ICD-10-CM prefix: M79.7days -1825 to -1 (H)0.701769
clusters_ge3Three or more symptom typesSymptom patternCondition (cluster_count_ge)at least 3 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83, G93.3, R53.82
sleep: G47.0, G47.1, G47.8, G47.9, F51, G25.81
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, M26.6, M54.2, M54.5
mood: F32, F33
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
days -1825 to -1-0.250951
clusters_ge5Five or more symptom typesSymptom patternCondition (cluster_count_ge)at least 5 of these symptom clusters coded
fatigue: R53.0, R53.1, R53.81, R53.83, G93.3, R53.82
sleep: G47.0, G47.1, G47.8, G47.9, F51, G25.81
cognitive: R41, G31.84
autonomic: R00.0, R00.2, I49.8, G90.A, I95.1, G90.9, R42, R55
pain: R51, G44, M79.1, M25.5, M79.6, M26.6, M54.2, M54.5
mood: F32, F33
gi: K58, R10, R11, R14, R19
immune: J02, R59, R50
days -1825 to -10.081303
px_tiltTilt-table testTests and evaluationsProcedure (any)CPT: 93660days -1825 to -1 (H)0.609642
px_sleep_studySleep studyTests and evaluationsProcedure (any)CPT: 95806, 95807, 95808, 95809, 95810, 95811, G0398, G0399, G0400days -1825 to -1 (H)-0.005821
px_brain_mriBrain MRITests and evaluationsProcedure (any)CPT: 70551, 70552, 70553days -1825 to -1 (H)-0.143039
px_echoEchocardiogramTests and evaluationsProcedure (any)CPT: 93303, 93304, 93305, 93306, 93307, 93308, 93312, 93313, 93314, 93315, 93316, 93317, 93318, 93350, 93351, 93352days -1825 to -1 (H)-0.570942
px_cardiac_monitorHolter or event monitorTests and evaluationsProcedure (any)CPT: 93224, 93225, 93226, 93227, 93228, 93229, 93241, 93242, 93243, 93244, 93245, 93246, 93247, 93248, 93268, 93269, 93270, 93271, 93272days -1825 to -1 (H)-0.240553
px_exercise_testExercise or cardiopulmonary exercise testTests and evaluationsProcedure (any)CPT: 94621, 93015, 93016, 93017, 93018days -1825 to -1 (H)-0.695493
px_neuropsychNeuropsychological testingTests and evaluationsProcedure (any)CPT: 96132, 96133, 96136, 96137, 96138, 96139days -1825 to -1 (H)0.227732
px_pt_evalPhysical therapy evaluationTests and evaluationsProcedure (any)CPT: 97161, 97162, 97163days -1825 to -1 (H)-0.396988
px_psychotherapyPsychotherapy or psychiatric evaluationTests and evaluationsProcedure (any)CPT: 90791, 90792, 90832, 90833, 90834, 90835, 90836, 90837, 90838days -1825 to -1 (H)0.588933
lab_tshThyroid (TSH) testLab tests orderedObservation (any)LOINC: 10516-3, 11033-8, 11579-0, 11580-8, 12932-0, 12933-8, 12934-6, 12935-3, 12936-1, 12937-9
88 more12938-7, 12939-5, 12940-3, 12941-1, 12942-9, 12943-7, 12944-5, 12945-2, 12946-0, 12947-8, 12948-6, 13869-3, 13871-9, 13897-4, 14255-4, 14919-5, 14997-1, 14998-9, 14999-7, 15000-3, 17786-5, 20452-9, 25789-9, 25990-3, 25991-1, 26998-5, 29316-7, 29317-5, 29574-1, 29575-8, 3015-5, 30151-5, 3016-3, 3018-9, 3019-7, 33258-5, 33259-3, 33260-1, 33261-9, 33269-2, 34054-7, 35134-6, 40397-2, 40398-0, 40399-8, 40400-4, 40401-2, 40673-6, 44935-5, 44936-3, 45173-2, 47947-7, 47948-5, 47949-3, 47950-1, 47951-9, 47952-7, 47953-5, 48077-2, 48700-9, 50533-9, 50534-7, 50535-4, 50536-2, 50537-0, 50538-8, 50539-6, 50540-4, 50541-2, 5384-3, 5385-0, 55362-8, 56594-5, 57416-0, 57854-2, 58833-5, 58834-3, 63363-6, 63364-4, 63365-1, 63366-9, 65360-0, 69561-9, 70096-3, 77623-7, 82659-4, 90801-2, 99078-8
days -1825 to -1 (H)0.033411
lab_ferritinFerritin testLab tests orderedObservation (any)LOINC: 14723-1, 14724-9, 20567-4, 2276-4, 24373-3, 48141-6, 53048-5, 74807-9, 86914-9days -1825 to -1 (H)0.21407
lab_b12Vitamin B12 testLab tests orderedObservation (any)LOINC: 1460-5, 14685-2, 14733-0, 15052-4, 16695-9, 16696-7, 1888-7, 2132-9, 2169-1, 2171-7
28 more2440-6, 26916-7, 3029-6, 3031-2, 3032-0, 30904-7, 30905-4, 30906-2, 32341-0, 33766-7, 4203-6, 49264-5, 54376-9, 54377-7, 54378-5, 55850-2, 55881-7, 55882-5, 55883-3, 55884-1, 55885-8, 59211-3, 72157-1, 72158-9, 72160-5, 96297-7, 96805-7, 96809-9
days -1825 to -1 (H)0.165213
lab_vitamin_dVitamin D testLab tests orderedObservation (any)LOINC: 14635-7, 1989-3, 46269-7, 49054-0, 55814-8, 57566-2, 57567-0, 57568-8, 57569-6, 62292-8
12 more68438-1, 72403-9, 72404-7, 72888-1, 83070-3, 83071-1, 86918-0, 94673-1, 94674-9, 95593-0, 95594-8, 95595-5
days -1825 to -1 (H)-0.028813
lab_anaAntinuclear antibody (ANA) testLab tests orderedObservation (any)LOINC: 101221-0, 101231-9, 11088-2, 11089-0, 11090-8, 11565-9, 11571-7, 13066-6, 13067-4, 13068-2
267 more14030-1, 14235-6, 14240-6, 14607-6, 14608-4, 14609-2, 14610-0, 14611-8, 14612-6, 14613-4, 14614-2, 14615-9, 14616-7, 14722-3, 15398-1, 16139-8, 16392-3, 16393-1, 16394-9, 16824-5, 17031-6, 17032-4, 17341-9, 17380-7, 17532-3, 17533-1, 17535-6, 17536-4, 17569-5, 17583-6, 17584-4, 17586-9, 17587-7, 17589-3, 17590-1, 17591-9, 17592-7, 17791-5, 17792-3, 19137-9, 20398-4, 20399-2, 20400-8, 20401-6, 20432-1, 20435-4, 21260-5, 21423-9, 21522-8, 22296-8, 22297-6, 26023-2, 26703-9, 26880-5, 26975-3, 27048-8, 27200-5, 27416-7, 29374-6, 29948-7, 29949-5, 29953-7, 29954-5, 30138-2, 30342-0, 30556-5, 31372-6, 31535-8, 31540-8, 31541-6, 31542-4, 31543-2, 31544-0, 31562-2, 31563-0, 31627-3, 31628-1, 31693-5, 32041-6, 32715-5, 32716-3, 33253-6, 33460-7, 33566-1, 33567-9, 33568-7, 33569-5, 33570-3, 33600-8, 33635-4, 35278-1, 35333-4, 40655-3, 41025-8, 42212-1, 42213-9, 42214-7, 42254-3, 42498-6, 43100-7, 43119-7, 43182-5, 44083-4, 44751-6, 44752-4, 45142-7, 47074-0, 47383-5, 49309-8, 49310-6, 49311-4, 49738-8, 5047-6, 5048-4, 51749-0, 51928-0, 5234-0, 5235-7, 5275-3, 5276-1, 53002-2, 53006-3, 53007-1, 53008-9, 5301-7, 5302-5, 5348-8, 5349-6, 5351-2, 5352-0, 5353-8, 5354-6, 5355-3, 5356-1, 5357-9, 53983-3, 53984-1, 53985-8, 53986-6, 53987-4, 53988-2, 53989-0, 53990-8, 53991-6, 53992-4, 53993-2, 53994-0, 53997-3, 53998-1, 53999-9, 54000-5, 54005-4, 54006-2, 54149-0, 54154-0, 54155-7, 56148-0, 56693-5, 56721-4, 56723-0, 56724-8, 56725-5, 56730-5, 56731-3, 56733-9, 56977-2, 57010-1, 57431-9, 57448-3, 59069-5, 59390-5, 63238-0, 63239-8, 63265-3, 63266-1, 63267-9, 63294-3, 63295-0, 63296-8, 63297-6, 63305-7, 63306-5, 63307-3, 63308-1, 63317-2, 63318-0, 63319-8, 63334-7, 63335-4, 63336-2, 63337-0, 63338-8, 63345-3, 63346-1, 63347-9, 63348-7, 63349-5, 63350-3, 63351-1, 63352-9, 63353-7, 63354-5, 63388-3, 63389-1, 63390-9, 63391-7, 63393-3, 63394-1, 63398-2, 63399-0, 63400-6, 63401-4, 63402-2, 63403-0, 63404-8, 63405-5, 63406-3, 63536-7, 63540-9, 63542-5, 63545-8, 63546-6, 63547-4, 63569-8, 63570-6, 6822-1, 68369-8, 68370-6, 68371-4, 68372-2, 68373-0, 68374-8, 68375-5, 68376-3, 8061-4, 8076-2, 8088-7, 8091-1, 8092-9, 8093-7, 8094-5, 81728-8, 89501-1, 89502-9, 89526-8, 89527-6, 89529-2, 89531-8, 89533-4, 89535-9, 89536-7, 89537-5, 93712-8, 9399-7, 9423-5, 96919-6, 96920-4, 96921-2, 96922-0, 96923-8, 96924-6, 96925-3, 96926-1, 96927-9, 9722-0, 9839-2, 99069-7
days -1825 to -1 (H)0.162993
lab_crpC-reactive protein testLab tests orderedObservation (any)LOINC: 11039-5, 14634-0, 16503-5, 1988-5, 30522-7, 35648-5, 45062-7, 48421-2, 59182-6, 71426-1
3 more76485-2, 76486-0, 98987-1
days -1825 to -1 (H)0.256555
lab_esrSedimentation rate (ESR) testLab tests orderedObservation (any)LOINC: 18184-2, 30341-2, 43402-7, 4537-7, 4538-5, 4539-3, 82477-1days -1825 to -1 (H)0.230445
lab_ebvEpstein-Barr virus testLab tests orderedObservation (any)LOINC: 100677-4, 100678-2, 101817-5, 11009-8, 11010-6, 12212-7, 13236-5, 13237-3, 13238-1, 14083-0
135 more16823-7, 16824-5, 16825-2, 16826-0, 16827-8, 18427-5, 18428-3, 20432-1, 20490-9, 20491-7, 21260-5, 22290-1, 22291-9, 22292-7, 22293-5, 22294-3, 22295-0, 22296-8, 22297-6, 22298-4, 23858-4, 23970-7, 23971-5, 23972-3, 23994-7, 23995-4, 23996-2, 24007-7, 24114-1, 24115-8, 24316-2, 26705-4, 30083-0, 30136-6, 30137-4, 30138-2, 30339-6, 30340-4, 31369-2, 31370-0, 31371-8, 31372-6, 31373-4, 31374-2, 31375-9, 32585-2, 32828-6, 32829-4, 32830-2, 32843-5, 32844-3, 32845-0, 33395-5, 33479-7, 34593-4, 34639-5, 35397-9, 35398-7, 36923-1, 40750-2, 40751-0, 40752-8, 40753-6, 42497-8, 42498-6, 43730-1, 47064-1, 47066-6, 47068-2, 47072-4, 47432-0, 47433-8, 47434-6, 47435-3, 47436-1, 47437-9, 47982-4, 48723-1, 49069-8, 49178-7, 49352-8, 49353-6, 49354-4, 49355-1, 49356-9, 49564-8, 5002-1, 5003-9, 5004-7, 5005-4, 50969-5, 51454-7, 5153-2, 5154-0, 5155-7, 5156-5, 5157-3, 5158-1, 5159-9, 5160-7, 53774-6, 56598-6, 56599-4, 58760-0, 59183-4, 59805-2, 66493-8, 6814-8, 6815-5, 69949-6, 72206-6, 7882-4, 7883-2, 7884-0, 7885-7, 7886-5, 81119-0, 83095-0, 84871-3, 84872-1, 87554-2, 93711-0, 93712-8, 93713-6, 93714-4, 93840-7, 93841-5, 94102-1, 94827-3, 94828-1, 94829-9, 94830-7, 95138-4, 9633-9, 97993-0
days -1825 to -1 (H)0.027843
lab_lymeLyme disease testLab tests orderedObservation (any)LOINC: 100711-1, 101149-3, 101352-3, 101353-1, 101357-2, 101358-0, 101403-4, 103961-9, 10846-4, 10847-2
265 more11006-4, 11007-2, 11550-1, 11551-9, 12781-1, 12860-3, 12861-1, 12862-9, 12863-7, 12864-5, 12865-2, 12866-0, 12867-8, 12868-6, 12869-4, 12873-6, 12874-4, 12877-7, 12878-5, 12879-3, 12880-1, 12881-9, 12882-7, 12883-5, 12884-3, 12885-0, 12886-8, 12887-6, 12888-4, 12889-2, 12890-0, 12891-8, 12892-6, 12896-7, 13202-7, 13203-5, 13204-3, 13205-0, 13206-8, 13207-6, 13502-0, 13503-8, 14077-2, 14078-0, 16475-6, 16476-4, 16477-2, 16478-0, 16479-8, 16480-6, 16481-4, 16482-2, 18201-4, 18202-2, 18203-0, 19052-0, 20449-5, 21116-9, 21117-7, 21118-5, 21119-3, 21120-1, 22118-4, 22119-2, 22120-0, 22121-8, 22122-6, 22123-4, 22124-2, 22125-9, 22126-7, 22127-5, 22128-3, 22129-1, 22130-9, 22131-7, 22132-5, 22133-3, 22134-1, 22135-8, 22136-6, 22137-4, 23676-0, 23833-7, 23966-5, 23977-2, 23978-0, 23979-8, 23980-6, 23981-4, 23982-2, 23983-0, 23984-8, 23985-5, 26006-7, 27982-8, 27985-1, 27986-9, 27992-7, 28002-4, 28036-2, 28037-0, 28039-6, 28040-4, 28043-8, 28048-7, 28053-7, 28054-5, 28055-2, 28056-0, 28057-8, 28058-6, 28062-8, 29898-4, 29952-9, 30010-3, 30011-1, 30012-9, 30013-7, 30014-5, 30015-2, 30016-0, 30017-8, 30018-6, 30019-4, 30020-2, 30021-0, 30128-3, 30526-8, 31155-5, 31268-6, 31269-4, 31738-8, 32666-0, 32667-8, 32668-6, 32669-4, 33931-7, 33932-5, 34148-7, 34942-3, 34943-1, 35638-6, 38173-1, 38174-9, 40612-4, 41279-1, 42236-0, 42237-8, 42238-6, 42239-4, 42589-2, 42767-4, 43074-4, 43075-1, 43076-9, 43077-7, 43573-5, 43842-4, 44020-6, 44452-1, 44453-9, 44454-7, 44455-4, 44456-2, 44946-2, 44947-0, 44948-8, 44949-6, 45165-8, 45189-8, 46174-9, 46248-1, 47304-1, 48500-3, 48651-4, 4991-6, 49973-1, 49974-9, 49975-6, 49976-4, 49977-2, 49978-0, 49979-8, 49980-6, 49981-4, 49982-2, 49983-0, 49984-8, 49991-3, 49992-1, 49993-9, 49994-7, 49995-4, 49996-2, 49997-0, 49998-8, 5060-9, 5061-7, 5062-5, 5063-3, 5064-1, 5065-8, 51742-5, 51743-3, 51744-1, 51745-8, 51746-6, 51747-4, 53362-0, 53363-8, 53364-6, 53730-8, 55726-4, 57916-9, 60342-3, 60343-1, 62341-3, 62342-1, 6318-0, 6319-8, 6320-6, 6321-4, 6322-2, 67823-5, 67825-0, 7817-0, 7818-8, 79708-4, 79709-2, 83080-2, 83081-0, 87423-0, 87547-6, 90893-9, 94247-4, 94250-8, 94475-1, 94476-9, 94477-7, 9586-9, 9587-7, 9588-5, 9589-3, 9590-1, 9591-9, 9592-7, 9593-5, 9594-3, 9595-0, 9596-8, 9597-6, 9598-4, 9599-2, 96427-0, 96428-8, 96429-6, 96430-4, 96431-2, 96432-0, 98204-1, 98205-8, 98206-6, 98207-4, 98208-2
days -1825 to -1 (H)-0.129973
lab_cortisolCortisol testLab tests orderedObservation (any)LOINC: 100662-6, 100799-6, 100800-2, 100801-0, 100802-8, 100803-6, 100998-4, 101315-0, 101316-8, 101319-2
578 more101586-6, 101977-7, 101979-3, 101980-1, 102023-9, 102024-7, 102025-4, 102026-2, 102027-0, 102028-8, 10332-5, 103647-4, 11040-3, 11155-9, 12557-5, 12558-3, 12559-1, 12560-9, 12561-7, 12562-5, 12563-3, 12564-1, 12565-8, 12566-6, 12567-4, 12568-2, 12569-0, 12570-8, 13480-9, 1356-5, 1357-3, 13600-2, 13601-0, 13602-8, 13611-9, 13872-7, 1389-6, 1390-4, 1391-2, 1392-0, 1393-8, 1394-6, 1395-3, 1396-1, 1397-9, 1398-7, 1399-5, 1400-1, 1401-9, 1402-7, 1403-5, 1404-3, 14043-4, 1406-8, 1407-6, 1408-4, 1409-2, 1410-0, 1411-8, 1412-6, 1413-4, 1414-2, 14148-1, 1415-9, 14158-0, 1416-7, 1417-5, 1418-3, 1419-1, 1421-7, 1422-5, 1423-3, 1424-1, 1425-8, 1426-6, 1427-4, 1428-2, 1429-0, 1430-8, 1431-6, 1432-4, 1433-2, 1434-0, 1435-7, 1436-5, 1437-3, 1438-1, 1439-9, 1440-7, 1441-5, 1442-3, 1443-1, 1444-9, 1445-6, 1446-4, 1447-2, 1448-0, 1449-8, 1450-6, 1451-4, 14567-2, 14675-3, 14676-1, 14677-9, 14678-7, 14679-5, 15043-3, 15044-1, 16295-8, 1657-6, 16667-8, 16668-6, 16669-4, 16670-2, 16671-0, 16672-8, 16673-6, 16674-4, 16675-1, 18351-7, 18365-7, 20622-7, 20995-7, 21034-4, 21035-1, 21039-3, 21044-3, 21222-5, 21223-3, 21224-1, 21225-8, 21226-6, 2142-8, 2143-6, 2144-4, 2145-1, 2147-7, 24389-9, 24390-7, 24391-5, 24392-3, 24393-1, 24394-9, 24395-6, 25315-3, 25618-0, 25619-8, 25621-4, 25622-2, 25623-0, 25624-8, 25625-5, 25626-3, 25627-1, 25628-9, 25882-2, 25883-0, 25884-8, 25885-5, 26525-6, 26526-4, 26527-2, 26528-0, 26529-8, 26530-6, 26531-4, 26532-2, 26533-0, 26534-8, 26535-5, 26536-3, 26828-4, 27199-9, 28045-3, 28046-1, 28550-2, 29358-9, 29363-9, 2995-9, 2996-7, 30171-3, 30172-1, 30173-9, 32009-3, 32310-5, 32311-3, 32312-1, 32313-9, 32314-7, 32315-4, 33257-7, 33346-8, 34065-3, 34204-8, 34205-5, 34206-3, 34476-2, 34909-2, 38551-8, 40274-3, 40275-0, 40310-5, 40311-3, 40312-1, 40313-9, 40314-7, 40315-4, 40316-2, 40317-0, 40809-6, 40810-4, 40928-4, 41289-0, 41407-8, 42572-8, 43126-2, 43215-3, 43217-9, 44309-3, 44310-1, 44412-5, 44864-7, 44916-5, 44917-3, 45047-8, 45048-6, 45049-4, 45050-2, 45051-0, 45184-9, 45296-1, 46397-6, 46398-4, 46399-2, 46403-2, 46416-4, 47604-4, 47605-1, 47606-9, 47607-7, 47608-5, 47609-3, 47844-6, 47845-3, 47846-1, 47847-9, 47848-7, 47849-5, 47850-3, 47851-1, 48098-8, 48099-6, 48100-2, 48101-0, 48102-8, 48103-6, 48104-4, 48105-1, 49029-2, 49324-7, 49968-1, 49969-9, 50071-0, 50072-8, 50073-6, 50074-4, 50075-1, 50093-4, 50094-2, 50095-9, 50096-7, 50097-5, 50250-0, 50336-7, 50415-9, 50416-7, 50421-7, 50422-5, 50423-3, 50424-1, 50429-0, 50430-8, 50431-6, 50432-4, 50433-2, 50434-0, 50441-5, 50442-3, 50453-0, 50454-8, 50455-5, 50456-3, 50457-1, 50458-9, 50459-7, 50460-5, 50645-1, 50716-0, 50717-8, 50718-6, 50719-4, 50720-2, 50721-0, 50752-5, 50848-1, 51424-0, 51488-5, 51489-3, 51490-1, 51491-9, 51492-7, 51493-5, 51494-3, 51495-0, 51844-9, 53336-4, 53337-2, 53338-0, 53339-8, 53341-4, 53342-2, 53345-5, 53346-3, 54211-8, 54212-6, 54213-4, 54214-2, 54215-9, 54235-7, 54236-5, 55138-2, 55348-7, 55467-5, 55468-3, 55472-5, 55473-3, 55809-8, 55810-6, 55811-4, 55812-2, 55822-1, 55823-9, 55826-2, 55844-5, 55845-2, 56517-6, 56518-4, 56519-2, 56520-0, 56521-8, 56585-3, 57002-8, 57463-2, 57464-0, 57465-7, 57466-5, 57494-7, 57495-4, 57496-2, 57497-0, 57498-8, 57499-6, 57500-1, 57501-9, 57502-7, 57503-5, 57504-3, 57505-0, 57506-8, 57507-6, 57557-1, 57558-9, 57559-7, 57563-9, 57564-7, 57565-4, 57597-7, 57598-5, 57599-3, 57600-9, 57601-7, 57602-5, 57603-3, 57604-1, 57613-2, 57614-0, 57615-7, 57616-5, 57617-3, 57618-1, 57619-9, 57620-7, 57672-8, 57684-3, 57685-0, 57686-8, 57687-6, 57688-4, 57689-2, 57690-0, 57691-8, 57692-6, 57693-4, 57694-2, 57695-9, 57824-5, 57825-2, 58631-3, 58632-1, 58633-9, 58634-7, 58635-4, 58636-2, 58637-0, 58638-8, 58639-6, 58640-4, 58641-2, 58642-0, 58643-8, 58644-6, 58645-3, 58646-1, 58647-9, 58648-7, 58649-5, 58650-3, 58651-1, 58652-9, 58653-7, 58654-5, 58655-2, 58656-0, 58657-8, 58658-6, 58659-4, 58660-2, 58661-0, 58662-8, 58663-6, 58664-4, 58665-1, 58666-9, 58667-7, 58668-5, 58669-3, 58670-1, 58671-9, 58672-7, 58673-5, 58674-3, 58675-0, 58676-8, 58677-6, 58678-4, 58679-2, 58680-0, 58688-3, 58689-1, 58690-9, 58691-7, 58692-5, 58693-3, 58694-1, 58695-8, 58696-6, 58697-4, 58698-2, 58819-4, 58820-2, 58821-0, 58822-8, 58823-6, 58824-4, 58825-1, 58826-9, 58827-7, 58828-5, 58829-3, 58830-1, 58908-5, 58909-3, 58910-1, 58985-3, 59153-7, 59273-3, 59803-7, 59804-5, 60013-0, 60680-6, 60681-4, 65364-2, 68315-1, 6869-2, 71805-6, 72392-4, 73841-9, 73842-7, 73843-5, 73862-5, 73863-3, 73864-1, 73890-6, 73891-4, 73892-2, 74872-3, 75516-5, 76347-4, 76352-4, 77607-0, 77925-6, 77926-4, 77927-2, 77928-0, 77929-8, 77930-6, 77931-4, 77932-2, 77933-0, 77934-8, 77935-5, 77936-3, 77937-1, 78047-8, 78988-3, 81793-2, 81794-0, 81804-7, 82848-3, 82849-1, 82850-9, 82851-7, 82854-1, 82855-8, 82856-6, 82857-4, 82861-6, 82862-4, 82878-0, 82879-8, 82894-7, 82895-4, 82896-2, 82897-0, 82898-8, 82899-6, 82900-2, 82901-0, 82908-5, 82909-3, 83088-5, 83089-3, 83090-1, 83091-9, 87429-7, 93480-2, 93481-0, 93482-8, 93483-6, 93484-4, 93773-0, 94873-7, 95578-1, 95579-9, 95580-7, 95581-5, 95582-3, 9612-3, 9613-1, 9614-9, 9615-6, 96424-7, 96425-4, 96798-4, 96801-6, 97765-2, 9812-9, 9813-7
days -1825 to -1 (H)0.420003
lab_ckCreatine kinase testLab tests orderedObservation (any)LOINC: 101446-3, 12187-1, 12189-7, 13969-1, 14680-3, 15048-2, 15049-0, 16688-4, 20569-0, 2151-9
35 more2152-7, 2153-5, 2154-3, 2155-0, 2156-8, 2157-6, 2158-4, 24335-2, 26019-0, 26020-8, 32673-6, 33547-1, 34160-2, 38482-6, 49129-0, 49136-5, 49258-7, 49259-5, 49551-5, 50756-6, 50757-4, 51505-6, 51506-4, 51507-2, 53433-9, 5912-1, 59149-5, 72561-4, 72562-2, 72563-0, 72564-8, 72565-5, 83092-7, 9642-0, 9643-8
days -1825 to -1 (H)0.061549
lab_rfRheumatoid factor testLab tests orderedObservation (any)LOINC: 11572-5, 11573-3, 13634-1, 13929-5, 13930-3, 14034-3, 15203-3, 15204-1, 15205-8, 15206-6
28 more17534-9, 17857-4, 25745-1, 25746-9, 29351-4, 30231-5, 31046-6, 33313-8, 33314-6, 33577-8, 33648-7, 33910-1, 43932-3, 45156-7, 46435-4, 46437-0, 5297-7, 5298-5, 5299-3, 5300-9, 53562-5, 53924-7, 63313-1, 63314-9, 63315-6, 6823-9, 6928-6, 9338-5
days -1825 to -1 (H)0.298374
lab_ccpAnti-CCP antibody testLab tests orderedObservation (any)LOINC: 32218-0, 33935-8, 42898-7, 46435-4, 46437-0, 53027-9, 53028-7, 57093-7, 63217-4, 63375-0
2 more82576-0, 94874-5
days -1825 to -1 (H)0.415897
rx_stimulantStimulant or wakefulness drugMedicationsMedicationRequest (any)RxNorm ingredients: modafinil, armodafinil, methylphenidate, amphetamine, dextroamphetamine, lisdexamfetamine (788 RxCUIs listed in the model file)days -1825 to -1 (H)1.549593
rx_naltrexoneNaltrexoneMedicationsMedicationRequest (any)RxNorm ingredients: naltrexone (114 RxCUIs listed in the model file)days -1825 to -1 (H)1.137913
rx_ssri_snriSSRI or SNRI antidepressantMedicationsMedicationRequest (any)RxNorm ingredients: sertraline, fluoxetine, citalopram, escitalopram, paroxetine, venlafaxine, duloxetine, desvenlafaxine (490 RxCUIs listed in the model file)days -1825 to -1 (H)1.770372
rx_tricyclic_lowdoseAmitriptyline, nortriptyline, or cyclobenzaprineMedicationsMedicationRequest (any)RxNorm ingredients: amitriptyline, nortriptyline, cyclobenzaprine (295 RxCUIs listed in the model file)days -1825 to -1 (H)0.600059
rx_gabapentinoidGabapentin or pregabalinMedicationsMedicationRequest (any)RxNorm ingredients: gabapentin, pregabalin (162 RxCUIs listed in the model file)days -1825 to -1 (H)0.443813
rx_sleep_aidSleep medicationMedicationsMedicationRequest (any)RxNorm ingredients: zolpidem, trazodone, eszopiclone (169 RxCUIs listed in the model file)days -1825 to -1 (H)0.790467
rx_beta_blockerBeta blockerMedicationsMedicationRequest (any)RxNorm ingredients: propranolol, metoprolol, atenolol, bisoprolol, nadolol, carvedilol (787 RxCUIs listed in the model file)days -1825 to -1 (H)0.144616
rx_potsPOTS medicationMedicationsMedicationRequest (any)RxNorm ingredients: ivabradine, midodrine, fludrocortisone, pyridostigmine (122 RxCUIs listed in the model file)days -1825 to -1 (H)0.614236
rx_opioidOpioidMedicationsMedicationRequest (any)RxNorm ingredients: oxycodone, hydrocodone, tramadol, morphine (3607 RxCUIs listed in the model file)days -1825 to -1 (H)0.141792
rx_milnacipranMilnacipranMedicationsMedicationRequest (any)RxNorm ingredients: milnacipran (28 RxCUIs listed in the model file)days -1825 to -1 (H)1.435677
rx_nsaidNSAID pain relieverMedicationsMedicationRequest (any)RxNorm ingredients: naproxen, ibuprofen, meloxicam, diclofenac, ketorolac (1712 RxCUIs listed in the model file)days -1825 to -1 (H)0.255109
rx_muscle_relaxantMuscle relaxantMedicationsMedicationRequest (any)RxNorm ingredients: tizanidine, methocarbamol, baclofen (237 RxCUIs listed in the model file)days -1825 to -1 (H)0.620474
rx_benzodiazepineBenzodiazepineMedicationsMedicationRequest (any)RxNorm ingredients: alprazolam, lorazepam, clonazepam, diazepam (564 RxCUIs listed in the model file)days -1825 to -1 (H)1.070669
rx_buspirone_hydroxyzineBuspirone or hydroxyzineMedicationsMedicationRequest (any)RxNorm ingredients: buspirone, hydroxyzine (228 RxCUIs listed in the model file)days -1825 to -1 (H)1.793517
util_out_r_ge66+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 6 Encounters)days -365 to -1 (R)-0.151418
util_out_r_ge1212+ outpatient visits in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class AMB (at least 12 Encounters)days -365 to -1 (R)-0.077976
util_ed_rEmergency visit in the past yearHealth care useEncounter (encounter_count_ge)Encounter.class EMER (at least 1 Encounter)days -365 to -1 (R)0.342323
util_ip_hHospital stay in the past 5 yearsHealth care useEncounter (encounter_count_ge)Encounter.class IMP (at least 1 Encounter)days -1825 to -1 (H)-0.1679

Score, calibration, and risk bands

score = -1.286731 + Σ weight × value. The probability is the piecewise-linear interpolation of the score over the calibration points below, clamped at the ends. The band is the first band whose upper limit is at or above the probability. "Times the average" is the probability divided by the cohort base rate in the model file, reference.cohort_base_rate = 0.145196 (about 14.5%).

Calibration points come from a logistic on binned training-split counts (a = -1.500075, b = 0.385902).

BandProbability up toTimes the average
Typical21.8%1.50
Elevated43.6%3.00
High100%above 3.00
ScoreProbability
-15.01270.07%
-13.79770.11%
-12.58270.17%
-11.36770.28%
-10.15270.44%
-8.93770.70%
-7.72261.12%
-6.50761.78%
-5.29262.81%
-4.07764.42%
-2.86266.88%
-1.647610.6%
-0.432615.9%
0.782423.2%
1.997432.5%
3.212443.5%
4.427455.2%
5.642466.3%
6.857575.9%
8.072583.4%
9.287588.9%
10.502592.8%
11.717595.4%
12.932597.0%
14.147598.1%

Validation and provenance

Intended use and limitations

Test patients and expected results

Synthetic FHIR R4 bundles in model/test_vectors/bundles/, scored as of 2024-06-01. Expected outputs are in model/test_vectors/expected/unm-anxiety-1.0.0/; this generator reran the reference scorer on every bundle and they match. The JavaScript scorer must reproduce them to 1e-9.

PatientScenarioExpected resultTop drivers
Mariabuilt for the Long COVID cardTypical, 10.2% (0.70 times the average)Female; Age 40-49; Emergency visit in the past year
Jamesbuilt for the Long COVID cardTypical, 13.1% (0.90 times the average)Age 40-49; COVID-19
Rosabuilt for the Long COVID cardTypical, 14.9% (1.03 times the average)Female; Age 50-59; Long COVID
Leebuilt for the Long COVID cardTypical, 17.8% (1.23 times the average)Age 18-39
Norabuilt for the Long COVID cardTypical, 20.8% (1.43 times the average)Age 18-39; Female; COVID-19
Danabuilt for the Lyme cardTypical, 14.0% (0.96 times the average)Female; Age 50-59; Muscle or joint pain
Elenabuilt for the Chronic fatigue and ME/CFS cardElevated, 25.8% (1.78 times the average)Stimulant or wakefulness drug; Age 18-39; Female
Omarbuilt for the Chronic fatigue and ME/CFS cardTypical, 11.1% (0.77 times the average)Age 40-49; Hypertension
Gracebuilt for the Chronic fatigue and ME/CFS cardTypical, 20.2% (1.39 times the average)Female; Age 40-49; Chronic fatigue or ME/CFS
Sofiabuilt for the Fibromyalgia cardnot scored: an anxiety diagnosis is already recorded
Priyabuilt for the Long COVID cardTypical, 14.0% (0.96 times the average)Female; Age 40-49; Long COVID
Sambuilt for the Long COVID cardTypical, 8.82% (0.61 times the average)Age 50-59; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Theobuilt for the Long COVID cardTypical, 12.3% (0.85 times the average)Age 18-39; Long COVID; Fatigue or malaise coded in the past year
Yarabuilt for the Long COVID cardTypical, 16.7% (1.15 times the average)Age 18-39; Female; Fatigue or malaise coded in the past year
Verabuilt for the Long COVID cardTypical, 9.20% (0.63 times the average)Female; Fatigue or malaise coded in the past year; Fatigue or malaise coded
Willbuilt for the Long COVID cardTypical, 13.1% (0.90 times the average)Age 40-49; COVID-19
Umano birth date: not scored by any modelnot scored: birth date missing or unusable (age is required)
Kai16 at the COVID-19 index, 17 on the scoring date: not scored by any modelnot scored: under 18 on the scoring date (the model covers adults)