Algorithm for forming hospital care episodes by combining attendance contacts in the Danish National Patient Register: A methodological consensus-driven study

Rasmus Gregersen*, Cathrine Fox Maule, Camilla Bjørn Jensen, Matilde Winther-Jensen, Anne Helms Andreasen, Hanne Nygaard, Anton Pottegård, Morten Schmidt, Søren Paaske Johnsen, Janne Petersen, Marie Villumsen

*Corresponding author af dette arbejde

Publikation: Bidrag til tidsskriftTidsskriftartikelForskningpeer review

Abstract

Background:
Studying complete hospital care episodes from register data, for instance when assessing length of stay, discharges and readmissions, can cause methodological difficulties due to the lack of a contact linkage identifier. We aimed to develop an algorithm combining sequential attendance contacts in the Danish National Patient Register (DNPR) into hospital care episodes, spanning the entire duration and all contacts from hospital arrival to departure.
Methods:
The algorithm was developed under the consensus of experts from research institutions across Denmark. It reads in second and third version DNPR data, deletes contacts without attendance, duplicates elective outpatient contacts corresponding to attendance dates and modifies contact types (e.g. repeated acute contacts), among others. Thereafter, sequential contacts within 4 h are marked as the same hospital care episode, consisting of one or more DNPR contact. We tested the algorithm in a data set of adults living in Denmark during 2013–2021 and compared different hourly cut-offs.
Results:
For the demonstration, we included 120.2 m contacts from 5.7 m persons, combined into 105.9 m hospital care episodes. Of the hospital care episodes, 6.4% were acute inpatients, 8.3% were acute outpatients, 2.0% were elective inpatients and 83.3% were elective outpatients. Using 4 h as our recommendation, 3-h, 5-h and 6-h cut-offs for contact combining revealed only minor differences in the number of hospital care episodes (<0.4%), whereas 12-h (<1.7%) and 24-h cut-offs (<43.1%) had a larger impact.
Conclusions:
The algorithm automates data reading, modification and linkage of sequential attendance contacts. The algorithm can be initiated as a SAS macro and is available from an online repository.
OriginalsprogEngelsk
BogserieScandinavian Journal of Public Health
ISSN1403-4948
DOI
StatusAccepteret/In press - 2024

Bibliografisk note

Funding Information:
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: The work was financed by a grant from the University of Copenhagen (2023 Strategy Funds: Data+ grant), a grant from the Research Council at Bispebjerg and Frederiksberg Hospital, and a grant from the Department of Emergency Medicine.

Publisher Copyright:
© Author(s) 2024.

Citationsformater