Data › Additional resources › Study a thon Dasa Brasil 2026

Supporting dataset · Dasa Brazil Study a thon — 1st edition

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.

What's in the dataset

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–E14 Diabetes mellitus
    • E65–E68 Obesity and other hyperalimentation
    • K76.0 Fatty liver, not elsewhere classified
    • K75.8 Non-alcoholic steatohepatitis (NASH)
    • E28.2 Polycystic ovarian syndrome
    • I00–I02 Acute rheumatic fever
    • I05–I09 Chronic rheumatic heart diseases
    • I10–I15 Hypertensive diseases
    • I20–I25 Ischaemic heart diseases
    • I30–I52 Other forms of heart disease
    • I60–I69 Cerebrovascular diseases
    • I70–I79 Diseases of arteries, arterioles and capillaries
    • I80–I89 Diseases of veins, lymphatic vessels and lymph nodes
    • I95–I99 Other 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 is patient_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.
Current version manifest
Loading manifest…
Download

  1. Verify the e-mail you registered with for the event (magic link or code, no password).
  2. Read and accept the Data Use Terms.
  3. 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).

Taking part in the event? Do steps 1 and 2 before the opening: your e-mail stays verified in this browser for 30 days and, when the time comes, one click gets you the links.
About the event
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.
Cite the source
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
Data dictionary

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
ColumnTypeDescription
patient_idintegerOpaque patient identifier (the same across the three tables). It does not correspond to any source identifier.
sexotextSex recorded in Nexus.
ano_nascimentointegerYear of birth.
idade_indiceintegerAge, in completed years, at the first cardiometabolic record in the period.
raca_cortextMost frequent race/skin colour in the records of the period.
uf_residenciatextMost frequent state (UF) of residence in the records of the period.
municipio_residencia_codigotextIBGE code (6 digits) of the most frequent city of residence.
municipio_residencia_nometextName of that city.
dt_primeiro_evento_cardiometabolicodateDate of the first record with a primary ICD-10 code from the groups, in the period.
dt_ultimo_evento_cardiometabolicodateDate of the last record with a primary ICD-10 code from the groups, in the period.
n_datas_evento_cardiometabolicointegerNumber of distinct dates with a cardiometabolic record in the period.
n_registros_evento_cardiometabolicointegerNumber of cardiometabolic records in the period.
criterio_mesmo_grupobooleanTrue if there are two records from the same group at least 3 months apart.
criterio_mesma_categoriabooleanSame, for the same three-character category (e.g. E11).
criterio_mesmo_codigobooleanSame, for the same full code (e.g. E119).
teve_e10_e14 … teve_i95_i99booleanOne 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_2022integerNumber 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_2022integerThe same, counting three-character categories.
n_grupos_cardiometabolicos_distintos_antes_2022integerThe same, counting groups (0 to 14).
n_datas_evento_cardiometabolico_antes_2022integerNumber of distinct dates with a cardiometabolic record before 2022.
ano_primeiro_evento_cardiometabolico_antes_2022integerYear of the first cardiometabolic record before 2022 (empty if there was none).
ano_primeiro_registro_nexusintegerYear 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:

ColumnTypeDescription
patient_idintegerKey to pacientes.
atendimento_idtextOpaque 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_cardiometabolicotextICD-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_residenciatextState (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'.

ColumnDescription
baseSource 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_atendEncounter 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_interDischarge date of the admission (SIH only).
ano_procProcessing year of the record.
proc_id, nm_proc_id, nm_subgrupo_proc_id, nm_grupo_proc_idProcedure 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_procreaMain procedure of the admission (one per AIH) and its hierarchy. SIH only.
espec_leito, qt_diarias, qt_diarias_uti, val_tot_internacaoBed 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.
morteDischarge by death in the admission: Com óbito (died) / Sem óbito (did not die). SIH only.
qt_apres, vl_apresQuantity 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_cidpriPrimary diagnosis (ICD-10, without the dot) with name, group and chapter.
cidsec, nm_cidsec, nm_grupo_cidsec, nm_cap_cidsecSecondary diagnosis. It carries no information from 2022 onwards in this version of Nexus: it is empty in SIA and 0000 in SIH.
nu_idadeAge of the patient in the record, in whole years. 999 = age not informed in the source.
nm_sexo, nm_racacorSex and race/skin colour informed in the record.
munpac, nm_munpacCity of residence of the patient in the record (6-digit IBGE code and name).
nm_cboprofOccupation (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_instituicaoHealth facility (CNES code) and its location.
cnpj_fornecedor, razao_social_fornecedor, nome_fantasia_fornecedor, nat_juridica_forncecedor, cnae_fiscal_fornecedor, municipio_fornecedor, uf_fornecedorSupplier (legal entity) informed in acts of the admission, when present. SIH only, in about 4% of the rows.
AQ_MED01 … AQ_MED10Medicines informed in the chemotherapy APAC (sia_aq only, when filled in).
peso_altura · 5 dictionary rows
ColumnTypeDescription
patient_idintegerKey to pacientes.
competenciadateCompetence month of the APAC (day 1 of the month). It is the encounter date in SIA-AM.
dt_inicio_validade, dt_fim_validadedateStart and end of the APAC validity.
am_pesotextWeight informed, as it came from the source (usually kilograms, three digits).
am_alturatextHeight 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.