————————————— SPANISH (See english version below)
Saludos.
Estoy empezando con Appsheet y no sé muy bien cómo realizar crear una funcionalidad en mi App. En principio, creo que se puede resolver mediante automatización pero también acepto ideas alternativas como modificar mi estructura de datos. Cualquier sugerencia es bienvenida.
Estoy desarrollando una app para generar informes de asistencia sanitaria. Esta app tiene dos tablas principales: Informes y Pacientes. Informes es una tabla maestra que contiene el grueso de los datos y Pacientes es una tabla a la que se hace referencia desde informes.
Un Informe solo puede referenciar a un Id de paciente pero un ID de paciente puede aparecer múltiples informes.
Pacientes dispone de una clave UID a la que se hace referencia desde informes, de tal manera que cuando se genera un informe se puede seleccionar o añadir un nuevo paciente. Esta relación NO tiene marcada la casilla “Is a part of?”
La tabla Informes contiene varios campos incluidos en la tabla Pacientes. La razón de esto es que, para corroborar la correcta filiación del paciente, se necesita mostrar múltiples datos del paciente en el formulario de informe. Estos campos se obtienen de la tabla de pacientes mediante expresiones dereference.
Los valores de los campos raídos de Paciente en el informe se cargan como “Intial Value” para permitir que puedan actualizarse datos del paciente desde ese formulario de informe.
Objetivo
Mi objetivo qué, al guardar o modificar el informe, puedan actualizar en la tabla de pacientes los datos correspondientes al paciente que se hayan modificado (o directamente todos los datos del paciente a los que se hace referencia en Informes).
Creo que esto se podría hacer con un una acción o serie de acciones del tipo Data.
- Data: execute an action on a set of rows
- Data: set the values of some columns in this row
Estoy probado pero no termino de entender los ejemplos que veo. Especialmente creo que me falta la expresión que iría en “Set these columns” de la tabla de Pacientes para traer el dato equivalente de la tabla de informes.
En fin, que cualquier idea, ejemplo o tutoríal sobre este tema seria muy agradecido.
Mil gracias!
————————————— ENGLISH
Greetings.
I’m starting with Appsheet and I’m not sure about how to implement a feature for my App. I think it can be solved through automation actions, but I willing to considerate any alternative approach, such as modifying my data structure or UX. ANY suggestion will be welcome.
I am developing an app to generate health care assistance reports. This app has two main tables: INFORMES (reports) and PACIENTES (patients). INFORMES is a master table that contains the main data, and PACIENTES is a child table which is referenced from reports.
There is only one patient in each report but, one patient could be referenced in multiple reports.
PACIENTES has a UID key that is referenced from INFORMES table, so when a report is generated a new patient can be selected or added. This relationship does NOT have set the “Is a part of?” checkmark.
INFORMES table contains several fields included in PACIENTES. This is because user should be able to corroborate many data from the patient when choosing. These fields are obtained from patient’s table using dereference expressions. Also, data for these columns are load as “Intial Value” to allow updates directly from the reports form.
My goal, is that all patient data could be saved in PACIENTES table when report is saved or modified.
I think this could be done by using Data Actions.
- Data: execute an action on a set of rows
- Data: set the values of some columns in this row
I’m trying this right now but I’m not understanding exactly how it works. I have seen a couple of examples where a column is changed with a fixed value but, Im not sure of which expression should I use in “Set these columns” part in order to load with data obtained from INFORMES table.
Any idea, example or tutorial will be greatly appreciated.
Thanks a lot!





