Data Dictionary: Socialstyrelsen National Patient Register: Difference between revisions

From Beacon
(Created page with "Go back to Sweden page '''Specialized outpatient care''': *Age at visit *Age at the end of the year *Anesthesia code 1 *Anesthesia code 2 *Year of visit *ATC code in case of poisoning, for medicines according to FASS (maximum 30 codes) *ATC code for drug delivery, for medicines according to FASS (maximum 30 codes) *Interrupted care at the emergency department *Time for medical assessment at the emergency department *Marital status of the patient *Number of report...")
 
No edit summary
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Go back to [[Sweden]] page
<span style="display:none">forresearchers</span>
<span style="display:none">swedencountry</span>
Go back to [[Database: Socialstyrelsen National Patient Register (Sweden)]] page.


Source: [https://www.socialstyrelsen.se/globalassets/sharepoint-dokument/dokument-webb/ovrigt/register-variabelforteckning-patientregistret.xlsx Click here to learn more].


'''Specialized outpatient care''':
'''Table 1: Specialized outpatient care.'''
{| class="wikitable"
|-
! Variable Name !! Definition
|-
| ALDER || Age at visit
|-
| ALDER_S || Age at the end of the year
|-
| ANE1 || Anesthesia code 1
|-
| ANE2 || Anesthesia code 2
|-
| AR || Year of visit
|-
| ATC || ATC code in case of poisoning. Medicines according to FASS. Max 30 codes
|-
| ATCO || ATC code for drug delivery. Medicines according to FASS. Max 30 codes
|-
| AVBR_AKUT || Interrupted care at the emergency department
|-
| BED_AKUT_TIDPUNKT || Time for medical assessment at the emergency department
|-
| CIVIL || Marital status of the patient
|-
| DIA_ANT || Number of reported diagnoses, may be more than 30
|-
| DIAGNOS || Diagnoses according to ICD. Max 30 diagnoses
|-
| DISTRIKT || The patient's home district, data from Statistics Sweden
|-
| DRG || Diagnosis-related grouping, can assume approx. 550 values
|-
| EKOD1 || External reason code 1
|-
| EKOD2 || External reason code 2
|-
| EKOD3 || External reason code 3
|-
| EKOD4 || External reason code 4
|-
| EKOD5 || External reason code 5
|-
| EKOD6 || External reason code 6
|-
| EKOD7 || External reason code 7
|-
| EKOD || External reason codes 1-5
|-
| FLAND || The patient's country of birth
|-
| FODAR || The patient's year of birth
|-
| FODDAT || The patient's date of birth
|-
| FODDATN || The patient's date of birth (text)
|-
| HDIA || Stated main diagnosis
|-
| IDNR || A unique serial number for each visit to a healthcare facility. Used, among other things, for DRG grouping. Created by the National Board of Health and Welfare
|-
| IN_AKUT_TIDPUNKT || Time for the start of outpatient contact at the emergency department
|-
| INDATUM || Date of outpatient contact (numerical)
|-
| INDATUMA || Date of outpatient contact (text)
|-
| KON || Gender of the patient
|-
| KONTROLL_DATUM || Refers to the date on which automatic delivery control (LOK) was carried out, which takes place in connection with data providers submitting data. For each care contact, it is possible to see when this was last submitted to the National Board of Health and Welfare. The variable is mainly useful for internal quality controls.
|-
| KTYP || Form of outpatient contact
|-
| LK || The patient's place of registration, information from Statistics Norway
|-
| LKF || The patient's place of registration after checking with Statistics Sweden
|-
| LKF_IN || The patient's place of registration according to the informant
|-
| LT_IN || Who submitted the data - Private healthcare provider or region
|-
| LT_KLIN || Clinic from which the patient was discharged
|-
| MDC || Diagnosis-related grouping, can assume approx. 550 values
|-
| MVO || Medical practice area visited by the patient
|-
| NATION || The patient's country of citizenship
|-
| OP || Action codes, max 30 actions
|-
| OP_ANT || Number of reported measures, may be more than 30
|-
| PSEUDO || Pseudonymized social security number. Created by the National Board of Health and Welfare
|-
| PNR || The patient's social security number
|-
| PNRQ || Variable showing quality of personal identification number (PNR), created using standard macro checking
|-
| PSVARD || Psychiatric form of care
|-
| PVARD || Indicates whether the visit was planned or not
|-
| RNR || Indicates if the patient does not have a social security number
|-
| RTC || An error list that lists registry errors by percentage distribution
|-
| SENINV || Last immigration, year-month or year-month-day
|-
| SENUTV || Last emigration, year-month or year-month-day
|-
| SJUKHUS || Hospital at which the patient visited
|-
| SKAPAD || Date when the register was posted
|-
| Slutrapporterad || Marks whether a care contact was reported for the last time in accordance with the regulation
|-
| UT_AKUT_TIDPUNKT || Time for the end of outpatient contact at the emergency department
|-
| VERKS_AKUT || Indicates whether the visit was an emergency visit and the type of emergency operation
|-
| VTF_ID || Sequential number, which is the care contact's unique identification as created by the informant
|}


*Age at visit
'''Table 2: Inpatient care.'''
*Age at the end of the year
{| class="wikitable"
*Anesthesia code 1
|-
*Anesthesia code 2
! Variable Name !! Definition
*Year of visit
|-
*ATC code in case of poisoning, for medicines according to FASS (maximum 30 codes)
| ALDER || Age at discharge date
*ATC code for drug delivery, for medicines according to FASS (maximum 30 codes)
|-
*Interrupted care at the emergency department
| ALDER_S || Age at the end of the year
*Time for medical assessment at the emergency department
|-
*Marital status of the patient
| ANE1 || Anesthesia code 1
*Number of reported diagnoses (may be more than 30)
|-
*Diagnoses according to ICD (maximum 30 diagnoses)
| ANE2 || Anesthesia code 2
*The patient's home district (data from Statistics Sweden)
|-
*Diagnosis-related grouping, which can assume approximately 550 values
| AR || Discharge year
*External reason code 1
|-
*External reason code 2
| ATC || ATC code in case of poisoning. Medicines according to FASS. Max 30 codes
*External reason code 3
|-
*External reason code 4
| ATCO || ATC code for drug delivery. Medicines according to FASS. Max 30 codes
*External reason code 5
|-
*External reason code 6
| AVTAL || The care allowance is regulated according to the agreement
*External reason codes 1-5
|-
*The patient's country of birth
| CIVIL || Marital status of the patient
*The patient's year of birth
|-
*The patient's date of birth (numerical)
| DIA_ANT || Number of reported diagnoses, may be more than 30
*The patient's date of birth (text)
|-
*Stated main diagnosis
| DIAGNOS || Diagnoses according to ICD. Max 30 diagnoses
*A unique serial number for each visit to a healthcare facility (used, among other things, for DRG grouping and created by the National Board of Health and Welfare)
|-
*Time for the start of outpatient contact at the emergency department
| DISTRIKT || The patient's home district, data from Statistics Sweden
*Date of outpatient contact (numerical)
|-
*Date of outpatient contact (text)
| DRG || Diagnosis-related grouping, can assume approx. 550 values
*Gender of the patient
|-
*Refers to the date on which automatic delivery control (LOK) was carried out, which takes place in connection with data providers submitting data (for each care contact, it is possible to see when this was last submitted to the National Board of Health and Welfare)
| EKOD1 || External cause code 1. See ICD code list
*Time for the start of outpatient contact at the emergency department
|-
*Date of outpatient contact (numerical)
| EKOD2 || External cause code 2. See ICD code list
*Date of outpatient contact (text)
|-
*Gender of the patient
| EKOD3 || External cause code 3. See ICD code list
*Refers to the date on which automatic delivery control (LOK) was carried out, which takes place in connection with data providers submitting data (for each care contact, it is possible to see when this was last submitted to the National Board of Health and Welfare; the variable is mainly useful for internal quality controls)
|-
*Form of outpatient contact
| EKOD4 || External cause code 4. See ICD code list
*The patient's place of registration (information from Statistics Norway)
|-
*The patient's place of national registration (after checking with Statistics Sweden)
| EKOD5 || External cause code 5. See ICD code list
*The patient's place of registration according to the informant
|-
*Who submitted the data - Private healthcare provider or region
| EKOD || External reason code 1-5
*Clinic from which the patient was discharged
|-
*Diagnosis-related grouping, which can assume approximately 550 values
| FLAND || The patient's country of birth
*Medical area of activity visited by the patient
|-
*The patient's country of citizenship
| FODAR || The patient's year of birth
*Action codes (maximum 30 actions)
|-
*Number of reported measures (may be more than 30)
| FODDAT || The patient's date of birth
*Pseudonymized social security number (created by the National Board of Health and Welfare)
|-
*The patient's social security number
| FODDATN || The patient's date of birth
*A variable that shows the quality of a personal identification number (PNR) according to certain predetermined rules, the variable is created using the standard macro checking
|-
*Psychiatric form of care
| HDIA || Stated main diagnosis
*Indicates whether the visit was planned or not
|-
*Indicates if the patient does not have a social security number
| IDNR || A unique serial number for each vtf. Used, among other things, for DRG grouping. Created by the National Board of Health and Welfare
*An error list that lists registry errors by percentage distribution
|-
*Last immigration (year-month or year-month-day)
| INDATUM || The date the patient is enrolled. Number of days from the year 1960-01-01 up to and including INDATUM
*Last emigration (year-month or year-month-day)
|-
*Hospital at which the patient visited
| INDATUMA || The date the patient is enrolled
*Date when the register was posted
|-
*Marks whether a care contact was reported for the last time in accordance with the regulation
| INSATT || How the patient was enrolled
*Time for the end of outpatient contact at the emergency department
|-
*Indicates whether the visit was an emergency visit and the type of emergency operation
| KON || Gender of the patient
*Sequential number, which is the care contact's unique identification as created by the informant
|-
 
| KONTROLL_DATUM || Refers to the date on which automatic delivery control (LOK) was carried out, which takes place in connection with data providers submitting data. For each care contact, it is thus possible to see when this was last submitted to the National Board of Health and Welfare. The variable is mainly useful for internal quality controls
 
|-
'''Inpatient care''':
| LK || The patient's place of registration information from Statistics Norway
 
|-
*Age at date of discharge
| LKF || The patient's place of registration after checking with Statistics Sweden
*Age at the end of the year
|-
*Anesthesia code 1
| LKF_IN || The patient's place of registration according to the informant
*Anesthesia code 2
|-
*Discharge year
| LT_IN || Who submitted the data - Private healthcare provider or region
*ATC code in case of poisoning. Medicines according to FASS. Max 30 codes
|-
*ATC code for drug delivery. Medicines according to FASS. Max 30 codes
| LT_KLIN || Clinic from which the patient was discharged
*The care allowance is regulated according to the agreement
|-
*Marital status of the patient
| MDC || Care opportunities grouped at chapter level
*Number of reported diagnoses, may be more than 30
|-
*Diagnoses according to ICD. Max 30 diagnoses
| MVO || Medical practice area from which the patient was discharged
*The patient's home district, data from Statistics Sweden
|-
*Diagnosis-related grouping, can assume approx. 550 values
| NATION || The patient's country of citizenship
*External cause code 1. See ICD code list
|-
*External cause code 2. See ICD code list
| OP || Action codes max. 30 actions
*External cause code 3. See ICD code list
|-
*External cause code 4. See ICD code list
| OP_ANT || Number of reported measures, may be more than 30
*External cause code 5. See ICD code list
|-
*External reason code 1-5
| OPD1 || Date when action 1 was performed
*The patient's country of birth
|-
*The patient's year of birth
| OPD10 || Date when action 10 was performed
*The patient's date of birth
|-
*Stated main diagnosis
| OPD11 || Date when action 11 was performed
*A unique serial number for each vtf. Used, among other things, for DRG grouping. Created by the National Board of Health and Welfare
|-
*The date the patient is enrolled
| OPD12 || Date when action 12 was performed
*Number of days from the year 1960-01-01 up to and including INDATUM
|-
*The date the patient is enrolled
| OPD13 || Date when action 13 was performed
*How the patient was enrolled
|-
*Gender of the patient
| OPD14 || Date when action 14 was performed
*Refers to the date on which automatic delivery control (LOK) was carried out, which takes place in connection with data providers submitting data. For each care contact, it is thus possible to see when this was last submitted to the National Board of Health and Welfare. The variable is mainly useful for internal quality controls
|-
*The patient's place of registration information from Statistics Norway
| OPD15 || Date when action 15 was performed
*The patient's place of registration after checking with Statistics Sweden
|-
*The patient's place of registration according to the informant
| OPD16 || Date when action 16 was performed
*Who submitted the data - Private healthcare provider or region
|-
*Clinic from which the patient was discharged
| OPD17 || Date when action 17 was performed
*Care opportunities grouped at chapter level
|-
*Medical practice area from which the patient was discharged
| OPD18 || Date when action 18 was performed
*The patient's country of citizenship
|-
*Action codes max. 30 actions
| OPD19 || Date when action 19 was performed
*Number of reported measures, may be more than 30
|-
*Date when action 1 was performed
| OPD2 || Date when action 2 was performed
*Date when action 10 was performed
|-
*Date when action 11 was performed
| OPD20 || Date when action 20 was performed
*Date when action 12 was performed
|-
*Date when action 13 was performed
| OPD21 || Date when action 21 was performed
*Date when action 14 was performed
|-
*Date when action 15 was performed
| OPD22 || Date when action 22 was performed
*Date when action 16 was performed
|-
*Date when action 17 was performed
| OPD23 || Date when action 23 was performed
*Date when action 18 was performed
|-
*Date when action 19 was performed
| OPD24 || Date when action 24 was performed
*Date when action 2 was performed
|-
*Date when action 20 was performed
| OPD25 || Date when action 25 was performed
*Date when action 21 was performed
|-
*Date when action 22 was performed
| OPD26 || Date when action 26 was performed
*Date when action 23 was performed
|-
*Date when action 24 was performed
| OPD27 || Date when action 27 was performed
*Date when action 25 was performed
|-
*Date when action 26 was performed
| OPD28 || Date when action 28 was performed
*Date when action 27 was performed
|-
*Date when action 28 was performed
| OPD29 || Date when action 29 was performed
*Date when action 29 was performed
|-
*Date when action 3 was performed
| OPD3 || Date when action 3 was performed
*Date when action 30 was performed
|-
*Date when action 4 was performed
| OPD30 || Date when action 30 was performed
*Date when action 5 was performed
|-
*Date when action 6 was performed
| OPD4 || Date when action 4 was performed
*Date when action 7 was performed
|-
*Date when action 8 was performed
| OPD5 || Date when action 5 was performed
*Date when action 9 was performed
|-
*Pseudonymized social security number. Created by the National Board of Health and Welfare
| OPD6 || Date when action 6 was performed
*The patient's social security number
|-
*Variable that shows the quality of a personal identification number (PNR) according to certain predetermined rules
| OPD7 || Date when action 7 was performed
 
|-
 
| OPD8 || Date when action 8 was performed
The variable is created using the standard macro-checking; Psychiatric form.
|-
| OPD9 || Date when action 9 was performed
|-
| PSEUDO || Pseudonymized social security number. Created by the National Board of Health and Welfare
|-
| PNR || The patient's social security number
|-
| PNRQ || Variable that shows the quality of a personal identification number (PNR) according to certain predetermined rules. The variable is created with the help of the standard macro checkpnr.
|-
| PSVARD || Psychiatric form of care
|-
| PVARD || Indicates whether the visit was planned or not
|-
| RNR || Indicated if the patient does not have a social security number
|-
| RTC || A list of errors that lists the register's errors after percentage distribution
|-
| SENINV || Latest immigration
|-
| SENUTV || Latest emigration
|-
| SJUKHUS || Hospital from which the patient was discharged
|-
| SKAPAD || Date the register was created
|-
| SLUT || End date for psychiatric form of care
|-
| Slutrapporterad || Indicates whether a care contact has been reported for the last time in accordance with the regulation
|-
| START || Start date for psychiatric form of care
|-
| UTDATUM || The date the patient is discharged
|-
| UTDATUMA || The date the patient is discharged
|-
| UTSATT || Discharge method
|-
| VTF_ID || Serial number. The unique identification of the care contact created by the data provider.
|-
| VTID || Discharge date - admission date, number of days
|}

Latest revision as of 17:23, 4 December 2025

forresearchers swedencountry Go back to Database: Socialstyrelsen National Patient Register (Sweden) page.

Source: Click here to learn more.

Table 1: Specialized outpatient care.

Variable Name Definition
ALDER Age at visit
ALDER_S Age at the end of the year
ANE1 Anesthesia code 1
ANE2 Anesthesia code 2
AR Year of visit
ATC ATC code in case of poisoning. Medicines according to FASS. Max 30 codes
ATCO ATC code for drug delivery. Medicines according to FASS. Max 30 codes
AVBR_AKUT Interrupted care at the emergency department
BED_AKUT_TIDPUNKT Time for medical assessment at the emergency department
CIVIL Marital status of the patient
DIA_ANT Number of reported diagnoses, may be more than 30
DIAGNOS Diagnoses according to ICD. Max 30 diagnoses
DISTRIKT The patient's home district, data from Statistics Sweden
DRG Diagnosis-related grouping, can assume approx. 550 values
EKOD1 External reason code 1
EKOD2 External reason code 2
EKOD3 External reason code 3
EKOD4 External reason code 4
EKOD5 External reason code 5
EKOD6 External reason code 6
EKOD7 External reason code 7
EKOD External reason codes 1-5
FLAND The patient's country of birth
FODAR The patient's year of birth
FODDAT The patient's date of birth
FODDATN The patient's date of birth (text)
HDIA Stated main diagnosis
IDNR A unique serial number for each visit to a healthcare facility. Used, among other things, for DRG grouping. Created by the National Board of Health and Welfare
IN_AKUT_TIDPUNKT Time for the start of outpatient contact at the emergency department
INDATUM Date of outpatient contact (numerical)
INDATUMA Date of outpatient contact (text)
KON Gender of the patient
KONTROLL_DATUM Refers to the date on which automatic delivery control (LOK) was carried out, which takes place in connection with data providers submitting data. For each care contact, it is possible to see when this was last submitted to the National Board of Health and Welfare. The variable is mainly useful for internal quality controls.
KTYP Form of outpatient contact
LK The patient's place of registration, information from Statistics Norway
LKF The patient's place of registration after checking with Statistics Sweden
LKF_IN The patient's place of registration according to the informant
LT_IN Who submitted the data - Private healthcare provider or region
LT_KLIN Clinic from which the patient was discharged
MDC Diagnosis-related grouping, can assume approx. 550 values
MVO Medical practice area visited by the patient
NATION The patient's country of citizenship
OP Action codes, max 30 actions
OP_ANT Number of reported measures, may be more than 30
PSEUDO Pseudonymized social security number. Created by the National Board of Health and Welfare
PNR The patient's social security number
PNRQ Variable showing quality of personal identification number (PNR), created using standard macro checking
PSVARD Psychiatric form of care
PVARD Indicates whether the visit was planned or not
RNR Indicates if the patient does not have a social security number
RTC An error list that lists registry errors by percentage distribution
SENINV Last immigration, year-month or year-month-day
SENUTV Last emigration, year-month or year-month-day
SJUKHUS Hospital at which the patient visited
SKAPAD Date when the register was posted
Slutrapporterad Marks whether a care contact was reported for the last time in accordance with the regulation
UT_AKUT_TIDPUNKT Time for the end of outpatient contact at the emergency department
VERKS_AKUT Indicates whether the visit was an emergency visit and the type of emergency operation
VTF_ID Sequential number, which is the care contact's unique identification as created by the informant

Table 2: Inpatient care.

Variable Name Definition
ALDER Age at discharge date
ALDER_S Age at the end of the year
ANE1 Anesthesia code 1
ANE2 Anesthesia code 2
AR Discharge year
ATC ATC code in case of poisoning. Medicines according to FASS. Max 30 codes
ATCO ATC code for drug delivery. Medicines according to FASS. Max 30 codes
AVTAL The care allowance is regulated according to the agreement
CIVIL Marital status of the patient
DIA_ANT Number of reported diagnoses, may be more than 30
DIAGNOS Diagnoses according to ICD. Max 30 diagnoses
DISTRIKT The patient's home district, data from Statistics Sweden
DRG Diagnosis-related grouping, can assume approx. 550 values
EKOD1 External cause code 1. See ICD code list
EKOD2 External cause code 2. See ICD code list
EKOD3 External cause code 3. See ICD code list
EKOD4 External cause code 4. See ICD code list
EKOD5 External cause code 5. See ICD code list
EKOD External reason code 1-5
FLAND The patient's country of birth
FODAR The patient's year of birth
FODDAT The patient's date of birth
FODDATN The patient's date of birth
HDIA Stated main diagnosis
IDNR A unique serial number for each vtf. Used, among other things, for DRG grouping. Created by the National Board of Health and Welfare
INDATUM The date the patient is enrolled. Number of days from the year 1960-01-01 up to and including INDATUM
INDATUMA The date the patient is enrolled
INSATT How the patient was enrolled
KON Gender of the patient
KONTROLL_DATUM Refers to the date on which automatic delivery control (LOK) was carried out, which takes place in connection with data providers submitting data. For each care contact, it is thus possible to see when this was last submitted to the National Board of Health and Welfare. The variable is mainly useful for internal quality controls
LK The patient's place of registration information from Statistics Norway
LKF The patient's place of registration after checking with Statistics Sweden
LKF_IN The patient's place of registration according to the informant
LT_IN Who submitted the data - Private healthcare provider or region
LT_KLIN Clinic from which the patient was discharged
MDC Care opportunities grouped at chapter level
MVO Medical practice area from which the patient was discharged
NATION The patient's country of citizenship
OP Action codes max. 30 actions
OP_ANT Number of reported measures, may be more than 30
OPD1 Date when action 1 was performed
OPD10 Date when action 10 was performed
OPD11 Date when action 11 was performed
OPD12 Date when action 12 was performed
OPD13 Date when action 13 was performed
OPD14 Date when action 14 was performed
OPD15 Date when action 15 was performed
OPD16 Date when action 16 was performed
OPD17 Date when action 17 was performed
OPD18 Date when action 18 was performed
OPD19 Date when action 19 was performed
OPD2 Date when action 2 was performed
OPD20 Date when action 20 was performed
OPD21 Date when action 21 was performed
OPD22 Date when action 22 was performed
OPD23 Date when action 23 was performed
OPD24 Date when action 24 was performed
OPD25 Date when action 25 was performed
OPD26 Date when action 26 was performed
OPD27 Date when action 27 was performed
OPD28 Date when action 28 was performed
OPD29 Date when action 29 was performed
OPD3 Date when action 3 was performed
OPD30 Date when action 30 was performed
OPD4 Date when action 4 was performed
OPD5 Date when action 5 was performed
OPD6 Date when action 6 was performed
OPD7 Date when action 7 was performed
OPD8 Date when action 8 was performed
OPD9 Date when action 9 was performed
PSEUDO Pseudonymized social security number. Created by the National Board of Health and Welfare
PNR The patient's social security number
PNRQ Variable that shows the quality of a personal identification number (PNR) according to certain predetermined rules. The variable is created with the help of the standard macro checkpnr.
PSVARD Psychiatric form of care
PVARD Indicates whether the visit was planned or not
RNR Indicated if the patient does not have a social security number
RTC A list of errors that lists the register's errors after percentage distribution
SENINV Latest immigration
SENUTV Latest emigration
SJUKHUS Hospital from which the patient was discharged
SKAPAD Date the register was created
SLUT End date for psychiatric form of care
Slutrapporterad Indicates whether a care contact has been reported for the last time in accordance with the regulation
START Start date for psychiatric form of care
UTDATUM The date the patient is discharged
UTDATUMA The date the patient is discharged
UTSATT Discharge method
VTF_ID Serial number. The unique identification of the care contact created by the data provider.
VTID Discharge date - admission date, number of days