MPI - Filtros para busqueda de paciente#2237
Open
aldoEMatamala wants to merge 1 commit into
Open
Conversation
7 tasks
MarianoCampetella
approved these changes
May 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requerimiento
https://proyectos.andes.gob.ar/browse/MPI-478
Note
PR APP andes/app#3349
Funcionalidad desarrollada
Mapeo del campo Obra Social: Se agrega la propiedad obraSocial al diccionario searchFileds del recurso PacienteCtr, enlazando el campo entrante con la ruta interna financiador.nombre y aplicando la función MongoQuery.partialString.
Integración con multimatch: Se modifica el controlador de la ruta GET /pacientes para que procese el objeto conditions a través de MongoQuery.buildQuery(conditions, PacienteCtr.searchFileds) antes de inyectarlo como filtro en la función multimatch, asegurando que las expresiones regulares de búsqueda parcial y el formateo de fechas nativos se apliquen automáticamente.
UserStories llegó a completarse
Requiere actualizaciones en la base de datos