solidprivacy commited on
Commit
5591282
·
1 Parent(s): 1f113be

Document long-form synthetic care corpus contract

Browse files
CARE_PROFILE_LONG_FORM_SYNTHETIC_CORPUS.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Zorgfilter — long-form synthetic care corpus
2
+
3
+ Workpackage: `SCRUB-WP_CARE_PROFILE_LONG_FORM_SYNTHETIC_CORPUS`
4
+
5
+ ## Goal
6
+
7
+ Give testers enough realistic care context to assess readability, recognition, review status and preservation of clinical meaning. The eight existing synthetic examples remain the stable corpus, but their visible document bodies become substantially longer and more structured.
8
+
9
+ ## Stable document families
10
+
11
+ 1. VVT daily nursing report.
12
+ 2. Disability-care plan and evaluation.
13
+ 3. Hospital-to-community nursing transfer.
14
+ 4. Medical-specialist discharge letter.
15
+ 5. General-practice referral to cardiology.
16
+ 6. Pharmacy medication overview.
17
+ 7. Clinical chemistry laboratory report.
18
+ 8. VVT medication-incident report.
19
+
20
+ ## Long-form contract
21
+
22
+ Each visible example must:
23
+
24
+ - retain its current stable ID, name, sector and document type;
25
+ - retain every existing replace, review-selected, preserve, audit-only and ambiguity-trap value;
26
+ - contain at least 250 words in total;
27
+ - add five document-type-specific section headings;
28
+ - provide realistic observations, assessment, care actions and follow-up context;
29
+ - expose the same expanded text through the existing Zorgfilter example selector.
30
+
31
+ ## Privacy boundary
32
+
33
+ The added narrative contains no new:
34
+
35
+ - personal names;
36
+ - patient, client, dossier, referral, insurance, laboratory or incident numbers;
37
+ - dates or clock times;
38
+ - addresses or postcodes;
39
+ - telephone numbers or e-mail addresses;
40
+ - named providers, organizations, departments, rooms or locations.
41
+
42
+ The additions contain no digits. This keeps the current exact identifier and recognizer contracts stable while making the documents more useful for testing.
43
+
44
+ ## Product boundaries
45
+
46
+ This package changes example content only. It does not change:
47
+
48
+ - recognition patterns or profile composition;
49
+ - confidence thresholds or collision precedence;
50
+ - review-selection policy;
51
+ - replacement-table behavior;
52
+ - export filenames, formats or MIME types;
53
+ - Scrub Key schema, binding or warnings;
54
+ - reinsert behavior;
55
+ - cloud processing, runtime dependencies or production-readiness claims.
56
+
57
+ Human review remains mandatory.
58
+
59
+ ## Verification
60
+
61
+ Required gates:
62
+
63
+ 1. Long-form corpus contract tests.
64
+ 2. Existing care corpus, recognizer and cross-profile tests.
65
+ 3. Full GitHub Actions regression.
66
+ 4. GitHub-to-Hugging-Face synchronization.
67
+ 5. Coordinator/user app verification that the eight visible care examples are materially longer, structured and readable without a Script execution error.