Data › Additional resources › Study a thon Dasa Brasil 2026
Nexus Cardiometabolic: SUS data for the Dasa Brazil Study a thon
The 2022–2025 history of about 519 thousand adults with repeated cardiometabolic disease records in SUS, ready for analysis: three Parquet tables with a data dictionary. Prepared by Precision Data, a partner of the event, from public DATASUS data.
Records are real and de-identified, at patient level. The Nexus cohort comes from the deterministic linkage of the SUS outpatient (SIA) and inpatient (SIH) systems, described in Pharmacoepidemiology and Drug Safety (2026). This dataset is its cardiometabolic cut for the theme of the event, cardiovascular health.
- Who is included: patients with two or more records carrying a primary ICD-10 code from the cardiometabolic groups between 2022 and 2025, the first and the last at least 3 months apart, aged 18 or older at the first record. For those included, the whole 2022–2025 history is provided — not only the cardiometabolic records.
ICD-10 groups in the cut (14)
E10–E14Diabetes mellitusE65–E68Obesity and other hyperalimentationK76.0Fatty liver, not elsewhere classifiedK75.8Non-alcoholic steatohepatitis (NASH)E28.2Polycystic ovarian syndromeI00–I02Acute rheumatic feverI05–I09Chronic rheumatic heart diseasesI10–I15Hypertensive diseasesI20–I25Ischaemic heart diseasesI30–I52Other forms of heart diseaseI60–I69Cerebrovascular diseasesI70–I79Diseases of arteries, arterioles and capillariesI80–I89Diseases of veins, lymphatic vessels and lymph nodesI95–I99Other disorders of the circulatory system
- Three tables:
pacientes(one row per person, with sex, birth year, residence and diagnosis groups);eventos(every outpatient encounter and hospital admission in the period, one file per year);peso_altura(all weight and height records from SIA-AM). The join key ispatient_id. See the data dictionary ↓ - Before 2022: the patient table gives the number of distinct cardiometabolic ICD-10 codes each person already had before 2022 (
n_cid_cardiometabolicos_distintos_antes_2022) — zero flags people with no earlier record, and high values those who reached 2022 with several comorbidities. - Weight and height: delivered as they came from the source, with the encounter date. BMI is not computed: these fields need treatment (missing values, zeros, swapped units) before any analysis.
- De-identification: no health card number, postal code, full date of birth or encounter number; the patient is an opaque number; only the birth year is kept; no health professional identification.
- Limits: Nexus gathers people with records in high-complexity outpatient care and hospital admissions — it is not the Brazilian population nor all SUS users, and primary care is not included. State this limitation in your work and disclose aggregated results only.
- Access and license: download restricted to event registrants, upon acceptance of the Data Use Terms (use in the event, in research and in teaching, non-commercially; no re-identification; no redistribution; attribution). Acceptance is recorded before the links are generated.
- Verify the e-mail you registered with for the event (magic link or code, no password).
- Read and accept the Data Use Terms.
- Get one link per file, valid for 24 h — here and by e-mail.
Download restricted to people registered for the Dasa Brazil Study a thon. Links are personal and expire after 24 hours. If they expire, just request new ones (up to 3 requests a day).
The Dasa Brazil Study a thon is a collaborative real-world evidence marathon on Brazilian public data, organized by Dasa with the support of ABSS, Precision Data and Myralis. Theme of the 1st edition: cardiovascular health. Teams work online, with mentoring, and deliver an evidence piece (research question, analysis and scientific abstract) and a portrait (dashboard with a one-page narrative). In-person closing in São Paulo on 9 December 2026.
This dataset is one option for the teams; the event rules govern participation and deliverables.
Oliveira JCB, Sarmento TTR, Rocha DMUP, et al. Nexus: A Deterministic Linkage Framework for Constructing Longitudinal Real-World Data in Brazil's Public Health System. Pharmacoepidemiol Drug Saf. 2026;35(6):e70391. doi:10.1002/pds.70391
Description of every column in the three tables. The join key is patient_id. Column names and values are in Portuguese, as in the files. The same dictionary ships with the download, in README.md (in Portuguese, with an English summary), along with the data limitations and loading examples in Python and R.
Tables: pacientes · eventos_<ano> · peso_altura
pacientes · 22 dictionary rows
| Column | Type | Description |
|---|---|---|
patient_id | integer | Opaque patient identifier (the same across the three tables). It does not correspond to any source identifier. |
sexo | text | Sex recorded in Nexus. |
ano_nascimento | integer | Year of birth. |
idade_indice | integer | Age, in completed years, at the first cardiometabolic record in the period. |
raca_cor | text | Most frequent race/skin colour in the records of the period. |
uf_residencia | text | Most frequent state (UF) of residence in the records of the period. |
municipio_residencia_codigo | text | IBGE code (6 digits) of the most frequent city of residence. |
municipio_residencia_nome | text | Name of that city. |
dt_primeiro_evento_cardiometabolico | date | Date of the first record with a primary ICD-10 code from the groups, in the period. |
dt_ultimo_evento_cardiometabolico | date | Date of the last record with a primary ICD-10 code from the groups, in the period. |
n_datas_evento_cardiometabolico | integer | Number of distinct dates with a cardiometabolic record in the period. |
n_registros_evento_cardiometabolico | integer | Number of cardiometabolic records in the period. |
criterio_mesmo_grupo | boolean | True if there are two records from the same group at least 3 months apart. |
criterio_mesma_categoria | boolean | Same, for the same three-character category (e.g. E11). |
criterio_mesmo_codigo | boolean | Same, for the same full code (e.g. E119). |
teve_e10_e14 … teve_i95_i99 | boolean | One flag per ICD-10 group of the cut: the patient had a record with a primary ICD-10 code from that group in the period (teve_k760, teve_k758 and teve_e282 are the single-code groups). |
n_cid_cardiometabolicos_distintos_antes_2022 | integer | Number of distinct ICD-10 codes from the groups that the patient had before 2022 (primary or secondary diagnosis, since 2012). Zero = no earlier cardiometabolic record in Nexus ("naive" in the period). |
n_categorias_cardiometabolicas_distintas_antes_2022 | integer | The same, counting three-character categories. |
n_grupos_cardiometabolicos_distintos_antes_2022 | integer | The same, counting groups (0 to 14). |
n_datas_evento_cardiometabolico_antes_2022 | integer | Number of distinct dates with a cardiometabolic record before 2022. |
ano_primeiro_evento_cardiometabolico_antes_2022 | integer | Year of the first cardiometabolic record before 2022 (empty if there was none). |
ano_primeiro_registro_nexus | integer | Year of the patient's first record in Nexus, for any diagnosis (Nexus starts in 2012). |
"Naive" here means no earlier record in these systems, not necessarily no disease: people diagnosed and followed only in primary care, or outside SUS, show up as zero.
eventos_<ano> · 22 dictionary rows
Columns added by Precision Data:
| Column | Type | Description |
|---|---|---|
patient_id | integer | Key to pacientes. |
atendimento_id | text | Opaque identifier of the source document of the record. In SIH it identifies the hospital admission (AIH); in the APAC datasets, the APAC; in individualized BPA, it groups the records of the same document. Records from the same document share the same value, and a value never appears for two patients. |
grupo_cardiometabolico | text | ICD-10 group of the primary diagnosis, when it is one of the 14 groups of the cut (e.g. I10-I15); empty in the other records. |
uf_residencia | text | State (UF) of residence of the patient in that record (derived from the city code). |
Nexus columns, as in the source. One hospital admission spans several rows (one per act or service, more than twenty on average): to count admissions, count distinct atendimento_id with base = 'sih_sp'.
| Column | Description |
|---|---|
base | Source system of the record: sih_sp (hospital admissions, SIH), sia_bi (individualized BPA), sia_am (medication APAC), sia_aq (chemotherapy), sia_ar (radiotherapy), sia_at (dialysis treatment), sia_ad (miscellaneous reports), sia_ac (fistula creation), sia_ab (bariatric surgery). |
dt_atend | Encounter date. In SIH it is the admission date (the same on every row of the admission); in SIA it is always day 1 of the competence month. |
dt_saida_inter | Discharge date of the admission (SIH only). |
ano_proc | Processing year of the record. |
proc_id, nm_proc_id, nm_subgrupo_proc_id, nm_grupo_proc_id | Procedure of the record (SIGTAP code) and its hierarchy. In SIH each row is an act or service of the admission, and this is the procedure of that act. |
sp_procrea, nm_sp_procrea, nm_subgrupo_sp_procrea, nm_grupo_sp_procrea | Main procedure of the admission (one per AIH) and its hierarchy. SIH only. |
espec_leito, qt_diarias, qt_diarias_uti, val_tot_internacao | Bed specialty, bed-days, ICU bed-days and total amount of the admission. SIH only, and repeated on every row of the same admission — do not sum row by row. |
morte | Discharge by death in the admission: Com óbito (died) / Sem óbito (did not die). SIH only. |
qt_apres, vl_apres | Quantity and amount presented in the record. They come as text; the amount carries floating-point decimals (e.g. 207.60000610351562) — convert and round. |
cidpri, nm_cidpri, nm_grupo_cidpri, nm_cap_cidpri | Primary diagnosis (ICD-10, without the dot) with name, group and chapter. |
cidsec, nm_cidsec, nm_grupo_cidsec, nm_cap_cidsec | Secondary diagnosis. It carries no information from 2022 onwards in this version of Nexus: it is empty in SIA and 0000 in SIH. |
nu_idade | Age of the patient in the record, in whole years. 999 = age not informed in the source. |
nm_sexo, nm_racacor | Sex and race/skin colour informed in the record. |
munpac, nm_munpac | City of residence of the patient in the record (6-digit IBGE code and name). |
nm_cboprof | Occupation (CBO) of the professional who provided the care. It does not identify the person. |
coduni, nm_fantasia_instituicao, nm_razao_social_instituicao, nm_municipio_instituicao, nm_estado_instituicao, nm_regiao_instituicao | Health facility (CNES code) and its location. |
cnpj_fornecedor, razao_social_fornecedor, nome_fantasia_fornecedor, nat_juridica_forncecedor, cnae_fiscal_fornecedor, municipio_fornecedor, uf_fornecedor | Supplier (legal entity) informed in acts of the admission, when present. SIH only, in about 4% of the rows. |
AQ_MED01 … AQ_MED10 | Medicines informed in the chemotherapy APAC (sia_aq only, when filled in). |
peso_altura · 5 dictionary rows
| Column | Type | Description |
|---|---|---|
patient_id | integer | Key to pacientes. |
competencia | date | Competence month of the APAC (day 1 of the month). It is the encounter date in SIA-AM. |
dt_inicio_validade, dt_fim_validade | date | Start and end of the APAC validity. |
am_peso | text | Weight informed, as it came from the source (usually kilograms, three digits). |
am_altura | text | Height informed, as it came from the source (usually centimetres, three digits). |
BMI is not computed on purpose: weight and height have missing values, zeros, swapped units and repetitions from one month to the next, and need treatment before any analysis. Not every patient in the cohort has a record in SIA-AM, and the table includes years outside the cohort period.