[misc] Made the tabela data macros reusable outside the patient sheet