A sample of variables from the Swedish Inpatient Register (as seen with the statistics programme SPSS). Each hospital discharge is listed on a row. This means that an individual may occupy several rows in the IPR (first, second, third hospital discharge, etc.). The variable lpnr (or lopnr) is constructed when the dataset is delivered to the researcher, and serves as unique serial number. In the original IPR dataset, each discharge is linked to a unique Personal Identity Number (PIN). Please note that the order of the variables above may differ from that in the original IPR dataset.