Repository navigation
fix(REC): modifica codigo de receta por uno valido para farmacias - #115
Merged
Merged
Conversation
agustin1996ra
self-requested a review
September 4, 2026 17:31
|
Te agrego unas cositas que hice en el de andes. Para que la coleccion counters se use bien, por que necesitabamos agregar un name al counter, para poder llamarlo para las proximas recetas y cree un metodo para que se cree el proximo numero dentro del modle counter, en el que se crea el nuevo contador segun el parametro de la fecha si este no existe. Y tambien agrego en el modelo de la receta de andes cuando falla la comunicacion con andes y se crea en recetar el idReceta. Por que tambien es lo va a enviar desde andes |
ma7payne
force-pushed
the
fix-codigo-receta
branch
from
September 7, 2026 18:51
80b3a17 to
e0a10c9
Compare
silviroa
approved these changes
Sep 7, 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
Funcionalidad desarrollada
Nuevo formato de prescriptionId (13 dígitos)Formato propuesto
YY MM NNNNNNNN P
│ │ │ └─ Plataforma: 1=RecetAR, 0=ANDES
│ │ └─────────── Incremental por mes (8 dígitos)
│ └─────────────── Mes (01-12)
└─────────────────── Año (2 dígitos)
Ejemplo: 2609000000011 → RecetAR, Septiembre 2026, receta #1
Capacidad: 99.999.999 recetas por mes (100M). Más que suficiente.
UserStories llegó a completarse
Requiere actualizaciones en la base de datos