Add breast cancer follow-up reports and patient record

This commit is contained in:
Angel Capetillo Zavala
2026-11-12 22:40:21 -06:00
parent 17a91d3924
commit b84d428814
33 changed files with 2008 additions and 16 deletions
@@ -0,0 +1,7 @@
// A cell that starts with one of these is read as a formula by spreadsheet programs once the text is pasted or converted.
const FORMULA_START = /^[=+\-@\t\r]/;
/** Text that is safe to write into a spreadsheet cell: a leading formula character is neutralised with an apostrophe. */
export function neutralizeFormula(text: string): string {
return FORMULA_START.test(text) ? `'${text}` : text;
}