Related Experiment Video
Updated: May 20, 2025

Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Comparing Methods for Classification of Hospital Visits in the Danish National Patient Registry (DNPR): DNPR3 Versus
Kirsten Skjærbæk Duch1,2,3, Bergur Magnussen1, Flemming Skjøth4,5
1Center of Rheumatic Research Aalborg (CERRA), Aalborg University Hospital, Aalborg, Denmark.
Background:
The Danish National Patient Registry (DNPR) is a central source of information on hospital contacts for the Danish population and is a key data source for health-related Danish registry studies. The data structure of DNPR was updated from DNPR2 to DNPR3 in 2019, where a key patient-type variable for classification of inpatient, outpatient, or emergency wards was removed. This affects how hospital contacts can be defined and compared across different calendar years.
Aim:
To present and compare different algorithms to determine the type of hospital visit (inpatient, outpatient, or emergency) for all hospital visits in Denmark from 2006 to 2021 across DNPR2 and DNPR3.
Methods:
The monthly number of hospital visits per 1000 citizens was presented for four different algorithms: 1) a validated approach suggested by Skjøth et al, 2) an approach suggested by the Danish Ministry of Health and Elderly, 3) the latter combined with patient type variables available in DNPR2 only, and 4) a consensus-driven algorithm introduced by Gregersen et al.
Results:
Using the same algorithm for DNPR2 and DNPR3 yielded the most similar results across calendar years. The least variation across calendar years was observed for the approach suggested by the Danish Ministry of Health and Elderly, whereas the validated approach suggested by Skjøth et al was more in line with the patient-type variable previously used in DNPR2. When comparing the algorithms, the main difference in the number of hospital visits was observed for inpatient and emergency visits.
Conclusion:
We recommend using the same algorithm across DNPR2 and DNPR3. The choice of algorithm should be based on the disease or patient group being studied and by considering how the approaches reflect reality and need in the actual study. We recommend the algorithm suggested by Skjøth et al for the specific clinical situations presented in this study.
Related Concept Videos
Hospitals-I
Comparing the Survival Analysis of Two or More Groups
Methods of Documentation VI: Case Management Model
For example, a patient with a chronic...
Hospitals-II
Nurses that work in...
Hazard Ratio
For example, in a clinical trial...
Classification of Illness
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe...

