Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IN - Reporte indicaciones de medicamentos #1883

Merged
merged 1 commit into from
Jul 18, 2024
Merged

IN - Reporte indicaciones de medicamentos #1883

merged 1 commit into from
Jul 18, 2024

Conversation

aldoEMatamala
Copy link
Contributor

@aldoEMatamala aldoEMatamala commented Apr 8, 2024

Requerimiento

https://proyectos.andes.gob.ar/browse/IN-574

Funcionalidad desarrollada

  1. Reporte de los pedidos de medicamentos de un sector para realizar el control de entrega de medicación
  2. Extraccion de una planilla con la siguiente información: DNI paciente / sector / unidad org./ cama actual/ los datos del medicamento, filtros por sector, unidad organizativa y por nombre de medicamento para un efector.
  3. Descarga en csv

UserStories llegó a completarse

  • Si
  • No

Requiere actualizaciones en la base de datos

  • Si
  • No

Comment on lines 30 to 32
if (req.query.organizacionID) {
organizacionId = req.query.organizacionID;
} else { organizacionId = Auth.getOrganization(req); }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ambas condiciones se puede resumir en una sola ternaria de la siguiente forma:
organizacionId = (req.query.organizacionID) ? req.query.organizacionID : Auth.getOrganization(req);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corregido gracias!

Copy link
Contributor

@negro89 negro89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

codigo ok

@aldoEMatamala
Copy link
Contributor Author

imagen

@aldoEMatamala
Copy link
Contributor Author

imagen

@negro89 negro89 merged commit e13a6fc into master Jul 18, 2024
2 checks passed
@negro89 negro89 deleted the IN-574 branch July 18, 2024 16:07
liquid36 pushed a commit that referenced this pull request Jul 24, 2024
# [5.111.0](v5.110.0...v5.111.0) (2024-07-24)

### Bug Fixes

* **AM:** se modifica la distancia para sacar turnos por mobile ([#1881](#1881)) ([#1883](#1883)) ([e13a6fc](e13a6fc))
* **CITAS:** corrige errores en job cerrar demanda insatisfecha ([#1920](#1920)) ([01d6c5f](01d6c5f))

### Features

* **HUDS:** controla permisos para ver la HUDS ([#1871](#1871)) ([756c2b1](756c2b1))
JuanIRamirez pushed a commit that referenced this pull request Aug 2, 2024
* **AM:** se modifica la distancia para sacar turnos por mobile ([#1881](#1881)) ([#1883](#1883)) ([e13a6fc](e13a6fc))
* **CITAS:** corrige errores en job cerrar demanda insatisfecha ([#1920](#1920)) ([01d6c5f](01d6c5f))

* **HUDS:** controla permisos para ver la HUDS ([#1871](#1871)) ([756c2b1](756c2b1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants