- This sheet is general information, not personal medical advice. Always follow the instructions from your
- own doctor or pharmacist.
-
+
- This sheet is general information, not personal medical advice. Always follow the instructions from your own
- doctor or pharmacist. In an emergency call 000.
+ {FACTSHEET_DEMO_NOTICE} This sheet is general information, not
+ personal medical advice. Always follow the instructions from your own doctor or pharmacist. In an emergency call
+ 000.
);
diff --git a/src/components/factsheets/factsheets-data.ts b/src/components/factsheets/factsheets-data.ts
index 001e74e7c6..77e769dbc6 100644
--- a/src/components/factsheets/factsheets-data.ts
+++ b/src/components/factsheets/factsheets-data.ts
@@ -13,6 +13,14 @@
* patient information before treating sheets as locally approved.
*/
+/**
+ * Demonstration/governance status shown on-screen and preserved in the printed /
+ * exported take-away, so a handout is never mistaken for approved local patient
+ * information. Kept as a single source of truth for the disclaimer copy.
+ */
+export const FACTSHEET_DEMO_NOTICE =
+ "Demonstration content — not clinician-approved. Governance-approved patient information must replace it before any clinical use or sharing.";
+
export type FactsheetCategory = "Medications" | "Conditions" | "Therapies" | "Tests & procedures";
export type FactsheetKind = "medRich" | "medLite" | "condition" | "therapy" | "procedure";
diff --git a/tests/factsheets-data.test.ts b/tests/factsheets-data.test.ts
index 878589453d..d7c86f8d0b 100644
--- a/tests/factsheets-data.test.ts
+++ b/tests/factsheets-data.test.ts
@@ -1,6 +1,7 @@
import { describe, expect, it } from "vitest";
import {
+ FACTSHEET_DEMO_NOTICE,
factsheetCategories,
factsheets,
factsheetSlugs,
@@ -20,6 +21,13 @@ describe("factsheet library", () => {
expect(findFactsheet("unknown-factsheet")).toBeUndefined();
});
+ it("exposes a demo/governance notice for on-screen and printed take-aways", () => {
+ // The exported handout must never read as approved local patient information.
+ expect(FACTSHEET_DEMO_NOTICE).toMatch(/demonstration/i);
+ expect(FACTSHEET_DEMO_NOTICE).toMatch(/not clinician-approved/i);
+ expect(FACTSHEET_DEMO_NOTICE).toMatch(/before any clinical use/i);
+ });
+
it("has unique slugs and complete governance metadata on every sheet", () => {
const slugs = new Set
();
for (const sheet of factsheets) {