Abstract
Health systems increasingly record ICD-10 Z59 social-needs codes for housing, food, transportation, and related hardship to trigger referrals, report quality, and adjust risk. However code documentation occurs at varying rates and no study has separated what the code says about a patient’s hardship from what it says about being documented at all. Using a linked electronic health record and claims corpus covering 4.95 million patients in 21 identifiable health systems, we matched 26,153 adults with a first outpatient Z59 code to similar uncoded patients and, as a negative control, repeated the entire design around an administrative code. Coding ranged from 1 percent to 24 percent of patients across systems and remained highly variable after adjustment for patient mix. A hardship code was associated with 67% (95% CI=1.61, 1.74) more emergency department (ED) visits and 43% (95% CI=1.38, 1.49) more hospital admissions in the next year (62 versus 49 of every 100 patients with any acute event). The administrative-code reproduced 46 percent of the Z59 association for ED visits and 70 percent for admissions. In the five systems with the most complete stay dates, no hardship-specific admission excess was detectable. Homelessness codes forecast two and a half times the ED visit rate. At national planning prices, excess emergency and preventable hospital care totaled roughly $2,000–$2,500 per coded patient-year ($2,516 base scenario; about $1,100 under an exploratory assumed-discount scenario (not an estimate of hardship-attributable spending)), with the largest emergency burden among Medicaid patients. The Z code added no increment to clinical and utilization-based risk prediction models in any system.
Competing Interest Statement
Funding. This work was supported by Meta Superintelligence Labs. In addition to funding, Meta provided the governed computing environment in which the analyses were performed, technical support from its data engineering staff, and the AI models used in this study. Duality of Interest. All authors are contractors for Meta Platforms, Inc., independently conducting research using Meta AI models, including the models used in this study. No other potential conflicts of interest relevant to this article were reported.
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
The details of the IRB/oversight body that provided approval or exemption for the research described are given below:
An external review by Bluebonnet Ethical Review determined that this activity is appropriately classified as Not Human Subjects Research (NHSR) and that IRB review is not required.
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes
Data Availability
The Protégé data are not publicly available and access is governed by the data owner. The study protocol, statistical analysis plan, code lists and aggregate results are available from the Corresponding author on reasonable request.





