Closed kuvakina closed 5 years ago
This task was done.
RecordsOfTable is a component, which used in create/edit form in two plugins: TransfersOfCare and PROMs.
It uses info about core-plugins Diagnosis and Medications and non-core plugins Events, Vitals, Procedures, Referrals.
History of changes: 1) When we start work on PulseTile, RecordsOfTable were located in Core. 2) When we created Core-version, we disabled all rows in RecordsOfTable, which were necessary for link with non-core plugins Events, Vitals, Procedures, Referrals. 3) When we worked on Showcase-version, we moved RecordsOfTable to PROMs plugin. Generator extracted it from PROMs and installed in Core
After this we decided to change generation principle. Generators can't change Core.
For this reason we updated RecordsOfTable:
This component is located in PROMs plugin: https://github.com/PulseTile-Plugins/Plugin-PROMS/tree/master/RecordsOfTable
During installation, it is moved in the Core to src/components/form-fields/
RecordsOfTable is used in two plugins: PROMs and TransfersOfCare. But it uses information from the plugins Diagnosis, Medications, Events, Referrals, Vitals, Procedures.
We should do the following: 1) Move RecordsOfTable in the Core to src/components/form-fields; 2) Update RecordsOfTable. It is necessary to provide the possibility to use RecordsOfTable independently from non-core plugins set. Installing of plugins shouldn't change Core.