Skip to content

wilianselzlein/DataSUS

Repository files navigation

DataSUS

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

DataSUS

Exploração dos dados do DataSUS
· Report Bug ·

Table of Contents

About The Project

Product Name Screen Shot

input: IND.csv (file example)

result: CI.xls (file example)

Built With

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

python setup.py install

or

python3 -m pip install --upgrade pip

or

sudo python3 -m pip install -r  requirements.txt 

or

pip install -r  requirements.txt

Spark

  1. Start Apache Spark
cd /opt/spark/sbin
sudo ./start-master.sh
sudo ./start-worker.sh spark://wilian-ubuntu:7077  --cores 2 --memory 8g
  1. Stop Apache Spark
sudo ./stop-master.sh 
sudo ./stop-workers.sh
sudo ./stop-worker.sh

Logging to /opt/spark/logs/spark-ivo-org.apache.spark.deploy.master.Master-1-wilian-ubuntu.out

http://127.0.0.1:8080/

Spark Screen Shot

PostgreSQL

  1. Restart PostgreSQL
sudo systemctl restart postgresql

Run

  1. Importer to PostgreSQL
python3 main.py
A
Sistema Sigla Descricao Arquivo
SIAADLaudos DiversosADufaamm.dbf
SIAAMLaudo de MedicamentosMufaamm.dbf
SIAAMPLaudo de Acompanhamento MultiprofissionalAMPufaamm.dbf
SIAANLaudo de NefrologiaANufaamm.dbf
SIAAQLaudo de QuimioterapiaAQufaamm.dbf
SIAARLaudo de RadioterapiaARufaamm.dbf
SIAABLaudo de Acompanhamento a Cirurgia BariátricaABufaamm.dbf
SIAACFLaudo de Confecção de FístulaACFufaamm.dbf
SIAATDLaudo de Tratamento DialíticoATDufaamm.dbf
SIAPAPRODUÇÃO AMBULATORIALPA UFAAMM . DBF
SIASADATENÇÃO DOMICILIARSAD*. DBF
SIAPSRAAS – PSICOSSOCIALPS*. DBF
SIHRDreduzidas do movimento de AIH
SIHSPprocedimentos hospitalares

Sendo: uf – sigla da Unidade da Federação; aa – ano da competência; mm – mês da competência

CIDS COVID

  • B342 - Infecção por coronavírus de localização não especificada
  • B972 - Coronavírus, como causa de doenças classificadas em outros capítulos
  • U049 - Síndrome Respiratória Aguda Grave – SARS
  • U071 - diagnóstico da Doença respiratória aguda devido ao COVID-19

Roadmap and TODO list

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Ivo - @flonopx - wilianselzlein@gmail.com

Project Link: https://github.com/wilianselzlein/DataSUS

Acknowledgements

SUS:

Spark: