Published June 8, 2026 | Version v1

SISAB municipal primary care production and CID/CIAP attendance data, Brazil, 2024

Authors/Creators

  • 1. ROR icon Fundação Oswaldo Cruz

Description

Description

This deposit contains annual, municipality-level datasets derived from the Brazilian Primary Health Care Information System (SISAB). The files combine two complementary data sources:

  1. Public SISAB Saúde report downloads from the Atendimento/Visita production report.
    CID-10 and CIAP-2 attendance data obtained from SISAB through requests under the Brazilian Access to Information Law (Lei de Acesso à Informação, LAI).
  2. The datasets are organized as tidy annual files in CSV (Zipped) and Parquet format. They are intended to support reproducible analysis of primary care production, procedures, evaluated problems/conditions, and CID/CIAP-coded attendances across Brazilian municipalities.

The public SISAB report datasets are stratified by competence month, state, municipality, DataSUS age group, SISAB sex category, and the selected report category. For each competence month and report type, the extraction combines 36 stratified SISAB downloads: 18 age groups by 2 sex values. Monthly files are merged into yearly files, completing missing combinations of observed competence, municipality, age group, sex, and category with valor = 0.

The LAI dataset contains yearly CID-10 and CIAP-2 attendance counts by competence month, municipality, code type, and code. When multiple valid LAI files cover the same competence, the processing pipeline selects the file with the largest number of data rows, using file size and request folder order as tie-breakers. Provenance columns identify the selected LAI request and source file.

Variables

SISAB Saúde Produção

Columns:

  • competencia: competence month in YYYYMM format.
  • uf: Brazilian state abbreviation.
  • ibge: municipality IBGE code.
  • municipio: municipality name.
  • faixa_etaria: Age group.
  • sexo: SISAB sex category, Masculino or Feminino.
  • tipo_producao: production type from the SISAB report.
  • valor: count reported by SISAB.

SISAB Saúde Procedimento

Columns:

  • competencia: competence month in YYYYMM format.
  • uf: Brazilian state abbreviation.
  • ibge: municipality IBGE code.
  • municipio: municipality name.
  • faixa_etaria: age group.
  • sexo: SISAB sex category, Masculino or Feminino.
  • procedimento: procedure from the SISAB report.
  • valor: count reported by SISAB

SISAB Saúde Condição Avaliada

Columns:

  • competencia: competence month in YYYYMM format.
  • uf: Brazilian state abbreviation.
  • ibge: municipality IBGE code.
  • municipio: municipality name.
  • faixa_etaria: age group.
  • sexo: SISAB sex category, Masculino or Feminino.
  • condicao_avaliada: evaluated problem or condition from the SISAB report.
  • valor: count reported by SISAB.

SISAB LAI CID/CIAP

Columns:

  • ano_competencia: competence year.
  • competencia: competence month in YYYYMM format.
  • competencia_date: first day of the competence month.
  • co_municipio_ibge: municipality IBGE code.
  • tp_codigo: code type, CID or CIAP.
  • codigo: CID-10 or CIAP-2 code.
  • qt_atendimentos: number of attendances.
  • source_request: selected LAI request folder.
  • source_file: selected source CSV file.

Methods

The public SISAB report files were generated with the sisab_scrapper processing pipeline. For each month, report type, age group, and sex value, the pipeline downloads the all-Brazil municipality report from SISAB, validates the returned CSV, preserves raw cache files for resumable runs, and writes a sorted monthly tidy dataset. The yearly merge validates required columns, expected age groups, expected sex values, category values, and month gaps unless explicitly allowed.

The CID/CIAP files were generated with the sisab_lai processing pipeline. The pipeline imports CSV files received through LAI requests, detects the real CSV header after any SQL*Plus preamble, validates candidate files, resolves overlapping requests by competence, standardizes old and new schemas into one tidy table, and exports annual CSV and Parquet files together with audit reports.

Sources

- SISAB public reports, Ministry of Health, Brazil: https://sisab.saude.gov.br/
- SISAB LAI files obtained through Brazilian Access to Information Law requests.
- Processing code for public SISAB report data: https://github.com/rfsaldanha/sisab_scrapper
- Processing code for LAI CID/CIAP data: https://github.com/rfsaldanha/sisab_lai

Notes

- Counts are aggregated administrative records and should be interpreted in light of SISAB reporting practices, data quality, and changes in municipal reporting coverage.
- Municipality boundaries, names, and coding practices may vary over time.
- Public SISAB report datasets are completed with zero values only for combinations defined by observed municipalities, observed competencies, all expected age groups, both expected sex values, and observed report categories within the yearly merge.
- LAI CID/CIAP data preserves selected source-file provenance through source_request and source_file.
- This deposit corresponds to an individual year. Deposits for other years are published separately.

 

Files

sisab_saude_ciap_cid_2024.csv.zip

Files (953.8 MB)

Name Size
md5:e47e26956c63309672e19ec62e02d055
107.2 MB Preview Download
md5:dd6e46fda6b8f741e19e3ad7570e6d79
82.4 MB Download
md5:00f116779894a538356a3f19e8b25581
211.4 MB Preview Download
md5:61c2d1eefe775c098ddfabc0be8ee15b
36.5 MB Download
md5:102dd218087e834048ef27fb906b71f9
387.7 MB Preview Download
md5:ab3b07a053afaff4e50b235cfa1e5d8f
61.2 MB Download
md5:bdf7daf2b4aac431783ea2f302a237e8
50.3 MB Preview Download
md5:367e793fc275a07daf19fa0c438435c2
17.2 MB Download