Skip to content

HUDS : Armar api o controladores para situaciones activas y antecedentes#2267

Open
nicolasarana wants to merge 2 commits into
masterfrom
HUDS-203
Open

HUDS : Armar api o controladores para situaciones activas y antecedentes#2267
nicolasarana wants to merge 2 commits into
masterfrom
HUDS-203

Conversation

@nicolasarana

Copy link
Copy Markdown
Contributor

Requerimiento

HUDS-203

Funcionalidad desarrollada

  1. GET /:idPaciente/situacionesActivas
  2. GET /:idPaciente/antecedentesPersonales
  3. GET /:idPaciente/AntecedentesFamiliares
  4. Nuevo router
  5. Agregado campo virtual embarazoEnCurso que retorna true si no tiene fechaFinEmbarazo y la fecha de referencia (último control o creación) está dentro de los últimos 10 meses.

UserStories llegó a completarse

  • Si
  • No

Requiere actualizaciones en la base de datos

  • Si
  • No

@nicolasarana
nicolasarana requested review from a team as code owners June 30, 2026 13:07
@nicolasarana
nicolasarana force-pushed the HUDS-203 branch 2 times, most recently from 572c3ea to f238f6a Compare June 30, 2026 13:13
import * as moment from 'moment';

// SNOMED ECL para antecedentes familiares
const ECL_ANTECEDENTES_FAMILIARES = '<< 57177007';

@MCele MCele Jul 14, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

esta query me parece debería obtenerse desde la BD

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

gracias por la corrección

return null;
}

const expression = '<< 57177007';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

idem anterior

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

corregido

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants