Mauro Laudicella and Paolo Li Donni "The Dynamic Interdependence in the Demand of Primary and Emergency Secondary Care: A Hidden Markov Approach", Journal of Applied Econometrics, Vol. 37, No. 3, 2022, pp. 521-536. The data used in this paper are the property of the Danish Ministry of Health who do not permit open access. Hence the data cannot be lodged here. The data are held and managed by Statistics Denmark (www.dst.dk/en/). Enquiries concerning access to the data should be directed to Statistics Denmark (forskningsservice@dst.dk). The application process to obtain access to the data is described here https://www.dst.dk/en/TilSalg/Forskningsservice. The study population examined by this study is part of a larger study population of health service users examined within the research project "The price of Success" funded by the EU's Horizon 2020 research and innovation programme under MSCA grant No 8325. The study population examined by this study can be replicated by the following steps: 1. File an application to Statistics Denmark for a data extract from the Danish National Patient Registry including all Danish residents age 40 and over with an inpatient or outpatient hospital visit reported in the calendar years 2000 to 2017. The application should make a request for the data extract to be linked to data on utilisation of primary care services and data on individual income and socioeconomic status. The complete list of linked datasets is available in the attached file "ProjektDB_STFSDU_adm_707684 datasets". The complete list of variables is available in the attached file "ProjektDB_STFSDU_adm_707684 variables". 2. From the data extract, select individuals with age >= 40 and age >= 99 years old (age variable V_ALDER >= 40 and V_ALDER <= 99) with an emergency admission in calendar years 2012 (type of admission variable C_PATTYPE=3) and with a primary diagnosis of diseases of the circulatory system (primary diagnosis variable A_ADIAG == I00-I99). 3. Merge data on emergency hospital admissions (type of admission variable C_PATTYPE == 3) and primary care visits (type of primary care visit SPEC2 == 70-75) occurred between 2013 to 2017 to selected individuals under point #2. 4. Exclude individuals who died between 2012 and 2017 (date of death variable DOD >= 31/12/2017) Mauro Laudicella mlaudicella [AT] health.sdu.dk