sos_data aims to mimic data recived from Socialstyrelsen, used in the examples given in functions prep_sosdata and create_sosvar.
sos_data
A data frame with 5500 rows and 8 variables:
Patient id. Not unique. Integer.
Date of visit. Date.
Date of discharge. Date.
Main diagnosis. Character.
Character.
Procedure code, position 1. Character.
Procedure code, position 2. Character.
Character.
Character.
Year of visit date. Numeric.