havlik.ipynb
Python 3
In [1]:
# who is this?
havlik.whoami()
Out[1]:
Portrait of John Lyon Havlik
Applying AI to improve psychiatry

John Lyon Havlik

MD · MBA · Stanford Psychiatry

Hello! I'm the inaugural resident in Stanford's Humanities and Social Medicine Research Track. Psychiatric and substance use disorders are usually caught only after substantial, sometimes irreparable, harm has already occurred. My work is about changing that: I build artificial intelligence models that identify people earlier, and I evaluate whether the systems that receive them — health plans, treatment facilities, and now generative AI chatbots — are equipped to respond appropriately. I believe this kind of early, well-supported intervention will one day be commonplace and prevent a great deal of human suffering.

On the building side, I'm technical lead and first author on a supervised model that detects substance use disorders from EHR-like data, published in Nature Mental Health; related work uses multimodal data to flag who will go on to develop opioid use disorder and to predict imminent psychiatric emergency-department visits. I also co-authored a Nature Medicine paper on how to rigorously test the true capabilities of medical AI. I work across a wide range of deterministic and probabilistic methods, including the transformer architectures behind modern "chatbots."

In production — spinout AI-enabled clinical workflow automation software I developed is in use at the U.S. Department of Veterans Affairs and here at Stanford. The aim is always to move models out of publications and into the clinic.

On the evaluating side, I write on psychiatric services and health policy — recently in JAMA Health Forum on private-equity residential treatment and JAMA Network Open on the economics of telemedicine "house calls" — and I serve as an expert reviewer of AI-in-medicine trials for the Utah Office of Artificial Intelligence Policy. Alongside the research, I founded and lead Research Roundtable, a mentorship group whose undergraduates have published 10+ first-author papers. Before medicine, with Peggy Mason at UChicago, I found the human bystander effect in rats (Science Advances).

Open collaborations

In [2]:
havlik.open_collaborations() # what I'm looking for right now
Validation partnersopen
External validation partners for my substance-use detection models — to test whether they hold up beyond the data they were trained on.
ideal: a health system already running OMOP (or comparable structured EHR data)
Safety-eval collaboratorsopen
Collaborators on safety evaluation for consumer mental-health AI — I'm building what will be the field's largest prospective evaluation of chatbot safety in mental-health crises.
ideal: researchers, clinicians, or platforms working on LLM safety in crisis care
→ Working on either? jhavlik@stanford.edu — I'd like to hear from you.

Selected work

In [3]:
havlik.selected_work() # first-author work I am proud of
Nature Mental Health2026
Supervised machine learning identifies people with untreated substance use disorders from EHR-like data.
machine learning · nationally representative data · technical lead
JAMA Health Forum2026
How private-equity ownership reshapes residential substance-use treatment relative to other for-profit facilities.
health policy · market structure · first author
JAMA Network Open2026
When telemedicine "house calls" make clinical and economic sense - costs and outcomes in virtual care.
care delivery · economics · first author
Science Advances2020
First demonstration of the human bystander effect in rats - a controlled model of when we choose to help.
foundational science · first author

Education

In [4]:
havlik.education # both coasts and in between
yearsdegreeinstitution
02019–2024M.D.Yale School of Medicine
12022–2024M.B.A.Yale School of Management · Dean's Merit Scholarship
22015–2019B.S. Neuroscience (Honors) · B.A. BiologyUniversity of Chicago

Timeline

In [5]:
havlik.timeline() # 2015 to 2026

Publications by year

In [6]:
havlik.publications.groupby("year").size()
# 48 records · 45 peer-reviewed + 3 invited commentary · dtype: int64
2020
1
2021
9
2022
9
2023
4
2024
9
2025
7
2026
9

Publications

In [7]:
havlik.publications.query("flagship").head(13)
havlik.publications[ : ] ▸ run
02026Supervised ML identifies people with untreated substance use disorders from EHR-like data · Nature Mental Health 12026Academic Medicine Is a Bridge · Academic Medicine 22026Toward a Test of Medical AI Superintelligence · Nature Medicine co-author 32026Upward Trend of Publications With Student and Trainee Authors, 2016–2025 · Academic Medicine 42026Private Equity–Acquired Residential Treatment Facilities vs Other For-Profit Facilities · JAMA Health Forum 52026Costs and Outcomes in Telemedicine: Can "House Calls" Make Sense and Cents? · JAMA Network Open 62026Engines of Progress: Research Track Residencies in Psychiatry · Academic Psychiatry 72026Innovation in Psychiatric Drug Development: FDA-Approved Drugs, 2012–2024 · J. Clinical Psychiatry 82026Research Support for U.S. Psychiatrists From Pharmaceutical and Medical Device Companies, 2015–2022 · Psychiatric Services 92025Futures Found: The 2025 Trainee Letters to the Editor · Academic Medicine 102025Are Observation Codes Underused for Emergency Psychiatric Patients With an Extended Length of Stay? · General Hospital Psychiatry 112025Characteristics of Ongoing Clinical Trials of Psychogenic Substances for Psychiatric Disorders · J. Clinical Psychopharmacology 122025Who Leads Psychiatry? Demographics, Educations, and Scientific Contributions of US Academic Chairs · Academic Psychiatry 132025Medicaid Costs and Outcomes for Patients Treated in an Outpatient Telepsychiatry Clinic · JAMA Network Open 142025Trends in Psychiatrist-Led Care for Medicare Part B Enrollees · JAMA Network Open 152025Correlates of Impaired Sleep Duration Among Adults With Trauma Alone and With PTSD · Psychological Trauma 162024National Trends in and Concentration of Industry Payments to U.S. Psychiatrists, 2015–2021 · Psychiatric Services 172024How to Value a Life Without Limits: QALYs in Social Anxiety Disorder · J. Clinical Psychiatry 182024Mental-Health Quality of Life and Treatment Seeking for Substance Use Disorders · PLoS ONE 192024Association of Malnutrition With Outcomes After Spine Surgery for Spinal Metastases · J. Clinical Medicine 202024Mobile Medical Units for Populations Experiencing Homelessness: A Scoping Review · J. General Internal Medicine 212024The Top 50 Articles and Authors of the New Millennium in Psychiatry · Cureus 222024Recent Advances in the Treatment of Treatment-Resistant Depression, 2018–2023 · Current Psychiatry Reports 232024"Black Is Not Monolithic": Complexities in COVID-19 Vaccine Decision-Making · J. Racial & Ethnic Health Disparities 242024Comparison of Industry Payments to Psychiatrists and Psychiatric APCs, 2021 · BMJ Open 252023Quality of Life Among Individuals With Treated, Untreated, and Past Alcohol Use Disorder · Am. J. Drug & Alcohol Abuse 262023Distribution of CARES Act Provider Relief Fund Assistance to Psychiatric Care Organizations · Psychiatric Services 272023Characteristics of Esketamine Prescribers Among Medicare Beneficiaries, 2019–2020 · JAMA Network Open 282023IV-to-Oral Opioid Transition Time and Length of Stay After Spinal Fusion for AIS · Intl J. Spine Surgery 292022Primary Care for Veterans Experiencing Homelessness: HPACT Model Review · J. General Internal Medicine 302022Inpatient Opioid Consumption and Outcomes After Spinal Fusion for Adult Spine Deformity · Spine Deformity 312022Hospital Frailty Risk Score Predicts Adverse Events After Ventriculoperitoneal Shunt Surgery · World Neurosurgery 322022Frailty Indices and Charlson Comorbidity Index in Spine Metastasis Surgery · World Neurosurgery 332022The Case for Ethical Efficiency: A System That Has Run Out of Time · Hastings Center Report 342022Hospital Frailty Risk Score and Complications After Endovascular Treatment of Ruptured Aneurysms · J. NeuroInterventional Surgery 352022Impact of Frailty After Surgical Evacuation of Acute Traumatic Subdural Hematoma · World Neurosurgery 362022Resource Utilization After Surgery for Metastatic Spinal Tumors With Affective Disorder · World Neurosurgery 372022Frailty Risk Score and Resource Utilization After Surgery for Spinal Intradural/Cord Tumors · Global Spine Journal 382021Preoperative Nutritional Status and Outcomes After Lumbar Decompression and Fusion · Clinical Neurology & Neurosurgery 392021Risk Factors for Non-Routine Discharge After Lumbar Decompression and Fusion · Clinical Neurology & Neurosurgery 402021Impact of Frailty in Adults With Acute Traumatic Cervical Spinal Cord Injury · World Neurosurgery 412021Racial Disparities in Resource Utilization After Pediatric Cervical/Thoracic Spinal Injuries · World Neurosurgery 422021Lessons From COVID-19: The Case for Virtual Residency Interviews · Annals of Surgery Open 432021Modified-Frailty Index Does Not Independently Predict Complications After Lumbar Fusion · The Spine Journal 442021Pulmonary Risk Factors and Hospital Resource Use After Spinal Fusion for AIS · World Neurosurgery 452021Impact of Preoperative Anemia on Outcomes After Posterior Spinal Fusion for AIS · World Neurosurgery 462021Characteristics of Reported Industry Payments to Neurosurgeons: A 5-Year Study · World Neurosurgery 472020The Bystander Effect in Rats · Science Advances

Roles

In [8]:
havlik.roles() # research, mentorship, venture
# research
Research Roundtable · Founder2022–PRESENT

Mentor URiM and first-gen, low-income UChicago undergraduates in computational psychiatry and health-services research. 10+ mentee-authored papers across the JAMA, APA, and BMJ networks; $125,000+ across 30+ grant applications.

Lab of Robert Rosenheck, M.D.2022–2024

Mental-health services research on quality of life and predicting service use across substance use disorders.

Lab of Michael DiLuna, M.D.2020–2022

National-database analyses of outcomes and disparities in neurosurgery; mentored four junior members in statistics.

Lab of Peggy Mason, Ph.D.2016–2019

Led studies of helping behavior in rats under stressors and anxiolytics; first-author paper in Science Advances.

# venture
Venture Fellow · Continuum Health Ventures2023–2024

Led diligence on digital and AI mental-health companies for VC investment; several reviewed went on to be funded.

Associate · Yale Ventures2021

Helped stand up Yale's biotech seed fund; sourced psychiatrist-founders and prepped financials and pitches.

# off_hours
5,532 mi · logged on an e-bike I designed and built for commuting in residency
60+ · runners in the running club I co-founded (Yale School of Mileage)
birding · chasing birds and banana slugs across the SF Bay and Santa Cruz Mountains
coding · Python, R, Stata, SQL

Honors

In [9]:
havlik.honors # most recent
2026Research in Emerging Areas Critical to Human Health Award - National Institute on Drug Abuse (NIDA)
2026NIMH Outstanding Resident Award - NIMH's highest trainee honor (1 of 12 nationally)
2026–27American Psychiatric Association Research Fellowship - one awarded nationally ($45,000/yr for mental-health services & policy research)
2026Miller Foundation Fellowship for Psychiatric Services Research ($44,000) - a machine-learning model, built on Stanford's clinical EHR, to predict and prevent substance-use crises
2025William & Katharine Duhamel Addiction Medicine Grant ($23,220) - for an AI model for SUD screening
2024–Inaugural Humanities & Social Medicine Research Track Resident, Stanford
havlik.honors.all() ▸ run
2019–24Class President, Yale School of Medicine Entering Class of 2019
2022LCME Student Accreditation Co-Chair
2022–24Dean's Merit Scholarship, Yale School of Management - quantitative methods in operations research
2023–24Robert Malison, M.D. Student Research Fellowship
2023Lowe Award for Published Research, Yale School of Medicine
2021–22Yale School of Medicine Medical Education Steering Committee
2020Judges' Choice Award, Creating Healthcare Ventures, Yale School of Management
2019Finalist, College New Venture Challenge, UChicago Booth
20182nd Place, National Students with Drive (Ford + Zipcar)
20171st Place, Chicago Health Solutions Case Competition (×2)
2016–18UChicago Metcalf Scholarship
2015–19National Merit Scholarship · UChicago Scholarship · ACS Scholarship

Peer review

In [10]:
havlik.peer_review # reviewer / editorial board · 17 venues
  • "Academic Medicine (editorial board)"
  • "JAMA Network Open"
  • "NEJM AI"
  • "J. Clinical Psychiatry"
  • "J. Clinical Psychopharmacology"
  • "Health Informatics Journal"
  • "Epidemiology & Psychiatric Sciences"
  • "Frontiers in Psychiatry"
  • "J. Racial & Ethnic Health Disparities"
  • "J. General Internal Medicine"
  • "Population Health, Equity & Outcomes"
  • "J. Personality Disorders"
  • "Psychological Trauma"
  • "Am. J. Drug & Alcohol Abuse"
  • "BMC Medical Education"
  • "Pacific Symposium on Biocomputing"
  • "NeurIPS"