The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
The SIA (Sistema de Informacoes Ambulatoriais) records all outpatient procedures performed in the Brazilian public health system (SUS), including consultations, exams, and high-complexity procedures. It is managed by the Ministry of Health through DATASUS.
| Feature | Details |
|---|---|
| Coverage | Per state (UF), all 27 states |
| Years | 2008–2024 |
| Granularity | Monthly (one file per type/UF/month) |
| Unit | One row per outpatient procedure record |
| Format | .dbc files from DATASUS FTP |
SIA organizes data into 13 file types. The default is PA (outpatient production):
| Type | Description |
|---|---|
| PA | Outpatient production (BPA, default) |
| BI | Individualized BPA |
| AD | APAC - Dialysis |
| AM | APAC - Chemotherapy/Radiotherapy |
| AN | APAC - Nephrology |
| AQ | APAC - Other procedures |
| AR | APAC - Orthopedic Surgery |
| AB | APAC - Bariatric Surgery |
| ACF | APAC - Cleft Lip/Palate |
| ATD | APAC - TFD (Treatment Away from Home) |
| AMP | APAC - Specialized Medicines |
| SAD | RAAS - Home Care |
| PS | RAAS - Psychosocial Care |
Use SIGTAP procedure code prefixes:
| Variable | Description |
|---|---|
| PA_PROC_ID | Procedure code (SIGTAP) |
| PA_CIDPRI | Principal diagnosis (CID-10) |
| PA_SEXO | Sex (1=Male, 2=Female) |
| PA_IDADE | Patient age |
| PA_MUNPCN | Municipality of patient’s residence |
| PA_VALAPR | Approved value (R$) |
| PA_QTDAPR | Approved quantity |
| PA_CODUNI | Health facility (CNES code) |
| PA_GESTAO | Management level |
| PA_CONDIC | Processing condition |
outpatient <- sia_data(year = 2022, uf = "SP", month = 1)
spending <- outpatient |>
filter(!is.na(PA_CIDPRI), PA_CIDPRI != "") |>
mutate(
chapter = substr(PA_CIDPRI, 1, 1),
value = as.numeric(PA_VALAPR)
) |>
group_by(chapter) |>
summarise(
records = n(),
total_value = sum(value, na.rm = TRUE)
) |>
arrange(desc(total_value))datasus.saude.gov.br)wiki.saude.gov.br/sigtap)These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.