noharm-ai / backend Goto Github PK
View Code? Open in Web Editor NEWNoHarm API for Smart Prescription Screening
Home Page: https://noharm.ai/
License: MIT License
NoHarm API for Smart Prescription Screening
Home Page: https://noharm.ai/
License: MIT License
When a prescription is checked, save in prescriptionSnapshot table a snapshot of all risk variable in at the moment of check.
... in several places...
NoHarm's backend code today doesn't have much testing (neither unitary nor acceptance). To start increasing code test coverage, let's start with the broader endpoint acceptance tests.
Develop basic acceptance tests for memory endpoints:
This endpoint get a list of records from memory table with a certain kind. It could be one record or many records.
This endpoint set a new memory record with a specific kind.
This endpoint set a existing memory record with a specific kind.
Try to update a memory that do not exist in the memory table.
The is some GET and POST tests to use as reference such as Patient Test in test folder.
Substituir o readcsv do pandas por uma função:
https://github.com/noharm-ai/backend/blob/master/routes/outlier_generate.py#L123
https://github.com/noharm-ai/backend/blob/master/routes/outlier_lib.py#L2
A NoHarm é uma startup sem fins lucrativos que desenvolve tecnologia para segurança do paciente. Oferecemos nosso produto de forma gratuita para o SUS, uma maneira de criar uma tecnologia inclusiva. Saiba mais sobre nossa arquitetura e infraestrutura na nossa Política de Dados.
Estamos felizes em aceitar suas contribuições para tornar a NoHarm melhor e mais incrível! Para evitar trabalho desnecessário em qualquer lado, siga o seguinte processo:
develop
para testar as suas alteração.Caso você queira apenas ajudar e não saiba por onde começar, pode sugerir a criação de um test unitário para alguma função do backend ou resolver algum bug que tenha encontrado.
Se já existe um ticket, use este número no início de sua mensagem de confirmação.
Use mensagens de confirmação significativas que descrevam o que você fez.
** Exemplo: ** `GH-42: Novo teste unitário para a função get_patients;
Se tiver dúvidas, entre em contato: [email protected]
Implement Read-Only Session from Replica DB
https://gist.github.com/jasonwalkeryung/5133383d66782461cdc3b4607ae35d98
There is some acceptance tests for drugs endpoint, but we can improve it.
Improve acceptance tests for drugs endpoints:
The drugs endpoint definition are in outlier.py file
Improve test_get_drugs_by_idSegment
This is a new test fuction
This is a new test fuction
Can Amazon ElastiCache improve the system performance at some endpoints?
Desenvolver testes unitários para as funções de Memória da API
/memory/string:kind GET
/memory/int:idMemory PUT
Upgrade to SQLAlchemy 1.4.x
Special care with schema change in the same session.
Upgrade flask and deprecated flask-api
Para evitar o overhead de prescrições de itens no CPOE, deve haver um método para calcular a prescrição agrupada através do número do atendimento.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.