From c7649594d42ae055f7cb0f936e26a229be1bef02 Mon Sep 17 00:00:00 2001 From: Sergei Gorlovetsky <136336554+Sergei-gorlovetsky@users.noreply.github.com> Date: Fri, 20 Nov 2026 08:25:21 -0500 Subject: [PATCH 1/2] Blind v11: 400 hand-written messages, audited labels, frozen first score Written by four blind authors from one brief (Atlanta clinic with a Halifax office: long threads with numbers given in pieces and read back, staff shorthand with patient initials, rural routes, counties, reserves and GPS coordinates, payment handles and bank numbers, photo and attachment names, foster care and adoption). Two blind annotators per 100 messages and an adjudicator kept 68 label corrections. Scored once against 7fb0f01 before any change: 88.4% recall with the local model. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Sergei Gorlovetsky <136336554+Sergei-gorlovetsky@users.noreply.github.com> --- benchmark/blind/audit_v11.jsonl | 68 ++++ benchmark/blind/blind_v11.source.jsonl | 400 +++++++++++++++++++ benchmark/blind/clinic_v11.json | 9 + benchmark/blind/staff_initials_v11.json | 1 + benchmark/blind/staff_v11.json | 1 + benchmark/data/patient_comms_blind_v11.jsonl | 400 +++++++++++++++++++ benchmark/results_blind_v11_frozen.json | 182 +++++++++ 7 files changed, 1061 insertions(+) create mode 100644 benchmark/blind/audit_v11.jsonl create mode 100644 benchmark/blind/blind_v11.source.jsonl create mode 100644 benchmark/blind/clinic_v11.json create mode 100644 benchmark/blind/staff_initials_v11.json create mode 100644 benchmark/blind/staff_v11.json create mode 100644 benchmark/data/patient_comms_blind_v11.jsonl create mode 100644 benchmark/results_blind_v11_frozen.json diff --git a/benchmark/blind/audit_v11.jsonl b/benchmark/blind/audit_v11.jsonl new file mode 100644 index 0000000..2544ce3 --- /dev/null +++ b/benchmark/blind/audit_v11.jsonl @@ -0,0 +1,68 @@ +{"id": "v11-en-sms-004", "action": "add", "type": "NAME", "surface": "MacIsaac", "occurrence": 1, "reason": "surname of labelled first name"} +{"id": "v11-en-sms-007", "action": "add", "type": "NAME", "surface": "Joaquin", "occurrence": 1, "reason": "patient first name"} +{"id": "v11-en-sms-014", "action": "add", "type": "NAME", "surface": "Ines", "occurrence": 1, "reason": "wife's name"} +{"id": "v11-en-sms-019", "action": "add", "type": "NAME", "surface": "Ngozi O", "occurrence": 1, "reason": "patient name as shown on Zelle"} +{"id": "v11-en-chat-049", "action": "add", "type": "NAME", "surface": "Tyrone Gaines", "occurrence": 1, "reason": "patient states own name"} +{"id": "v11-en-chat-056", "action": "add", "type": "NAME", "surface": "Gwen", "occurrence": 2, "reason": "greeting of patient"} +{"id": "v11-en-chat-056", "action": "add", "type": "NAME", "surface": "Gwen", "occurrence": 4, "reason": "quoted greeting of patient"} +{"id": "v11-en-chat-063", "action": "add", "type": "DATE", "surface": "June", "occurrence": 1, "reason": "DOB month"} +{"id": "v11-en-chat-063", "action": "add", "type": "DATE", "surface": "June", "occurrence": 2, "reason": "DOB month"} +{"id": "v11-en-chat-063", "action": "add", "type": "DATE", "surface": "12th", "occurrence": 1, "reason": "patient appointment day"} +{"id": "v11-en-chat-077", "action": "add", "type": "NAME", "surface": "Szczepanski", "occurrence": 1, "reason": "patient surname before spelling"} +{"id": "v11-en-chat-083", "action": "add", "type": "ADDRESS", "surface": "Truro", "occurrence": 1, "reason": "town where person lives"} +{"id": "v11-en-chat-089", "action": "add", "type": "ACCOUNT", "surface": "PA-90214477", "occurrence": 2, "reason": "quoted prior auth"} +{"id": "v11-en-call-101", "action": "add", "type": "DATE", "surface": "March ninth, nineteen eighty-seven", "occurrence": 1, "reason": "spoken DOB"} +{"id": "v11-en-call-101", "action": "add", "type": "PHONE", "surface": "404-555-0182", "occurrence": 1, "reason": "patient phone read back"} +{"id": "v11-en-call-101", "action": "add", "type": "PHONE", "surface": "404-555-0128", "occurrence": 1, "reason": "patient phone read back"} +{"id": "v11-en-call-101", "action": "add", "type": "PHONE", "surface": "Zero one two eight", "occurrence": 1, "reason": "spoken phone digits"} +{"id": "v11-en-call-105", "action": "add", "type": "NAME", "surface": "P, A, U, L", "occurrence": 1, "reason": "surname spelled letter by letter"} +{"id": "v11-en-call-105", "action": "add", "type": "HEALTH_CARD", "surface": "one two three four, five six seven, eight nine zero", "occurrence": 1, "reason": "spoken health card"} +{"id": "v11-en-call-110", "action": "add", "type": "EMAIL", "surface": "k, e, l, l, i, s, o, n, eight eight, at example dot com", "occurrence": 1, "reason": "spelled email"} +{"id": "v11-en-call-111", "action": "add", "type": "ADDRESS", "surface": "Decatur", "occurrence": 1, "reason": "city where caller lives"} +{"id": "v11-en-call-114", "action": "add", "type": "ADDRESS", "surface": "the blue house past the Circle K on Hwy 20, and then the second gravel drive on the left", "occurrence": 1, "reason": "directions to home"} +{"id": "v11-en-call-122", "action": "add", "type": "ACCOUNT", "surface": "INV-30871", "occurrence": 1, "reason": "invoice tied to person"} +{"id": "v11-en-call-138", "action": "add", "type": "NAME", "surface": "A, C, H, E, B, E", "occurrence": 1, "reason": "surname spelled letter by letter"} +{"id": "v11-en-email-141", "action": "add", "type": "ADDRESS", "surface": "Sandy Springs", "occurrence": 1, "reason": "city where patient lives"} +{"id": "v11-en-email-141", "action": "add", "type": "DATE", "surface": "Nov 14", "occurrence": 1, "reason": "beta date tied to patient"} +{"id": "v11-en-email-145", "action": "add", "type": "ACCOUNT", "surface": "INV-30119", "occurrence": 1, "reason": "invoice tied to person"} +{"id": "v11-en-note-193", "action": "add", "type": "ID", "surface": "tmbeki_2231", "occurrence": 2, "reason": "username repeat"} +{"id": "v11-en-note-193", "action": "add", "type": "ID", "surface": "tmbeki_2231", "occurrence": 3, "reason": "username repeat"} +{"id": "v11-en-note-193", "action": "add", "type": "ID", "surface": "tmbeki_2231", "occurrence": 4, "reason": "username repeat"} +{"id": "v11-en-note-193", "action": "add", "type": "ID", "surface": "tmbeki_2231", "occurrence": 5, "reason": "username repeat"} +{"id": "v11-en-note-193", "action": "add", "type": "IP_ADDRESS", "surface": "198.51.100.120", "occurrence": 2, "reason": "IP repeat"} +{"id": "v11-en-note-193", "action": "add", "type": "MRN", "surface": "0071882", "occurrence": 1, "reason": "chart number"} +{"id": "v11-en-note-196", "action": "add", "type": "NAME", "surface": "Fadi", "occurrence": 2, "reason": "spouse first name"} +{"id": "v11-es-email-005", "action": "add", "type": "NAME", "surface": "Fernanda Treviño", "occurrence": 1, "reason": "From display name"} +{"id": "v11-es-email-005", "action": "add", "type": "NAME", "surface": "Fernanda T.", "occurrence": 1, "reason": "signature"} +{"id": "v11-es-email-005", "action": "add", "type": "ADDRESS", "surface": "Monterrey", "occurrence": 1, "reason": "city she writes from"} +{"id": "v11-es-call-008", "action": "add", "type": "NAME", "surface": "a-l-t-a-g-r-a-c-i-a", "occurrence": 1, "reason": "name spelled letter by letter"} +{"id": "v11-es-call-013", "action": "add", "type": "ADDRESS", "surface": "Valencia", "occurrence": 1, "reason": "city caller is calling from"} +{"id": "v11-es-email-015", "action": "add", "type": "ADDRESS", "surface": "Medellín", "occurrence": 1, "reason": "city of origin"} +{"id": "v11-es-chat-017", "action": "add", "type": "ADDRESS", "surface": "Santo Domingo", "occurrence": 1, "reason": "city patient is from"} +{"id": "v11-es-call-018", "action": "add", "type": "ADDRESS", "surface": "Guadalajara", "occurrence": 1, "reason": "where patient is staying"} +{"id": "v11-es-chat-022", "action": "add", "type": "DATE", "surface": "julio", "occurrence": 1, "reason": "birth month given in parts"} +{"id": "v11-es-email-025", "action": "add", "type": "NAME", "surface": "Sofía Valderrama", "occurrence": 1, "reason": "From display name"} +{"id": "v11-es-email-025", "action": "add", "type": "ADDRESS", "surface": "Bogotá", "occurrence": 1, "reason": "city patient is from"} +{"id": "v11-es-email-029", "action": "add", "type": "NAME", "surface": "AB", "occurrence": 1, "reason": "patient initials in subject"} +{"id": "v11-es-call-033", "action": "add", "type": "ADDRESS", "surface": "Ciudad de México", "occurrence": 1, "reason": "city where caller lives"} +{"id": "v11-es-email-039", "action": "add", "type": "NAME", "surface": "Ernesto Villalobos", "occurrence": 1, "reason": "From display name"} +{"id": "v11-es-sms-046", "action": "add", "type": "ADDRESS", "surface": "santiago", "occurrence": 1, "reason": "city patient is from"} +{"id": "v11-es-email-055", "action": "add", "type": "ADDRESS", "surface": "Valencia", "occurrence": 1, "reason": "city patient is from"} +{"id": "v11-es-email-059", "action": "add", "type": "NAME", "surface": "Camila Duque", "occurrence": 1, "reason": "From display name"} +{"id": "v11-fr-email-005", "action": "add", "type": "NAME", "surface": "Nadine Haddad-Khoury", "occurrence": 1, "reason": "From display name"} +{"id": "v11-fr-email-005", "action": "add", "type": "ADDRESS", "surface": "Beyrouth", "occurrence": 1, "reason": "city of origin"} +{"id": "v11-fr-call-008", "action": "add", "type": "ADDRESS", "surface": "Casablanca", "occurrence": 1, "reason": "city of origin"} +{"id": "v11-fr-email-015", "action": "add", "type": "NAME", "surface": "Sophie Marchetti", "occurrence": 1, "reason": "From display name"} +{"id": "v11-fr-email-015", "action": "add", "type": "ADDRESS", "surface": "Lyon", "occurrence": 1, "reason": "city where patient lives"} +{"id": "v11-fr-call-018", "action": "add", "type": "ADDRESS", "surface": "Québec", "occurrence": 1, "reason": "city patient comes from"} +{"id": "v11-fr-call-023", "action": "add", "type": "ADDRESS", "surface": "Beyrouth", "occurrence": 1, "reason": "city of origin"} +{"id": "v11-fr-sms-026", "action": "add", "type": "ADDRESS", "surface": "route 11", "occurrence": 1, "reason": "directions to home"} +{"id": "v11-fr-chat-027", "action": "add", "type": "ADDRESS", "surface": "Kinshasa", "occurrence": 1, "reason": "city of origin"} +{"id": "v11-fr-email-039", "action": "add", "type": "NAME", "surface": "Nathalie Pellerin", "occurrence": 1, "reason": "From display name"} +{"id": "v11-es-note-054", "action": "remove", "type": "ADDRESS", "surface": "Orlando", "occurrence": 1, "reason": "weekend travel destination, not residence"} +{"id": "v11-fr-note-040", "action": "retype", "from": "NAME", "type": "PROVIDER", "surface": "Luc Doucet", "occurrence": 1, "reason": "pharmacist"} +{"id": "v11-mixed-email-027", "action": "add", "type": "NAME", "surface": "Isabelle", "occurrence": 2, "reason": "patient first name in signature"} +{"id": "v11-mixed-email-030", "action": "add", "type": "NAME", "surface": "Sandrine", "occurrence": 2, "reason": "sender first name in signature"} +{"id": "v11-mixed-email-031", "action": "add", "type": "NAME", "surface": "Rania", "occurrence": 2, "reason": "patient first name in signature"} +{"id": "v11-mixed-email-034", "action": "add", "type": "DATE", "surface": "11/12", "occurrence": 1, "reason": "charge date tied to patient payment"} +{"id": "v11-mixed-email-034", "action": "add", "type": "DATE", "surface": "11/14", "occurrence": 1, "reason": "charge date tied to patient payment"} diff --git a/benchmark/blind/blind_v11.source.jsonl b/benchmark/blind/blind_v11.source.jsonl new file mode 100644 index 0000000..1d92c7f --- /dev/null +++ b/benchmark/blind/blind_v11.source.jsonl @@ -0,0 +1,400 @@ +{"id":"v11-en-sms-001","channel":"sms","lang":"en","text":"Hi it's [[NAME|Tamsin]], confirming my retrieval is 0630 tomorrow, no food after midnight right? Trigger was 10,000 units at 2130h","known":{"names":["Tamsin Aldridge"],"phones":["404-555-0191"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-002","channel":"sms","lang":"en","text":"Reminder: your monitoring appt is at 0815h. Please arrive 10 min early and bring your med log. Reply C to confirm. Magnolia Reproductive Associates 404-555-0700","known":{}} +{"id":"v11-en-sms-003","channel":"sms","lang":"en","text":"Dr. [[PROVIDER|Okonkwo]] said my E2 was 1450 and lining 9.2, do I keep the same Gonal-f dose? thx - [[NAME|Priya]]","known":{"names":["Priya Venkataraman"],"phones":["770-555-0162"],"emails":[],"dates_of_birth":["1990-02-14"],"addresses":[],"identifiers":["MRN 0063318"]}} +{"id":"v11-en-sms-004","channel":"sms","lang":"en","text":"Mon 4:12pm: can you update my number? the old one got shut off\nMon 4:40pm Clinic: Of course. What's the new number?\nTue 8:05am: ok so area code is [[PHONE|902]], then [[PHONE|555]], then [[PHONE|0163]]\nTue 8:30am Clinic: Thanks, saved. Anything else to update?\nTue 8:31am: nope that's all, [[NAME|Ruth Ann]] MacIsaac","known":{"names":["Ruth Ann MacIsaac"],"phones":["902-555-0145"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-005","channel":"sms","lang":"en","text":"For the meds shipment please use [[ADDRESS|RR 2, Site 4, Box 12]], [[ADDRESS|Shubenacadie]] NS [[POSTAL_CODE|B0N 2H0]]. Courier can't find us otherwise","known":{"names":[],"phones":["902-555-0177"],"emails":[],"dates_of_birth":[],"addresses":["RR 2 Site 4 Box 12, Shubenacadie NS B0N 2H0"],"identifiers":[]}} +{"id":"v11-en-sms-006","channel":"sms","lang":"en","text":"Menopur lot 4471B and Cetrotide lot 90215 were both in the fridge box, the pharmacy slip says CPT 76830 for the scan. Is that normal?","known":{}} +{"id":"v11-en-sms-007","channel":"sms","lang":"en","text":"sent the $400 deposit to your Venmo, my handle is [[ACCOUNT|@jlopez-ATL88]] in case it shows a weird name. its under Joaquin","known":{"names":["Joaquin Lopez"],"phones":["678-555-0123"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-008","channel":"sms","lang":"en","text":"my SIN is [[SIN|193 456 787]] for the fertility tax credit form, please don't text it back to me","known":{"names":["Alanna Chisholm"],"phones":["902-555-0119"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-009","channel":"sms","lang":"en","text":"Heads up from [[PROVIDER|Hope]] - Rm 3 needs restock before 1030h, [[PROVIDER|MJP]] is covering triage till 1400. Pls don't double book the 1100 scan","known":{}} +{"id":"v11-en-sms-010","channel":"sms","lang":"en","text":"Meet at the pull-off near [[ADDRESS|44.6488, -63.5752]], I'll have the cooler for the sample drop. Look for the grey Civic","known":{"names":["Lucas Pellerin"],"phones":["902-555-0108"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-011","channel":"sms","lang":"en","text":"Is the HSG covered under CPT 74740? Also are you closed Dec 24? I want to get the day 10 scan done before the holidays","known":{}} +{"id":"v11-en-sms-012","channel":"sms","lang":"en","text":"my DOB is [[DATE|April 3, 1991]] and my husband [[NAME|Devontae]] is [[DATE|11/17/1989]] for the paperwork you asked about","known":{"names":["Simone Ellis","Devontae Ellis"],"phones":["404-555-0151"],"emails":[],"dates_of_birth":["1991-04-03"],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-013","channel":"sms","lang":"en","text":"they asked for my MSI number again: [[HEALTH_CARD|1234 567 890]]. is that the same as the one on the intake sheet","known":{"names":["Alanna Chisholm"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["HEALTH_CARD 1234 567 891"]}} +{"id":"v11-en-sms-014","channel":"sms","lang":"en","text":"Hello, this is [[NAME|Corinne]]. The embryo transfer is for me and my wife, her name is [[NAME|I-N-E-S]], like Ines but with the spelling on her passport. She'll come to the 0900h visit","known":{"names":["Corinne Baudoin"],"phones":["902-555-0133"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-015","channel":"sms","lang":"en","text":"Thx! so BMI 31.2 means they want the metformin first? 2:15pm ET works for the call","known":{}} +{"id":"v11-en-sms-016","channel":"sms","lang":"en","text":"Invoice [[ACCOUNT|INV-208841]] is double billed. $1,850 twice! The card ending [[ACCOUNT|4417]] got hit both times. Please fix today","known":{"names":["Ebony Harmon"],"phones":["470-555-0186"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["ACCOUNT INV-208841"]}} +{"id":"v11-en-sms-017","channel":"sms","lang":"en","text":"HR at [[EMPLOYER|Peachtree Logistics Group]] said the fertility benefit goes through [[NAME|Maribel Quintanilla]], she needs a letter from your office with CPT codes","known":{"names":["Rosa Aguilar"],"phones":["404-555-0166"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-018","channel":"sms","lang":"en","text":"lol embryology called mine a 4AA blast like it's a school grade. is that good? 2 of 3 made it to day 5","known":{}} +{"id":"v11-en-sms-019","channel":"sms","lang":"en","text":"Zelled the copay from [[EMAIL|ngozi.o@example.com]], should show as Ngozi O. Please confirm it landed","known":{"names":["Ngozi Okafor"],"phones":["404-555-0120"],"emails":["ngozi.okafor@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-020","channel":"sms","lang":"en","text":"Positive!!! Beta 312 at 14dpt. Told [[NAME|Kwame]] last night and he cried. Can I come in [[DATE|Nov 24]] for the repeat?","known":{"names":["Efua Mensah"],"phones":["404-555-0137"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-021","channel":"sms","lang":"en","text":"Magnolia Reproductive Associates will be closed Thanksgiving Thursday and Friday. Back Monday 0800h. For urgent issues call the on-call line 404-555-0700 and press 2.","known":{}} +{"id":"v11-en-sms-022","channel":"sms","lang":"en","text":"can we push to 1400? my mother in law [[NAME|Helga]], she's [[AGE|92]], fell and I'm at urgent care with her","known":{"names":["Brigitte Kowal"],"phones":["404-555-0182"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-023","channel":"sms","lang":"en","text":"we live in [[ADDRESS|Eskasoni]] so the drive to your Halifax office is about 4 hrs, can the bloodwork be done at the clinic closer to home instead","known":{"names":["Jordan Marshall"],"phones":["902-555-0172"],"emails":[],"dates_of_birth":[],"addresses":["Eskasoni NS"],"identifiers":[]}} +{"id":"v11-en-sms-024","channel":"sms","lang":"en","text":"I'm out in [[ADDRESS|Cobb County]] so 0730 monitoring is hard with the 285 traffic. Any 0900 slots? thanks Mrs [[NAME|Whitlock]]","known":{"names":["Denise Whitlock"],"phones":["770-555-0140"],"emails":[],"dates_of_birth":[],"addresses":["Marietta GA"],"identifiers":[]}} +{"id":"v11-en-sms-025","channel":"sms","lang":"en","text":"for the courier its [[ADDRESS|the blue house past the Circle K on Hwy 20]], gate is open, dog is friendly. Ask for [[NAME|Mr Tran]]","known":{"names":["Khoa Tran"],"phones":["678-555-0158"],"emails":[],"dates_of_birth":[],"addresses":["Loganville GA"],"identifiers":[]}} +{"id":"v11-en-sms-026","channel":"sms","lang":"en","text":"Your results are ready in the portal. AMH 0.8, FSH 7.1, antral follicle count 9. Your nurse will call to go over them. Do not reply to this message.","known":{}} +{"id":"v11-en-sms-027","channel":"sms","lang":"en","text":"ok thanks that makes sense, I'll do the ultrasound Friday. Appreciate you all! - [[NAME|Bao Tran]]","known":{"names":["Bao Tran"],"phones":["404-555-0113"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-028","channel":"sms","lang":"en","text":"hey can you tell Dr [[PROVIDER|Okonkwoo]] my follicles were 14 and 16 on the left? i think i spelled her name wrong sorry. also tell [[PROVIDER|Layla]] thank you for yesterday","known":{"names":["Carmen Delgado"],"phones":["404-555-0105"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-029","channel":"sms","lang":"en","text":"My MRN is [[MRN|MRA-0071245]], you asked twice already! the one on the card is the same thing","known":{"names":["Danielle Ruiz"],"phones":["305-555-0133"],"emails":[],"dates_of_birth":["1988-09-30"],"addresses":[],"identifiers":["MRN MRA-0071245"]}} +{"id":"v11-en-sms-030","channel":"sms","lang":"en","text":"Aetna PA ref [[ACCOUNT|PA-77120934]] is approved for the FET meds, good until [[DATE|12/31/2026]]. do you need the group number [[ACCOUNT|GRP 55-20814]] too","known":{"names":["Hannah Breck"],"phones":["404-555-0149"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-031","channel":"sms","lang":"en","text":"Pls call me back at [[PHONE|(678) 555 0144]] after 5, not the work line [[PHONE|470-555-0199]] they listen in","known":{"names":["Tessa Rowe"],"phones":["678-555-0144"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-032","channel":"sms","lang":"en","text":"Ovidrel 250 mcg at 2200h tonight. Retrieval is about 36h later. Bring ID, insurance card and a driver. Cetrotide stops tonight too. Questions: 404-555-0700","known":{}} +{"id":"v11-en-sms-033","channel":"sms","lang":"en","text":"we chose donor [[DONOR_ID|D-48812]] from the bank, can you confirm the vials are reserved under our file? [[NAME|Leah]] and I are nervous","known":{"names":["Leah Sandoval","Mireya Sandoval"],"phones":["404-555-0126"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["DONOR_ID D-48812"]}} +{"id":"v11-en-sms-034","channel":"sms","lang":"en","text":"Tue: you can reach me on [[PHONE|404-555-0182]]\nTue (2 min later): sorry typo, it's [[PHONE|404-555-0128]]\nWed: did you get the corrected number? The old [[PHONE|404-555-0182]] belongs to a stranger now lol\nWed Clinic: Yes, 404-555-0128 is saved on your file.","known":{"names":["Latoya Pierce"],"phones":["404-555-0128"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-035","channel":"sms","lang":"en","text":"Sunday brunch near Piedmont Park was packed so I'm running late, I'll make the 0930h scan though. Can I keep the Lupron on the counter instead of the fridge","known":{}} +{"id":"v11-en-sms-036","channel":"sms","lang":"en","text":"the insurer wants my SSN for the claim, its [[SSN|900-12-6120]]. I know I know. Don't reply with it","known":{"names":["Rachel Dumont"],"phones":["404-555-0171"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-037","channel":"sms","lang":"en","text":"I teach at [[EMPLOYER|Lakeside Elementary]] so I can only do 0700 appts, any chance before first bell? thx","known":{"names":["Grace Odom"],"phones":["404-555-0102"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-038","channel":"sms","lang":"en","text":"[[NAME|Maddox]] has a fever so I'll be 20 min late to see [[PROVIDER|Banks]]. Don't give my slot away please!","known":{"names":["Whitney Foy","Maddox Foy"],"phones":["770-555-0194"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-039","channel":"sms","lang":"en","text":"[[PROVIDER|Tamara]]: billing codes for the 0900 IUI are in the chart. [[PROVIDER|TS]] will send the superbill by 1600h, ext 214 if anything's off","known":{}} +{"id":"v11-en-sms-040","channel":"sms","lang":"en","text":"Wire from my UK bank, IBAN [[ACCOUNT|GB00 FAKE 1234 5612 3456 78]], for the egg freezing package. Sort code is on the receipt. [[NAME|Imogen]] here","known":{"names":["Imogen Whitby"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-041","channel":"sms","lang":"en","text":"Interac to [[EMAIL|dana.mb@example.net]] right? And my transit and institution are [[ACCOUNT|12345-003]], account [[ACCOUNT|7788451]] for the refund","known":{"names":["Dana MacBeath"],"phones":["902-555-0185"],"emails":["dana.macbeath@example.net"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-042","channel":"sms","lang":"en","text":"I waited 55 min past my 1030h appt and nobody told me anything. $210 for a scan that took 5 minutes. This is unacceptable and I am telling everyone I know","known":{}} +{"id":"v11-en-sms-043","channel":"sms","lang":"en","text":"if anyone wants to help our journey my gofundme is [[URL|gofundme.example.com/f/reyes-ivf]] no pressure!! [[NAME|Alicia Reyes]]","known":{"names":["Alicia Reyes"],"phones":["404-555-0155"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-044","channel":"sms","lang":"en","text":"we moved to the area in [[DATE|March]] so my old records are still with the clinic in Ohio. can you request them? [[NAME|Yuki Tanaka]]","known":{"names":["Yuki Tanaka"],"phones":["404-555-0116"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-sms-045","channel":"sms","lang":"en","text":"Nurse line hours are 0800h-1700h ET weekdays. Ext 214 for scheduling, ext 330 for billing. After hours, press 2 for the on-call nurse. Ticket CS-55120 logged.","known":{}} +{"id":"v11-en-chat-046","channel":"chat","lang":"en","text":"Patient: hi I need to change my phone number on file\nAssistant: Happy to help with that. Could I have your full name first?\nPatient: [[NAME|Marisol Vega-Cruz]]\nAssistant: Thank you, [[NAME|Marisol]]. What's the new number?\nPatient: the area code is [[PHONE|404]]\nAssistant: Got it, go ahead with the rest.\nPatient: then [[PHONE|555]]\nPatient: [[PHONE|0182]]\nAssistant: Just to confirm: [[PHONE|404-555-0182]]?\nPatient: sorry, [[PHONE|0128]] not 0182\nAssistant: No problem. So the number is [[PHONE|404-555-0128]]. Is that right?\nPatient: yes\nAssistant: Done. A text will go to that number to verify it. Anything else, [[NAME|Marisol]]?\nPatient: no thank you","known":{"names":["Marisol Vega-Cruz"],"phones":["678-555-0190"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-047","channel":"chat","lang":"en","text":"Hi Dr. [[PROVIDER|Park]], this is [[NAME|Folasade Adeyemi]] (DOB [[DATE|1985-07-19]]). My day 3 labs came back and the portal says FSH 11.4 and E2 38. Do I still start Menopur on Thursday at 2000h or wait for your call? My husband [[NAME|Tunde]] is travelling so I'm injecting alone this cycle. Thank you!","known":{"names":["Folasade Adeyemi"],"phones":["404-555-0165"],"emails":[],"dates_of_birth":["1985-07-19"],"addresses":[],"identifiers":["MRN 0058812"]}} +{"id":"v11-en-chat-048","channel":"chat","lang":"en","text":"Visitor: Do you offer weekend monitoring? And what is the price for IUI versus IVF at the Halifax office? Also do you take Cigna or only Blue Cross?\nAssistant: Monitoring is weekdays 0700h-1100h and Saturdays by arrangement. Pricing depends on the protocol, and a coordinator can send you a written estimate. Would you like a callback?\nVisitor: not yet, just researching, thanks","known":{}} +{"id":"v11-en-chat-049","channel":"chat","lang":"en","text":"Assistant: I can book that. May I have your name and date of birth?\nPatient: Tyrone Gaines, born [[DATE|02/09/1983]]\nAssistant: Thanks [[NAME|Tyrone]]. And a mailing address?\nPatient: [[ADDRESS|4B-123 Main St]]\nPatient: [[ADDRESS|Decatur]] GA\nPatient: zip is [[ZIP|30030]]\nAssistant: Thank you. Email for the confirmation?\nPatient: [[EMAIL|t.gaines83@example.com]]\nAssistant: Great. Would you like me to hand you to a coordinator for insurance questions?\nPatient: yes pls\nAssistant: Connecting you to a staff member. You said [[NAME|Tyrone Gaines]], DOB [[DATE|02/09/1983]], correct?\nPatient: yes\nStaff ([[PROVIDER|Layla]]): Hi [[NAME|Tyrone]], [[PROVIDER|Layla]] here. Let's look at your coverage.","known":{"names":["Tyrone Gaines"],"phones":["404-555-0152"],"emails":["tgaines83@example.com"],"dates_of_birth":["1983-02-09"],"addresses":["123 Main St Apt 4B Decatur GA 30030"],"identifiers":[]}} +{"id":"v11-en-chat-050","channel":"chat","lang":"en","text":"#nursing-huddle\n[[PROVIDER|AD]]: pt [[NAME|KJ]] 34yo G2P1 c/o cramping 2d post FET, afebrile, no bleeding. bhcg draw tmrw 0800\n[[PROVIDER|MB]]: ok f/u w/ [[PROVIDER|TW]] re: her E2 and P4, not OHSS risk imo\n[[PROVIDER|AD]]: also re: [[NAME|AB]]'s FET, consent still unsigned, rm 3 at 1330\n[[PROVIDER|HC]]: I'll chase it. Mrs [[NAME|O]] in rm 5 wants to talk to [[PROVIDER|Noa]] about PGT-A results","known":{"names":["Kiara Jennings","Amira Boutros","Nneka Obi"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-051","channel":"chat","lang":"en","text":"#lab-handoff\nStim cycle 14 pts today. 9 retrievals Thurs, 4 ICSI, 5 conventional. Incubator 2 alarm at 0340h, temp 37.1 back in range. Dish lot 2290-7 low stock. PGT shipment tracking 1Z-ref on shared drive, form v3.2 only. Cryo tank 4 level OK. Please sign the log before 1700h.","known":{}} +{"id":"v11-en-chat-052","channel":"chat","lang":"en","text":"Subject: statement question\n\nHello billing, my statement shows $2,340 for cycle 2 but the estimate said $1,980. Statement number is [[ACCOUNT|ST-2026-33917]]. I'd like it mailed to [[ADDRESS|88 Wexford Terrace]], [[ADDRESS|Sandy Springs]], GA [[ZIP|30328]] since the email ones keep landing in spam. Thanks, [[NAME|Priscilla Hogue]]","known":{"names":["Priscilla Hogue"],"phones":["770-555-0139"],"emails":[],"dates_of_birth":[],"addresses":["88 Wexford Terrace Sandy Springs GA 30328"],"identifiers":["ACCOUNT ST-2026-33917"]}} +{"id":"v11-en-chat-053","channel":"chat","lang":"en","text":"Patient: Is my insurance active? My member ID is [[HEALTH_CARD|XQP884219003]]\nAssistant: I can't verify coverage in chat, but I can note it for the billing team. What is the name on the policy?\nPatient: [[NAME|Alejandra Santoyo]] but the subscriber is my husband [[NAME|Raul Santoyo]]\nAssistant: Thank you. I'll pass it along with the member ID [[HEALTH_CARD|XQP884219003]] and note the subscriber is [[NAME|Raul]].\nPatient: his group number is [[ACCOUNT|G-60418]]\nAssistant: Noted. Billing will reply in the portal within two business days.","known":{"names":["Alejandra Santoyo"],"phones":["678-555-0111"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["HEALTH_CARD XQP884219003"]}} +{"id":"v11-en-chat-054","channel":"chat","lang":"en","text":"hello, my husband and I arrived from [[ADDRESS|Aleppo]] in the summer and now we live in [[ADDRESS|Clayton Park]], Halifax. We are looking for a clinic that speaks Arabic. My name is [[NAME|Hala Darwish]] and my husband is [[NAME|Samer]]. We were told the MSI does not cover ICSI. Is this right?","known":{"names":["Hala Darwish"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-055","channel":"chat","lang":"en","text":"Visitor: what does a 3BB embryo mean? and is 1.9 cm too big for a follicle\nAssistant: A 3BB blastocyst is a grade: expansion stage 3 with B-grade inner cell mass and trophectoderm. Follicle size depends on the cycle day. Around 18-22 mm is typical before trigger. Your nurse will tell you what applies to you.\nVisitor: ok thanks. AMH 0.8 and BMI 31.2 are those bad\nAssistant: I can't interpret personal results in chat, but your care team can go through them at your visit.","known":{}} +{"id":"v11-en-chat-056","channel":"chat","lang":"en","text":"Ticket CS-61802 history\n\nFrom [[NAME|Gwen Abernathy]] <[[EMAIL|gwen.abernathy@example.org]]>\nTo: frontdesk\nMy portal says my retrieval date is [[DATE|11/30]] but [[PROVIDER|Jerome]] told me [[DATE|12/2]] on the phone. Which is right?\n\nFrom: frontdesk\n> My portal says my retrieval date is 11/30 ...\nHi Gwen, let me check with the nurses and come back to you.\n\nFrom [[NAME|Gwen Abernathy]]\n> Hi Gwen, let me check ...\n> > My portal says ...\nAny update? I need to book time off at [[EMPLOYER|Brightwell Credit Union]] today.\n\nFrom: frontdesk\nRetrieval is [[DATE|12/2]], the portal had an old entry. Sorry about that.","known":{"names":["Gwen Abernathy"],"phones":["404-555-0147"],"emails":["gabernathy@example.org"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-057","channel":"chat","lang":"en","text":"Assistant: Is there anything else I can help with today?\nVisitor: Is the Halifax office at 5612 Spring Garden Road open Saturdays?\nAssistant: No, both offices are closed on weekends. Halifax is open Monday to Friday 0800h-1630h AT. You can also follow us on Instagram at @MagnoliaFertilityATL or email info@magnolia-ra.example.org.\nVisitor: and Atlanta is on Peachtree Park Drive, right? parking?\nAssistant: Yes, 1180 Peachtree Park Drive NE, Suite 400. There is a garage on the ground level, validated at the front desk.","known":{}} +{"id":"v11-en-chat-058","channel":"chat","lang":"en","text":"Hi, I'm the foster mom for a teen who's now an adult and wants to ask about egg freezing. I'm [[NAME|Constance Pickett]] and our caseworker is [[NAME|Ms. Odette Rivard]] at [[EMPLOYER|Halifax Family Services Centre]]. Can she join the call? The young woman's name is [[NAME|Shanice]] and she is 19.","known":{}} +{"id":"v11-en-chat-059","channel":"chat","lang":"en","text":"portal audit export (support)\n[[DATE|2026-11-02]] 09:14:55 login ok user=[[ID|u_81723]] ip=[[IP_ADDRESS|203.0.113.45]]\n[[DATE|2026-11-02]] 09:15:10 view results type=semen_analysis\n[[DATE|2026-11-02]] 09:22:41 login fail user=[[ID|u_81723]] ip=[[IP_ADDRESS|198.51.100.7]]\nTicket CS-62044 opened by [[PROVIDER|Summer Nguyen]] for geo mismatch.","known":{"names":[],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["ID u_81723"]}} +{"id":"v11-en-chat-060","channel":"chat","lang":"en","text":"Holiday schedule for the portal banner: Atlanta closed Thanksgiving Thursday and the day after, Halifax closed Remembrance Day. Monitoring resumes 0700h the next business day. Embryo transfer appointments on affected days will be moved by a coordinator. Questions: frontdesk@magnolia-ra.example.org","known":{}} +{"id":"v11-en-chat-061","channel":"chat","lang":"en","text":"I don't really know who to tell. We lost the pregnancy last night, 9 weeks. [[NAME|Ben]] is at work and I can't call him. I'm [[NAME|Odalys]]. Could somebody from the nurse team call me when they can. I don't want to talk to the front desk about it.","known":{"names":["Odalys Pena"],"phones":["678-555-0198"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-062","channel":"chat","lang":"en","text":"Portal message to Dr. [[PROVIDER|Banks]]: Our gestational carrier, [[NAME|Teresa Hollis]], is due to start estrogen on [[DATE|Dec 4]]. The agency is [[EMPLOYER|Sunrise Surrogacy Partners]] and the agency file number is [[ID|AG-77031]]. We are the intended parents, [[NAME|Mina]] and [[NAME|Jordan Kessler]]. Can the contract copy be uploaded to the portal?","known":{"names":["Mina Kessler","Jordan Kessler"],"phones":["404-555-0167"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-063","channel":"chat","lang":"en","text":"Assistant: Please give me your date of birth to find your file.\nPatient: June\nAssistant: Which day of the month?\nPatient: the [[DATE|21st]]\nPatient: of June I mean, sorry [[DATE|June 21]]\nPatient: and the year is 1987\nAssistant: Thanks. And your last name?\nPatient: [[NAME|Fitzgerald]]\nAssistant: Thanks, Ms. [[NAME|Fitzgerald]]. Let me look. I see an appointment on [[DATE|December 12]]. Is that the one you want to move?\nPatient: yes, the 12th is bad. anything the week after?","known":{"names":["Colleen Fitzgerald"],"phones":["404-555-0143"],"emails":[],"dates_of_birth":["1987-06-21"],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-064","channel":"chat","lang":"en","text":"#front-desk\n[[PROVIDER|JG]]: 1015 is a no show. 1030 sono done, [[PROVIDER|Selam]] needs rm 2 cleaned. Courier for specimens due 1130h. Coffee order is on the whiteboard. Reminder: pharmacy line is ext 305 and the fax machine is out of toner again.","known":{}} +{"id":"v11-en-chat-065","channel":"chat","lang":"en","text":"Sharing the screenshots: my Ovia export shows account name [[ID|luna_cycle_88]] and my Dexcom pump CGM serial is [[ID|SN 3MH0041AB7]]. My cycle was 31 days last month, luteal 12 days. Is that okay before an IUI? - [[NAME|Selene Brandt]]","known":{"names":["Selene Brandt"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-066","channel":"chat","lang":"en","text":"Attached are my photos of the rash: IMG_[[DATE|20260314]]_[[NAME|maria]].jpg and Scan - [[NAME|Okafor, Ngozi]].pdf (the other lab). Does Dr. [[PROVIDER|Deshmukh]] want to see them before the next injection?","known":{"names":["Maria Okafor"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-067","channel":"chat","lang":"en","text":"Visitor: do you code the egg freezing consult as 99204 or 99205? and what ICD is used for diminished ovarian reserve, N97.9?\nAssistant: Coding depends on the visit and is set by billing. I can pass your question to the billing team.\nVisitor: also is there an out of pocket max of $4,500 on the freezing package or is it per vial\nAssistant: Packages are quoted in writing. I'd be happy to request an estimate.","known":{}} +{"id":"v11-en-chat-068","channel":"chat","lang":"en","text":"hi! we are a Korean family in [[ADDRESS|Duluth]] and my wife [[NAME|Ji-woo Han]] is 38. Is there a Korean-speaking nurse for the consult? I am [[NAME|Dong-hyun]]. We saw an ad at H Mart for the open house. My cell is [[PHONE|678-555-0121]].","known":{"names":["Ji-woo Han"],"phones":["678-555-0121"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-069","channel":"chat","lang":"en","text":"Portal message: Please send my husband's semen analysis report to [[ADDRESS|PO Box 118]], [[ADDRESS|Fort Valley]], GA [[ZIP|31030]], not our street address, his parents open our mail. He is [[NAME|Cedric Mayfield]]. I'm [[NAME|Janelle]].","known":{"names":["Janelle Mayfield","Cedric Mayfield"],"phones":["478-555-0132"],"emails":[],"dates_of_birth":[],"addresses":["410 Orchard Lane Fort Valley GA 31030"],"identifiers":[]}} +{"id":"v11-en-chat-070","channel":"chat","lang":"en","text":"My husband is active duty so mail goes to [[ADDRESS|Bldg 4412, Rm 212, Fort Moore]], GA [[ZIP|31905]]. Is Tricare accepted for the follow-up visit? His sponsor ID is [[ID|SP-4410287]]. I'm [[NAME|Kayla Dunn]]. Do I need a referral from [[PROVIDER|Dr. Thibodeau]]?","known":{"names":["Kayla Dunn"],"phones":["706-555-0113"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-071","channel":"chat","lang":"en","text":"Can you send the consent forms to [[ADDRESS|123, rue Principale, app. 4]], [[ADDRESS|Dieppe]], NB [[POSTAL_CODE|E1A 4H2]]? C'est pour ma conjointe, [[NAME|Mélanie Cormier]]. We will drive to Halifax on the 0830h appointment.","known":{"names":["Mélanie Cormier"],"phones":["506-555-0170"],"emails":[],"dates_of_birth":[],"addresses":["123 rue Principale app. 4 Dieppe NB E1A 4H2"],"identifiers":[]}} +{"id":"v11-en-chat-072","channel":"chat","lang":"en","text":"Visitor: do I need to fast for the AMH or is that only the glucose test?\nAssistant: AMH does not need fasting. The glucose tolerance test does, usually 8-10 hours.\nVisitor: and can I take my Synthroid before. TSH was 2.4\nAssistant: Please ask your nurse for personal medication instructions. I can message the clinical team for you.\nVisitor: no it's fine, thanks. bye","known":{}} +{"id":"v11-en-chat-073","channel":"chat","lang":"en","text":"Quick one from the Halifax satellite: [[PROVIDER|Hope]] and [[PROVIDER|Will]] are off Friday, [[PROVIDER|JG]] covers phones, [[PROVIDER|Tamara]] covers the 1330h sono list. Fax is on the usual 902-555-0710 line.","known":{}} +{"id":"v11-en-chat-074","channel":"chat","lang":"en","text":"Patient: so for the FET do I start the estradiol patches on day 2 or day 3?\nAssistant: Your protocol sheet says day 2. Patches are changed every 48 hours, e.g. 0800h Monday and Wednesday.\nPatient: and progesterone in oil 50 mg starts after the lining check?\nAssistant: That's right, usually when the lining is 8 mm or more with a trilaminar pattern. Your nurse confirms the start.\nPatient: what if my lining is 7.4\nAssistant: The team may extend estradiol. Please wait for their call rather than starting early.\nPatient: ok. last q, can I fly 2 days after transfer?\nAssistant: Many patients do, but ask the physician at your transfer visit.","known":{}} +{"id":"v11-en-chat-075","channel":"chat","lang":"en","text":"Assistant: How can I help today?\nPatient: Hi. I wanted to ask about the sperm freezing package, how long do samples stay stored?\nAssistant: Standard storage is billed per year, and the contract lists terms. Anything else?\nPatient: how many vials per sample usually\nAssistant: It depends on count and motility, typically 2 to 6.\nPatient: do you do semen analysis same day\nAssistant: Results are normally available in 24-48 hours.\nPatient: ok one more thing, can you email me the packet?\nAssistant: Sure, what's the best email?\nPatient: [[EMAIL|marcus.delacroix@example.net]]\nAssistant: Thanks [[NAME|Marcus]], I'll send it there. May I add your date of birth for the file?\nPatient: [[DATE|Feb 2, 1992]]","known":{"names":["Marcus Delacroix"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-076","channel":"chat","lang":"en","text":"Visitor: how does the Nova Scotia fertility tax credit work and does it apply to ICSI? And my employer plan in Georgia, does Magnolia bill that directly?\nAssistant: In Nova Scotia the Fertility Treatment Tax Credit is claimed on your provincial return, and eligible expenses are listed on the CRA site. For Georgia employer plans the billing team verifies benefits before your consult. I can request that.\nVisitor: no thanks, I'll check my benefits book first","known":{}} +{"id":"v11-en-chat-077","channel":"chat","lang":"en","text":"Staff ([[PROVIDER|Jessica]]): Can you spell your last name for me?\nPatient: Szczepanski, [[NAME|S-Z-C-Z-E-P-A-N-S-K-I]]\nStaff ([[PROVIDER|Jessica]]): Thanks, Mrs. [[NAME|Szczepanski]]. And your first?\nPatient: [[NAME|Wiktoria]]\nStaff ([[PROVIDER|Jessica]]): Perfect, found you. Your retrieval is confirmed for [[DATE|Dec 9]].","known":{"names":["Wiktoria Szczepanski"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-078","channel":"chat","lang":"en","text":"#embryology\nFreezer 3 alarm 0212h, probe read -3 C on the door then back to -196. Dewar fill done. 12 straws re-checked, no loss. Vitrification kit lot 77281, form v2.4 signed. Dish count for tomorrow 18. Please don't open tank 2 until the 0700h bus.","known":{}} +{"id":"v11-en-chat-079","channel":"chat","lang":"en","text":"Portal message: I'm paying the retrieval deposit with my HSA, account [[ACCOUNT|HSA-0041-7782]]. I also mailed cheque number [[ACCOUNT|4471]] last week for the genetic testing. And the Interac for the Halifax visit came from [[EMAIL|k.paquette@example.org]]. Did all three land? - [[NAME|Karine Paquette]]","known":{"names":["Karine Paquette"],"phones":["902-555-0126"],"emails":["karine.paquette@example.org"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-080","channel":"chat","lang":"en","text":"Visitor: what happens to my embryos if I stop paying for storage?\nAssistant: Storage terms are in your cryopreservation agreement (form v4.1). Options include continuing storage, donating, thawing or transferring to another facility. The clinic sends written notices before any action is taken.\nVisitor: is there a grace period\nAssistant: The agreement states it. A coordinator can go through it with you if you request a call.\nVisitor: ok I'll look at the form first","known":{}} +{"id":"v11-en-chat-081","channel":"chat","lang":"en","text":"(voice message transcribed by the widget) hi my name is [[NAME|Mary Ann O'Dell]] uh [[NAME|Marry Ann Odell]] if it shows up weird, i'm calling about my baby shower on [[DATE|the 14th of December]] no wait i mean the ultrasound, the anatomy scan, can i come at 3","known":{"names":["Mary Ann O'Dell"],"phones":["404-555-0188"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-082","channel":"chat","lang":"en","text":"Visitor: I waited 50 min past my 0915h slot yesterday, then the nurse said the doctor was running behind. For $175 you could text. Please pass this to the manager.\nAssistant: I'm sorry about the wait. I can send this to the patient experience team. Would you like a follow-up?\nVisitor: no just want it noted","known":{}} +{"id":"v11-en-chat-083","channel":"chat","lang":"en","text":"We live in [[ADDRESS|Millbrook First Nation]] near Truro and the nearest lab is 40 min away. My status card number is [[ID|1052 8841 03]] if you need it for the Non-Insured Health Benefits form. I'm [[NAME|Rhonda Gloade]], my partner is [[NAME|Cody Paul]].","known":{"names":["Rhonda Gloade"],"phones":["902-555-0184"],"emails":[],"dates_of_birth":[],"addresses":["Millbrook NS"],"identifiers":[]}} +{"id":"v11-en-chat-084","channel":"chat","lang":"en","text":"hi it's [[NAME|Nathalie Joseph]] from Haiti originally, now in [[ADDRESS|Clarkston]]. My daughter [[NAME|Naomie]] goes to [[EMPLOYER|Indian Creek Elementary]] and I have to pick her up by 3 so I need early appts. My husband [[NAME|Jean-Robert]] will drive. Do you have Haitian Creole interpreters? Please text [[PHONE|470-555-0173]].","known":{"names":["Nathalie Joseph"],"phones":["470-555-0173"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-085","channel":"chat","lang":"en","text":"Visitor: can a donor egg cycle use a fresh donor or only frozen? what's the typical number of eggs in a lot of 6\nAssistant: Both options exist. Frozen donor lots usually come in sets of 6 or 8 oocytes. A fresh cycle needs synchronization. A consultant can explain the pros and cons.\nVisitor: ok what is the success per transfer around age 40\nAssistant: Rates depend on donor age rather than the recipient's age. Our published SART summary is on the website.","known":{}} +{"id":"v11-en-chat-086","channel":"chat","lang":"en","text":"Our adoption agency, [[EMPLOYER|Bridges Adoption Agency]], asked us to get a fertility history letter. Our social worker is [[NAME|Paul Esterhazy]], his number is [[PHONE|(902) 555-0116]]. We are [[NAME|Anne-Marie]] and [[NAME|Greg Whalen]]. Our landlord, [[NAME|Mr. Kaplan]], needs to be told nothing, please.","known":{"names":["Anne-Marie Whalen","Greg Whalen"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-087","channel":"chat","lang":"en","text":"Visitor: hours?\nAssistant: Atlanta: Mon-Fri 0700h-1700h ET. Halifax: Mon-Fri 0800h-1630h AT. Both offices are closed on weekends and on public holidays.\nVisitor: and phone for Halifax\nAssistant: 902-555-0710. The Atlanta main line is 404-555-0700 and our fax is 404-555-0701.\nVisitor: thx","known":{}} +{"id":"v11-en-chat-088","channel":"chat","lang":"en","text":"DM from [[PROVIDER|DJ]]: pt [[NAME|M.O.]] rm 3 wants to switch to the 1400 slot, she's c/o headache on Lupron day 6. Dr. [[PROVIDER|Okonkwo]] ok'd. Also re: [[NAME|TB]]'s IUI, trigger 2130h, [[PROVIDER|SN]] has the script. FSH on file 8.9, AFC 11.","known":{"names":["Maya Osei","Tara Bell"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-089","channel":"chat","lang":"en","text":"Ticket CS-63310\n\n--- [[DATE|Nov 10]], [[PROVIDER|Guadalupe]] (billing):\nHi [[NAME|Yolanda]], prior auth [[ACCOUNT|PA-90214477]] for your FET meds is pending with Cigna.\n\n--- [[DATE|Nov 12]], [[NAME|Yolanda Pruitt]]:\n> prior auth PA-90214477 for your FET meds is pending\nStill pending? My transfer is [[DATE|Nov 21]]. My claim number from them is [[ACCOUNT|CL-8820145]].\n\n--- [[DATE|Nov 13]], [[PROVIDER|Guadalupe]]:\n> Still pending? My claim number...\nApproved this morning. Approval reference [[ACCOUNT|AUTH-445902]], effective through [[DATE|May 31, 2027]].","known":{"names":["Yolanda Pruitt"],"phones":["470-555-0159"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["ACCOUNT PA-90214477"]}} +{"id":"v11-en-chat-090","channel":"chat","lang":"en","text":"Portal message: Just wanted to share some good news. The 12 week scan looked perfect, heartbeat 168, CRL matched dates. We're so grateful to the whole team. Please pass this on to the embryology and nursing teams. We'll send a photo when the baby arrives!","known":{}} +{"id":"v11-en-chat-091","channel":"chat","lang":"en","text":"Hello, I'm [[NAME|Sunita Deshpande]], my husband [[NAME|Arjun]] is on a work visa at [[EMPLOYER|Northgate Systems]]. Passport number for the intake form: [[ID|Z1234567]]. We live in [[ADDRESS|Alpharetta]] near the Mansell Rd temple. Is there an Indian vegetarian dietitian on the team?","known":{"names":["Sunita Deshpande"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":["Alpharetta GA"],"identifiers":[]}} +{"id":"v11-en-chat-092","channel":"chat","lang":"en","text":"Hi, [[NAME|Mulu Hailu]] here. Parking: my car plate is [[ID|RBX-4410]], gold Corolla, I will be in the Peachtree Park garage on [[DATE|Tuesday the 25th]]. My wife [[NAME|Hirut]] doesn't speak English well, is there an Amharic interpreter. We are in [[ADDRESS|Tucker]].","known":{"names":["Mulu Hailu"],"phones":["404-555-0178"],"emails":[],"dates_of_birth":[],"addresses":["Tucker GA"],"identifiers":[]}} +{"id":"v11-en-chat-093","channel":"chat","lang":"en","text":"Visitor: do you test for CF carrier status on the donor side and what about SMA\nAssistant: Carrier screening panels for donors are listed in the donor profile. Your counselor can review which conditions were screened.\nVisitor: and can the sperm bank send directly\nAssistant: Yes, shipments from approved banks arrive in a dry shipper with chain-of-custody documents.","known":{}} +{"id":"v11-en-chat-094","channel":"chat","lang":"en","text":"Staff ([[PROVIDER|Hope]]): Could you give me your cell once more? I only have a partial.\nPatient: sure, [[PHONE|770-555-0149]]\nStaff ([[PROVIDER|Hope]]): Thanks. And what's your date of birth so I can verify?\nPatient: [[DATE|09/03/1990]]\nStaff ([[PROVIDER|Hope]]): Great. One more time, the number: [[PHONE|770-555-0149]]. Correct?\nPatient: yes. oh wait, my husband [[NAME|Isaiah]] might call from [[PHONE|678-555-0107]], that's his work\nStaff ([[PROVIDER|Hope]]): I'll note it. Name for the note?\nPatient: [[NAME|Isaiah Coleman]]. I'm [[NAME|Brianna Coleman]].","known":{"names":["Brianna Coleman"],"phones":["770-555-0149"],"emails":[],"dates_of_birth":["1990-09-03"],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-095","channel":"chat","lang":"en","text":"Teams, triage: pt [[NAME|RW]] 36yo G3P0 spotting day 5 post-transfer, HCG 118 yesterday, repeat tmrw 0800. [[PROVIDER|MJP]] on call tonight, wants P4 added. Mrs [[NAME|W]] prefers calls after 1700. Her partner [[NAME|Dev]] is at the hospital with his dad so text only. cc [[PROVIDER|Adaeze]]","known":{"names":["Rina Walsh","Dev Mehta"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-chat-096","channel":"chat","lang":"en","text":"Visitor: is the Halifax office near the Public Gardens? and is there a bus\nAssistant: The Halifax office is on Spring Garden Road, a short walk from the Public Gardens, and several Halifax Transit routes stop nearby.\nVisitor: is the Atlanta one near MARTA\nAssistant: Yes, there's a MARTA station about 10 minutes on foot.","known":{}} +{"id":"v11-en-chat-097","channel":"chat","lang":"en","text":"hi, I'm from [[ADDRESS|North Preston]] and we're a Black Nova Scotian family; my wife [[NAME|Tanisha Downey]] and I are looking at IUI. Her MSI number is [[HEALTH_CARD|2341 887 566]]. Our nurse said [[PROVIDER|Hope]] could set up the consult. Her cell is [[PHONE|902-555-0192]]. Who else should I call?","known":{"names":["Tanisha Downey"],"phones":["902-555-0192"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["HEALTH_CARD 2341 887 566"]}} +{"id":"v11-en-chat-098","channel":"chat","lang":"en","text":"Assistant: I'm sorry to hear that. Do you want to speak with a counselor?\nVisitor: i dont know. Third failed cycle and I feel numb\nAssistant: That sounds incredibly hard. Our team includes counselors and we also share support group listings. Would a call from a nurse help, or would you rather browse resources first?\nVisitor: resources first. thank you for not being a robot about it\nAssistant: I'm an AI assistant, but I'm glad it helped. Here's the support page and our nurse line, 404-555-0700, if you want a person.","known":{}} +{"id":"v11-en-chat-099","channel":"chat","lang":"en","text":"Voicemail tree (copied from whiteboard, [[PROVIDER|Selam]] updated):\n1 scheduling ext 214 ([[PROVIDER|Hope]], [[PROVIDER|JG]])\n2 nurse triage ext 220 ([[PROVIDER|AD]], [[PROVIDER|MJP]], [[PROVIDER|MB]])\n3 billing ext 330 ([[PROVIDER|Guadalupe]], [[PROVIDER|Tamara]])\n4 records ext 341 ([[PROVIDER|Thao Le]])\n9 operator","known":{}} +{"id":"v11-en-chat-100","channel":"chat","lang":"en","text":"Visitor: I'm 41 and my doctor said to do IVF now. Honestly scared. what's the first step\nAssistant: Many people feel that way. The first step is usually a consultation where the physician reviews history and ordered tests such as AMH, FSH and antral follicle count. I can help you request an appointment.\nVisitor: ok but not today. is there a no cost call to just ask questions\nAssistant: Yes, a nurse coordinator can do a 15 minute phone call. Would you like a callback request?\nVisitor: maybe next week","known":{}} +{"id":"v11-en-call-101","channel":"call","lang":"en","text":"Agent: Thank you for calling Magnolia Reproductive Associates, this is the virtual assistant. How can I help?\nCaller: Hi, I need to move my monitoring appointment. My name is [[NAME|Renata Okafor-Lindqvist]].\nAgent: Thanks, [[NAME|Renata]]. Can I get a phone number on the account?\nCaller: Sure. The area code is [[PHONE|404]], then [[PHONE|555]], then [[PHONE|0182]].\nAgent: Just to confirm: 404-555-0182?\nCaller: Sorry, no. [[PHONE|0128]]. Zero one two eight.\nAgent: Got it, 404-555-0128. And your date of birth?\nCaller: March ninth, nineteen eighty-seven.\nAgent: Thank you. I see Dr. [[PROVIDER|Okonkwo]] is your doctor. Would 0845h tomorrow work for your bloodwork?\nCaller: Yes, that works. Is it still fasting? My E2 was 1450 last time.\nAgent: No fasting needed for estradiol. See you then.","known":{"names":["Renata Okafor-Lindqvist"],"phones":["404-555-0128"],"emails":[],"dates_of_birth":["1987-03-09"],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-102","channel":"call","lang":"en","text":"Voicemail, 0712h. Hi, this is [[NAME|Bethany Corrigan]] calling for [[PROVIDER|Hope]] on the nurse line. My number is [[PHONE|six seven eight, five five five, oh one four four]]. I'm out in [[ADDRESS|Cobb County]] so it's a drive for me. My transfer is on the [[DATE|fourteenth of December]] and I just realized the progesterone I picked up is the wrong strength. Could somebody please call me back before noon? Thank you so much.","known":{"names":["Bethany Corrigan"],"phones":["678-555-0144"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-103","channel":"call","lang":"en","text":"IVR capture, main line.\n'Thank you for calling Magnolia Reproductive Associates. For our Atlanta office, press 1. For our Halifax office, press 2. Please note our offices will be closed Thursday and Friday for Thanksgiving. If this is a medical emergency, hang up and dial 911. For billing, press 3. For the nurse line, press 4. For pharmacy refills, press 5. Our Atlanta office is located at 1180 Peachtree Park Drive NE, Suite 400. Our Halifax office is at 5612 Spring Garden Road, Suite 210. Office hours are 0700h to 1600h Eastern, Monday to Friday. To repeat this menu, press star.'","known":{}} +{"id":"v11-en-call-104","channel":"call","lang":"en","text":"AI call summary\nCaller: [[NAME|Ibrahim Yousef]], husband of patient [[NAME|Sahar Yousef]] (MRN [[MRN|0099314]]).\nReason: [[NAME|Sahar]] had retrieval yesterday, now c/o bloating and some SOB. Asked if this is OHSS. Reported weight up 3 lb overnight.\nAction: Warm transfer to nurse triage, [[PROVIDER|Hope Comeau]] took the call at 1415h. Advised ER if SOB worsens. [[NAME|Ibrahim]] gave a cell, [[PHONE|(470) 555-0173]], and said the best time to reach him is after 1800h.\nFollow-up: Dr. [[PROVIDER|Banks]] to review E2 and fluid status in AM.","known":{"names":["Sahar Yousef"],"phones":["470-555-0173"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["MRN 0099314"]}} +{"id":"v11-en-call-105","channel":"call","lang":"en","text":"Agent: Magnolia Reproductive, Halifax office, how can I help you today?\nCaller: Hi. I'm calling about my intake paperwork. It's [[NAME|Tamsin Paul]]. I'm in [[ADDRESS|Millbrook First Nation]] so I'm about forty minutes out.\nAgent: Thanks [[NAME|Tamsin]]. Can you spell your last name for me?\nCaller: P, A, U, L. And the mailing address is [[ADDRESS|RR 2, Site 4, Box 12, Truro]].\nAgent: And your health card number?\nCaller: It's [[HEALTH_CARD|1234 567 890]], I think. Hold on, my husband has the card. Yes, one two three four, five six seven, eight nine zero.\nAgent: Perfect. [[PROVIDER|Layla Saliba]] will send the consent forms by the portal.\nCaller: Okay, I haven't set up the portal yet.\nAgent: No problem, I can send a link.","known":{"names":["Tamsin Paul"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":["RR 2, Site 4, Box 12, Truro"],"identifiers":["1234 567 890"]}} +{"id":"v11-en-call-106","channel":"call","lang":"en","text":"Voicemail transcript. Hello, this message is for the billing department. This is [[NAME|Gwen Ashby]] with Peachstate Benefits calling regarding claim [[ACCOUNT|CLM-7731902]] for our member [[NAME|Corinne Tabb]], member ID [[HEALTH_CARD|PSB442918307]]. We received the prior authorization request, reference [[ACCOUNT|PA-2026-558104]], and we need the CPT code and the diagnosis code on the letter of medical necessity. Please call me back at [[PHONE|770-555-0166]]. Again that is [[NAME|Gwen]]. Thank you.","known":{"names":["Corinne Tabb"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["PSB442918307"]}} +{"id":"v11-en-call-107","channel":"call","lang":"en","text":"IVR capture, pharmacy line.\n'You have reached the Magnolia pharmacy refill line. To check the status of a refill, press 1. Please enter your prescription number followed by the pound key. ... We did not receive that. Please try again. ... Refills for Menopur 75 IU, ganirelix 250 mcg and Ovidrel 250 mcg are shipped cold, Monday through Thursday, and require a signature. Progesterone in oil, 50 mg per mL, ships room temperature, below 25 degrees Celsius. For billing questions, press 3. For all other questions, press 0 to reach the front desk at extension 4410.'","known":{}} +{"id":"v11-en-call-108","channel":"call","lang":"en","text":"[Interpreter-assisted call, Spanish/English]\nAgent: This is Magnolia Reproductive Associates. Who am I speaking with?\nInterpreter: Good afternoon, this is interpreter [[NAME|Ximena]], interpreter ID [[ID|4471]], with the language line. I have the patient on the line, [[NAME|Yolanda Pacheco]].\nAgent: Thank you. Could the patient confirm her date of birth?\nInterpreter: She says [[DATE|the fifth of August, nineteen ninety-one]].\nAgent: And the best number?\nInterpreter: She says [[PHONE|four oh four, five five five, zero nine one one]].\nAgent: Thank you. Tell her that [[PROVIDER|Guadalupe Ramirez]] will call her tomorrow about the PGT results.\nInterpreter: She is asking if the results are good or not.\nAgent: I can't share results by phone, only the doctor can.","known":{"names":["Yolanda Pacheco"],"phones":["404-555-0911"],"emails":[],"dates_of_birth":["1991-08-05"],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-109","channel":"call","lang":"en","text":"Voicemail tree transcription, embryology.\n'Hi, you've reached the embryology lab at Magnolia Reproductive Associates. Lab hours are 0630h to 1700h. If you are calling about a PGT-A result, press 2. If you are calling about thaw schedules, press 3. Please do not leave patient names or dates of birth on this line. For urgent lab issues after hours, page the on-call embryologist through the main number. Extension 4417.'","known":{}} +{"id":"v11-en-call-110","channel":"call","lang":"en","text":"Agent: Can I get an email to send the portal invite?\nCaller: Sure. It's k, e, l, l, i, s, o, n, eight eight, at example dot com. That's [[EMAIL|kellison88 at example dot com]].\nAgent: Is that two L's in [[NAME|Kellison]]?\nCaller: Yes, two L's. It's my wife's email actually. She's [[NAME|Margaux Ellison]], and I'm [[NAME|Keith Ellison]].\nAgent: Thanks, [[NAME|Keith]]. And who's your referring doctor?\nCaller: Dr. [[PROVIDER|Halvorsen]], at the women's clinic in Marietta. [[NAME|Margaux]] has seen him since June.\nAgent: Got it.","known":{"names":["Margaux Ellison","Keith Ellison"],"phones":[],"emails":["kellison88@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-111","channel":"call","lang":"en","text":"Agent: For identity I need the last four of your social.\nCaller: Uh, my SSN ends in [[SSN|4417]].\nAgent: And the street number on file?\nCaller: 2290. That's [[ADDRESS|2290 Briarcliff Court, Apt 4B]], in Decatur.\nAgent: Thank you, Mr. [[NAME|Thornbury]]. Hmm, the system says [[NAME|Lamar]] is the owner of this account.\nCaller: That's my father. [[NAME|Lamar]] [[NAME|Thornbury]] Senior. I'm [[NAME|Darnell Thornbury]], I handle the billing.\nAgent: I'll need him to authorize that. I will send him a consent form.","known":{"names":["Lamar Thornbury"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-112","channel":"call","lang":"en","text":"Voicemail, 1530h. Good afternoon, this is [[NAME|Patrice Vandermeer]] in human resources at [[EMPLOYER|Harborline Freight Systems]]. I'm calling about the fertility benefit letter that our employee [[NAME|Josh Okpara]] asked you to send. We still haven't received it. Our fax is [[PHONE|678-555-0420]]. Please include the policy number if you have it, it's [[ACCOUNT|GRP-30981-C]]. Thank you.","known":{"names":["Josh Okpara"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-113","channel":"call","lang":"en","text":"AI call summary (agent assist)\nCall length 6:42. Caller asked about the cost of an IUI cycle with monitoring and why the invoice showed $1,260 for CPT 58322 plus $310 for ultrasound. Agent explained the global fee, sent the price sheet (form FIN-14 v3). Caller then asked whether letrozole 5 mg can be taken with a progesterone-only pill. Agent escalated to nurse line, ticket TKT-48213. Sentiment: neutral. No scheduling change. Next action: nurse callback within 24h. Room: none. Lot numbers were not discussed.","known":{}} +{"id":"v11-en-call-114","channel":"call","lang":"en","text":"Agent: The courier needs to drop the cooler. Can you give me a delivery address?\nCaller: It's hard to find. I'm up at [[ADDRESS|33.7490, -84.3880]] if you put that in a maps app. Otherwise, it's the blue house past the Circle K on Hwy 20, and then the second gravel drive on the left.\nAgent: Is there a street number?\nCaller: Not really, it's [[ADDRESS|Rural Route 3]]. The mailbox says [[NAME|Hollis]].\nAgent: Okay Ms. [[NAME|Hollis]], the courier will ring you at the number on file.\nCaller: Please. And can you not leave it on the porch, it's going to be 90 degrees.","known":{"names":["Pauline Hollis"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-115","channel":"call","lang":"en","text":"Agent: Bonjour, hello, Halifax office.\nCaller: Hi. Um, it's [[NAME|Mélanie LeBlanc]]. I'm calling to confirm my details for the tax credit form. My postal code is [[POSTAL_CODE|bee three ell, two cee four]].\nAgent: And the street?\nCaller: [[ADDRESS|88 Quinpool Road, Apt 3]]. I'm in the [[ADDRESS|North End]] now. Before we lived in [[ADDRESS|Meteghan]].\nAgent: Thank you. Date of birth?\nCaller: [[DATE|April the twelfth, nineteen ninety-three]].\nAgent: Thanks. [[PROVIDER|Rebecca Goldfarb]] will complete section B of the Nova Scotia fertility tax credit paperwork.","known":{"names":["Mélanie LeBlanc"],"phones":[],"emails":[],"dates_of_birth":["1993-04-12"],"addresses":["88 Quinpool Road, Apt 3, Halifax"],"identifiers":[]}} +{"id":"v11-en-call-116","channel":"call","lang":"en","text":"Staff voicemail left on the nurse line, 0655h. Hey, it's [[PROVIDER|Hope]]. I'm running late, traffic on the Connector. Can you ask [[PROVIDER|Jessica]] to cover the 0730h monitoring list? Dr. [[PROVIDER|Banks]] has OR time at 0800h. Also the ultrasound room 3 probe cover box is empty, tell [[PROVIDER|MB]] we need them before the first retrieval. Thanks guys.","known":{}} +{"id":"v11-en-call-117","channel":"call","lang":"en","text":"Agent: Name of the patient, please.\nCaller: [[NAME|Maris all Kinta Nia]].\nAgent: I'm sorry, could you spell that?\nCaller: [[NAME|M, A, R, I, S, O, L]]. [[NAME|Quintanilla]]. [[NAME|Q, U, I, N, T, A, N, I, L, L, A]].\nAgent: Thank you, [[NAME|Marisol Quintanilla]]. And you are calling about your beta?\nCaller: Yes, I had it Monday. They said under 5 and my husband and I are...\nAgent: I'm so sorry. Let me transfer you to a nurse, [[PROVIDER|Dwayne Jefferson]] is available.\nCaller: Okay. Thank you.","known":{"names":["Marisol Quintanilla"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-118","channel":"call","lang":"en","text":"Caller: I want to make a complaint. I've been on hold for forty minutes, I was transferred three times, and nobody could tell me why my invoice is $4,850. I was quoted $3,900 at the consult. I'm not asking for a name or a favor, I just want a manager to look at the fee schedule. Every time I call, they march me back to the same menu. This is the worst experience I've had at any specialist, and I am working shifts at the hospital, I can't sit by the phone.\nAgent: I'm sorry about that. I've logged this as ticket TKT-48977 and escalated it to the practice manager.\nCaller: Fine.","known":{}} +{"id":"v11-en-call-119","channel":"call","lang":"en","text":"Agent: You said donor eggs. Do you have the donor number for the thaw?\nCaller: Yes. It's [[DONOR_ID|ND-20931]], from Northfield Cryo. My partner [[NAME|Kayode]] has the paper. Our record number is... [[MRN|0083377]].\nAgent: Great, thanks Ms. [[NAME|Adeyemi]]. And the straw numbers?\nCaller: Straw one through six.\nAgent: I see six on hold at the Atlanta lab. [[PROVIDER|Jerome Borden]] will contact you about the thaw date.\nCaller: Is it [[DATE|the twenty-second]] still? That was the date I wrote down.","known":{"names":["Folasade Adeyemi"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["MRN 0083377","ND-20931"]}} +{"id":"v11-en-call-120","channel":"call","lang":"en","text":"Agent: Atlanta office, how can I help?\nCaller: I'm calling for my grandmother, [[NAME|Odessa Whitfield]]. She's [[AGE|91]] years old, and she wants to know if she can sign the records release for her great-grandchild's embryos. I'm her caregiver, my name's [[NAME|Tarika]].\nAgent: Is she listed on the patient's file?\nCaller: I don't think so. The patient is my cousin, [[NAME|Janelle Whitfield-Ross]].\nAgent: Unfortunately we can only release to the patient. [[PROVIDER|Thao Le]] can email the form to [[NAME|Janelle]] directly.\nCaller: Okay, I'll let her know.","known":{"names":["Janelle Whitfield-Ross"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-121","channel":"call","lang":"en","text":"AI call summary\nInbound, 3:10. Patient asked whether an E2 of 1450 with 14 mm and 16 mm follicles means she should trigger tonight. Agent could not advise. Routed to nurse line, flagged same-day. Patient also asked if Ovidrel needs to be refrigerated (agent: room temp is fine up to 30 days per package, nurse to confirm). No identifiers captured because caller declined to verify. Outcome: callback requested, priority high. Lot and NDC not discussed. Appointment 0930h Thursday unchanged.","known":{}} +{"id":"v11-en-call-122","channel":"call","lang":"en","text":"Agent: You can pay the balance by card, cheque or e-transfer.\nCaller: Can I Zelle it? I use [[ACCOUNT|mlopez88@example.com]] for Zelle, or Cash App, it's [[ACCOUNT|$mlopez88]].\nAgent: We can't pull from those. We take payments only to our portal. I can read you the invoice number: INV-30871.\nCaller: Okay. I'm [[NAME|Maribel Lopez]], if that helps. Card ending [[ACCOUNT|7702]].\nAgent: Thanks, [[NAME|Maribel]]. I've applied the payment plan, $450 per month. [[PROVIDER|Monique Rich]] in billing will confirm by email.\nCaller: Wonderful, thank you.","known":{"names":["Maribel Lopez"],"phones":[],"emails":["mlopez88@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-123","channel":"call","lang":"en","text":"IVR capture, after hours.\n'You have reached Magnolia Reproductive Associates. Our offices are closed today, the Friday after Thanksgiving, and will reopen Monday at 0700h. For urgent medical needs related to a recent retrieval or transfer, press 1 to be connected to the on-call nurse. For all other matters, please leave a message after the tone or use the patient portal. Messages left after 1900h will be returned the next business day. Thank you and happy holidays.'","known":{}} +{"id":"v11-en-call-124","channel":"call","lang":"en","text":"Agent: Halifax office. How may I help?\nCaller: Hi, I'd like to send the deposit by Interac e-transfer. Which email do I send it to?\nAgent: That would be through billing. I'll send you a secure request instead.\nCaller: Fine. It would go to [[EMAIL|nadine.arseneau@example.net]]. My banking, in case you need it for a refund, is transit [[ACCOUNT|12345-003]], account [[ACCOUNT|7788120]].\nAgent: We don't need the account details by phone, please don't read those. I'll note the request for [[PROVIDER|Rebecca Goldfarb]].\nCaller: Sorry. I'm [[NAME|Nadine Arseneau]].\nAgent: Thanks, [[NAME|Nadine]].","known":{"names":["Nadine Arseneau"],"phones":[],"emails":["nadine.arseneau@example.net"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-125","channel":"call","lang":"en","text":"Caller: This is for the fertility tax credit. The form asks for my SIN, which is [[SIN|529 117 304]]. Should I say it again? [[SIN|Five two nine, one one seven, three zero four]].\nAgent: That is fine, I have it. And your spouse's?\nCaller: His is [[SIN|412 880 659]]. His name is [[NAME|Samir Haddad-Nasr]], and I'm [[NAME|Lina Haddad-Nasr]].\nAgent: Thank you, [[NAME|Lina]]. [[PROVIDER|Rebecca]] will fill in the clinic part.\nCaller: One more thing, we moved in [[DATE|September]] so the address on last year's receipts is old.","known":{"names":["Lina Haddad-Nasr","Samir Haddad-Nasr"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-126","channel":"call","lang":"en","text":"Huddle recording, 0715h, transcribed. Okay, quick run-through. Three retrievals, rooms 1 and 2, first one at 0800h. Two FETs at 1030h, both day-5 blastocysts, grades 4AA and 3BB, both PGT-A normal. One IUI at 1130h. Room 3 is down for cleaning until noon, so the HSGs move to 1300h. Lab freezer 4 alarm was a false trip, temp read minus 196. Stims patients: eleven on the list for monitoring, bloods close at 0930h. Remember the new consent form version 6 goes live Monday. That's all, thanks everybody.","known":{}} +{"id":"v11-en-call-127","channel":"call","lang":"en","text":"Voicemail, 1648h. This message is for the practice manager. My name is [[NAME|Priscilla Dumont]], I'm an attorney representing [[NAME|Hector Rivas]] and [[NAME|Alma Rivas]] in the matter of their surrogacy agreement, court file number [[ID|26-FC-04417]]. I need a certified copy of the embryo disposition forms, signed. Please send it to the office, my direct line is [[PHONE|(404) 555-0261]], or email [[EMAIL|pdumont@example.org]]. The hearing is on the [[DATE|ninth of January]] so we are somewhat short on time. Thank you.","known":{"names":["Hector Rivas","Alma Rivas"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-128","channel":"call","lang":"en","text":"AI call summary (agent assist), 18:21\nPatient [[NAME|Geraldine Boateng]], DOB [[DATE|1990-11-02]], MRN [[MRN|0061209]]. Spouse [[NAME|Kwabena]] joined at minute 4. Topics covered in order: (1) cancelled FET on [[DATE|Nov 24]] because lining was 6.2 mm, (2) whether to switch from oral to patch estrogen, (3) cost of storage renewal, $650 per year, (4) frustration that two nurses gave different instructions. Dr. [[PROVIDER|Okonkwo]] note requested. Caller mentioned they live in [[ADDRESS|Stone Mountain]] and the commute is an hour. Follow-up: [[PROVIDER|Hope Comeau]] to call back by 1700h tomorrow. Caller email on file confirmed: [[EMAIL|gboateng@example.com]].","known":{"names":["Geraldine Boateng"],"phones":[],"emails":["gboateng@example.com"],"dates_of_birth":["1990-11-02"],"addresses":[],"identifiers":["MRN 0061209"]}} +{"id":"v11-en-call-129","channel":"call","lang":"en","text":"Voicemail, 2201h. Hi. It's me again. I don't know who checks these. My bloods came back, AMH 0.8, and my BMI was 31.2 at the consult, and the doctor said the clinic won't do an IVF cycle until I lose weight, but I read online that other places do. I'm not trying to be rude. I just want somebody to explain it without making me feel like it's all my fault. Please don't call before nine tomorrow, I work nights. Thank you. Bye.","known":{}} +{"id":"v11-en-call-130","channel":"call","lang":"en","text":"Agent: Atlanta office, you're speaking with the virtual assistant.\nCaller: I'm calling to update my work info. I teach at [[EMPLOYER|Westmount Elementary]], and my insurance is through the school district. My name is [[NAME|Corrine Pettiford]].\nAgent: Thank you, [[NAME|Corrine]]. Do you also want the child's school listed?\nCaller: No, my son [[NAME|Theo]] is only two. He's at the daycare on [[ADDRESS|Candler Road]].\nAgent: Okay, I've updated your employer. Would you like to speak to [[PROVIDER|Layla Saliba]] about the benefit letter?\nCaller: Yes please, the school district wants it by the end of the month.","known":{"names":["Corrine Pettiford"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-131","channel":"call","lang":"en","text":"Voicemail, caseworker. Hello, this is [[NAME|Odalys Brantley]] with Fulton County Family Services, I'm the caseworker for Mr. and Mrs. [[NAME|Teague]]. They're foster parents to [[NAME|Kiara]], who is nine, and they've asked about egg freezing for their biological daughter [[NAME|Shanice Teague]], age twenty-four. [[NAME|Shanice]] has Medicaid, and I'm calling to see if your clinic has any programs. You can reach me at [[PHONE|404-555-0338]], extension 12. Thanks very much.","known":{"names":["Shanice Teague"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-132","channel":"call","lang":"en","text":"Agent: Auto reminder. This is Magnolia Reproductive Associates. You have an appointment on your calendar. Please arrive fifteen minutes early. If you cannot make it, call us at least 24 hours in advance. Our Atlanta number is 404-555-0700. To confirm, press 1. To reschedule, press 2. To speak to someone, press 0.\nCaller: [presses 1]\nAgent: Thank you. Your appointment is confirmed. Please remember that the front desk charges a $75 fee for appointments cancelled without notice.","known":{}} +{"id":"v11-en-call-133","channel":"call","lang":"en","text":"Agent: I just need a vehicle plate for the garage validation.\nCaller: Sure, it's a grey Subaru, plate [[ID|TFR 4418]], Georgia.\nAgent: Thanks. The garage is on Peachtree Park Drive, level 3 is free for patients.\nCaller: I'm also bringing my sister [[NAME|Ayesha]] as my support person for the retrieval.\nAgent: She'll need her ID at the front desk. And the driver, [[NAME|Ayesha]], should be the one who signs you out.\nCaller: Got it. I'm [[NAME|Imani Gaskins]] by the way, I'm with Dr. [[PROVIDER|Whitaker]]... sorry, [[PROVIDER|Chase]] said he'd be doing it.","known":{"names":["Imani Gaskins"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-134","channel":"call","lang":"en","text":"[Interpreter-assisted call, Arabic/English, Halifax]\nAgent: Hello, Halifax office.\nInterpreter: Hello, interpreter [[NAME|Hanan]] speaking. The patient is [[NAME|Zeinab Khoury]], calling about her husband's semen analysis.\nAgent: Thanks. I can only discuss the file with [[NAME|Zeinab]]. Can she confirm her birth date?\nInterpreter: [[DATE|The third of February, nineteen eighty-eight]].\nAgent: And the health card?\nInterpreter: She is reading it: [[HEALTH_CARD|9876 543 210]].\nAgent: Good. Tell her [[PROVIDER|Layla Saliba]] can see her next week, and she should bring the lab form.","known":{"names":["Zeinab Khoury"],"phones":[],"emails":[],"dates_of_birth":["1988-02-03"],"addresses":[],"identifiers":["9876 543 210"]}} +{"id":"v11-en-call-135","channel":"call","lang":"en","text":"Voicemail, nurse line, 0800h. Hi, I'm calling about the Lupron. I took it at about 2100h last night, then I noticed the pen cap was cracked and I'm not sure I got the whole dose. It's the 14-day kit, lot number on the box ends in 0457. I did not spot or have a headache. Could you tell me if I should repeat tonight's dose or wait? I'm on cycle day 21 and I start estrogen in three days. I'm at my desk until 1700h, I can pick up.","known":{}} +{"id":"v11-en-call-136","channel":"call","lang":"en","text":"Staff voicemail, internal ext 4402. Hey [[PROVIDER|Summer]], it's [[PROVIDER|Kareem]]. Can you and [[PROVIDER|TW]] cover the 1030h consult for Dr. [[PROVIDER|Shapiro]]? [[PROVIDER|AD]] is out sick and [[PROVIDER|NBD]] is in the OR. Also the agency nurse badge is not working so please have [[PROVIDER|Selam]] sign her in. Thank you!","known":{}} +{"id":"v11-en-call-137","channel":"call","lang":"en","text":"Agent: Anything else I can put on the account?\nCaller: Yes, we started a GoFundMe, [[URL|gofundme.example.com/f/baby-for-the-reyes]], and if you can add it to our financial counselling notes, I know [[PROVIDER|Monique]] said it might help with the payment plan.\nAgent: I can note it. Who am I speaking to?\nCaller: [[NAME|Esteban Reyes]]. My wife is [[NAME|Camila]]. My other number is [[PHONE|470.555.0129]] if you can't reach her.\nAgent: Thanks, [[NAME|Esteban]]. Our team will reach out.","known":{"names":["Camila Reyes","Esteban Reyes"],"phones":["470-555-0129"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-call-138","channel":"call","lang":"en","text":"Agent: I'll need a mailing address for the medication shipment.\nCaller: Okay. The number is [[ADDRESS|forty-one]].\nAgent: Forty-one what?\nCaller: [[ADDRESS|Oak Hollow Lane]]. Hold on. It's [[ADDRESS|Oak Hollow]], two words. Then it's [[ADDRESS|Lilburn]].\nAgent: And the zip?\nCaller: [[ZIP|three oh oh four seven]].\nAgent: Thank you. [[ADDRESS|Forty-one Oak Hollow Lane, Lilburn]], [[ZIP|three zero zero four seven]]. Name on the delivery?\nCaller: [[NAME|Rosalind Achebe]]. A, C, H, E, B, E, I think, no, [[NAME|A-C-H-E-B-E]]. Yes.","known":{"names":["Rosalind Achebe"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":["41 Oak Hollow Lane, Lilburn, GA"],"identifiers":[]}} +{"id":"v11-en-call-139","channel":"call","lang":"en","text":"Pharmacy call, transcript. Hi, this is the tech at Peachtree Specialty Rx. I'm calling to verify the order for a cooler on Thursday. We have Menopur 75 IU, NDC 55566-0204-01, lot 8A2231, expires 03/2027, 10 vials, and cetrorelix 0.25 mg, 7 syringes. Total is $1,184.50 after the manufacturer savings card. Can you confirm that the signature hold is on for the ship date? Our order number is PX-0044192. Call us back at the pharmacy desk, extension 212. Thanks.","known":{}} +{"id":"v11-en-call-140","channel":"call","lang":"en","text":"Caller: I need to know why I never got my embryo transport paperwork.\nAgent: Let me look. Name?\nCaller: [[NAME|Priya Venkataraman]]. We're moving to [[ADDRESS|Raleigh]] in [[DATE|July]], and the new clinic asked for a letter from Dr. [[PROVIDER|Deshmukh]].\nAgent: I see it was sent to [[EMAIL|priya.v@example.com]].\nCaller: That's the wrong one. It's [[EMAIL|pvenkat.moving@example.org]]. My partner [[NAME|Arjun]] mistyped it.\nAgent: Thank you [[NAME|Priya]]. I'll resend it. Please allow two to three business days.","known":{"names":["Priya Venkataraman"],"phones":[],"emails":["priya.v@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-141","channel":"email","lang":"en","text":"From: [[NAME|Delphine Achterberg]] <[[EMAIL|dachterberg@example.com]]>\nTo: Magnolia Reproductive Associates \nSubject: Re: Re: Re: Beta result and next steps\n\nHi [[PROVIDER|Hope]],\n\nThanks for calling yesterday. I'm still confused about the second beta. You said 38 and then the portal says 61. Which is it? Dr. [[PROVIDER|Okonkwo]] told me on the phone that anything doubling is good but I don't want to get my hopes up again after the last time in [[DATE|February]].\n\nAlso, can you confirm you have my right address for the progesterone shipment? It is [[ADDRESS|7714 Glenridge Trail, Unit 12]], Sandy Springs, [[ZIP|30328]]. The courier left it at the wrong unit twice.\n\nThanks,\n[[NAME|Delphine]]\n\n> On Tue, [[PROVIDER|Hope Comeau]] wrote:\n> Hi [[NAME|Delphine]], glad we connected. The first beta on [[DATE|Nov 12]] was 38 and the repeat on Nov 14 was 61, so that is a rise. Please come in Monday at 0900h for the third.\n>\n> > From: [[NAME|Delphine Achterberg]]\n> > I had my beta this morning, should I be worried that it's low?","known":{"names":["Delphine Achterberg"],"phones":[],"emails":["dachterberg@example.com"],"dates_of_birth":[],"addresses":["7714 Glenridge Trail, Unit 12, Sandy Springs, GA 30328"],"identifiers":[]}} +{"id":"v11-en-email-142","channel":"email","lang":"en","text":"Subject: Magnolia November Newsletter\n\nHello from Magnolia Reproductive Associates!\n\nIn this issue:\n- Free webinar: 'Egg Freezing 101', Tuesday at 7:00pm ET\n- New Halifax hours: Monday to Thursday, 0800h to 1600h\n- What's new in PGT-A: our lab now reports mosaic embryos by percentage\n- A note from our nursing team on injection tips\n\nOur Atlanta and Halifax offices will be closed on Thursday and Friday for Thanksgiving.\n\nFollow us on Instagram @MagnoliaFertilityATL or visit www.magnolia-ra.example.org.\n\nMagnolia Reproductive Associates - 1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309 - 404-555-0700\nTo stop receiving emails, reply STOP.","known":{}} +{"id":"v11-en-email-143","channel":"email","lang":"en","text":"From: [[NAME|Marguerite Oyelaran]] <[[EMAIL|marguerite.oyelaran@example.net]]>\nTo: [[PROVIDER|Monique Rich]] \nCc: [[NAME|Femi Oyelaran]] <[[EMAIL|femi.oyelaran@example.net]]>, [[NAME|Lorraine Tisdale]] <[[EMAIL|ltisdale@example.org]]>\nSubject: FWD: Denial letter, claim [[ACCOUNT|7704-118-A]]\n\n[[PROVIDER|Monique]], forwarding the denial. [[NAME|Lorraine]] from Blue Ridge Mutual says it was coded wrong. Member ID is [[HEALTH_CARD|BRM 8830 2214 05]], group [[ACCOUNT|G-440182]]. Can you rebill with the correct diagnosis? We have until [[DATE|December 19]] to appeal.\n\n[[NAME|Marguerite]]\n\n---------- Forwarded message ----------\nFrom: [[NAME|Lorraine Tisdale]] <[[EMAIL|ltisdale@example.org]]>\nDate: [[DATE|Nov 10, 2026]]\nSubject: Your denial\n\nDear Ms. [[NAME|Oyelaran]],\nYour claim has been denied. Appeals must be filed in 45 days.","known":{"names":["Marguerite Oyelaran","Femi Oyelaran"],"phones":[],"emails":["marguerite.oyelaran@example.net"],"dates_of_birth":[],"addresses":[],"identifiers":["BRM 8830 2214 05"]}} +{"id":"v11-en-email-144","channel":"email","lang":"en","text":"Subject: Your results are available\n\nA new result has been posted to your patient portal.\n\nTo view it, sign in at https://portal.magnolia-ra.example.org. For your privacy, we do not include results in email.\n\nIf you did not expect this message, please contact our front desk at 404-555-0700 (Atlanta) or 902-555-0710 (Halifax).\n\nThis email was sent from an unmonitored address. Do not reply. Accession batch 2026-1120-B. Magnolia Reproductive Associates.","known":{}} +{"id":"v11-en-email-145","channel":"email","lang":"en","text":"From: [[NAME|Oluwaseun Adebayo-Clarke]] <[[EMAIL|seun.adebayo@example.com]]>\nTo: billing@magnolia-ra.example.org\nSubject: Refund details\n\nHello billing,\n\nPlease send the refund of the cancelled cycle to my bank in the UK. IBAN [[ACCOUNT|GB82 TEST 1234 5698 7654 32]], BIC TESTGB2L, account holder [[NAME|Oluwaseun Adebayo-Clarke]]. I know it takes longer but I'm back in [[ADDRESS|Lagos]] next month.\n\nMy deposit was invoice number INV-30119, $2,400, and I paid with card ending [[ACCOUNT|3391]].\n\nRegards,\n[[NAME|Seun]]\n\n[[NAME|Oluwaseun Adebayo-Clarke]]\nSent from my iPhone","known":{"names":["Oluwaseun Adebayo-Clarke"],"phones":[],"emails":["seun.adebayo@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-146","channel":"email","lang":"en","text":"From: [[NAME|Bernadette Quigley]], Benefits Specialist\nTo: [[NAME|Walter Pruitt]]\nCc: [[PROVIDER|Layla Saliba]]\nSubject: Re: Your fertility coverage letter\n\nHi [[NAME|Walter]],\n\nI got the form back from the clinic. Under the Evergreen Health Plan the lifetime maximum for fertility treatment is $25,000, and you have used $11,200. The remaining balance is available once you pay the deductible. Reference: [[ACCOUNT|EHP-2026-77301]].\n\nBest,\n[[NAME|Bernadette]]\n\n[[NAME|Bernadette Quigley]]\nBenefits Specialist, [[EMPLOYER|Stonefield Manufacturing Group]]\nDirect: [[PHONE|(770) 555-0212]]","known":{"names":["Walter Pruitt"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-147","channel":"email","lang":"en","text":"From: [[PROVIDER|Jessica Hartley]]\nTo: Nursing team\nSubject: Stim protocol update, effective Monday\n\nTeam,\n\nPer Dr. [[PROVIDER|Banks]] and Dr. [[PROVIDER|Okonkwo]], we are changing the antagonist start to day 5 for all standard responders, flexible start for AMH under 1.0. Gonadotropin starting doses stay the same, 150 to 225 IU. Trigger is now dual for any patient with E2 over 3000.\n\nPlease update the cheat sheet (v7) and the patient handout. [[PROVIDER|MJP]] has the new template. Questions to me or [[PROVIDER|HC]].\n\nThanks,\n[[PROVIDER|Jess]]\n\nProtocol doc: PRT-STIM-07","known":{}} +{"id":"v11-en-email-148","channel":"email","lang":"en","text":"From: Dr. [[PROVIDER|Alan Pemberton]], Perimeter Women's Health\nTo: Magnolia Reproductive Associates \nSubject: Referral: [[NAME|Sunita Raghavan]], DOB [[DATE|1984-06-17]]\n\nDear colleagues,\n\nI am referring Mrs. [[NAME|Raghavan]], a 42-year-old G1P0 with unexplained infertility for three years and diminished ovarian reserve (AMH 0.4). She had a normal HSG in [[DATE|March]] and her husband's semen analysis was normal. Please advise on IVF with PGT-A. She lives in [[ADDRESS|Alpharetta]] and works at [[EMPLOYER|Crestline Software]].\n\nHer phone is [[PHONE|678-555-0377]]. Records attached as 'Scan - [[NAME|Raghavan, Sunita]].pdf'.\n\nSincerely,\nDr. [[PROVIDER|Pemberton]]\nFax: [[PHONE|770-555-0391]]","known":{"names":["Sunita Raghavan"],"phones":["678-555-0377"],"emails":[],"dates_of_birth":["1984-06-17"],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-149","channel":"email","lang":"en","text":"Subject: Formal complaint\n\nTo whom it may concern,\n\nI am writing to complain about the care my wife and I received. We have been patients since [[DATE|April 2025]] and the experience has declined each month. I was told the wrong thing about embryo storage fees by three different people. I will be copying my attorney, [[NAME|Desmond Okeke]], on all further correspondence.\n\nI expect a response within seven days.\n\n[[NAME|Chukwuma Ibe]]\n[[ADDRESS|412 Dunwoody Club Drive]]\n[[PHONE|+1 770 555 0149]]\n\nCc: [[NAME|Desmond Okeke]] <[[EMAIL|dokeke@example.org]]>","known":{"names":["Chukwuma Ibe"],"phones":["770-555-0149"],"emails":[],"dates_of_birth":[],"addresses":["412 Dunwoody Club Drive, Dunwoody, GA"],"identifiers":[]}} +{"id":"v11-en-email-150","channel":"email","lang":"en","text":"Subject: Questions about egg freezing\n\nHi there,\n\nI'm thirty-one and thinking about freezing my eggs next year. I have a few questions before I book a consult:\n\n1. What is the total cost, including medication and storage?\n2. How many cycles do people usually need?\n3. Is AMH testing required at the consult or can it be done earlier at my family doctor?\n4. Do you offer financing?\n\nI saw on your Instagram that you do a free info night. Is that still happening?\n\nThanks very much,\nA future patient","known":{}} +{"id":"v11-en-email-151","channel":"email","lang":"en","text":"From: [[NAME|Cassidy Moreau]] <[[EMAIL|cassmoreau@example.com]]>\nTo: billing@magnolia-ra.example.org\nSubject: Re: Invoice\n\nHi, my invoice is [[ACCOUNT|INV-30662]]. I'd like to pay half now and half in December. I can send via Venmo [[ACCOUNT|@cassidy-moreau-4]] if you have one. If not, I'll use the portal.\n\nAlso my HSA account number is [[ACCOUNT|HSA-00448129]], can you submit the claim to them directly?\n\nThank you,\n[[NAME|Cass]]","known":{"names":["Cassidy Moreau"],"phones":[],"emails":["cassmoreau@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-152","channel":"email","lang":"en","text":"Hi Nurse [[PROVIDER|Hope]],\n\nThis is [[NAME|Dante]], [[NAME|Alicia Brennan]]'s husband. She asked me to write because she's not feeling well after the retrieval, a lot of pain on her left side and she's been vomiting since about 1800h. We're at home. She says it's different from the cramping they told us about. Should we go to the ER or wait until tomorrow morning?\n\nMy cell is [[PHONE|404-555-0188]], please call right away.\n\n[[NAME|Dante Brennan]]\nSent from my iPhone","known":{"names":["Alicia Brennan"],"phones":["404-555-0166"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-153","channel":"email","lang":"en","text":"From: [[NAME|Josée Doucet]] <[[EMAIL|jdoucet@example.net]]>\nTo: halifax office\nSubject: Address change for tax credit\n\nHello,\n\nPlease update my address to: [[ADDRESS|123, rue Principale, app. 4]], [[ADDRESS|Chéticamp]], Nova Scotia, [[POSTAL_CODE|B0E 1H0]]. My spouse [[NAME|Luc Doucet]] and I moved there in [[DATE|August]] for his job at [[EMPLOYER|Cabot Trail Seafoods]].\n\nMy health card number is [[HEALTH_CARD|2468 135 790]] and my date of birth is [[DATE|1992-02-29]]. [[PROVIDER|Rebecca Goldfarb]] asked for it for the form.\n\nMerci,\n[[NAME|Josée]]","known":{"names":["Josée Doucet"],"phones":[],"emails":["jdoucet@example.net"],"dates_of_birth":["1992-02-29"],"addresses":["45 Chemin du Cap, Chéticamp, NS"],"identifiers":["2468 135 790"]}} +{"id":"v11-en-email-154","channel":"email","lang":"en","text":"Subject: New message in your portal\n\nHello,\n\nYou have 1 new secure message from your care team. Sign in at https://portal.magnolia-ra.example.org to read it. Messages are available for 90 days.\n\nNeed help? Visit magnolia-ra.example.org/portal or call 404-555-0700.\n\nThis is an automated notice. Do not reply. Magnolia Reproductive Associates, 1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309.","known":{}} +{"id":"v11-en-email-155","channel":"email","lang":"en","text":"From: [[NAME|Whitney Castellano]], Case Manager, Harbor Surrogacy Partners\nTo: [[PROVIDER|Thao Le]]\nCc: [[NAME|Jared Moss]], [[NAME|Ellen Moss]]\nSubject: Surrogate screening records for [[NAME|Bria Lamont]]\n\nHi [[PROVIDER|Thao]],\n\nAttached are the medical screening records for our gestational carrier [[NAME|Bria Lamont]], DOB [[DATE|1993-08-20]]. She lives at [[ADDRESS|PO Box 118]], [[ADDRESS|Cartersville]]. The intended parents, [[NAME|Jared]] and [[NAME|Ellen]], would like to schedule the mock cycle for the week of [[DATE|December 7]].\n\nAgency file: [[ID|HSP-26-0412]]\nDonor egg ID: [[DONOR_ID|EGG-77214]]\n\nBest,\n[[NAME|Whitney]]\n[[PHONE|404-555-0293]]","known":{"names":["Bria Lamont","Jared Moss","Ellen Moss"],"phones":[],"emails":[],"dates_of_birth":["1993-08-20"],"addresses":[],"identifiers":["EGG-77214"]}} +{"id":"v11-en-email-156","channel":"email","lang":"en","text":"From: Cryo Supply Co. Orders\nTo: [[PROVIDER|Jerome Borden]]\nSubject: Order confirmation PO-2026-0888\n\nThank you for your order.\n\nItem: Liquid nitrogen dewar, 35L, 1 each, $1,180.00\nItem: Cryo straws 0.25 mL, case of 500, $412.00\nItem: Vitrification kit, lot 5K2204, exp 06/2027, qty 4\nShipping: 3 to 5 business days to 1180 Peachtree Park Drive NE, Suite 400, Atlanta GA 30309\n\nTrack: TRK-90044172\n\nQuestions? Call 800-555-0111 or reply to this email.","known":{}} +{"id":"v11-en-email-157","channel":"email","lang":"en","text":"Hi,\n\nI need to move Thursday's appointment. I'm on a work trip so I won't be back until the weekend. Also, for the courier, when I'm home, the drop location is at [[ADDRESS|34.0522, -84.2980]] near the barn, the driveway is unmarked.\n\nMy FSA account is under my employer, [[EMPLOYER|Meridian Dental Group]], and the number is [[ACCOUNT|FSA-7720-5531]].\n\nThanks,\n[[NAME|T. Valcourt]]\n[[EMAIL|tvalcourt@example.com]]","known":{"names":["Thibault Valcourt"],"phones":[],"emails":["tvalcourt@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-158","channel":"email","lang":"en","text":"From: [[PROVIDER|Selam Bekele]]\nTo: [[PROVIDER|Marcus Banks]], [[PROVIDER|Hope Comeau]]\nSubject: Fwd: Re: Fwd: patient transfer\n\nFYI, see below. Pt wants to transfer embryos to the Raleigh clinic.\n\n-----Original Message-----\nFrom: [[NAME|Imogen Prescott]] <[[EMAIL|iprescott@example.com]]>\nSent: [[DATE|Tuesday, November 17, 2026]] 3:42 PM\nTo: [[PROVIDER|Selam Bekele]]\nSubject: Re: Fwd: patient transfer\n\nHi [[PROVIDER|Selam]], my embryos (6 frozen, day 5) are to go to the other clinic. Shipping date [[DATE|December 2]]. Their lab is asking for the signed release.\n\n-----Original Message-----\nFrom: [[PROVIDER|Selam Bekele]]\nSent: [[DATE|Monday, November 16, 2026]] 10:05 AM\nTo: [[NAME|Imogen Prescott]]\n\nHi [[NAME|Imogen]], attached is the release form. Please sign page 3.","known":{"names":["Imogen Prescott"],"phones":[],"emails":["iprescott@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-159","channel":"email","lang":"en","text":"hey can you guys tell me if the doctor got my cd3 labs, FSH 7.1 and E2 38? not sure if the lab faxed them. thx\n\n[[NAME|Noelle P]]","known":{"names":["Noelle Prater"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-160","channel":"email","lang":"en","text":"From: [[NAME|Isaiah Fontenot]] <[[EMAIL|ifontenot@example.net]]>\nTo: support@magnolia-ra.example.org\nSubject: Re: [TKT-49002] Portal login not working\n\nStill locked out. I tried the reset link you sent and it says the link expired. I'm trying from my laptop and my phone. Please just call me, [[PHONE|(678) 555-0412]].\n\n---\nOn Wed, [[PROVIDER|Thao Le]] wrote:\n> Hi [[NAME|Isaiah]], we've reset it again. Please use the new link within 30 minutes.\n>\n> On [[DATE|Nov 16]], [[NAME|Isaiah]] wrote:\n> > The link in the email goes to a blank page.\n> >\n> > On [[DATE|Nov 13]], support wrote:\n> > > Thank you for contacting Magnolia. Your ticket number is TKT-49002. Please do not send your date of birth by email. A team member will respond within two business days.","known":{"names":["Isaiah Fontenot"],"phones":["678-555-0412"],"emails":["ifontenot@example.net"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-161","channel":"email","lang":"en","text":"Subject: Policy updates, effective January 1\n\nDear patients,\n\nWe are making three changes to our policies:\n\n1. Late cancellation fee for monitoring visits is now $50. Procedures remain $150.\n2. Our consent forms are being updated to version 7. You may be asked to re-sign at your next visit.\n3. Prescription refill requests must be made through the portal at least 72 hours before you run out.\n\nOur offices will be closed December 24 to 26 and on January 1. The nurse line remains open for urgent needs.\n\nThank you for trusting us with your care.\n\nMagnolia Reproductive Associates\nAtlanta 404-555-0700 - Halifax 902-555-0710\nwww.magnolia-ra.example.org","known":{}} +{"id":"v11-en-email-162","channel":"email","lang":"en","text":"From: Sgt. [[NAME|Marcellus Boone]] <[[EMAIL|mboone.family@example.org]]>\nTo: Magnolia Reproductive \nSubject: Mailing address for my wife's meds\n\nMy wife [[NAME|Krista Boone]] is staying with her mother while I'm deployed. Please ship to her at [[ADDRESS|Unit 3, Barracks Row 14, Fort Moore]], [[ZIP|31905]]. My military mailing address is [[ADDRESS|PSC 4012, Box 88]], APO AE [[ZIP|09720]]. I'm [[ID|1294-77-0831]] for the military ID if you need it. We'll be at the clinic in [[DATE|January]].\n\n[[NAME|Marcellus]]","known":{"names":["Krista Boone"],"phones":[],"emails":["mboone.family@example.org"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-163","channel":"email","lang":"en","text":"Subject: Thank you, and a hard goodbye\n\nTo the nurses and doctors who looked after me,\n\nI wanted to write because I don't know how to say this on the phone. After the miscarriage last week we have decided to take a break. I want you to know that every single person on that floor was kind, from the people at the front desk to the person who held my hand during the scan. Please tell them I said thank you. I'm not ready to talk about next steps, and I would be grateful if nobody calls me for a while.\n\nWith love and gratitude,\nA patient","known":{}} +{"id":"v11-en-email-164","channel":"email","lang":"en","text":"From: [[NAME|Monica Alvarenga]]\nTo: [[PROVIDER|Layla Saliba]]\nSubject: Accommodation letter request\n\nHi [[PROVIDER|Layla]],\n\nMy employer, [[EMPLOYER|Brightwater Logistics]], is asking for a letter confirming that my IVF schedule requires early morning appointments (0700h to 0900h) through [[DATE|early December]]. The HR coordinator is [[NAME|Greg Tolliver]] and his email is [[EMAIL|gtolliver@example.com]]. They want it addressed to him.\n\nPlease keep the details minimal, I haven't told my manager anything.\n\nThanks!\n[[NAME|Monica]]","known":{"names":["Monica Alvarenga"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-165","channel":"email","lang":"en","text":"Good day,\n\nMy name is [[NAME|Chinedu Obi]] and my wife is [[NAME|Ngozi Obi]]. We are from the Nigerian community in [[ADDRESS|Lithonia]] and a friend recommended your clinic. We would like to pay the consult deposit by wire. My bank is routing [[ACCOUNT|061000052]] account [[ACCOUNT|0048812207]]. Please send us the clinic details. Also my wife's passport number is [[ID|A12345678]] if you need it for the international records transfer from Lagos.\n\nKind regards,\n[[NAME|Chinedu Obi]]\n[[PHONE|+1 (678) 555-0324]]","known":{"names":["Chinedu Obi","Ngozi Obi"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-166","channel":"email","lang":"en","text":"From: [[PROVIDER|Jerome Borden]]\nTo: Dr. [[PROVIDER|Okonkwo]], Dr. [[PROVIDER|Banks]], [[PROVIDER|AD]], [[PROVIDER|NBD]]\nSubject: Embryology weekly\n\nHi all,\n\nBlast rate last month 52%, fertilization 78% (ICSI 81%). Incubator 2 CO2 drifted to 6.4%, recalibrated 11/12, no embryos affected. PGT-A biopsy turnaround from the reference lab averages 9 days. Freezer 4 inventory audit complete, no discrepancies. New dewar arrives next week.\n\n[[PROVIDER|JB]]","known":{}} +{"id":"v11-en-email-167","channel":"email","lang":"en","text":"Subject: Meet FertiTrack, the cycle app clinics love\n\nHi there,\n\nWe're FertiTrack. Our app syncs with thermometers, ovulation strips and wearable bands to chart cycle day, BBT and LH. Clinics get a dashboard and your patients get reminders for meds. Pricing starts at $19 per month per provider, with a 60-day trial.\n\nBook a demo: www.fertitrack-demo.example.com\n\nBest,\nThe FertiTrack team\n\nUnsubscribe: reply with the word STOP.","known":{}} +{"id":"v11-en-email-168","channel":"email","lang":"en","text":"From: [[NAME|Alanna Sack]] <[[EMAIL|asack@example.net]]>\nTo: Halifax office\nSubject: Question about travel\n\nHello, I'm from [[ADDRESS|Eskasoni First Nation]] on Cape Breton and I'm about three and a half hours from Halifax. For monitoring, can I do bloods at the health centre in [[ADDRESS|Eskasoni]] and send them to you? My health card is [[HEALTH_CARD|1357 924 680]]. I may also need a letter for non-insured health benefits transport. My band number is [[ID|BN-4471-210]].\n\nWela'lioq,\n[[NAME|Alanna Sack]]","known":{"names":["Alanna Sack"],"phones":[],"emails":["asack@example.net"],"dates_of_birth":[],"addresses":[],"identifiers":["1357 924 680"]}} +{"id":"v11-en-email-169","channel":"email","lang":"en","text":"From: [[NAME|Ji-woo Han]] <[[EMAIL|jwhan@example.com]]>\nTo: frontdesk@magnolia-ra.example.org\nSubject: Re: Consult booking\n\nHi,\n\nYes, Thursday at 1:30pm ET works. My husband [[NAME|Dong-hyun Han]] will come with me. We live in [[ADDRESS|Duluth]], off [[ADDRESS|Pleasant Hill Road]], so we will try to leave early. I attached my husband's passport and my Korean ID.\n\nAlso can Dr. [[PROVIDER|Park]] see us, or is Dr. [[PROVIDER|Min-jun Park]] a man? A friend said he speaks Korean.\n\nThank you,\n[[NAME|Ji-woo]]","known":{"names":["Ji-woo Han","Dong-hyun Han"],"phones":[],"emails":["jwhan@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-170","channel":"email","lang":"en","text":"Subject: Security alert: new sign-in to your portal\n\nHello [[NAME|Renee]],\n\nWe noticed a sign-in to your patient portal account:\n\nUser: [[ID|rpoitier_5530]]\nTime: 2026-11-18 21:14 ET\nIP address: [[IP_ADDRESS|203.0.113.45]]\nDevice: Chrome on Windows\n\nIf this was you, no action is needed. If not, reset your password at https://portal.magnolia-ra.example.org. Last known sign-in was from [[IP_ADDRESS|198.51.100.7]].\n\nMagnolia Reproductive Associates Security","known":{"names":["Renee Poitier"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["rpoitier_5530"]}} +{"id":"v11-en-email-171","channel":"email","lang":"en","text":"Hi,\n\nQuick question for the nurses. I'm on estradiol 2 mg twice a day and progesterone suppositories 200 mg, and my GP just prescribed amoxicillin 500 mg for a sinus infection. Is that okay with the transfer? Also can I use Tylenol for headaches? I take levothyroxine 75 mcg in the morning, my TSH was 1.9. I'd rather email than call because I'm at work most of the day.\n\nThanks a lot","known":{}} +{"id":"v11-en-email-172","channel":"email","lang":"en","text":"From: [[NAME|Rosalind Greer]], Attorney at Law\nTo: [[PROVIDER|Thao Le]]\nSubject: Known donor agreement, [[NAME|Hadley]] matter\n\nDear Ms. [[PROVIDER|Le]],\n\nI represent [[NAME|Hadley Vance]] and [[NAME|Priyanka Vance]] regarding the known donor, [[NAME|Tobias Reiner]]. Please find the executed donor agreement under court docket [[ID|26-DR-1182]]. The donor's screening results should be released to our office only on written authorization from Mr. [[NAME|Reiner]].\n\nOur office: [[ADDRESS|900 Marietta Street NW, Suite 8]], Atlanta.\n\nSincerely,\n[[NAME|Rosalind Greer]]","known":{"names":["Hadley Vance","Priyanka Vance"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-173","channel":"email","lang":"en","text":"Subject: Lab report summary, batch 2026-1117\n\nSemen analysis summary (5 samples, deidentified for QC):\nVolume 1.8 to 4.2 mL. Concentration 4 to 62 M/mL. Total motility 22% to 58%. Strict morphology 2% to 6%. DFI testing not performed. Two samples recommended for ICSI. Accession numbers 88104 to 88108. Reagent lot 77A9, exp 08/2027. Incubator temp 37.0 C, humidity 91%. Sperm wash media pH 7.4. Reported to the Atlanta lab director for sign-off.","known":{}} +{"id":"v11-en-email-174","channel":"email","lang":"en","text":"Hi team,\n\nHere's my cycle data export from the app. Account name is [[ID|mayattc_2026]], and the thermometer is serial [[ID|BT-882-014471]]. It shows an LH surge on cycle day 13, and I had my IUI on [[DATE|Nov 19]]. The wearable band is a different serial, [[ID|WB-33-70912]]. I attached the PDF.\n\n[[NAME|Maya Thorne]]\n[[EMAIL|maya.thorne@example.com]]","known":{"names":["Maya Thorne"],"phones":[],"emails":["maya.thorne@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-email-175","channel":"email","lang":"en","text":"From: [[PROVIDER|Jessica Hartley]]\nTo: [[NAME|Ruth Ann Delacroix]] <[[EMAIL|rdelacroix@example.com]]>\nSubject: Re: Re: Day 6 monitoring\n\nHi [[NAME|Ruth Ann]],\n\nYour estradiol today was 840 and you have three follicles at 12 mm. Keep the same dose of 225 IU tonight and come back in [[DATE|Saturday the 21st]] at 0830h, not Friday.\n\n[[PROVIDER|Jessica]]\n\nOn Thu, [[NAME|Ruth Ann]] wrote:\n> Is it normal to bloat this much? Also I'll be at my mother's in [[ADDRESS|Peachtree City]] Friday night, can I still do the injection there?\n>\n> On Wed, [[PROVIDER|Jessica Hartley]] wrote:\n> > Hi [[NAME|Ruth Ann]], see you Thursday at 0800h. [[PROVIDER|Hartley]] sorry, I'm a nurse practitioner, I'll leave the doctor titles to others.","known":{"names":["Ruth Ann Delacroix"],"phones":[],"emails":["rdelacroix@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-note-176","channel":"note","lang":"en","text":"Triage 1420h. Pt [[NAME|KJ]] 34yo G2P1 c/o cramping L>R x2d, 6 days post ET (FET, day-5 4AA). No bleeding, afebrile, no N/V. Hx 1 prior MC. Reassured, advised rest, hydrate, continue PIO 50 mg + estradiol. Repeat HCG on schedule. If heavy bleed or pain >7/10 -> ER. D/w [[PROVIDER|HC]], ok per [[PROVIDER|MB]]. F/u call tomorrow. Pt voiced understanding. Husband [[NAME|Dre]] on speaker.","known":{"names":["Kiana Jeffries"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-note-177","channel":"note","lang":"en","text":"WHITEBOARD (transcribed 0645h)\nRm 1: retrieval 0800, anesth in at 0745\nRm 2: retrieval 0900\nRm 3: FET 1030 (4AA, 3BB), embryology to thaw 0930\nRm 4: IUI 1130\nUS room: monitoring list 0700-0930, 14 pts\nLab: freezer 4 alarm checked ok, LN2 top-up due\nPharmacy cooler pickup 1500\nStaff mtg Thurs 1215 ext 4410\nDO NOT book HSG in Rm 3 until Monday","known":{}} +{"id":"v11-en-note-178","channel":"note","lang":"en","text":"REFERRAL LETTER\n\nTo: Dr. [[PROVIDER|Marcus Banks]], Magnolia Reproductive Associates\nFrom: Dr. [[PROVIDER|Elise Wanamaker]], Roswell Women's Care\nDate: [[DATE|November 3, 2026]]\n\nRe: [[NAME|Priscilla Odom]], DOB [[DATE|08/14/1989]], MRN (ours) [[MRN|RWC-228104]]\n\nDear Dr. [[PROVIDER|Banks]],\n\nThank you for seeing Ms. [[NAME|Odom]], a 37-year-old with PCOS and irregular cycles. She has failed three cycles of letrozole with timed intercourse and one IUI. BMI 29.4, AMH 6.8, TSH 2.2. Her partner [[NAME|Jocelyn]] has normal parameters. Patient resides in [[ADDRESS|Roswell]] and can be reached at [[PHONE|(770) 555-0218]]. Insurance: Peach State Select, ID [[HEALTH_CARD|PSS3392841-01]].\n\nSincerely,\nDr. [[PROVIDER|Wanamaker]]","known":{"names":["Priscilla Odom"],"phones":["770-555-0218"],"emails":[],"dates_of_birth":["1989-08-14"],"addresses":[],"identifiers":["PSS3392841-01"]}} +{"id":"v11-en-note-179","channel":"note","lang":"en","text":"[FAX OCR - page 1 of 3]\nFAX TRANSMISSION\nFROM: HAL1FAX FAMlLY MEDICINE FAX: [[PHONE|902-555-0388]]\nTO: MAGNOLIA REPRODUCTIVE ASSOC FAX: 404-555-0701\nDATE: [[DATE|11/09/2026]] PAGES: 3\nRE: [[NAME|NATHALIE ROY-ARSENAULT]] DOB [[DATE|1991-03-07]]\n\nPlease find lab results enclosed. Rubel1a IgG immune. Vit D 42 ng/mL. TSH 1.7. Pt's hea1th card # [[HEALTH_CARD|4455 667 788]]. Pls fax back confirmation of receipt. CONFIDENTIAL: this fax is intended only for the addressee...","known":{"names":["Nathalie Roy-Arsenault"],"phones":[],"emails":[],"dates_of_birth":["1991-03-07"],"addresses":[],"identifiers":["4455 667 788"]}} +{"id":"v11-en-note-180","channel":"note","lang":"en","text":"NEW PATIENT INTAKE FORM (dump)\nName: [[NAME|ADEBOLA T. FASHOLA]]\nPreferred name: [[NAME|Debbie]]\nDOB: [[DATE|12/03/1986]] Age: 39\nAddress: [[ADDRESS|1788 Cascade Road SW, #4B]], [[ADDRESS|Atlanta]], GA [[ZIP|30311]]\nCell: [[PHONE|404-555-0147]] Email: [[EMAIL|debbie.fashola@example.com]]\nEmployer: [[EMPLOYER|Grady Street Credit Union]]\nSpouse/Partner: [[NAME|Tolu Fashola]]\nEmergency contact: [[NAME|Bimpe Adeyinka]] (sister) [[PHONE|404-555-0219]]\nReferred by: Dr. [[PROVIDER|Jamila Whitlow]]\nReason for visit: unexplained infertility 2 yrs\nPrior pregnancies: 0 Prior treatments: Clomid x3\nInsurance: self-pay","known":{"names":["Adebola Fashola"],"phones":["404-555-0147"],"emails":["debbie.fashola@example.com"],"dates_of_birth":["1986-12-03"],"addresses":["1788 Cascade Road SW, Atlanta, GA 30311"],"identifiers":[]}} +{"id":"v11-en-note-181","channel":"note","lang":"en","text":"EXPLANATION OF BENEFITS (OCR)\nPeach State Select Health\nMember: [[NAME|ELAINE R MORROW]] Member ID: [[HEALTH_CARD|PSS7710294-02]]\nGroup: [[ACCOUNT|0044-8812]] Claim #: [[ACCOUNT|CLM260033871]]\nDate of service: [[DATE|10/27/2026]]\nProvider: MAGNOLIA REPRODUCTIVE ASSOC\nRendering: [[PROVIDER|BANKS MARCUS]]\nCPT 76830 transvaginal US: billed $285.00, allowed $142.00, plan paid $113.60, patient resp $28.40\nCPT 99214 office visit: billed $310.00, allowed $168.00, deductible $168.00\nThis is not a bill. Questions? Call the number on your card.","known":{"names":["Elaine Morrow"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["PSS7710294-02"]}} +{"id":"v11-en-note-182","channel":"note","lang":"en","text":"MEDICATION TEACHING SHEET (handout)\nGanirelix 250 mcg/0.5 mL prefilled syringe. Inject under the skin of the lower abdomen once daily, at about the same time each day, starting on stim day 5 or 6 as directed. Store at room temperature, up to 25 C. Do not freeze. Rotate sites. Mild redness is common. Call the nurse line if you have swelling of the face or trouble breathing. Menopur 75 IU: mix with 1 mL saline, use within 3 hours. Lot numbers and expiry are printed on the box. Sharps container: dispose when 3/4 full. Handout version 4.2, nursing education.","known":{}} +{"id":"v11-en-note-183","channel":"note","lang":"en","text":"AI VISIT SUMMARY (auto-generated, review before filing)\nPatient: [[NAME|Veronica Salazar-Pinto]], 36. Accompanied by husband [[NAME|Mateo]]. Provider: Dr. [[PROVIDER|Adaeze Okonkwo]].\nChief concern: recurrent implantation failure after 3 transfers. History: two children from prior marriage, [[NAME|Luz]] (9) and [[NAME|Andres]] (6) who attend [[EMPLOYER|Hillcrest Montessori]]. Patient works as a nurse at [[EMPLOYER|Northside Medical Center]]. Plan: endometrial receptivity testing, hysteroscopy next cycle, ERA biopsy [[DATE|Dec 4]]. Patient prefers evening calls. Patient lives in [[ADDRESS|Johns Creek]].","known":{"names":["Veronica Salazar-Pinto"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-note-184","channel":"note","lang":"en","text":"Teams chat export, #nurses\n[0702] [[PROVIDER|HC]]: anyone know who has the cooler key\n[0703] [[PROVIDER|Summer]]: [[PROVIDER|DJ]] had it yesterday\n[0705] [[PROVIDER|DJ]]: on my desk, drawer 2\n[0711] [[PROVIDER|Kareem]]: heads up Dr. [[PROVIDER|Whitaker]] is 20 min late, push his 0730 to 0750\n[0712] [[PROVIDER|HC]]: ok. [[PROVIDER|Selam]] can you grab the 0730 bloods?\n[0713] [[PROVIDER|SB]]: on it\n[0720] [[PROVIDER|Hope]]: also the Menopur delivery is in the fridge on level 2, not the pharmacy","known":{}} +{"id":"v11-en-note-185","channel":"note","lang":"en","text":"PGT-A SUMMARY (deidentified QC copy)\nBatch 88A. 14 embryos biopsied, 11 day-5, 3 day-6. Results: 6 euploid, 2 mosaic (low, 20-30%), 5 aneuploid, 1 no result. Biopsy to result turnaround 8 days. Average grade 3BB. Transfer recommendation per protocol PGT-SOP-03: euploid first, single embryo. Reference lab accession range 55001-55014. Report version 2.1. No patient identifiers attached to this QC copy.","known":{}} +{"id":"v11-en-note-186","channel":"note","lang":"en","text":"COUNSELLING NOTE, 50 min\nClient [[NAME|Bethel Tesfaye]] (Ethiopian community, Atlanta) with husband [[NAME|Yonas]]. Presenting: grief after second loss at 11 wk, guilt, strain with mother-in-law [[NAME|Almaz]] who has been critical. Couple lives in [[ADDRESS|Cherokee County]] and commutes to [[EMPLOYER|Georgia Tech]] where [[NAME|Yonas]] works as a researcher. Sleep poor, appetite down. Safety screen negative. Plan: weekly sessions, sleep hygiene, refer to support group on [[DATE|Dec 3]]. Medical team ([[PROVIDER|AO]], [[PROVIDER|JH]]) aware of therapy start. Counsellor: [[PROVIDER|Rebecca Goldfarb]].","known":{"names":["Bethel Tesfaye","Yonas Tesfaye"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-note-187","channel":"note","lang":"en","text":"[OCR of screenshot, iMessage]\nShe Who Must Not Be Named: did you pay the clinic??\nMe: yes, sent $1,200 via Venmo from [[ACCOUNT|@jtran-1985]]\nShe Who Must Not Be Named: ok. mom wants to know the date for the transfer\nMe: it's [[DATE|the 3rd]] of next month, and we need to bring the donor paperwork. ID is [[DONOR_ID|DON-30871]]\nShe Who Must Not Be Named: texting you a pic. IMG_20261114_[[NAME|jtran]].jpg\nMe: ok call me [[PHONE|404-555-0431]] after 6","known":{"names":["Jenny Tran"],"phones":["404-555-0431"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["DON-30871"]}} +{"id":"v11-en-note-188","channel":"note","lang":"en","text":"SOP EXCERPT - Retrieval Day (rev 5)\n1. Confirm NPO since 2200h. 2. Two-person ID check at check-in and again at time-out. 3. Anesthesia: propofol per anesthesia record, SpO2 target >95%. 4. Aspiration pressure 120 mmHg, 17 g single-lumen needle. 5. Follicular fluid to the lab in tube warmer at 37.0 C, hand-off to embryology within 2 minutes. 6. Record number of oocytes, grade of cumulus. 7. Post-op: vitals q15 x4, discharge when stable, no driving for 24 h. 8. Give written instructions (form RET-12). 9. Update OHSS risk, calling threshold E2 > 4000 or more than 20 follicles. Room turnaround target 25 min.","known":{}} +{"id":"v11-en-note-189","channel":"note","lang":"en","text":"EMBRYO DISPOSITION AGREEMENT (OCR)\nPatients: [[NAME|CAMERON L. BELLAMY]] and [[NAME|DEVONTE R. BELLAMY]]\nAddress: [[ADDRESS|2204 Mableton Parkway SE]], [[ADDRESS|Mableton]], GA [[ZIP|30126]]\nEmbryos in storage: 4 (cryotank 2, canister B, cane 7)\nOption selected in the event of divorce: [X] discard [ ] donate to research [ ] donate to couple\nOption in the event of death of one partner: [X] transfer to survivor\nSigned: [[NAME|Cameron L. Bellamy]] Date: [[DATE|06/12/2026]]\nSigned: [[NAME|Devonte R. Bellamy]] Date: [[DATE|06/12/2026]]\nWitness: [[PROVIDER|Jerome Borden]] Notary: [[NAME|Sheila Ames]], commission no. [[ID|NP-883120]]","known":{"names":["Cameron Bellamy","Devonte Bellamy"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":["2204 Mableton Parkway SE, Mableton, GA 30126"],"identifiers":[]}} +{"id":"v11-en-note-190","channel":"note","lang":"en","text":"FEE SCHEDULE 2026 (patient copy)\nInitial consult 60 min: $425\nFollow-up consult: $240\nTransvaginal ultrasound (CPT 76830): $285\nSaline sonogram (CPT 58340 + 76831): $520\nHSG (CPT 58340 + 74740): $640\nIUI (CPT 58322) with washed sperm: $1,260\nIVF cycle, global fee (CPT 58970 retrieval, 89250 culture): $14,800\nICSI add-on (CPT 89280): $1,900\nPGT-A biopsy per embryo: $550\nFrozen embryo transfer (CPT 58974): $3,250\nStorage, per year: $650\nNova Scotia patients: ask about the Fertility Tax Credit and MSI coverage for consults.\nPrices subject to change. Form FIN-14 v3.","known":{}} +{"id":"v11-en-note-191","channel":"note","lang":"en","text":"ON-CALL HANDOFF 2200h\nMrs. [[NAME|O]] rm 3 - retrieval today, 18 oocytes, pain 4/10, voided, ok for d/c at 2100, left. If calls, OHSS watch, weigh daily.\nM.[[NAME|O.]] (2nd call) - bleeding after FET, 2 pads/hr? Called back, spotting only. f/u [[PROVIDER|DJ]] re: E2 in AM. ([[PROVIDER|DJ]] = [[PROVIDER|Dwayne]], not Dr. [[PROVIDER|Thibodeau]])\nRe: [[NAME|AB]]'s FET - cancelled, lining 5.9. [[PROVIDER|Dr. Okonkwo]] to call pt.\nNo other open issues. Pager 4402 with [[PROVIDER|MJP]].","known":{}} +{"id":"v11-en-note-192","channel":"note","lang":"en","text":"CODING NOTE (billing review)\nVisit type: F/U, established. ICD-10: N97.9 (female infertility, unspecified), E28.2 (PCOS), Z31.41 (encounter for fertility testing). CPT 99213 plus 76830. Modifier -25 on E/M. Denial code CO-97 (bundled) on 2 of 12 claims this week, ticket TKT-48977 open to appeal. Lot 5K2204 not applicable. Payer remit batch 2026-11-18. Please do not code ICD-10 Z31.83 until the consent form version 7 is on file. Next audit: December.","known":{}} +{"id":"v11-en-note-193","channel":"note","lang":"en","text":"PORTAL AUDIT LOG (excerpt)\n2026-11-14 08:02:11 LOGIN uid=[[ID|tmbeki_2231]] ip=[[IP_ADDRESS|192.0.2.88]] OK\n2026-11-14 08:03:40 VIEW results/lab/88104 uid=tmbeki_2231\n2026-11-14 08:04:02 DOWNLOAD 'Scan - [[NAME|Mbeki, Thandiwe]].pdf' uid=tmbeki_2231\n2026-11-14 22:51:17 LOGIN uid=tmbeki_2231 ip=[[IP_ADDRESS|198.51.100.120]] FAIL (2fa)\n2026-11-14 22:52:03 LOGIN uid=tmbeki_2231 ip=198.51.100.120 FAIL (2fa)\n2026-11-15 07:40:00 STAFF VIEW uid=[[PROVIDER|hcomeau]] chart 0071882\nFlagged by security for review by [[PROVIDER|Hope Comeau]].","known":{"names":["Thandiwe Mbeki"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["tmbeki_2231"]}} +{"id":"v11-en-note-194","channel":"note","lang":"en","text":"PHARMACY RECORD\nRx number: [[ID|RX-7784102]] Filled: [[DATE|2026-11-16]]\nPatient: [[NAME|BRANDI KOWALSKI]] DOB [[DATE|1990-05-19]]\nAddress: [[ADDRESS|55 Old Roswell Road, Apt 12]], [[ADDRESS|Alpharetta]] [[ZIP|30009]]\nPrescriber: [[PROVIDER|JESSICA HARTLEY NP]]\nDrug: progesterone in oil 50 mg/mL, 30 mL. Sig: 1 mL IM nightly. Refills: 2\nCopay: $38.00 Card ending [[ACCOUNT|5518]]\nPharmacist verified. Ship cold? no.","known":{"names":["Brandi Kowalski"],"phones":[],"emails":[],"dates_of_birth":["1990-05-19"],"addresses":["55 Old Roswell Road, Apt 12, Alpharetta, GA 30009"],"identifiers":[]}} +{"id":"v11-en-note-195","channel":"note","lang":"en","text":"AI VISIT SUMMARY (auto-generated)\nPatient is 38, G0, presenting with 18 months of infertility. AMH 1.1, day-3 FSH 8.4, antral follicle count 9. Partner semen analysis: concentration 22 M/mL, motility 41%. Plan: proceed to IUI x3 with letrozole 5 mg days 3 to 7, then IVF if unsuccessful. Discussed fertility preservation, costs, and the clinic's financing partner. Patient asked about acupuncture and caffeine, counselled. Next visit: day 10 ultrasound. Patient has no questions. Consent form version 7 signed. No pregnancy-related complaints. Mood: anxious but engaged. Referral to counselling offered.","known":{}} +{"id":"v11-en-note-196","channel":"note","lang":"en","text":"HALIFAX INTAKE NOTE\nPt [[NAME|Rima Haddad]] with spouse [[NAME|Fadi Haddad]], both from the Lebanese community in [[ADDRESS|Bedford]]. Address: [[ADDRESS|14 Larry Uteck Boulevard, Unit 506]], [[POSTAL_CODE|B4B 0K1]]. Health card (pt): [[HEALTH_CARD|7788 123 456]]. Fadi's employer: [[EMPLOYER|Atlantic Marine Supply]]. Interpreter: not needed, English and Arabic. DOB [[DATE|1989-10-04]]. Presented with 3 yrs primary infertility, normal HSG [[DATE|last April]]. Seen by [[PROVIDER|Layla Saliba]]. Plan: bloods, SA, MSI coverage letter, follow-up with Dr. [[PROVIDER|Noa Ben-David]] in January.","known":{"names":["Rima Haddad"],"phones":[],"emails":[],"dates_of_birth":["1989-10-04"],"addresses":["14 Larry Uteck Boulevard, Unit 506, Halifax NS"],"identifiers":["7788 123 456"]}} +{"id":"v11-en-note-197","channel":"note","lang":"en","text":"HOLIDAY SCHEDULE 2026\nThanksgiving: closed Thursday and Friday. On-call nurse covers.\nChristmas: closed December 24 (noon) through December 26. No retrievals December 23 to 27.\nNew Year's Day: closed.\nHalifax office also observes Boxing Day.\nMonitoring hours on non-holiday weekends: 0730h to 1000h, Atlanta only. Embryology lab is staffed every day of the year. Please confirm your transfer date with the front desk before travel. After-hours emergencies: call 404-555-0700 and press 1.","known":{}} +{"id":"v11-en-note-198","channel":"note","lang":"en","text":"AI CALL SUMMARY\nCaller [[NAME|Fiona McAllister-Reed]] called billing to dispute charge on cheque [[ACCOUNT|#2218]] for $1,500. She said her bank, Harbour Credit Union, shows transit [[ACCOUNT|20410-815]] institution 815, account [[ACCOUNT|0037741]] and the deposit was taken twice. Agent verified with last four of SSN [[SSN|9031]]. Caller said her mother-in-law [[NAME|Winnifred]] is [[AGE|93]] and wants to sign the surrogacy consent. Escalated to [[PROVIDER|Monique Rich]]. Callback number [[PHONE|(902) 555-0275]].","known":{"names":["Fiona McAllister-Reed"],"phones":["902-555-0275"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-note-199","channel":"note","lang":"en","text":"LETTER (OCR)\nBrightHaven Adoption Services\n\nRe: [[NAME|Eleanor Whitcombe]] and [[NAME|Garrett Whitcombe]], home study approved [[DATE|September 22, 2026]]\n\nTo whom it may concern: the above couple has been approved as adoptive parents and wish to pursue embryo adoption in parallel. The matched child, [[NAME|Baby Girl M.]], is placed through our caseworker [[NAME|Imelda Ferrante]]. The couple resides at [[ADDRESS|3 Birchwood Cove, Marietta]]. Home study ID: [[ID|HS-26-0071]]. Please direct questions to [[PROVIDER|Thao Le]] at your clinic or to us at [[PHONE|678-555-0511]].","known":{"names":["Eleanor Whitcombe","Garrett Whitcombe"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-en-note-200","channel":"note","lang":"en","text":"CONSENT FOR FROZEN EMBRYO TRANSFER (form CONS-FET v7)\nPatient name: ______________________ DOB: ____/____/________\nPartner name: ______________________\nI understand that frozen embryos are thawed before transfer and that a small proportion may not survive thaw. I understand that the number of embryos transferred will be discussed with my physician and that the risk of multiple pregnancy increases with each additional embryo. I understand the medications (estradiol, progesterone) and their common side effects. I have had my questions answered.\nPatient signature: ______________ Date: ____________\nPhysician signature: ______________ Date: ____________\nMagnolia Reproductive Associates. Atlanta 404-555-0700. Halifax 902-555-0710. Version 7, effective January 1.","known":{}} +{"id": "v11-es-sms-001", "channel": "sms", "lang": "es", "text": "Hola, soy [[NAME|Yesenia]], la esposa de [[NAME|Arturo Cabrera]]. Mañana tenemos la transferencia a las 0930h y no encuentro el estacionamiento. Mi cel es [[PHONE|470-555-0161]] por si me llaman.", "known": {"names": ["Yesenia Cabrera Soto"], "phones": ["470-555-0161"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-chat-002", "channel": "chat", "lang": "es", "text": "Paciente: buenas noches, una duda, cuando empiezo la progesterona vaginal?\nAsistente: Buenas noches. Normalmente se inicia el día de la recuperación o un día después, según el protocolo que le haya indicado su equipo. Tiene que confirmarlo con enfermería.\nPaciente: me dijeron que mi E2 salió en 1450 y que el Lupron lo baje a 10 unidades, eso es normal?\nAsistente: Un estradiol de 1450 pg/mL durante la estimulación es frecuente. La dosis exacta de su medicamento la decide su médico, no puedo cambiarla desde aquí.\nPaciente: y los folículos medían 17, 16 y 14 mm, creo que son pocos\nAsistente: Le sugiero preguntarle a su enfermera en la llamada de monitoreo de las 2:15pm ET. Puedo dejarle un mensaje para que la llamen si quiere.\nPaciente: no, gracias, solo quería saber. Ya les escribí por el portal.\nAsistente: Con gusto. Que le vaya muy bien en el proceso.", "known": {}} +{"id": "v11-es-call-003", "channel": "call", "lang": "es", "text": "Buenas tardes, le habla [[NAME|Luz Marina Giraldo]], soy paciente de la doctora [[PROVIDER|Okonkwo]]. Llamo para que me confirmen mi cita. Mi fecha de nacimiento es [[DATE|catorce de agosto de mil novecientos ochenta y cuatro]] y mi número de teléfono es [[PHONE|cuatro cero cuatro, cinco cinco cinco, cero uno ocho dos]]. Yo vivo en [[ADDRESS|Marietta]] pero trabajo en [[EMPLOYER|Delta Air Lines]]. Gracias, que Dios los bendiga.", "known": {"names": ["Luz Marina Giraldo Ocampo"], "phones": ["404-555-0182"], "emails": [], "dates_of_birth": ["1984-08-14"], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-004", "channel": "call", "lang": "es", "text": "Gracias por llamar a Magnolia Reproductive Associates en Atlanta. Para citas y monitoreo, oprima uno. Para la oficina de Halifax, oprima dos o marque nueve cero dos, cinco cinco cinco, cero siete uno cero. Para facturación, oprima tres. Para hablar con enfermería, marque la extensión 214. Nuestro horario es de 0700h a 1700h, de lunes a viernes. Si es una emergencia médica, cuelgue y llame al 911. Para repetir este menú, oprima la tecla de asterisco.", "known": {}} +{"id": "v11-es-email-005", "channel": "email", "lang": "es", "text": "De: Fernanda Treviño <[[EMAIL|ftrevino.mty@example.com]]>\nPara: frontdesk@magnolia-ra.example.org\nAsunto: Transferencia de dinero para el depósito\n\nBuenas tardes,\n\nSoy [[NAME|Fernanda Treviño]], les escribo desde Monterrey. Mi esposo y yo vamos a viajar a Atlanta en la primavera para el ciclo de óvulos donados. Quisiera hacer el depósito por transferencia bancaria desde mi cuenta en México. Mi CLABE es [[ACCOUNT|012180001234567897]], a nombre de [[NAME|Fernanda Treviño Alvarado]]. Nuestro domicilio es [[ADDRESS|Calle Río Tamesí 214, Colonia del Valle, San Pedro Garza García]], por si necesitan mandar el contrato por mensajería.\n\nTambién quiero saber si el costo de $4,850 incluye la medicación o es aparte, porque en la cotización no quedó claro.\n\nQuedo atenta,\nFernanda T.", "known": {"names": ["Fernanda Treviño Alvarado"], "phones": [], "emails": ["ftrevino.mty@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-sms-006", "channel": "sms", "lang": "es", "text": "Recordatorio: su cita de monitoreo es mañana a las 8:15 am. Responda C para confirmar o R para reprogramar. Recuerde venir sin ayuno. Magnolia Reproductive Associates 404-555-0700. Responda STOP para no recibir mensajes.", "known": {}} +{"id": "v11-es-chat-007", "channel": "chat", "lang": "es", "text": "Asistente: Hola, soy el asistente virtual de Magnolia Reproductive Associates. En qué le puedo ayudar?\nPaciente: quiero cambiar mi numero de telefono en mi expediente\nAsistente: Claro. Primero, me confirma su nombre completo?\nPaciente: [[NAME|Marisol Escoto]]\nAsistente: Gracias, [[NAME|Marisol]]. Cuál es el número nuevo?\nPaciente: el codigo de area es [[PHONE|678]]\nAsistente: Muy bien, continúe con los demás dígitos.\nPaciente: luego [[PHONE|555]]\nPaciente: y termina en [[PHONE|0149]]\nAsistente: Para confirmar: [[PHONE|678-555-0149]]. Es correcto?\nPaciente: perdon, es [[PHONE|0194]], me equivoque\nAsistente: Entendido. Le confirmo: [[PHONE|678-555-0194]]. Es correcto?\nPaciente: si\nAsistente: Listo, [[NAME|Marisol]]. Su solicitud queda registrada y el personal la revisará. Algo más?\nPaciente: no, gracias", "known": {"names": ["Marisol Escoto Reyes"], "phones": ["770-555-0133"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-008", "channel": "call", "lang": "es", "text": "Agente: Magnolia, habla [[PROVIDER|Kareem]], en qué le ayudo?\nLlamante: Buenas, quiero confirmar la cita de mi hermana. Ella se llama [[NAME|Altagracia Peña]]. Se escribe a-l-t-a-g-r-a-c-i-a, y el apellido [[NAME|p, e, eñe, a]]. Es la cita del [[DATE|veintidós de octubre]] con la doctora [[PROVIDER|Deshmukh]].\nAgente: Un momento, la busco. Usted es familiar?\nLlamante: Sí, soy su hermana, [[NAME|Yaritza]]. Vivimos en [[ADDRESS|Washington Heights]] pero ella se está quedando conmigo en [[ADDRESS|Lawrenceville]] mientras dura el tratamiento.", "known": {"names": ["Altagracia Peña Díaz"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-email-009", "channel": "email", "lang": "es", "text": "Asunto: Pregunta sobre el costo del ciclo con óvulos donados\n\nBuenas tardes. Estamos interesados en un ciclo con óvulos donados y quisiera saber lo siguiente:\n\n1. Cuánto cuesta el paquete completo, incluyendo el PGT-A de los embriones.\n2. Si ofrecen un plan de pagos a 12 meses.\n3. Si mi seguro de empleado en Georgia cubre las pruebas previas como el HSG y el AMH, o solo la consulta.\n4. Cuántos embriones transfieren normalmente. Mi médico anterior me hablaba de grado 4AA como lo ideal.\n\nTengo 38 años y un IMC de 31.2. Me dijeron que eso podría influir. Les agradezco mucho su respuesta.\n\nSaludos cordiales", "known": {}} +{"id": "v11-es-note-010", "channel": "note", "lang": "es", "text": "Nota de triage 0845h. pt [[NAME|KJ]] 34a G2P1 c/o cólicos leves y distensión día 5 post-recuperación. Sin fiebre, T 36.8. Sin sangrado. Sospecha OHSS leve, E2 último 3200. Indicado reposo, líquidos con electrolitos, vigilar peso diario. f/u c/ [[PROVIDER|AD]] re: manejo. Si empeora, ER. Pt refiere que su esposo [[NAME|Rolando]] la acompaña.", "known": {"names": ["Karina Jiménez Pérez"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-sms-011", "channel": "sms", "lang": "es", "text": "[lunes] Buenos días, soy [[NAME|Brenda Chávez]]. Le escribo porque mi hija [[NAME|Ximena]] se enfermó y no puedo llevar los papeles hoy.\n[Clínica] Entendido. Puede subirlos al portal o traerlos el jueves.\n[martes] Ya los fotografié. Le mando la dirección donde vivimos para el envío de la medicina: [[ADDRESS|14 Avenida 12-30, Zona 11, Ciudad de Guatemala]]\n[Clínica] Gracias. Ese envío no es posible fuera de EE. UU. Necesitaríamos una dirección en Georgia.\n[miércoles] Entonces la mando a donde mi cuñada: [[ADDRESS|2260 Buford Highway, Apt 7C, Doraville]] [[ZIP|30340]]. Ella se llama [[NAME|Sonia Chávez]].\n[Clínica] Perfecto, [[NAME|Brenda]]. La enfermera [[PROVIDER|Guadalupe]] le avisará cuando salga.", "known": {"names": ["Brenda Chávez Morales"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-chat-012", "channel": "chat", "lang": "es", "text": "Usuario: me llegaron los resultados del PGT-A y no entiendo bien\nAsistente: Con gusto le explico términos generales. Qué dice su informe?\nUsuario: dice embriones 1, 2 y 3 euploides, el 4 aneuploide con trisomía 16, el 5 mosaico bajo\nAsistente: Un embrión euploide tiene el número esperado de cromosomas. Los mosaicos se evalúan caso por caso con su médico en una consulta de genética.\nUsuario: y la calidad, me pusieron 4AA, 3BB, 4BB y 5AB\nAsistente: Esa letra y número describen la expansión y las células del embrión. Por sí solas no determinan que se vaya a implantar.\nUsuario: cuántos días tarda el reporte del laboratorio, el lote es el PGT-2026-114 creo\nAsistente: Ese número de lote es del laboratorio y yo no tengo acceso a su estado. Puede preguntarle a su enfermera en la consulta de 0900h.\nUsuario: vale, gracias", "known": {}} +{"id": "v11-es-call-013", "channel": "call", "lang": "es", "text": "Hola, buenas, mira, te llamo desde Valencia, en España, que mi marido y yo estamos pensando en ir a Atlanta para la FIV. Me llamo [[NAME|Cristina Almenar Soler]]. Os tengo que mandar el informe de mi ginecólogo, el doctor [[PROVIDER|Marcus Banks]] me ha dicho que ya conoce a la clínica, bueno, eso me dijo mi ginecólogo. Mi DNI es [[ID|48215937K]], por si lo piden para el registro. Mi correo es [[EMAIL|cristina.almenar@example.net]], eso sí, que se me olvida siempre. Vivimos en [[ADDRESS|calle Colón 38, 4º B, 46004 Valencia]]. Y mi teléfono es [[PHONE|+34 555 010 203]].", "known": {"names": ["Cristina Almenar Soler"], "phones": ["+34 555 010 203"], "emails": [], "dates_of_birth": ["1986-02-19"], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-014", "channel": "call", "lang": "es", "text": "Hola, ha llamado a la oficina de Magnolia en Atlanta. En este momento estamos con otras llamadas. Nuestro horario de recepción de llamadas es de las 0800h a las 1700h hora del este. Si desea dejar un mensaje para enfermería, hable después del tono. Si es sobre un resultado de laboratorio, por favor indique su número de teléfono lentamente. Si llama por la inyección de desencadenante, Ovidrel 250 microgramos, la hora de aplicación está en su calendario del portal. Esta línea no se revisa los días festivos. Gracias.", "known": {}} +{"id": "v11-es-email-015", "channel": "email", "lang": "es", "text": "Asunto: Reclamación del seguro - póliza y número de afiliado\n\nBuenas tardes, equipo de facturación:\n\nSoy [[NAME|Juan Camilo Restrepo]], de Medellín, aunque ahora vivo en [[ADDRESS|Sandy Springs]]. Les escribo por la reclamación de mi esposa, [[NAME|Paola Henao]]. Mi aseguradora me pide estos datos:\n\n- Número de afiliado: [[HEALTH_CARD|XQM4408217356]]\n- Número de grupo: [[ACCOUNT|GRP-98215]]\n- Reclamación: [[ACCOUNT|CLM-2026-0033481]]\n\nEl cobro de $1,200 del [[DATE|3 de septiembre]] no coincide con el estimado que me dieron. Mi esposa nació el [[DATE|12/03/1990]] (día/mes/año, como se escribe en Colombia). Pueden llamar a mi trabajo en [[PHONE|(770) 555-0108]], pregunten por [[NAME|Juan Camilo]].\n\nGracias de antemano.", "known": {"names": ["Paola Henao Giraldo"], "phones": ["770-555-0108"], "emails": [], "dates_of_birth": ["1990-03-12"], "addresses": [], "identifiers": []}} +{"id": "v11-es-sms-016", "channel": "sms", "lang": "es", "text": "Resultados listos en el portal: AMH 0.8 ng/mL, FSH 7.2, estradiol día 3 de 42. Recuerde que un resultado aislado no define su pronóstico. Su enfermera la contactará para la consulta de seguimiento de las 1130h. Ref. de ticket #48217. Magnolia Reproductive Associates.", "known": {}} +{"id": "v11-es-chat-017", "channel": "chat", "lang": "es", "text": "Paciente: quiero pagar el saldo con cash app o venmo, se puede?\nAsistente: Podemos recibir pagos por el portal con tarjeta o transferencia. Cash App o Venmo no están disponibles para depósitos de tratamiento, pero sí puede usar el plan de pagos.\nPaciente: es que mi hermana me va a mandar la plata de ella, su venmo es [[ACCOUNT|@yari-sanchez-12]] y el mío es [[ACCOUNT|$yarisanchez88]]\nAsistente: Gracias, pero no puedo registrar esos datos como medio de pago. Si ella desea pagar por usted, puede hacerlo por el portal con su tarjeta.\nPaciente: ah ok, su tarjeta termina en [[ACCOUNT|4471]]\nAsistente: Se lo agradezco. Por seguridad, no me dé más números de la tarjeta por este chat.\nPaciente: perfecto. Soy [[NAME|Yarisa Sánchez]], de Santo Domingo, por si necesitan confirmar.", "known": {"names": ["Yarisa Sánchez Reyes"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-018", "channel": "call", "lang": "es", "text": "Farmacia: Buenas tardes, le llamo de la farmacia de especialidad para confirmar el envío. La receta número [[ID|RX-7714823]] es para la paciente [[NAME|Rosa Elena Basques]].\nEnfermera: Sí, ella es [[NAME|Rosa Elena Vázquez]], con ve. Está en Guadalajara, México, viajó para estar con su familia en [[ADDRESS|Zapopan]], pero regresa a Atlanta el [[DATE|9 de noviembre]].\nFarmacia: Entendido. El Menopur 75 unidades, 10 viales, sale hoy. Necesito su teléfono: [[PHONE|+52 555 010 441]].\nEnfermera: Sí, ese es el de ella. Y la doctora [[PROVIDER|Okonkwo]] firmó la receta ayer.", "known": {"names": ["Rosa Elena Vázquez Ortiz"], "phones": ["+52 555 010 441"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-email-019", "channel": "email", "lang": "es", "text": "De: [[PROVIDER|Guadalupe Ramirez]]\nPara: [[PROVIDER|Selam Bekele]], [[PROVIDER|Thao Le]]\nAsunto: Huddle del jueves - materiales en español\n\nHola a las dos,\n\nSolo para avisar que las hojas de consentimiento de transferencia en español versión 3.2 ya están en la carpeta compartida. La versión 3.1 se retira. Por favor, no impriman la anterior. [[PROVIDER|Thao]], ¿puedes revisar con [[PROVIDER|Adaeze]] que la traducción de la sección de riesgos de OHSS quede igual que la de inglés?\n\nLa sala 3 se usará para las pruebas de simulacro a las 1400h. El código de la puerta cambió, pregunten en recepción.\n\nGracias,\n[[PROVIDER|Guadalupe]]", "known": {}} +{"id": "v11-es-note-020", "channel": "note", "lang": "es", "text": "FORMULARIO DE ADMISIÓN (copia OCR)\nNOMBRE: [[NAME|MARTÍNEZ CRUZ, ELVIRA]]\nFECHA DE NACIMIENTO: [[DATE|03-ABR-1987]]\nESTADO CIVIL: Casada\nCÓNYUGE: [[NAME|OSVALDO MARTÍNEZ RIVAS]]\nDIRECCIÓN: [[ADDRESS|3308 Memorial Dr SE, Apt 11]], [[ADDRESS|Atlanta]] [[ZIP|30032]]\nTEL. CELULAR: [[PHONE|404-555-0127]]\nCORREO: [[EMAIL|emartinezc@example.org]]\nLICENCIA DE GA: [[ID|058412977]]\nEMPLEADOR: [[EMPLOYER|Gwinnett County Public Schools]]\nMOTIVO DE CONSULTA: infertilidad secundaria, 2 años. Antecedente de miomas. AMH 1.1. Prefiere atención en español.\nMÉDICO REFERENTE: Dr. [[PROVIDER|Tomasz Wisniewski]]", "known": {"names": ["Elvira Martínez Cruz"], "phones": ["404-555-0127"], "emails": [], "dates_of_birth": ["1987-04-03"], "addresses": ["3308 Memorial Dr SE, Apt 11"], "identifiers": []}} +{"id": "v11-es-sms-021", "channel": "sms", "lang": "es", "text": "Doctora, ya me hice la prueba de embarazo en la mañana y salió negativa. Beta de 2. Estoy muy triste, no sé qué hacer ahora. Mi esposo no dice nada pero sé que le duele. Cuándo puedo hablar con usted? Gracias por todo lo que hizo.", "known": {}} +{"id": "v11-es-chat-022", "channel": "chat", "lang": "es", "text": "Asistente: Para verificar su identidad necesito su fecha de nacimiento. Puede dármela por partes si prefiere.\nPaciente: el cinco\nAsistente: Gracias. Y el mes?\nPaciente: julio\nAsistente: Y el año?\nPaciente: mil novecientos noventa y uno\nAsistente: Para confirmar: [[DATE|5 de julio]] de 1991. Es correcto?\nPaciente: no, perdón, me confundí, es [[DATE|15 de julio]] de 1991\nAsistente: Gracias. Ahora su nombre completo, por favor.\nPaciente: [[NAME|Dulce María Ibarra]]\nAsistente: Gracias, [[NAME|Dulce María]]. Tengo el correo [[EMAIL|dulce.ibarra91@example.com]] en su perfil, sigue vigente?\nPaciente: sí, ese mismo\nAsistente: Perfecto. Le muestro su próxima cita: control con la doctora [[PROVIDER|Hartley]] a las 1015h.\nPaciente: gracias. Cuál era el estacionamiento?\nAsistente: El del edificio de la calle Peachtree Park, nivel 2.", "known": {"names": ["Dulce María Ibarra Núñez"], "phones": [], "emails": ["dulce.ibarra91@example.com"], "dates_of_birth": ["1991-07-15"], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-023", "channel": "call", "lang": "es", "text": "Buenas, mire, soy [[NAME|Reina Isabel Zelaya]], hondureña, y llamo porque la enfermera me dijo que mandara las medicinas a la casa pero el camión no encuentra donde vivimos. Es la casa azul después de la gasolinera Circle K en la [[ADDRESS|Hwy 20]], allá por [[ADDRESS|Conyers]], en el [[ADDRESS|condado de Rockdale]], hay un buzón con el número [[ADDRESS|4418]]. Si me llaman, es al [[PHONE|678-555-0172]]. Mi esposo trabaja de noche, no le llamen de día. Gracias.", "known": {"names": ["Reina Isabel Zelaya Mejía"], "phones": ["678-555-0172"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-024", "channel": "call", "lang": "es", "text": "Transcripción del árbol de voz, versión de otoño. Bienvenido a Magnolia Reproductive Associates. Oficinas cerradas el día de Acción de Gracias y el viernes siguiente. En caso de urgencia con medicación de fertilidad durante el cierre, deje un mensaje en el buzón uno y el enfermero de guardia devolverá la llamada en un plazo de 30 minutos. Para el laboratorio de embriología, extensión 305. Para el departamento financiero, extensión 118. Para la oficina de Halifax, extensión 410. Para consultas sobre la donación de óvulos, extensión 221. Para repetir, oprima almohadilla.", "known": {}} +{"id": "v11-es-email-025", "channel": "email", "lang": "es", "text": "De: Sofía Valderrama <[[EMAIL|svalderrama.bog@example.com]]>\nPara: info@magnolia-ra.example.org\nAsunto: Ayuda para el tratamiento\n\nHola,\n\nMe llamo [[NAME|Sofía Valderrama]], soy de Bogotá y vivo actualmente en el barrio [[ADDRESS|Chapinero Alto]]. Mi cédula es [[ID|52 418 903]] y mi pasaporte [[ID|AV1928345]]. Quiero hacer la FIV en Atlanta pero el presupuesto es muy alto, por eso creé una página para pedir apoyo: [[URL|https://gofundme.example.com/f/sofia-quiere-ser-mama]]. También mi familia me comparte en Instagram: [[URL|instagram.example.com/sofiaquieresermama]].\n\nEn el correo de la cotización dice 'embrión 5AA', pero yo solo tengo 3 óvulos madurados en la última punción. Eso significa que hubo un error?\n\nQuedo muy atenta. Gracias.\n\n[[NAME|Sofi]]", "known": {"names": ["Sofía Valderrama Pineda"], "phones": [], "emails": ["svalderrama.bog@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-sms-026", "channel": "sms", "lang": "es", "text": "Vale, apunto: ecografía el [[DATE|14 de enero]] a las 0815h con [[PROVIDER|Tamara]]. Yo soy [[NAME|Marta Ibáñez]], por si no me tenéis en el sistema con el segundo apellido. Tengo que avisar en el trabajo, en [[EMPLOYER|Iberdrola]]. Gracias, majos.", "known": {"names": ["Marta Ibáñez Gil"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-chat-027", "channel": "chat", "lang": "es", "text": "Cliente: cuánto cuesta guardar los embriones congelados?\nAsistente: La tarifa estándar de almacenamiento es de $600 al año por paciente, y se factura cada año. Puede pagarla en el portal.\nCliente: y qué temperatura tienen?\nAsistente: Se conservan en nitrógeno líquido a -196 °C en tanques con monitoreo continuo y alarmas.\nCliente: y si mi esposo y yo nos separamos, de quién son?\nAsistente: Esa decisión se documenta en el formulario de disposición de embriones, versión 4.1, que ambos firman antes de la congelación. No puedo darle asesoría legal; el equipo administrativo puede explicarle el proceso.\nCliente: y cuántos años pueden estar?\nAsistente: No hay un límite biológico establecido; los acuerdos de almacenamiento suelen renovarse anualmente.\nCliente: entiendo, gracias", "known": {}} +{"id": "v11-es-call-028", "channel": "call", "lang": "es", "text": "Hola, hola, soy el esposo de la señora [[NAME|Osorio]], mire, ella tiene mucho dolor de barriga, se hinchó toda, subió como cuatro libras desde ayer, la mandaron de esa operación hace tres días. Yo quiero saber si la llevo a la emergencia. Me llamo [[NAME|Heriberto]]. Ella es [[NAME|Mariela Osorio]], con ese, no con zeta. La doctora [[PROVIDER|Sylliboy]] la vio el martes pasado. Estamos aquí en [[ADDRESS|Norcross]], cerca de la clínica de Piedmont, pero no sé si es grave. Dígame qué hago.", "known": {"names": ["Mariela Osorio Cano"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-email-029", "channel": "email", "lang": "es", "text": "Asunto: RE: RE: FET de AB - protocolo\n\n[[PROVIDER|Layla]]: Perfecto, entonces seguimos con estradiol 6 mg y la progesterona IM desde el día 14. Me confirmas la hora del ecografista.\n\n> El mar, 08:02, [[PROVIDER|Jerome Borden]] escribió:\n> [[PROVIDER|Layla]], el endometrio de [[NAME|AB]] midió 8.4 mm en trilaminar. Yo creo que podemos programar la FET. ¿Qué piensas?\n>\n> > El lun, 16:40, [[PROVIDER|Layla Saliba]] escribió:\n> > [[PROVIDER|JB]], revisa el caso de la FET de [[NAME|AB]] antes del huddle de las 0730h. Tiene 2 embriones 4AA y 3AB de biopsia.\n\nSala 2 reservada para el jueves a las 0900h. Lote del medio de transferencia: LOT-5503.", "known": {}} +{"id": "v11-es-note-030", "channel": "note", "lang": "es", "text": "Resumen de llamada (generado por IA) - llamada entrante 14:22, duración 6 min.\nLlamante: [[NAME|Teodora Quintanilla]], paciente. Verificó su identidad con la fecha de nacimiento [[DATE|1988-11-02]] y el código postal [[ZIP|30043]].\nMotivo: la paciente reporta que su receta número [[ID|RX-9920174]] no llegó a la farmacia. Enfermería llamó a la farmacia y el envío estaba retenido por falta de pago de $85.\nAcción: se transfirió a facturación. Paciente prefiere ser contactada en español al [[PHONE|(678) 555-0139]]. Seguimiento: [[PROVIDER|Monique Rich]] llamará mañana.\nEstado de ánimo: ansiosa, agradecida.", "known": {"names": ["Teodora Quintanilla Ruiz"], "phones": ["678-555-0139"], "emails": [], "dates_of_birth": ["1988-11-02"], "addresses": [], "identifiers": []}} +{"id": "v11-es-sms-031", "channel": "sms", "lang": "es", "text": "hola es [[NAME|Nayeli]] otra vez. mi mama [[NAME|Rosario]] me dijo que le podia pagar su parte por zelle pero no se si lo aceptan. le mande a ella al [[PHONE|470-555-0114]] y tambien tengo cash app [[ACCOUNT|$nayeli.r.0412]]. el recibo me lo pueden mandar a [[EMAIL|nayeli0412@example.com]]? gracias", "known": {"names": ["Nayeli Ramos Beltrán"], "phones": ["678-555-0166"], "emails": ["nayeli.ramos@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-chat-032", "channel": "chat", "lang": "es", "text": "Paciente: mi seguro dijo que cubre el diagnóstico pero no el tratamiento, cómo es eso?\nAsistente: Muchos planes de empleadores en Georgia cubren la evaluación de infertilidad, como análisis de sangre, ecografías y la histerosalpingografía, pero excluyen la FIV. Su plan puede ser distinto; lo mejor es pedir el resumen de beneficios.\nPaciente: en la factura veo el código 58970 y también N97.9\nAsistente: El 58970 es el código CPT del procedimiento de recuperación de óvulos y el N97.9 es un código de diagnóstico de infertilidad femenina sin especificar. Son códigos estándar, no identifican a una persona.\nPaciente: y 76830?\nAsistente: Es una ecografía transvaginal. Puede aparecer varias veces durante el monitoreo.\nPaciente: cuánto sale cada una?\nAsistente: El precio estándar es de $210 por ecografía. Facturación puede confirmar si su plan tiene copago.\nPaciente: gracias, voy a llamar al lado de recursos humanos de mi trabajo", "known": {}} +{"id": "v11-es-call-033", "channel": "call", "lang": "es", "text": "Buenas tardes, habla [[NAME|Gabriela Montes de Oca]], desde la Ciudad de México. Les dejo este mensaje porque el mensajero de la farmacia quiere entregar el medicamento a mi casa en México y se perdió. Le dije que mi casa está en estas coordenadas, [[ADDRESS|19.4326, menos 99.1332]], es una calle sin nombre cerca del mercado en [[ADDRESS|colonia Santa María la Ribera]]. Mi número de WhatsApp es [[PHONE|+52 555 010 118]]. Soy paciente de la doctora [[PROVIDER|Kowalczyk]] y tengo la transferencia programada para la primera semana del mes entrante. Muchas gracias.", "known": {"names": ["Gabriela Montes de Oca Lara"], "phones": ["+52 555 010 118"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-note-034", "channel": "note", "lang": "es", "text": "PIZARRÓN huddle 0715h (transcrito de foto)\nHab 1: Sra. [[NAME|O]] - HSG 0830h - [[PROVIDER|DJ]] \nHab 2: [[NAME|M.R.]] G3P0 - ecografía - [[PROVIDER|SN]]\nHab 3: libre, limpieza\nHab 4: pt [[NAME|LC]] retrieval 1030h, 14 folículos, propofol - [[PROVIDER|MJP]] / [[PROVIDER|TA]]\nLLAMAR: lab re: AMH de [[NAME|HG]] (0.4, repetir?)\nFalta: reponer Cetrotide, 2 cajas\nRecordar: simulacro de incendio jueves 1500h", "known": {}} +{"id": "v11-es-email-035", "channel": "email", "lang": "es", "text": "Asunto: Preguntas sobre congelar óvulos\n\nBuenas tardes,\n\nTengo 36 años y estoy pensando en congelar mis óvulos. Mi prima lo hizo hace dos años en otra ciudad y le sacaron 14. Yo quisiera saber:\n\n- Cuántos ciclos suelen necesitarse a mi edad.\n- Si el AMH bajo (el mío fue 0.9) significa que hay que hacerlo ya.\n- Cuánto cuestan las inyecciones, porque vi que el Gonal-f de 450 UI cuesta como $400 en otra farmacia.\n- Si hay descuento por pago adelantado.\n\nMe preocupa también el dolor de la punción, no me gustan las agujas. Gracias de antemano por su tiempo y paciencia.", "known": {}} +{"id": "v11-es-sms-036", "channel": "sms", "lang": "es", "text": "Hola [[NAME|Cinthia]], le recordamos su cita de transferencia el miércoles [[DATE|6 de noviembre]] a las 0930h en Magnolia Reproductive Associates, 1180 Peachtree Park Drive NE, Suite 400. Tome 1 litro de agua una hora antes y no orine. Responda C para confirmar.", "known": {"names": ["Cinthia Beltrán Soto"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-chat-037", "channel": "chat", "lang": "es", "text": "Asistente: Para la autorización previa necesito verificar un dato. Los últimos cuatro del seguro social?\nPaciente: es [[SSN|4417]]\nAsistente: Gracias. Y el número de miembro de su seguro?\nPaciente: kiero decirlo bien, empieza con tres letras, [[HEALTH_CARD|W, B, K]] y luego [[HEALTH_CARD|90284715]]\nAsistente: Para confirmar: [[HEALTH_CARD|WBK90284715]]. Correcto?\nPaciente: si asi. el grupo es [[ACCOUNT|77120]]\nAsistente: Gracias. La autorización queda con referencia [[ACCOUNT|PA-2026-55812]] y la confirmación llegará a su correo.\nPaciente: ok. mi correo es [[EMAIL|rmartinez.atl@example.net]] pero ahi aparece solo mi apellido\nAsistente: Anotado. Algo más, señora?\nPaciente: no, ya, gracias. Soy [[NAME|Rocío Martínez]]", "known": {"names": ["Rocío Martínez Herrera"], "phones": [], "emails": ["rmartinez.atl@example.net"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-038", "channel": "call", "lang": "es", "text": "Intérprete: Hola, le habla el intérprete [[NAME|Wilfredo]], número de intérprete [[ID|4471]], de la línea de idiomas. Estoy en la llamada con la paciente [[NAME|Altagracia Rosario]] y con la enfermera.\nEnfermera: Gracias. Pregúntele cuándo empezó el sangrado.\nIntérprete: Dice que desde el domingo en la noche y que es como una regla ligera. Dice que se hizo la prueba hace dos días y salió positiva.\nEnfermera: Dígale que venga hoy para el beta y la ecografía. Una pregunta, dónde vive?\nIntérprete: Dice que en [[ADDRESS|Stone Mountain]], cerca de la estación de MARTA.", "known": {"names": ["Altagracia Rosario Féliz"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-email-039", "channel": "email", "lang": "es", "text": "De: Ernesto Villalobos <[[EMAIL|evillalobos@example.net]]>\nPara: Coordinación de subrogación\nCc: [[EMAIL|karla.pena.ga@example.org]]\nAsunto: Contrato de gestación - caso [[ID|2026-FM-04417]]\n\nEstimados:\n\nComo abogado de los futuros padres, [[NAME|Hugo Salcedo]] y [[NAME|Mireya Salcedo]], les remito el borrador del contrato con la gestante, la señora [[NAME|Karla Peña]]. El tribunal del condado de Fulton asignó el expediente [[ID|2026-FM-04417]], y el abogado de la gestante, [[NAME|Dennis Whitfield]], ya revisó las cláusulas 7 a 12.\n\nLa señora [[NAME|Peña]] tiene su domicilio en [[ADDRESS|Macon]] y los padres residen en [[ADDRESS|Guadalajara, Jalisco]]. Necesitamos que la clínica confirme por escrito que la doctora [[PROVIDER|Hartley]] aceptó el seguimiento médico antes de la firma.\n\nAtentamente,\n[[NAME|Ernesto Villalobos]]", "known": {"names": ["Hugo Salcedo Marín", "Mireya Salcedo Ríos"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-note-040", "channel": "note", "lang": "es", "text": "FAX RECIBIDO - FARMACIA (OCR, calidad baja)\nDe: Farmacia Especialidad Sur Fax: [[PHONE|770-555-0188]]\nPara: Magnolia Reproductive Associates, Atn. enfermería, fax 404-555-0701\nRe: confirmación de envío\nPaciente: [[NAME|VELÁZQUEZ, ARACELI]] Fecha nac: [[DATE|09/22/1985]]\nRx #: [[ID|8830-42117]]\nMedicamento: Menopur 75 UI, NDC 55566-7501-1, lote B7821, caducidad 2027-03\nCantidad: 10 viales. Surtido: 1.\nEntrega a: [[ADDRESS|620 Clairmont Ave, Apt 3D, Decatur]] [[ZIP|30030]]\nFirma recibida: [[NAME|A. Velázquez]]\nAprobado por: Dr. [[PROVIDER|Banks]]", "known": {"names": ["Araceli Velázquez Peña"], "phones": [], "emails": [], "dates_of_birth": ["1985-09-22"], "addresses": ["620 Clairmont Ave, Apt 3D, Decatur"], "identifiers": []}} +{"id": "v11-es-sms-041", "channel": "sms", "lang": "es", "text": "Gracias por todo el cariño de ayer. Mi esposo y yo estuvimos llorando en el carro un rato, pero también un poco aliviados de saber qué sigue. Si hay que esperar dos ciclos antes de intentar otra transferencia, lo vamos a hacer. Dios sabe por qué. Los queremos mucho.", "known": {}} +{"id": "v11-es-chat-042", "channel": "chat", "lang": "es", "text": "Estudiante: hola, soy [[NAME|Emiliano Garza]], estoy haciendo mi doctorado aquí y mi pareja y yo queremos información sobre congelar esperma antes de mi tratamiento\nAsistente: Con gusto. Para la consulta necesito su nombre completo y un teléfono.\nEstudiante: [[NAME|Emiliano Garza Treviño]], el teléfono es [[PHONE|404-555-0149]]\nAsistente: Gracias, [[NAME|Emiliano]]. Y dónde recibe correo?\nEstudiante: vivo en la residencia de la universidad: [[ADDRESS|Glenn Residence Hall, room 221, 701 Fowler St NW, Atlanta]] [[ZIP|30332]]\nAsistente: Anotado. Hay descuento para estudiantes, hay que mostrar la credencial.\nEstudiante: mi número de estudiante es [[ID|903412870]]\nAsistente: No lo necesito, mejor no lo comparta por chat. Qué horario le conviene para la consulta?\nEstudiante: después de las 1600h, que salgo del laboratorio", "known": {"names": ["Emiliano Garza Treviño"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-043", "channel": "call", "lang": "es", "text": "Hola, buenas tardes, quería ver si pueden mover mi cita de hoy porque se me complicó el trabajo y no voy a poder llegar a las 3:30 de la tarde. Podría ser más tarde, como a las 5:15, o mejor mañana temprano. Es la ecografía del folículo, la segunda de esta semana. También quería preguntar si el medicamento que me tocó anoche, el Cetrotide, se puede ponerme a la misma hora aunque cambie la cita. Me devuelven la llamada, por favor. Gracias.", "known": {}} +{"id": "v11-es-note-044", "channel": "note", "lang": "es", "text": "CARTA DE REFERENCIA\nGuadalajara, México\n\nEstimada doctora [[PROVIDER|Okonkwo]]:\n\nLe refiero a mi paciente, la señora [[NAME|Beatriz Orozco Ledesma]], nacida el [[DATE|7 de febrero de 1983]], con diagnóstico de factor tubárico bilateral tras salpingectomía. Antecedentes: G1P0A1, endometriosis grado II, AMH 0.7. Solicita FIV con PGT-A. Domicilio: [[ADDRESS|Av. Vallarta 2450, Col. Arcos Vallarta, Guadalajara]]. Teléfono: [[PHONE|+52 555 010 662]].\n\nAtentamente,\nDr. [[PROVIDER|Alejandro Fuentes]]\nCédula profesional [[ID|8814325]]", "known": {"names": ["Beatriz Orozco Ledesma"], "phones": [], "emails": [], "dates_of_birth": ["1983-02-07"], "addresses": [], "identifiers": []}} +{"id": "v11-es-email-045", "channel": "email", "lang": "es", "text": "Asunto: Taller informativo en español - hay lugares disponibles\n\nEstimadas familias:\n\nLos invitamos a nuestra sesión informativa gratuita sobre fertilidad, en español, el sábado 16 de noviembre a las 1000h en nuestra oficina. Hablaremos de FIV, congelación de óvulos y opciones de financiamiento. Habrá café, pan dulce y traducción simultánea. Cupo: 40 personas. Puede registrarse en https://magnolia-ra.example.org/portal.\n\nAtentamente,\nEquipo de educación al paciente\nMagnolia Reproductive Associates\n1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309\n404-555-0700 - info@magnolia-ra.example.org - @MagnoliaFertilityATL\nPara dejar de recibir estos correos, responda con la palabra BAJA.", "known": {}} +{"id": "v11-es-sms-046", "channel": "sms", "lang": "es", "text": "doc [[PROVIDER|Borden]] soy [[NAME|Wilkin Mejía]] de santiago dominicana. mañana es mi cumple, el [[DATE|3 de diciembre]], jaja, 34. espero que la beta de hoy me de un regalito. llámeme al [[PHONE|(404) 555-0183]] cuando salga el resultado q yo contesto aunque este en el trabajo en [[EMPLOYER|Home Depot]]", "known": {"names": ["Wilkin Mejía Santos"], "phones": ["404-555-0183"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-chat-047", "channel": "chat", "lang": "es", "text": "Visitante: buenas, vivo en [[ADDRESS|Tijuana]], Baja California, y estoy viendo si puedo hacer los monitoreos allá y solo ir a Atlanta para la recuperación\nAsistente: Sí, muchos pacientes lo hacen. Se necesita un laboratorio y una clínica de ecografías cerca de usted que envíe los resultados por el portal.\nVisitante: mi ginecóloga es la doctora [[PROVIDER|Rebecca Goldfarb]], no, perdón, es otra, [[NAME|Rebeca Galindo]]. Disculpe, me confundí con el nombre que me dieron\nAsistente: No se preocupe. Para el registro internacional puede subir su pasaporte o su CURP.\nVisitante: mi CURP es [[ID|GALR810412MBCLNB07]]\nAsistente: Gracias, pero por seguridad pídale al equipo el enlace seguro del portal para subir documentos. Evite escribir números oficiales aquí.\nVisitante: ok, perdón, no sabía", "known": {}} +{"id": "v11-es-call-048", "channel": "call", "lang": "es", "text": "Buenas tardes, quiero hablar con la enfermera de mi esposa. Mi esposa se llama [[NAME|Liliana Cardona]], pero en el sistema creo que aparece como [[NAME|Liliana Cardonas]], con ese al final. Yo soy el padre de ella, don [[NAME|Fabio Cardona]], viajé desde [[ADDRESS|Pereira]], Colombia, para acompañarla en el posparto. Ella nació el [[DATE|veintinueve de febrero del noventa y dos]]. No la dejen sola ni a ella ni a la niña, [[NAME|Valentina]], que nació hace una semana.", "known": {"names": ["Liliana Cardona Ríos"], "phones": [], "emails": [], "dates_of_birth": ["1992-02-29"], "addresses": [], "identifiers": []}} +{"id": "v11-es-email-049", "channel": "email", "lang": "es", "text": "Asunto: RE: RE: Cheque devuelto - ticket 20931\n\nBuenas tardes, señora [[NAME|Lorena Pacheco]]:\n\nLe confirmamos que su cheque número [[ACCOUNT|1042]] por $1,500 fue devuelto por el banco. Puede reponerlo por el portal o con tarjeta.\n\n[[PROVIDER|Monique]]\nFacturación\n\n> El jue, 11:20, [[NAME|Lorena Pacheco]] escribió:\n> Les mandé el cheque a la dirección que me dieron, pero me lo devolvieron al [[ADDRESS|PO Box 418, Cumming]] [[ZIP|30028]]. Mi cuenta es la [[ACCOUNT|0044-871203]], en Wells Fargo\n>\n> > El mar, 09:05, Facturación escribió:\n> > Señora [[NAME|Pacheco]], falta la firma en su cheque.", "known": {"names": ["Lorena Pacheco Duarte"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-note-050", "channel": "note", "lang": "es", "text": "Auditoría del portal - paciente [[NAME|Idalia Sandoval]]\n2026-10-30 21:14:07 login ok usr=[[ID|isandoval_8841]] ip=[[IP_ADDRESS|73.146.220.19]]\n2026-10-30 21:16:52 descarga: Scan - [[NAME|Sandoval, Idalia]].pdf\n2026-10-30 21:19:33 foto subida: IMG_20261030_[[NAME|idalia]].jpg\n2026-10-31 02:03:11 login fallido ip=[[IP_ADDRESS|187.190.45.8]] (México)\nObservación: la paciente dice que viajó a [[ADDRESS|Puebla]]. Revisión de seguridad solicitada a [[PROVIDER|KH]].", "known": {"names": ["Idalia Sandoval Torres"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-sms-051", "channel": "sms", "lang": "es", "text": "Buenas noches, doctora. Le escribo desde el carro porque no quiero que mi esposa me oiga. Tengo miedo del resultado del espermiograma, el conteo salió en 3.2 millones y la motilidad 18%. Qué opciones tenemos? Prefiero hablarlo a solas con usted antes de que ella sepa.", "known": {}} +{"id": "v11-es-chat-052", "channel": "chat", "lang": "es", "text": "Usuario: cuál es la diferencia entre un protocolo antagonista y uno largo?\nAsistente: En el protocolo antagonista la estimulación empieza el día 2 o 3 del ciclo y se agrega un bloqueador (por ejemplo Cetrotide) más adelante. El largo comienza con supresión previa, normalmente con Lupron, y dura más semanas. Su médico decide cuál conviene.\nUsuario: y el desencadenante es siempre Ovidrel?\nAsistente: No siempre. A veces se usa Lupron o una combinación, según el riesgo de OHSS.\nUsuario: cuántas ampollas de Gonal-f son normales\nAsistente: Varía muchísimo. Hay pacientes con 150 UI al día y otras con 300 UI. No es un indicador de éxito.\nUsuario: mi amiga dice que se hinchó mucho y subió peso\nAsistente: La distensión leve es común, pero un aumento de peso rápido o dolor fuerte debe reportarse a enfermería de inmediato.\nUsuario: gracias, muy claro", "known": {}} +{"id": "v11-es-call-053", "channel": "call", "lang": "es", "text": "Buenas, necesito ayuda con unos papeles. Mi nombre es [[NAME|Ixchel Tzoc]], de Guatemala pero trabajo en [[EMPLOYER|Chick-fil-A]] en [[ADDRESS|Roswell]]. En recursos humanos me dijo la señora [[NAME|Brenda Lamar]] que necesitan una carta de la clínica diciendo que mi tratamiento es para el beneficio de fertilidad. Pueden mandarla al correo [[EMAIL|blamar.hr@example.com]]? Ella dijo que el número de mi póliza es [[ACCOUNT|POL-6620193]] y que lo ponga en la carta. Gracias, estoy esperando.", "known": {"names": ["Ixchel Tzoc Pérez"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-note-054", "channel": "note", "lang": "es", "text": "Nota de enfermería 1610h. Sra. [[NAME|A]] llamó por dolor pélvico día 3 post-FET. Sin sangrado. T 37.0. Se tranquilizó. Se le recordó seguir progesterona IM 50 mg. Pregunta si puede viajar a [[ADDRESS|Orlando]] el fin de semana; se le dijo que consulte con [[PROVIDER|HC]]. Pendiente: f/u c/ [[PROVIDER|Hope]] mañana, beta el día 10. Esposo [[NAME|J.]] contesta el teléfono fijo y dice que hablan español e inglés.", "known": {}} +{"id": "v11-es-email-055", "channel": "email", "lang": "es", "text": "De: [[NAME|Consuelo Aguirre]] <[[EMAIL|caguirre.valencia@example.com]]>\nAsunto: Queja formal - atención recibida\n\nA quien corresponda:\n\nMe llamo [[NAME|Consuelo Aguirre Pons]] y soy de Valencia, aunque hoy resido en [[ADDRESS|Alpharetta]]. El pasado [[DATE|22 de octubre]] tuve cita con el doctor [[PROVIDER|Visniewski]] a las 1015h y esperé casi dos horas y media sin que nadie me avisara. Cuando por fin entré, el doctor ni siquiera había revisado mis análisis, que incluían una FSH de 11 y un AMH de 0.6. Además, la recepcionista, una chica joven que se llama [[PROVIDER|Selam]], me trató con mucha frialdad.\n\nPaqué $350 de consulta con la tarjeta terminada en [[ACCOUNT|0928]] y quiero un reembolso parcial. Mi número de paciente es el MRN [[MRN|0071245]].\n\nUn saludo,\n[[NAME|Consuelo Aguirre]]", "known": {"names": ["Consuelo Aguirre Pons"], "phones": [], "emails": ["caguirre.valencia@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": ["MRN 0071245"]}} +{"id": "v11-es-sms-056", "channel": "sms", "lang": "es", "text": "AVISO: Magnolia Reproductive Associates estará cerrada el jueves y viernes por el Día de Acción de Gracias. Las llamadas de urgencia con medicación se atienden en el 404-555-0700, opción 1. Las citas de monitoreo del sábado se mantienen a las 0700h. Que tengan unas felices fiestas.", "known": {}} +{"id": "v11-es-chat-057", "channel": "chat", "lang": "es", "text": "Paciente: quiero pagar con mi cuenta HSA, qué datos necesitan?\nAsistente: Puede pagar desde el portal ingresando los datos de su tarjeta HSA. No necesitamos su número de cuenta bancaria.\nPaciente: es que el banco me da un numero de cuenta y un routing, el routing es [[ACCOUNT|061000104]] y la cuenta [[ACCOUNT|7731904482]]\nAsistente: Gracias, pero por favor no comparta esos datos aquí. Los voy a ocultar del registro del chat.\nPaciente: ay perdón, pensé que se hacia asi como en la tienda. soy [[NAME|Yocasta Martínez]] de [[ADDRESS|Lilburn]] y se me hace dificil con tanta tecnología\nAsistente: No se preocupe, [[NAME|Yocasta]]. Si prefiere, puede llamar a facturación y le ayudamos por teléfono.", "known": {"names": ["Yocasta Martínez Peralta"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-058", "channel": "call", "lang": "es", "text": "Mensaje de voz, 0612h. Hola, buenos días, llamo por la medicación de esta noche. Me tocan 225 unidades de Gonal-f y 75 de Menopur, y a las 2100h el Cetrotide, 0.25 miligramos. Se me acabó una pluma y la otra marca como 80 unidades restantes, alcanza o no? Lo otro, la ecografía de hoy es en la sala 2, no? Mi último estradiol fue 1450 y los folículos más grandes medían 18 milímetros. Si me pueden devolver la llamada antes de las 1100h, mejor. Gracias.", "known": {}} +{"id": "v11-es-email-059", "channel": "email", "lang": "es", "text": "De: Camila Duque <[[EMAIL|camila.duque@example.org]]>\nPara: halifax@magnolia-ra.example.org\nAsunto: Crédito fiscal y tarjeta de salud\n\nBuenas tardes,\n\nSoy [[NAME|Camila Duque]], colombiana recién llegada a Halifax. Vivimos en [[ADDRESS|1427 Robie Street, Apt 5]], [[ADDRESS|Halifax]] [[POSTAL_CODE|B3H 3E4]]. Mi tarjeta de salud de Nueva Escocia es la [[HEALTH_CARD|9182 304 567]] y la de mi esposo [[NAME|Esteban]] es la [[HEALTH_CARD|9182 304 571]]. Queremos saber si el crédito fiscal de fertilidad de Nueva Escocia cubre los medicamentos y cómo se presenta.\n\nTambién, si la primera consulta puede ser en español. Mi inglés es básico todavía.\n\nGracias,\n[[NAME|Camila]]", "known": {"names": ["Camila Duque Herrera"], "phones": [], "emails": ["camila.duque@example.org"], "dates_of_birth": [], "addresses": [], "identifiers": ["9182 304 567"]}} +{"id": "v11-es-note-060", "channel": "note", "lang": "es", "text": "ACUERDO DE DISPOSICIÓN DE EMBRIONES (versión 4.1) - extracto escaneado\nPacientes: [[NAME|Graciela Domínguez Ortega]] y [[NAME|Raúl Ibarra Solís]]\nDomicilio: [[ADDRESS|1905 Cheshire Bridge Rd NE, Unidad 12]], [[ADDRESS|Atlanta]], [[ZIP|30324]]\nEmbriones en almacenamiento: 4 (tanque 6, canister 2)\nID de embriones: [[DONOR_ID|EMB-2026-00418]] a [[DONOR_ID|EMB-2026-00421]]\nOpción elegida en caso de separación: descarte\nTestigo: [[NAME|Mónica Barajas]], notaria. Testigo clínico: [[PROVIDER|Paris Jean-Baptiste]]\nFirmado el [[DATE|12 de agosto de 2026]].", "known": {"names": ["Graciela Domínguez Ortega", "Raúl Ibarra Solís"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-sms-001", "channel": "sms", "lang": "fr", "text": "Allo, c'est [[NAME|Mélanie]], j'ai call-é à matin mais ça répondait pas. Moi pis [[NAME|Gilles]] on reste à [[ADDRESS|Shediac]], fait que c'est un boute à drive jusqu'à Halifax. Est-ce qu'on peut faire le monitorage à Moncton à la place? Check-moé ça pis rappelle-moé au [[PHONE|506-555-0147]]. Marci!", "known": {"names": ["Mélanie Léger"], "phones": ["506-555-0147"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-chat-002", "channel": "chat", "lang": "fr", "text": "Visiteur: Bonjour, est-ce que le crédit d'impôt pour la fertilité en Nouvelle-Écosse couvre les médicaments?\nAssistant: Bonjour. En général, le programme provincial peut couvrir une partie des frais admissibles liés aux traitements, mais les règles précises changent. Je vous recommande de vérifier les critères officiels et de demander un reçu détaillé à notre service de facturation.\nVisiteur: Et la FIV, ça coûte combien environ?\nAssistant: Un cycle de FIV standard est facturé à 7 800 $, sans les médicaments ni le test génétique PGT-A. Les médicaments varient de 2 500 $ à 5 000 $ selon le protocole.\nVisiteur: Ok. Pis l'insémination?\nAssistant: Une IUI est facturée à 650 $ plus le suivi échographique à 210 $ par visite.\nVisiteur: Merci, c'est clair.\nAssistant: Avec plaisir. Voulez-vous réserver une consultation d'information à Halifax?\nVisiteur: Pas tout de suite.", "known": {}} +{"id": "v11-fr-call-003", "channel": "call", "lang": "fr", "text": "Bonjour, ici [[NAME|Marie-Ange Pierre-Louis]], je suis une patiente d'Atlanta, d'origine haïtienne. Je voudrais confirmer mon rendez-vous avec la docteure [[PROVIDER|Okonkwo]]. Ma date de naissance, c'est le [[DATE|quatorze juin mil neuf cent quatre-vingt-dix]]. Vous pouvez me joindre au [[PHONE|quatre zéro quatre, cinq cinq cinq, zéro deux trois neuf]]. J'habite à [[ADDRESS|Clarkston]], près de l'église haïtienne. Mon mari s'appelle [[NAME|Wilner]], il va venir avec moi. Merci, que Dieu vous bénisse.", "known": {"names": ["Marie-Ange Pierre-Louis"], "phones": ["404-555-0239"], "emails": [], "dates_of_birth": ["1990-06-14"], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-004", "channel": "call", "lang": "fr", "text": "Bienvenue chez Magnolia Reproductive Associates. Pour le bureau d'Atlanta, faites le un. Pour le bureau de Halifax, faites le deux, ou composez le neuf zéro deux, cinq cinq cinq, zéro sept un zéro. Pour la facturation, poste 118. Pour les soins infirmiers, poste 214. Les bureaux sont fermés le jour de l'Action de grâce américaine. Pour une urgence médicale, raccrochez et composez le 911. Pour répéter ce message, appuyez sur la touche étoile.", "known": {}} +{"id": "v11-fr-email-005", "channel": "email", "lang": "fr", "text": "De: Nadine Haddad-Khoury <[[EMAIL|nadine.khoury@example.net]]>\nÀ: halifax@magnolia-ra.example.org\nObjet: Dossier de mon mari et moi\n\nBonjour,\n\nJe m'appelle [[NAME|Nadine Haddad-Khoury]], nous sommes originaires de Beyrouth et nous habitons à Halifax depuis deux ans, au [[ADDRESS|2180 Gottingen Street, appartement 4B]], [[POSTAL_CODE|B3K 3B3]]. Mon mari, [[NAME|Fadi Khoury]], est né le [[DATE|3 mars 1984]] et moi le [[DATE|18 novembre 1987]]. Nos numéros de carte santé sont [[HEALTH_CARD|7340 118 925]] pour moi et [[HEALTH_CARD|7340 118 933]] pour lui.\n\nMon mari travaille à [[EMPLOYER|Dalhousie University]], au laboratoire de chimie. Nous aimerions savoir si vous acceptez de lire les résultats de nos analyses faites au Liban, en arabe et en français.\n\nCordialement,\n[[NAME|Nadine]]", "known": {"names": ["Nadine Haddad-Khoury"], "phones": [], "emails": ["nadine.khoury@example.net"], "dates_of_birth": ["1987-11-18"], "addresses": [], "identifiers": []}} +{"id": "v11-fr-sms-006", "channel": "sms", "lang": "fr", "text": "Rappel: votre échographie de suivi est demain à 8 h 15. Vous n'avez pas besoin d'être à jeun. Si vous prenez Gonal-f 225 UI ce soir à 21 h, ne changez pas l'heure. Pour confirmer, répondez O. Magnolia Reproductive Associates, 902-555-0710. Répondez STOP pour ne plus recevoir de messages.", "known": {}} +{"id": "v11-fr-chat-007", "channel": "chat", "lang": "fr", "text": "Assistant: Bonjour, je suis l'assistant virtuel de Magnolia. Comment puis-je vous aider?\nPatiente: Je suis québécoise, je travaille à Halifax depuis septembre et je veux transférer mon dossier de Montréal.\nAssistant: Bien sûr. Quel est votre nom complet?\nPatiente: [[NAME|Audrey Bouchard-Lavoie]]\nAssistant: Merci, [[NAME|Audrey]]. Pouvez-vous me donner le numéro de votre carte d'assurance maladie?\nPatiente: C'est [[HEALTH_CARD|BOUA 8703]]\nPatiente: [[HEALTH_CARD|1415]]\nPatiente: attends, je vais faire ça en entier: [[HEALTH_CARD|BOUA 8703 1415]]\nAssistant: Merci. Pour confirmer: [[HEALTH_CARD|BOUA 8703 1415]]. C'est bien ça?\nPatiente: oui, mais elle est expirée depuis [[DATE|février]]\nAssistant: Notez que votre nouvelle carte de la Nouvelle-Écosse sera nécessaire. Je transmets votre demande à l'équipe.\nPatiente: super, ma clinique à Montréal est la Clinique Lavallée... non attends, c'est pas mon employeur, désolée, c'est ma clinique. Je travaille à [[EMPLOYER|Nova Scotia Power]].", "known": {"names": ["Audrey Bouchard-Lavoie"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-008", "channel": "call", "lang": "fr", "text": "Agent: Magnolia, bonjour.\nAppelant: Oui bonjour, je voudrais vérifier le rendez-vous de ma femme. Elle s'appelle [[NAME|Zineb El Idrissi]], ça s'écrit [[NAME|Z, I, N, E, B]] pour le prénom et [[NAME|E, L, I, D, R, I, S, S, I]] pour le nom. Nous sommes de Casablanca mais nous sommes à [[ADDRESS|Dartmouth]] pour mes études.\nAgent: Un instant. Je trouve un rendez-vous avec la docteure [[PROVIDER|Layla Saliba]] le [[DATE|19 novembre]].\nAppelant: Parfait. Moi, c'est [[NAME|Anas]]. Mon numéro est le [[PHONE|902-555-0188]].", "known": {"names": ["Zineb El Idrissi"], "phones": ["902-555-0188"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-email-009", "channel": "email", "lang": "fr", "text": "Objet: Question sur le déroulement d'un transfert d'embryon congelé\n\nBonjour,\n\nNous sommes en préparation pour un transfert d'embryon congelé et j'ai quelques questions pratiques:\n\n1. À quelle heure faut-il arriver? On nous a dit 0930 h pour un transfert à 1015 h.\n2. Peut-on conduire après? La clinique a mentionné un léger sédatif, de l'Ativan 1 mg, mais je ne suis pas certaine.\n3. L'estradiol est à 6 mg par jour; est-ce que je dois continuer le patch en plus?\n4. Notre embryon est de grade 4AA, congelé au jour 5. Est-ce un bon grade?\n5. Après le transfert, combien de temps de repos? Mon patron veut savoir si je dois prendre une journée complète ou une demi-journée.\n\nMerci beaucoup pour votre patience.", "known": {}} +{"id": "v11-fr-note-010", "channel": "note", "lang": "fr", "text": "Note de triage, 1135 h, bureau d'Halifax. Pt [[NAME|CL]] 31 ans G1P0 appelle en chiac/français, c/o spotting léger J8 post-FET, sans douleur. T 36.9. Rassurée. Rappel: beta le jour 10. Mari [[NAME|Jean-Marc]] a parlé au téléphone en premier. À voir avec [[PROVIDER|HC]] re: progestérone IM. [[PROVIDER|Hope]] prévenue à 1140 h. Famille de [[ADDRESS|Clare]], Baie Sainte-Marie; trajet de 3 h, prévoir un monitorage à Yarmouth la semaine prochaine.", "known": {"names": ["Chantal LeBlanc"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-sms-011", "channel": "sms", "lang": "fr", "text": "Bonsoir, c'est [[NAME|Mireille Kabongo]]. Je viens d'envoyer l'acompte de 500 $ par Cash App, mon identifiant est [[ACCOUNT|$mireille.kabongo7]]. Vous pouvez m'envoyer le reçu par courriel à [[EMAIL|mkabongo7@example.com]]? J'habite maintenant au [[ADDRESS|3350 Clairmont Rd NE, #4B]] à [[ADDRESS|Brookhaven]]. Mon frère [[NAME|Patrick]] va s'occuper de la paperasse.", "known": {"names": ["Mireille Kabongo Tshimanga"], "phones": [], "emails": ["mireille.kabongo@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-chat-012", "channel": "chat", "lang": "fr", "text": "Utilisateur: j'ai reçu mon rapport PGT-A et je comprends pas tout\nAssistant: Je peux vous aider à comprendre le vocabulaire général. Que dit le rapport?\nUtilisateur: 3 embryons euploïdes, 1 aneuploïde (monosomie 21) et 2 mosaïques de bas niveau\nAssistant: Un embryon euploïde a le nombre attendu de chromosomes. Les mosaïques se discutent au cas par cas avec le médecin et parfois avec un conseiller en génétique.\nUtilisateur: pis les grades, c'est 4AA, 3AB et 4BB\nAssistant: Le grade décrit l'expansion et l'aspect des cellules. Il ne prédit pas à lui seul l'implantation.\nUtilisateur: combien de temps pour le prochain transfert?\nAssistant: En général, un cycle de préparation dure de 2 à 3 semaines. Votre infirmière peut préciser selon votre protocole, lors de la consultation de 1330 h.\nUtilisateur: ok merci beaucoup", "known": {}} +{"id": "v11-fr-call-013", "channel": "call", "lang": "fr", "text": "Allo, bonjour, c'est [[NAME|Rose-Aimée Boudreau]] de [[ADDRESS|Chéticamp]]. Je vous laisse un message parce que le livreur trouve pas ma maison. Mon adresse, c'est [[ADDRESS|RR 2, Site 4, Box 12]], [[ADDRESS|Chéticamp]], pis c'est la maison jaune après le garage de bateaux, à côté du bureau de poste. Je suis la fille de [[NAME|Alphonse Boudreau]] qui est connu dans le coin. Mon numéro, c'est le [[PHONE|(902) 555-0163]]. Merci ben, bye.", "known": {"names": ["Rose-Aimée Boudreau"], "phones": ["902-555-0163"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-014", "channel": "call", "lang": "fr", "text": "Bonjour, je laisse un message pour l'infirmière. Alors ce matin ma température était à 36,4, j'ai pris mon Cetrotide à 0800 h, la dose de 0,25 mg. Hier le résultat de l'estradiol était à 1450 et mes follicules à 17, 16 et 14 millimètres. Je voudrais savoir si je dois changer la dose de Menopur de 150 à 75 unités, parce que j'ai beaucoup de ballonnements. Est-ce qu'on pourrait me rappeler avant 1100 h? Merci, bonne journée.", "known": {}} +{"id": "v11-fr-email-015", "channel": "email", "lang": "fr", "text": "De: Sophie Marchetti <[[EMAIL|sophie.marchetti69@example.org]]>\nObjet: Demande de dossier médical et consultation à distance\n\nBonjour,\n\nJe m'appelle [[NAME|Sophie Marchetti]], j'habite à Lyon, au [[ADDRESS|14 rue de la République, 69002 Lyon]]. Je suis née le [[DATE|27/09/1985]]. Mon numéro de sécurité sociale est le [[ID|2 85 09 69 123 456 78]] et ma mutuelle est la [[ACCOUNT|MGEN contrat 4408217]].\n\nMon gynécologue, le docteur [[PROVIDER|Banks]], a déjà échangé avec votre équipe, je crois. Je souhaite savoir si une première consultation en visio est possible avant un déplacement à Atlanta. Mon mari [[NAME|Thomas]] et moi avons déjà fait trois inséminations et une FIV en France.\n\nBien cordialement,\n[[NAME|Sophie Marchetti]]", "known": {"names": ["Sophie Marchetti"], "phones": [], "emails": ["sophie.marchetti69@example.org"], "dates_of_birth": ["1985-09-27"], "addresses": [], "identifiers": []}} +{"id": "v11-fr-sms-016", "channel": "sms", "lang": "fr", "text": "Résultats disponibles dans le portail: AMH 0,8 ng/mL, FSH 7,2, estradiol jour 3 à 42. Un résultat seul ne définit pas votre pronostic. Votre infirmière vous rappellera pour le suivi de 1130 h. Billet de référence no 48217. Magnolia Reproductive Associates.", "known": {}} +{"id": "v11-fr-chat-017", "channel": "chat", "lang": "fr", "text": "Assistant: Pour mettre à jour votre téléphone, donnez-moi le nouveau numéro, vous pouvez le faire en plusieurs messages.\nPatiente: l'indicatif c'est [[PHONE|506]]\nPatiente: après ça [[PHONE|555]]\nPatiente: pis [[PHONE|0172]]\nAssistant: Pour confirmer: [[PHONE|506-555-0172]]. C'est exact?\nPatiente: non attends, j'ai mêlé, c'est [[PHONE|0127]] à la fin\nAssistant: Merci. Nouveau numéro: [[PHONE|506-555-0127]]. C'est bien ça?\nPatiente: oui c'est ça\nAssistant: Et votre nom?\nPatiente: [[NAME|Annick Gallant]]\nAssistant: Merci, [[NAME|Annick]]. Voulez-vous aussi mettre à jour l'adresse?\nPatiente: oui, on a déménagé à [[ADDRESS|Dieppe]], au [[ADDRESS|88 chemin Gauvin]]\nAssistant: C'est noté. Quelqu'un de l'équipe va valider les changements.", "known": {"names": ["Annick Gallant"], "phones": ["506-555-0101"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-018", "channel": "call", "lang": "fr", "text": "Agent: Magnolia Halifax, bonjour.\nAppelante: Oui bonjour, c'est [[NAME|Camille Tremblay-Roy]], je viens de Québec, je suis à Halifax pour le travail. Je veux que vous m'envoyiez mes résultats par courriel. L'adresse, c'est [[EMAIL|c, tremblay, tiret, roy, arobase example point org]].\nAgent: Pouvez-vous épeler? [[EMAIL|ctremblay-roy@example.org]], c'est bien ça?\nAppelante: Oui. Pis mon rendez-vous est jeudi le [[DATE|21]] avec le docteur [[PROVIDER|Will Thibodeau]]. J'ai aussi mon NAS si vous le demandez: [[SIN|193 456 787]]. J'habite sur [[ADDRESS|Quinpool Road]], pas loin de l'hôpital.", "known": {"names": ["Camille Tremblay-Roy"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-email-019", "channel": "email", "lang": "fr", "text": "De: [[PROVIDER|Paris Jean-Baptiste]]\nÀ: [[PROVIDER|Layla Saliba]], [[PROVIDER|Hope Comeau]]\nObjet: Ressources en français pour le bureau de Halifax\n\nBonjour à toutes,\n\nLes feuilles de consentement en français, version 3.2, sont dans le dossier partagé. La version 3.1 est retirée, ne l'imprimez plus. [[PROVIDER|Layla]], peux-tu vérifier avec [[PROVIDER|Hope]] la traduction de la section sur le syndrome d'hyperstimulation ovarienne (OHSS)?\n\nLa salle 2 sera utilisée pour le simulacre à 1400 h. Le code de la porte a changé, demandez à la réception.\n\nMerci,\n[[PROVIDER|Paris]]", "known": {}} +{"id": "v11-fr-note-020", "channel": "note", "lang": "fr", "text": "FORMULAIRE D'ADMISSION (copie OCR)\nNOM: [[NAME|CORMIER, LUCIE]]\nDATE DE NAISSANCE: [[DATE|12-AVR-1989]]\nÉTAT CIVIL: Conjointe de fait\nCONJOINT: [[NAME|MARC-ANDRÉ GAUDET]]\nADRESSE: [[ADDRESS|44 rue Principale, app. 4]], [[ADDRESS|Caraquet]] (N.-B.) [[POSTAL_CODE|E1W 1A5]]\nTÉL. CELL.: [[PHONE|506-555-0156]]\nCARTE MEDICARE N.-B.: [[HEALTH_CARD|021 458 937]]\nEMPLOYEUR: [[EMPLOYER|Réseau de santé Vitalité]]\nMOTIF: infertilité primaire, 3 ans. SOPK. AMH 5.2. Préfère les services en français.\nMÉDECIN RÉFÉRENT: Dre [[PROVIDER|Noa Ben-David]]", "known": {"names": ["Lucie Cormier"], "phones": ["506-555-0156"], "emails": [], "dates_of_birth": ["1989-04-12"], "addresses": ["44 rue Principale, app. 4"], "identifiers": []}} +{"id": "v11-fr-sms-021", "channel": "sms", "lang": "fr", "text": "Merci pour votre message d'hier. Ça fait du bien de savoir qu'on n'est pas seuls. On a pleuré toute la soirée mais on a aussi décidé de reprendre dans deux cycles, quand je serai prête. Mon pasteur dit que Dieu a un plan, et j'essaie d'y croire. Priez pour nous s'il vous plaît.", "known": {}} +{"id": "v11-fr-chat-022", "channel": "chat", "lang": "fr", "text": "Patiente: Bonsoir, je suis marocaine, je vis à Atlanta, et ma mère veut payer une partie du traitement depuis le Maroc.\nAssistant: Bonsoir. Nous acceptons les virements internationaux, mais je ne peux pas traiter les coordonnées bancaires dans ce chat.\nPatiente: Je comprends, mais j'ai son IBAN: [[ACCOUNT|MA64 0115 1900 0001 2050 0053 4921]]\nAssistant: Merci, mais par sécurité, veuillez ne pas l'écrire ici. La facturation vous enverra un formulaire sécurisé.\nPatiente: D'accord. Ma mère s'appelle [[NAME|Fatima Zahra Benjelloun]] et elle vit à [[ADDRESS|Rabat]], quartier [[ADDRESS|Agdal]].\nAssistant: Notez que je n'ai pas besoin de ces informations ici. Comment vous appelez-vous?\nPatiente: [[NAME|Khadija Benjelloun]], mon mari est [[NAME|Omar Tahiri]]. Nous habitons [[ADDRESS|Duluth]], pas loin de la mosquée.\nAssistant: Merci, [[NAME|Khadija]]. La facturation vous contactera.\nPatiente: Parfait, merci.", "known": {"names": ["Khadija Benjelloun Tahiri"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-023", "channel": "call", "lang": "fr", "text": "Bonjour, euh, je m'appelle [[NAME|Maya a bou]], enfin c'est [[NAME|Maya Aboud]], A-B-O-U-D, je suis libanaise, de [[ADDRESS|Bayonne]]. Non, pardon, de [[ADDRESS|Bourj Hammoud]], à Beyrouth, et je vis maintenant à [[ADDRESS|Bedford]] en Nouvelle-Écosse. Je dois changer mon rendez-vous de [[DATE|mardi le 12]] parce que mon mari [[NAME|Georges]] travaille à l'hôpital ce jour-là. Mon numéro, c'est le [[PHONE|902-555-0116]]. La docteure [[PROVIDER|Thao Le]] me connaît déjà.", "known": {"names": ["Maya Aboud"], "phones": ["902-555-0116"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-email-024", "channel": "email", "lang": "fr", "text": "Objet: Plan de paiement pour les médicaments\n\nBonjour,\n\nJe voudrais savoir s'il est possible de payer les médicaments de stimulation en trois versements. La note que j'ai reçue indique 3 480 $, dont 1 920 $ pour les gonadotrophines et 410 $ pour le déclencheur Ovidrel. Mon assurance rembourse peut-être 20 %, mais je dois d'abord avancer la somme.\n\nEst-ce que la clinique peut préparer une facture détaillée avec les codes (CPT 58970 pour la ponction, 76830 pour l'écho) pour mon employeur? Ils demandent le détail pour le remboursement.\n\nMerci d'avance de votre aide.", "known": {}} +{"id": "v11-fr-note-025", "channel": "note", "lang": "fr", "text": "Triage 1450 h. Mme [[NAME|D]] (salle 3) c/o céphalée post-ponction, 2e jour, sans fièvre, TA 118/74. Hydratation encouragée, acétaminophène 500 mg q6h. Mari [[NAME|Réjean]] à ses côtés. Suivi avec [[PROVIDER|WT]] demain 0900 h. Si vomissements ou douleur abdominale: ER. Patiente de [[ADDRESS|Pointe-de-l'Église]], parle français seulement, interprète pas nécessaire.", "known": {}} +{"id": "v11-fr-sms-026", "channel": "sms", "lang": "fr", "text": "Salut c'est [[NAME|Josée]], pour la livraison des médicaments: on reste sur la route 11, la maison bleue passé le Tim Hortons de [[ADDRESS|Miramichi]], avant le pont, y'a une boîte aux lettres rouge avec le [[ADDRESS|4409]] écrit dessus. Le livreur peut la laisser dans le garage si on est pas là. Mon chum [[NAME|Dave]] va être là après 17 h.", "known": {"names": ["Josée Savoie"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-chat-027", "channel": "chat", "lang": "fr", "text": "Assistant: Pour ouvrir votre dossier international, j'ai besoin de votre nom et d'une pièce d'identité.\nPatient: Je m'appelle [[NAME|Jean-Pierre Mukendi]], originaire de Kinshasa, en RDC, maintenant à Atlanta depuis cinq ans. Ma femme est [[NAME|Espérance Mukendi]], elle a [[NAME|Espé]] comme surnom.\nAssistant: Merci. Quel est votre numéro de passeport?\nPatient: [[ID|OP0123456]]\nAssistant: Merci. Pour confirmer: [[ID|OP0123456]]. Correct?\nPatient: oui\nAssistant: Votre adresse?\nPatient: [[ADDRESS|1805 Candler Road, Apt 14]], [[ADDRESS|Decatur]], [[ZIP|30032]]\nPatient: ma femme travaille chez [[EMPLOYER|Emory Healthcare]] comme infirmière\nAssistant: Merci. La coordonnatrice [[PROVIDER|Monique]] vous écrira.", "known": {"names": ["Jean-Pierre Mukendi"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-028", "channel": "call", "lang": "fr", "text": "Message vocal interne pour le relais de quart. Bonjour, ici [[PROVIDER|Hope]], 0645 h. Rien de spécial cette nuit. Salle 3 est libre, la salle 1 a un HSG à 0830 h avec [[PROVIDER|DJ]]. Le frigo B affiche 4,2 degrés, pas de souci. Il manque une boîte de Cetrotide et une de Menopur 75; [[PROVIDER|Guadalupe]] fait la commande aujourd'hui. Le lot de milieu de culture LOT-5503 expire fin janvier. Le technicien de l'ascenseur vient à 1000 h. [[PROVIDER|Selam]], tu prends le relais à 0700 h. Bonne journée.", "known": {}} +{"id": "v11-fr-email-029", "channel": "email", "lang": "fr", "text": "Objet: RE: RE: Remboursement du dépôt - billet 20931\n\nBonjour Madame [[NAME|Berthe Okoko]],\n\nNous avons bien reçu votre demande. Le remboursement de 750 $ sera fait par chèque à l'adresse indiquée. Dès que possible, confirmez-nous votre adresse.\n\n[[PROVIDER|Monique Rich]]\nFacturation\n\n> Le jeudi 14 h 20, [[NAME|Berthe Okoko]] a écrit:\n> Je voudrais être remboursée, ma situation a changé. Mon adresse est [[ADDRESS|11 Rue Gaspard, Apt 2]], [[ADDRESS|Dieppe]] [[POSTAL_CODE|E1A 5K9]]. Mon numéro de compte chez vous est [[ACCOUNT|ACC-0088412]].\n>\n> > Le mardi 9 h 05, Facturation a écrit:\n> > Madame [[NAME|Okoko]], votre dépôt est au dossier.", "known": {"names": ["Berthe Okoko"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-note-030", "channel": "note", "lang": "fr", "text": "RAPPORT DE LABORATOIRE (numérisé)\nAccession: LAB-2026-118842\nPatiente: [[NAME|Hélène Dufresne-Arsenault]] [[DATE|1991-05-17]]\nMRN: [[MRN|0083391]]\nPrélevé: [[DATE|2026-10-21]] 0745 h\nAMH 1,4 ng/mL (réf. 1,0-4,0) FSH 8,1 mUI/mL E2 42 pg/mL TSH 2,3\nDonneur de sperme: [[DONOR_ID|CRYO-DN-77214]]\nMédecin demandeur: Dr [[PROVIDER|Eitan Shapiro]]\nFax de retour: 404-555-0701\nNotes: ne pas confondre avec l'accession LAB-2026-118824 (autre patiente).", "known": {"names": ["Hélène Dufresne-Arsenault"], "phones": [], "emails": [], "dates_of_birth": ["1991-05-17"], "addresses": [], "identifiers": ["MRN 0083391"]}} +{"id": "v11-fr-sms-031", "channel": "sms", "lang": "fr", "text": "Bonjour docteur, c'est [[NAME|Stéphanie d'Entremont]] de [[ADDRESS|Pubnico]]. Le test de grossesse de ce matin est positif!! On est tellement contents, je peux pas arrêter de brailler. Ma mère [[NAME|Lucille]] le sait déjà pis elle a dit qu'elle va tricoter une petite couverte. La date prévue serait le [[DATE|8 juillet]], d'après l'appli. Pis on le dit à personne avant la première écho, promis!", "known": {"names": ["Stéphanie d'Entremont"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-chat-032", "channel": "chat", "lang": "fr", "text": "Utilisatrice: bonjour, je veux congeler mes ovules, j'ai 35 ans\nAssistant: Bonjour. Je peux vous donner des informations générales. Que souhaitez-vous savoir?\nUtilisatrice: combien de cycles faut-il en général?\nAssistant: Cela dépend de l'âge et de la réserve ovarienne. Beaucoup de personnes de 35 ans font un ou deux cycles; le médecin évalue l'AMH et le compte de follicules antraux.\nUtilisatrice: mon AMH est de 0,9, c'est bas?\nAssistant: Une valeur de 0,9 ng/mL est inférieure à la moyenne pour cet âge, mais elle ne permet pas à elle seule de prédire le nombre d'ovules. Un spécialiste doit l'interpréter avec l'échographie.\nUtilisatrice: et le prix?\nAssistant: Le cycle de congélation d'ovocytes est à 6 200 $, médicaments en sus, plus un frais de stockage de 600 $ par année.\nUtilisatrice: ok merci, je vais y penser", "known": {}} +{"id": "v11-fr-call-033", "channel": "call", "lang": "fr", "text": "Allo, bonjou, mwen rele [[NAME|Josette Désir]]. Pardon, je parle en français: je suis [[NAME|Josette Désir]], de [[ADDRESS|Little Haiti]] avant, mais maintenant à [[ADDRESS|Tucker]], en Géorgie. La docteure [[PROVIDER|Hartley]] a dit que je devais refaire la prise de sang. Mon mari, [[NAME|Jean-Robert]], n'est pas content de payer encore. Ma sœur [[NAME|Nadège]] va m'accompagner mardi. Rappelez-moi s'il vous plaît au [[PHONE|678-555-0184]].", "known": {"names": ["Josette Désir"], "phones": ["678-555-0184"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-email-034", "channel": "email", "lang": "fr", "text": "Objet: Questions sur le don d'ovules\n\nBonjour,\n\nMa conjointe et moi envisageons un don d'ovules. Voici nos questions:\n\n- Les donneuses sont-elles anonymes ou connues? Pouvons-nous choisir selon l'origine ethnique?\n- Quelle est la différence entre un cycle frais et des ovules congelés?\n- Combien d'embryons transfère-t-on, et le PGT-A est-il recommandé avec une donneuse jeune?\n- Quel est le prix de la banque d'ovules, par exemple pour 6 ovocytes vitrifiés?\n- Est-ce que la loi sur la procréation assistée au Canada s'applique aussi à votre bureau de Halifax?\n\nNous avons eu une grosse perte l'an dernier et nous voulons faire les choses calmement. Merci de votre compréhension.", "known": {}} +{"id": "v11-fr-note-035", "channel": "note", "lang": "fr", "text": "LETTRE DE RÉFÉRENCE - Halifax\n\nChère Dre [[PROVIDER|Deshmukh]],\n\nJe vous réfère [[NAME|Mme Annie Pothier]], née le [[DATE|2 octobre 1982]], de [[ADDRESS|Wolfville]], N.-É. Diagnostic: insuffisance ovarienne prématurée possible, FSH 38, AMH indétectable. Elle a été vue pour une hystéroscopie en [[DATE|juin]]. Carte santé: [[HEALTH_CARD|2745 889 112]]. Son numéro: [[PHONE|902-555-0167]]. Elle souhaite un don d'ovules.\n\nCordialement,\nDre [[PROVIDER|Miriam Sutherland]], médecine familiale\n[[ADDRESS|Wolfville]], N.-É.", "known": {"names": ["Annie Pothier"], "phones": ["902-555-0167"], "emails": [], "dates_of_birth": ["1982-10-02"], "addresses": [], "identifiers": []}} +{"id": "v11-fr-sms-036", "channel": "sms", "lang": "fr", "text": "Magnolia Halifax: votre rendez-vous de transfert est confirmé pour 0930 h. Arrivez 20 minutes avant, vessie pleine. Stationnement: Spring Garden Road, niveau P2. Pour modifier, appelez le 902-555-0710 avant 1600 h. Bureaux fermés à Noël et au jour de l'An.", "known": {}} +{"id": "v11-fr-chat-037", "channel": "chat", "lang": "fr", "text": "Patient: je dois recevoir une livraison de médicaments mais je suis à mon chalet ce weekend\nAssistant: Pouvez-vous me donner l'adresse de livraison?\nPatient: Je m'appelle [[NAME|Alexandre Gagnon-Morin]] et le chalet est au bord du lac, [[ADDRESS|Lac Mégantic]], pas d'adresse civique, mais les coordonnées GPS sont [[ADDRESS|45.5841, -70.8795]]\nAssistant: Un transporteur ne peut pas livrer avec seulement des coordonnées. Avez-vous un autre endroit?\nPatient: oui, chez mes parents, [[ADDRESS|12 rue des Érables, Sherbrooke]] [[POSTAL_CODE|J1H 4L2]]\nAssistant: Merci. La livraison sera à ce nom?\nPatient: oui, ou [[NAME|Sylvain Morin]], mon père\nAssistant: C'est noté, [[NAME|Alexandre]]. Une signature sera exigée.", "known": {"names": ["Alexandre Gagnon-Morin"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-038", "channel": "call", "lang": "fr", "text": "Bonjour, je vous appelle depuis la France, je suis à [[ADDRESS|Paris]], dans le [[ADDRESS|onzième]]. Je m'appelle [[NAME|Clémence Rousseau]], née le [[DATE|quatre septembre quatre-vingt-sept]]. J'ai fait une FIV chez vous il y a deux ans avec la docteure [[PROVIDER|Okonkwo]] et j'aimerais récupérer mon dossier. Mon dossier avait le numéro [[MRN|zéro zéro sept quatre deux cinq un]], je crois. Vous pouvez m'écrire à [[EMAIL|clemence.rousseau@example.com]].", "known": {"names": ["Clémence Rousseau"], "phones": [], "emails": [], "dates_of_birth": ["1987-09-04"], "addresses": [], "identifiers": ["MRN 0074251"]}} +{"id": "v11-fr-email-039", "channel": "email", "lang": "fr", "text": "De: Nathalie Pellerin <[[EMAIL|npellerin@example.net]]>\nÀ: Ressources humaines\nObjet: Demande de congé pour traitement de fertilité\n\nBonjour Madame [[NAME|Roxanne Deveau]],\n\nJe vous écris au sujet de ma demande de congé. Je travaille chez [[EMPLOYER|Maritime Travel]] depuis quatre ans, et ma date de départ prévue est le [[DATE|4 novembre]], pour la ponction. La clinique pourra fournir une lettre confirmant que mon traitement est médicalement nécessaire. Mon numéro d'employée est le [[ID|E-208841]].\n\nEn cas de questions, vous pouvez joindre la docteure [[PROVIDER|Saliba]] ou moi au [[PHONE|(902) 555-0171]].\n\nMerci,\n[[NAME|Nathalie Pellerin]]", "known": {"names": ["Nathalie Pellerin"], "phones": [], "emails": ["npellerin@example.net"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-note-040", "channel": "note", "lang": "fr", "text": "TÉLÉCOPIE PHARMACIE (OCR)\nPharmacie communautaire - Fax: [[PHONE|902-555-0125]]\nÀ: Magnolia Halifax, fax 404-555-0701 (Atlanta)\nPatient: [[NAME|ROBICHAUD, ISABELLE]] Carte santé N.-É.: [[HEALTH_CARD|6021 774 308]]\nOrdonnance no: [[ID|RX 4420981]]\nDIN 02432897, Gonal-f 450 UI, lot 22A91, exp. 2027-06\nQté: 1 stylo. Renouv.: 0\nLivraison: [[ADDRESS|91 Church Point Rd]], [[ADDRESS|Church Point]] [[POSTAL_CODE|B0W 1M0]]\nPharmacien: M. [[NAME|Luc Doucet]]\nPrescripteur: Dre [[PROVIDER|Thao Le]]", "known": {"names": ["Isabelle Robichaud"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id":"v11-pl-sms-001","channel":"sms","lang":"pl","text":"Dzień dobry, tu [[NAME|Agnieszka Mazur]]. Jutro mam USG o 8:30, czy mam być na czczo? Pozdrawiam","known":{"names":["Agnieszka Mazur"],"phones":["404-555-0112"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-sms-002","channel":"sms","lang":"pl","text":"Przypominamy: monitoring cyklu w poniedziałek o godz. 07:45, gabinet 3. Proszę pić dużo wody i nie stosować kremów na brzuch. Magnolia Reproductive Associates, 404-555-0700","known":{"names":["Weronika Szulc"],"phones":["404-555-0155"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-sms-003","channel":"sms","lang":"pl","text":"Pani [[PROVIDER|Magdaleno]], wyniki AMH 0,8 odebrałam, dziękuję. Czy doktor [[PROVIDER|Wiśniewski]] oddzwoni dzisiaj? Mój numer to [[PHONE|404-555-0188]], bo ten stary już nie działa. [[NAME|Kasia]]","known":{"names":["Katarzyna Lis"],"phones":["404-555-0143"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-sms-004","channel":"sms","lang":"pl","text":"Czesc, tu [[NAME|Marek]], maz [[NAME|Oli Szymanskiej]]. [[NAME|Ola]] jest po punkcji i bardzo boli ja brzuch, mieszkamy w [[ADDRESS|Duluth]]. Co robic? Dzwonic na 404-555-0700?","known":{"names":["Aleksandra Szymanska"],"phones":["404-555-0131"],"emails":[],"dates_of_birth":["1990-01-17"],"addresses":["3350 Pleasant Hill Road, Duluth, GA"],"identifiers":[]}} +{"id":"v11-pl-sms-005","channel":"sms","lang":"pl","text":"Dzien dobry, czy transfer zarodka 5AA jest mozliwy w tym cyklu? Estradiol 1450, progesteron 18, endometrium 8,2 mm. Dziekuje","known":{}} +{"id":"v11-pl-sms-006","channel":"sms","lang":"pl","text":"Dzięki za potwierdzenie! Przelew 300 USD poszedł przez Zelle z adresu [[EMAIL|zofia.wrona@example.com]], proszę sprawdzić do piątku.","known":{"names":["Zofia Wrona"],"phones":[],"emails":["z.wrona@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-chat-007","channel":"chat","lang":"pl","text":"Pacjentka: Dzień dobry, chcę przełożyć wizytę kontrolną.\nAsystent: Chętnie pomogę. Proszę o imię i nazwisko oraz datę urodzenia.\nPacjentka: [[NAME|Beata Jabłońska]], [[DATE|12 marca 1989]]\nAsystent: Dziękuję, pani [[NAME|Beato]]. Jaki numer telefonu mam w karcie?\nPacjentka: kierunkowy to [[PHONE|404]]\nPacjentka: potem [[PHONE|555]]\nPacjentka: i [[PHONE|0182]]\nAsystent: Czyli [[PHONE|404-555-0182]]?\nPacjentka: przepraszam, końcówka [[PHONE|0128]]\nAsystent: Zapisałam: [[PHONE|404-555-0128]]. Na kiedy przełożyć wizytę?\nPacjentka: Najlepiej na czwartek rano, do doktor [[PROVIDER|Kowalczyk]].\nAsystent: Czwartek, 9:15 jest wolny u doktor [[PROVIDER|Kowalczyk]]. Potwierdzić?\nPacjentka: Tak, dziękuję. Pozdrawiam, [[NAME|Beata]]","known":{"names":["Beata Jabłońska"],"phones":["404-555-0182"],"emails":[],"dates_of_birth":["1989-03-12"],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-chat-008","channel":"chat","lang":"pl","text":"Czy zastrzyk Menopur 225 IU mogę robić o tej samej porze co Cetrotide? Dzisiaj mam folikuły 14, 16 i 11 mm, endometrium 8,2. Dzień cyklu 9.","known":{}} +{"id":"v11-pl-chat-009","channel":"chat","lang":"pl","text":"Dzień dobry, piszę w imieniu siostry, [[NAME|Justyny Pawlak]]. Ona mieszka w [[ADDRESS|Dartmouth]] i słabo zna angielski. Czy macie tłumacza polskiego?\nAsystent: Tak, [[PROVIDER|Magdalena Kowalczyk]] mówi po polsku i pracuje w naszym biurze w Halifaksie. Mogę przekazać prośbę.\nTak proszę, siostra ma konsultację w czwartek.","known":{"names":["Justyna Pawlak"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":["Dartmouth, NS"],"identifiers":[]}} +{"id":"v11-pl-chat-010","channel":"chat","lang":"pl","text":"Szanowni Państwo, wysyłam skan karty ubezpieczeniowej. Numer członkowski [[HEALTH_CARD|XQP884412907]], grupa [[ACCOUNT|GRP-55120]]. Pacjent: [[NAME|Paweł Zieliński]]. Proszę o potwierdzenie, że wszystko się zgadza przed konsultacją z doktor [[PROVIDER|Hartley]].","known":{"names":["Pawel Zielinski"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["XQP884412907"]}} +{"id":"v11-pl-chat-011","channel":"chat","lang":"pl","text":"Asystent AI: Wyniki PGT-A dla zarodków są zwykle gotowe w 10-14 dni. Proszę nie podawać w czacie danych osobowych.\nPacjentka: A czy koszt 4 800 USD obejmuje mrożenie? Rozważam program Magnolia Shared Risk.\nAsystent AI: Mrożenie zarodków kosztuje osobno, 650 USD za rok.","known":{}} +{"id":"v11-pl-chat-012","channel":"chat","lang":"pl","text":"Dzień dobry, mieszkamy w [[ADDRESS|Rural Route 3, Truro]], to ponad godzina do Halifaksu. Czy monitoring może być u nas w lokalnym laboratorium? Mój mąż [[NAME|Henryk]] i ja jesteśmy pacjentami od [[DATE|marca]].","known":{}} +{"id":"v11-pl-call-013","channel":"call","lang":"pl","text":"Dzień dobry, mówi [[NAME|Alicja Borkowska]], urodzona [[DATE|piątego października tysiąc dziewięćset osiemdziesiątego dziewiątego]]. Dzwonię w sprawie wyników krwi. Proszę o telefon do doktora [[PROVIDER|Wiśniewskiego]] pod numer [[PHONE|plus 48 555 010 203]]. Jestem w Polsce do końca tygodnia. Dziękuję, do usłyszenia.","known":{"names":["Alicja Borkowska"],"phones":["+48 555 010 230"],"emails":[],"dates_of_birth":["1989-10-05"],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-call-014","channel":"call","lang":"pl","text":"Witamy w Magnolia Reproductive Associates. Aby umówić wizytę, wciśnij jeden. W sprawie rachunków, dwa. Dla pacjentek w trakcie cyklu IVF, trzy. Godziny pracy: od poniedziałku do piątku, od 8:00 do 17:00. W sprawie pilnej, wewnętrzny 214. Biuro w Halifaksie: 902-555-0710.","known":{}} +{"id":"v11-pl-call-015","channel":"call","lang":"pl","text":"Recepcjonistka: Magnolia, w czym mogę pomóc?\nPacjentka: Dzień dobry, chcę dopisać się do kolejki na transfer. Nazywam się [[NAME|Wrzesińska]].\nRecepcjonistka: Proszę przeliterować.\nPacjentka: [[NAME|W R Z E S I Ń S K A]], imię [[NAME|Lidia]].\nRecepcjonistka: Data urodzenia?\nPacjentka: [[DATE|dwudziestego trzeciego lutego tysiąc dziewięćset dziewięćdziesiątego pierwszego]].\nRecepcjonistka: I adres?\nPacjentka: [[ADDRESS|dwa dwa jeden zero Briarcliff Road, mieszkanie 4B]].","known":{"names":["Lidia Wrzesinska"],"phones":[],"emails":[],"dates_of_birth":["1991-02-23"],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-call-016","channel":"call","lang":"pl","text":"Dzień dobry, mówi doktor [[PROVIDER|Hanna Sowa]] z Krakowa. Dzwonię w sprawie pacjentki [[NAME|Iwona Rutkowska]], PESEL [[ID|91022300145]]. Dokumentację wyślę faksem na 404-555-0701, proszę potwierdzić odbiór. Gdyby coś, oddzwońcie na [[PHONE|+48 555 010 440]]. Dziękuję, do widzenia.","known":{}} +{"id":"v11-pl-call-017","channel":"call","lang":"pl","text":"Menu telefoniczne: dla pacjentek IVF wewnętrzny 3, dla dawstwa gamet wewnętrzny 4, dla rozliczeń 5. Nagraj wiadomość po sygnale, ale nie podawaj numeru karty. Linia pielęgniarska pracuje od 7:00 do 16:30, 404-555-0700. W święta biuro jest zamknięte.","known":{}} +{"id":"v11-pl-call-018","channel":"call","lang":"pl","text":"Tłumacz: Dzień dobry, tu tłumacz [[NAME|Zbigniew Cieślak]], numer licencji [[ID|TL-48812]]. Pacjent [[NAME|Roman Gil]] mówi, że w aptece dostał receptę numer [[ID|RX-7730194]], ale farmaceutka nie ma jej w systemie.\nPielęgniarka: Proszę poprosić pana [[NAME|Gila]], żeby podał datę urodzenia.\nTłumacz: [[DATE|trzeci maja siedemdziesiąty dziewiąty]].","known":{"names":["Roman Gil"],"phones":[],"emails":[],"dates_of_birth":["1979-05-03"],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-call-019","channel":"call","lang":"pl","text":"Dzień dobry, dzwonię w sprawie żony, [[NAME|Karoliny]]. Nazywam się [[NAME|Dariusz Lewandowski]], pracuję w [[EMPLOYER|Southline Freight]], i z pracy mamy ubezpieczenie, numer polisy [[ACCOUNT|SF-0098213]]. Mieszkamy w [[ADDRESS|Gwinnett County]], więc dojazd do Atlanty to godzina.","known":{"names":["Karolina Lewandowska"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-email-020","channel":"email","lang":"pl","text":"Od: [[NAME|Monika Sadowska]] <[[EMAIL|monika.sadowska@example.com]]>\nDo: info@magnolia-ra.example.org\nTemat: Prośba o dokumentację\n\nSzanowni Państwo,\n\nproszę o przesłanie mojej dokumentacji (wyniki AMH oraz raport z punkcji z [[DATE|14 kwietnia]]) do kliniki w Warszawie. Prowadziła mnie dr [[PROVIDER|Okonkwo]], więc to ona powinna podpisać zgodę.\n\nZ poważaniem\n[[NAME|Monika Sadowska]]","known":{"names":["Monika Sadowska"],"phones":[],"emails":["msadowska@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-email-021","channel":"email","lang":"pl","text":"Temat: Przypomnienie o wizycie\n\nSzanowni Państwo,\n\nPaństwa wizyta odbędzie się w czwartek o godz. 14:15 ET w naszym gabinecie przy 1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309. Prosimy o zabranie dokumentu tożsamości i karty ubezpieczeniowej.\n\nKlinika będzie zamknięta 27 listopada z okazji Święta Dziękczynienia.\n\nMagnolia Reproductive Associates\ninfo@magnolia-ra.example.org · 404-555-0700","known":{"names":["Dorota Kruk"],"phones":["404-555-0166"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-email-022","channel":"email","lang":"pl","text":"Temat: Re: Re: Faktura [[ACCOUNT|INV-2214]] -- brak wpłaty\n\nDzień dobry,\n\nwysłałam przelew jeszcze raz, tym razem z konta [[ACCOUNT|021000021]] / [[ACCOUNT|4471889205]]. Proszę o potwierdzenie. [[NAME|Sylwia Dudek]]\n\n> Pani [[NAME|Sylwio]], nie widzimy wpłaty za fakturę [[ACCOUNT|INV-2214]]. Prosimy o numer routingowy i konta.\n> Rachunki, [[PROVIDER|Monique Rich]]\n>\n> > Dzień dobry, rata 2 z 4 przelana w piątek. Pozdrawiam, [[NAME|Sylwia Dudek]]","known":{"names":["Sylwia Dudek"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["INV-2214"]}} +{"id":"v11-pl-email-023","channel":"email","lang":"pl","text":"Temat: Surogacja, dokumenty\n\nSzanowni Państwo,\n\npiszę jako adwokat [[NAME|Robert Kaminsky]] w imieniu [[NAME|Eweliny Czarneckiej]], która jest surogatką dla pary [[NAME|Sandra Hill]] i [[NAME|Greg Hill]]. Pani [[NAME|Ewelina]] mieszka w [[ADDRESS|Alpharetta]]. Sprawa w sądzie rodzinnym ma sygnaturę [[ID|2026-DR-04417]]. Prosimy o potwierdzenie, że umowa spełnia wymogi kliniki; dr [[PROVIDER|Kowalczyk]] była uprzedzona.\n\nZ poważaniem","known":{}} +{"id":"v11-pl-email-024","channel":"email","lang":"pl","text":"Temat: Cennik leków\n\nDzień dobry, cena Gonal-f 900 IU wynosi 612 USD, seria 4B7731 ważna do końca 2027, NDC 44087-9001-1. Cetrotide 0,25 mg, 7 ampułek, 298 USD. Zamówienia przyjmujemy do godz. 16:00 ET. Ceny są ważne według listy v3.2.\n\nApteka Magnolia Specialty Pharmacy","known":{}} +{"id":"v11-pl-email-025","channel":"email","lang":"pl","text":"Dzień dobry,\n\ndziękuję za informację, przyjdę w środę. Proszę o przesłanie instrukcji na ten adres.\n\nPozdrawiam serdecznie,\n[[NAME|Joanna Wójcik-Brown]]\ntel. [[PHONE|(678) 555-0166]]\n[[ADDRESS|Roswell]], GA\nblog: [[URL|joanna-wb.example.net/blog]]","known":{}} +{"id":"v11-pl-note-026","channel":"note","lang":"pl","text":"pt [[NAME|KJ]], 34 l., G2P1, c/o cramping po FET (dzień 5), E2 1450, bez krwawienia. Mąż [[NAME|Jacek]] przy niej. Przekazano do [[PROVIDER|AD]], f/u jutro 0900h.","known":{"names":["Karolina Jurek"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-note-027","channel":"note","lang":"pl","text":"Przekazanie zmiany: pok. 2 IUI 10:30 (probówka 14), pok. 4 HSG 11:00, [[PROVIDER|MB]] na punkcji w sali 1, [[PROVIDER|HC]] dyżur telefoniczny, wewn. 214. Lodówka 4,2°C. Formularz zgody v4.1.","known":{}} +{"id":"v11-pl-note-028","channel":"note","lang":"pl","text":"Szanowna Pani Doktor, kieruję pacjentkę [[NAME|Elżbieta Maj]], ur. [[DATE|1986-07-19]], zam. [[ADDRESS|ul. Mickiewicza 14/7]], [[POSTAL_CODE|31-120]] [[ADDRESS|Kraków]], tel. [[PHONE|+48 555 010 316]], z pierwotną niepłodnością (AMH 0,6, 2 nieudane IUI) w celu oceny do IVF. Z koleżeńskim pozdrowieniem, dr [[PROVIDER|Piotr Zając]]","known":{"names":["Elzbieta Maj"],"phones":[],"emails":[],"dates_of_birth":["1986-07-19"],"addresses":[],"identifiers":[]}} +{"id":"v11-pl-note-029","channel":"note","lang":"pl","text":"Ubezpieczyciel: Peach State Health Plan\nUbezpieczony: [[NAME|MAZUR AGNIESZKA]]\nNr polisy: [[ACCOUNT|PSP-4471-0093]]\nID członka: [[HEALTH_CARD|M2204718]]\nNr roszczenia: [[ACCOUNT|CLM-2026-88213]]\nAutoryzacja wstępna: [[ACCOUNT|PA-90117452]]\nWażne do: [[DATE|31.12.2026]]\nProcedura: CPT 58970, ICD-10 N97.9","known":{"names":["Agnieszka Mazur"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["PSP-4471-0093"]}} +{"id":"v11-pl-note-030","channel":"note","lang":"pl","text":"Podsumowanie rozmowy AI: Pacjentka [[NAME|Ilona Brzezińska]] zadzwoniła o 08:40 w sprawie zmiany leku (Ovitrelle 250 mcg). Zweryfikowano datę urodzenia [[DATE|1987-02-14]]. Potwierdzono numer [[PHONE|678-555-0152]]. Przekazano do [[PROVIDER|Layla Saliba]], oddzwonienie do 16:00.","known":{"names":["Ilona Brzezinska"],"phones":["678-555-0152"],"emails":[],"dates_of_birth":["1987-02-14"],"addresses":[],"identifiers":[]}} +{"id":"v11-he-sms-001","channel":"sms","lang":"he","text":"שלום, מדברת [[NAME|ענת לוי]]. יש לי בדיקת דם מחר ב-8:15, צריך להגיע בצום? תודה","known":{"names":["Anat Levi"],"phones":["404-555-0121"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-he-sms-002","channel":"sms","lang":"he","text":"תזכורת: ניטור מחזור מחר בשעה 07:30, חדר 3. נא לשתות הרבה מים ולא להשתמש בקרמים. Magnolia Reproductive Associates, 404-555-0700","known":{"names":["Yael Peretz"],"phones":["404-555-0149"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-he-sms-003","channel":"sms","lang":"he","text":"היי, הבעל שלי [[NAME|יונתן]] עונה במקומי. הטלפון שלי [[PHONE|404-555-0147]]. אפשר שד״ר [[PROVIDER|איתן שפירו]] יחזור אליי לגבי האסטרדיול? אני בעבודה עד 16:00","known":{"names":["Maya Golan"],"phones":["404-555-0199"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-he-sms-004","channel":"sms","lang":"he","text":"שלום, אני [[NAME|מיכל כהן-ברק]], גרה ב[[ADDRESS|דנווידי]]. אחותי [[NAME|רונית]] אמרה שהביטוח אישר. מספר פוליסה [[ACCOUNT|BC-77120934]]","known":{"names":["Michal Cohen-Barak"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-he-sms-005","channel":"sms","lang":"he","text":"האם אפשר להתחיל זריקות גונל-אף 150 יחידות מיום 2 של המחזור? אנדומטריום 7.9 מ״מ, זקיקים 13, 15, 18. תודה","known":{}} +{"id":"v11-he-sms-006","channel":"sms","lang":"he","text":"העברתי 250 דולר ב-Venmo מהחשבון [[ACCOUNT|@dana-shalev-88]], על שם [[NAME|דנה שלו]]. תאשרו בבקשה","known":{"names":["Dana Shalev"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-he-chat-007","channel":"chat","lang":"he","text":"מטופלת: שלום, אני רוצה לקבוע ייעוץ\nעוזר: בשמחה. מה שמך המלא?\nמטופלת: [[NAME|תמר אבני]]\nעוזר: נעים להכיר, [[NAME|תמר]]. מה תאריך הלידה?\nמטופלת: ב-[[DATE|3 ביוני 1990]]\nעוזר: ומספר טלפון?\nמטופלת: קידומת [[PHONE|678]]\nמטופלת: אחר כך [[PHONE|555]]\nמטופלת: ואז [[PHONE|0132]]\nעוזר: רק לוודא: [[PHONE|678-555-0132]]?\nמטופלת: סליחה, [[PHONE|0123]] בסוף\nעוזר: רשמתי [[PHONE|678-555-0123]]. יש תור פנוי עם ד״ר [[PROVIDER|נועה בן-דוד]] ביום שלישי ב-10:30. מתאים?\nמטופלת: כן, מעולה. תודה רבה, [[NAME|תמר]]","known":{"names":["Tamar Avni"],"phones":["678-555-0132"],"emails":[],"dates_of_birth":["1990-06-03"],"addresses":[],"identifiers":[]}} +{"id":"v11-he-chat-008","channel":"chat","lang":"he","text":"עוזר: תוצאות ה-PGT-A מוכנות בדרך כלל תוך 10-14 ימים. העלות, 4,800 דולר, כוללת הקפאה. לא להכניס פרטים אישיים בצ'אט.\nמטופל: מה המשמעות של דרגה 4AB? ואיך זה קשור לתוכנית Magnolia Shared Risk?","known":{}} +{"id":"v11-he-chat-009","channel":"chat","lang":"he","text":"אני כותבת בשם אחותי [[NAME|ליאת פרידמן]], היא גרה ב[[ADDRESS|תל אביב]] ורוצה להעביר אליכם תיק מרפאה מישראל. עם מי לדבר? תעודת הזהות שלה [[ID|305551872]].","known":{}} +{"id":"v11-he-chat-010","channel":"chat","lang":"he","text":"מצורף צילום כרטיס הביטוח. מספר חבר [[HEALTH_CARD|ZLK553018820]], קבוצה [[ACCOUNT|GRP-30871]]. שם המבוטחת: [[NAME|הדס מזרחי]]. ד״ר [[PROVIDER|רבקה גולדפרב]] ביקשה לראות את זה לפני הייעוץ.","known":{"names":["Hadas Mizrahi"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["ZLK553018820"]}} +{"id":"v11-he-chat-011","channel":"chat","lang":"he","text":"אסיסטנט: שעות הפעילות של המרפאה באטלנטה הן 8:00-17:00. בחגים המשרד סגור. לתיאום: 404-555-0700.\nמטופל: מה זה OHSS ומתי לפנות לחדר מיון?\nאסיסטנט: כאבי בטן חזקים, עלייה מהירה במשקל או קוצר נשימה, פנו מיד למיון.","known":{}} +{"id":"v11-he-chat-012","channel":"chat","lang":"he","text":"אנחנו גרים ב[[ADDRESS|קאונטי גווינט]] ו[[NAME|אורי]] ואני מחכים לתור מ[[DATE|מרץ]]. אפשר להקדים?","known":{}} +{"id":"v11-he-call-013","channel":"call","lang":"he","text":"שלום, מדברת [[NAME|שירה אלמוג]], נולדתי ב-[[DATE|5 באוקטובר 1989]]. הטלפון שלי [[PHONE|+972-50-555-0123]]. תחזרו אליי לגבי בדיקת הדם, בבקשה ל[[PROVIDER|נועה בן-דוד]]. תודה, להתראות.","known":{"names":["Shira Almog"],"phones":["+972-50-555-0132"],"emails":[],"dates_of_birth":["1989-10-05"],"addresses":[],"identifiers":[]}} +{"id":"v11-he-call-014","channel":"call","lang":"he","text":"ברוכים הבאים למגנוליה. לתיאום תור הקישו 1, לחשבונות הקישו 2, לשיחה דחופה שלוחה 214. שעות פעילות ראשון עד חמישי 8:00 עד 17:00. סניף הליפקס: 902-555-0710.","known":{}} +{"id":"v11-he-call-015","channel":"call","lang":"he","text":"פקידה: מגנוליה, איך אפשר לעזור?\nמטופלת: שלום, אני רוצה להצטרף לרשימת ההמתנה להחזרת עובר. שם המשפחה [[NAME|כרמי]].\nפקידה: אפשר לאיית?\nמטופלת: [[NAME|כ ר מ י]], שם פרטי [[NAME|הילה]].\nפקידה: כתובת?\nמטופלת: [[ADDRESS|1450 בריארקליף רואד דירה 4B]]","known":{"names":["Hila Carmi"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-he-call-016","channel":"call","lang":"he","text":"מדבר ד״ר [[PROVIDER|אלון צור]] מהמרפאה בחיפה, בקשר למטופלת [[NAME|נעמה ברקוביץ]]. הפקס שלכם 404-555-0701 מקבל? מספר התיק אצלי [[MRN|4408812]]. תחזרו אליי ל[[PHONE|+972-50-555-0188]].","known":{}} +{"id":"v11-he-call-017","channel":"call","lang":"he","text":"המשרד סגור ב-27 בנובמבר לרגל חג ההודיה. להשארת הודעה לאחות הקישו 3. נא לא להשאיר מספרי כרטיס אשראי. שלוחת תשלומים 305. לקו הלילה חייגו 404-555-0700.","known":{}} +{"id":"v11-he-call-018","channel":"call","lang":"he","text":"מתורגמן: שלום, אני [[NAME|גיל ורדי]], מתורגמן, מספר רישיון [[ID|ITL-2210]]. המטופל [[NAME|אבי דגן]] אומר שקיבל מרשם [[ID|RX-6620143]] בבית המרקחת אבל אין אותו במערכת.\nאחות: בבקשה תשאל את [[NAME|אבי]] מה תאריך הלידה.\nמתורגמן: [[DATE|שלושה במאי שבעים ותשע]].","known":{"names":["Avi Dagan"],"phones":[],"emails":[],"dates_of_birth":["1979-05-03"],"addresses":[],"identifiers":[]}} +{"id":"v11-he-call-019","channel":"call","lang":"he","text":"אני [[NAME|עמית רוזן]], בעלה של [[NAME|קרן]]. אנחנו גרים ב[[ADDRESS|סנדי ספרינגס]], ואני עובד ב[[EMPLOYER|סאות'ליין פרייט]]. הביטוח דרך העבודה, פוליסה [[ACCOUNT|SF-0113345]]. רציתי לשאול אם הכיסוי כולל החזרת עוברים קפואים.","known":{"names":["Keren Rosen"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-he-email-020","channel":"email","lang":"he","text":"מאת: [[NAME|אילנה גרין]] <[[EMAIL|ilana.green@example.com]]>\nאל: info@magnolia-ra.example.org\nנושא: בקשה להעברת תיעוד\n\nשלום רב,\n\nאבקש להעביר את התיעוד הרפואי שלי (כולל דו״ח השאיבה מ-[[DATE|14 באפריל]]) לד״ר [[PROVIDER|אורן ביטון]] בתל השומר. ד״ר [[PROVIDER|אדאזה אוקונקוו]] טיפלה בי ולכן היא צריכה לחתום.\n\nבברכה,\n[[NAME|אילנה גרין]]","known":{"names":["Ilana Green"],"phones":[],"emails":["igreen@example.com"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-he-email-021","channel":"email","lang":"he","text":"נושא: תזכורת לתור\n\nשלום רב,\n\nהתור שלכם יתקיים ביום חמישי בשעה 14:15 ET במשרדנו ב-1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309. נא להביא תעודה מזהה וכרטיס ביטוח.\n\nהמרפאה סגורה ב-27 בנובמבר.\n\nMagnolia Reproductive Associates\ninfo@magnolia-ra.example.org · 404-555-0700","known":{"names":["Orly Sasson"],"phones":["404-555-0182"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-he-email-022","channel":"email","lang":"he","text":"נושא: Re: Re: חשבונית [[ACCOUNT|INV-2214]] - לא התקבל תשלום\n\nשלום,\n\nשלחתי העברה בנקאית שוב, מהחשבון [[ACCOUNT|IL62 0108 0000 0009 9999 999]]. אשמח לאישור. [[NAME|רחל אוחיון]]\n\n> גב׳ [[NAME|אוחיון]], לא ראינו תשלום עבור חשבונית [[ACCOUNT|INV-2214]]. נא לשלוח אסמכתא.\n> חשבונות, [[PROVIDER|מוניק ריץ׳]]\n>\n> > שלום, תשלום 2 מתוך 4 הועבר ביום שישי. בברכה, [[NAME|רחל אוחיון]]","known":{"names":["Rachel Ohayon"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["INV-2214"]}} +{"id":"v11-he-email-023","channel":"email","lang":"he","text":"נושא: הסכם פונדקאות\n\nשלום רב,\n\nאני עו״ד [[NAME|דוד קפלן]], מייצג את [[NAME|סיגל וייס]] ובן זוגה [[NAME|רועי נבון]] בעניין הסכם פונדקאות. הפונדקאית, [[NAME|ג׳ניפר ריד]], גרה ב[[ADDRESS|אלפרטה]]. מספר ההליך בבית המשפט [[ID|תמ״ש 4417-26]]. משרדי ב[[ADDRESS|רמת גן]]. אבקש לאשר שד״ר [[PROVIDER|גולדפרב]] מכירה את ההסכם.\n\nבכבוד רב","known":{}} +{"id":"v11-he-email-024","channel":"email","lang":"he","text":"נושא: מחירון תרופות\n\nשלום, מחיר גונל-אף 900 יחידות הוא 612 דולר, אצווה 4B7731 בתוקף עד סוף 2027, NDC 44087-9001-1. צטרוטייד 0.25 מ״ג, 7 אמפולות, 298 דולר. הזמנות עד 16:00 ET. מחירים לפי רשימה v3.2.\n\nבית מרקחת Magnolia Specialty Pharmacy","known":{}} +{"id":"v11-he-email-025","channel":"email","lang":"he","text":"שלום,\n\nתודה על המידע, אגיע ביום רביעי. אפשר לשלוח את ההוראות לכתובת הזו.\n\nבברכה,\n[[NAME|ענבל שחר-סמית]]\nטל׳ [[PHONE|(678) 555-0166]]\n[[ADDRESS|רוזוול]], GA\nבלוג: [[URL|inbal-ss.example.net/blog]]","known":{}} +{"id":"v11-he-note-026","channel":"note","lang":"he","text":"pt [[NAME|KJ]] בת 34, G2P1, c/o התכווצויות אחרי FET (יום 5), E2 1450, ללא דימום. בעלה [[NAME|יעקב]] איתה. הועבר ל-[[PROVIDER|AD]], f/u מחר 0900h.","known":{"names":["Karin Jacobi"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-he-note-027","channel":"note","lang":"he","text":"מסירת משמרת: חדר 2 IUI ב-10:30 (מבחנה 14), חדר 4 HSG ב-11:00, [[PROVIDER|MB]] בשאיבה בחדר 1, [[PROVIDER|HC]] בתורנות טלפון שלוחה 214. מקרר 4.2°C. טופס הסכמה v4.1.","known":{}} +{"id":"v11-he-note-028","channel":"note","lang":"he","text":"הנדון: [[NAME|שרית אביטל]], ת.ז. [[ID|305550416]], ילידת [[DATE|19.07.1986]], מרח׳ [[ADDRESS|הרצל 14]], [[ADDRESS|חיפה]] [[POSTAL_CODE|3303014]]. טלפון [[PHONE|+972-50-555-0171]]. אי פוריות ראשונית (AMH 0.6, שתי הזרעות כושלות). מופנית לבירור IVF.\nבכבוד, ד״ר [[PROVIDER|עמוס פרלמן]]","known":{"names":["Sarit Avital"],"phones":[],"emails":[],"dates_of_birth":["1986-07-19"],"addresses":[],"identifiers":[]}} +{"id":"v11-he-note-029","channel":"note","lang":"he","text":"מבטח: Peach State Health Plan\nמבוטחת: [[NAME|SHIRAN BARAK]]\nמס׳ פוליסה: [[ACCOUNT|PSP-5530-0187]]\nמס׳ חבר: [[HEALTH_CARD|M3318842]]\nתביעה: [[ACCOUNT|CLM-2026-90321]]\nאישור מראש: [[ACCOUNT|PA-90226631]]\nתוקף עד: [[DATE|31.12.2026]]\nהליך: CPT 58970, ICD-10 N97.9","known":{"names":["Shiran Barak"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["PSP-5530-0187"]}} +{"id":"v11-he-note-030","channel":"note","lang":"he","text":"סיכום שיחה (AI): המטופלת [[NAME|מורן אשכנזי]] התקשרה ב-08:40 בנוגע לשינוי מינון (Ovitrelle 250). אומת תאריך לידה [[DATE|1993-04-21]]. נרשם טלפון [[PHONE|678-555-0167]]. הועבר אל [[PROVIDER|לילה סליבה]], חזרה עד 16:00.","known":{"names":["Moran Ashkenazi"],"phones":["678-555-0167"],"emails":[],"dates_of_birth":["1993-04-21"],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-sms-001","channel":"sms","lang":"mixed","text":"안녕하세요 Magnolia입니다? 저 [[NAME|김수진]]인데요, tomorrow's retrieval 몇 시까지 가야 돼요? 남편 [[NAME|Daniel]]이 운전해요. 저희는 [[ADDRESS|Duluth]] 살아요.","known":{"names":["Sujin Kim"],"phones":["470-555-0177"],"emails":[],"dates_of_birth":[],"addresses":["Duluth, GA"],"identifiers":[]}} +{"id":"v11-mixed-sms-002","channel":"sms","lang":"mixed","text":"Chào chị, em muốn hỏi progesterone 200mg uống mấy lần một ngày ạ? Lab hôm nay E2 820, LH 3.1, follicle 17mm. Cảm ơn clinic nhiều.","known":{}} +{"id":"v11-mixed-sms-003","channel":"sms","lang":"mixed","text":"Bonjou, mwen se [[NAME|Marie-Claire Joseph]]. Mwen gen apwentman jedi a 9:30 ak Dr. [[PROVIDER|Paris]]? Mwen pa ka jwenn parking. Call me back [[PHONE|678-555-0134]] si ou kapab.","known":{"names":["Marie-Claire Joseph"],"phones":["678-555-0143"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-sms-004","channel":"sms","lang":"mixed","text":"Marhaba, ana [[NAME|Fatima Nasser]] w jozi [[NAME|Samir]]. Bnaaref bel [[ADDRESS|Clayton Park]], Halifax. Can we do the blood test at the Dartmouth lab instead? Shukran ktir","known":{"names":["Fatima Nasser"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":["Clayton Park, Halifax, NS"],"identifiers":[]}} +{"id":"v11-mixed-sms-005","channel":"sms","lang":"mixed","text":"Kwe' Dr. [[PROVIDER|Googoo]], it's [[NAME|Wanda Paul]] from [[ADDRESS|Eskasoni]]. We got your message about the HSG, Thursday is ok. Msit no'kmaq. Wela'lin","known":{"names":["Wanda Paul"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-sms-006","channel":"sms","lang":"mixed","text":"Hola, ya me puse la inyección de Ovidrel a las 9:40pm. ¿La transferencia sigue siendo el viernes a las 8am? Thx, mañana les mando el resultado de beta 112.","known":{"names":["Marisol Vega"],"phones":["404-555-0105"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-sms-007","channel":"sms","lang":"mixed","text":"Bonjour, c'est [[NAME|Chantal Leblanc]]. My husband [[NAME|Réjean]] and I just got the results, 2 embryons 5AA. On est à [[ADDRESS|Dieppe]] donc on peut pas venir avant lundi. Merci Dr [[PROVIDER|Goldfarb]]","known":{"names":["Chantal Leblanc"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-sms-008","channel":"sms","lang":"mixed","text":"Hej, tu [[NAME|Basia Kowal]]. My number changed: [[PHONE|(470) 555-0129]]. Please update, I miss texts about the beta. Dziękuję!","known":{"names":["Barbara Kowal"],"phones":["470-555-0198"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-chat-009","channel":"chat","lang":"mixed","text":"Patient: 안녕하세요, I need to reschedule my consult.\nAssistant: Happy to help. May I have your full name?\nPatient: [[NAME|최지현]] ([[NAME|Jihyun Choi]])\nAssistant: Thank you, [[NAME|Jihyun]]. And your date of birth?\nPatient: 생년월일은 [[DATE|1991년 8월 14일]]\nAssistant: Got it. Which phone number do we have for you?\nPatient: 전화번호가 바뀌었어요. area code [[PHONE|470]]\nPatient: 그다음 [[PHONE|555]]\nPatient: [[PHONE|0166]]\nAssistant: Just to confirm: [[PHONE|470-555-0166]]?\nPatient: 아 죄송해요, 끝에 [[PHONE|0116]]\nAssistant: Updated to [[PHONE|470-555-0116]]. Anything else?\nPatient: 네, 저희 [[ADDRESS|Suwanee]]로 이사했어요. 우편번호 [[POSTAL_CODE|30024]]\nAssistant: Thanks. I will pass the new ZIP and city to the front desk. Your consult with Dr. [[PROVIDER|Deshmukh]] is on Tuesday at 11:30. Does that work?\nPatient: 좋아요. Thank you, [[NAME|Jihyun]] 올림","known":{"names":["Jihyun Choi"],"phones":["470-555-0166"],"emails":[],"dates_of_birth":["1991-08-14"],"addresses":["Duluth, GA"],"identifiers":[]}} +{"id":"v11-mixed-chat-010","channel":"chat","lang":"mixed","text":"Patient: Chị ơi cho em hỏi giá IUI là bao nhiêu?\nAssistant: A single IUI cycle is $950, not including medications such as Clomid 50 mg or trigger shots.\nPatient: Ok em cảm ơn, em sẽ hỏi bảo hiểm Blue Cross xem có cover không. Giờ em phải đi làm, ca 7am đến 3pm.","known":{}} +{"id":"v11-mixed-chat-011","channel":"chat","lang":"mixed","text":"Bonjou, mwen ekri pou pitit fi mwen, [[NAME|Nadège Pierre]]. Li gen 33 an. Nou rete nan [[ADDRESS|Clarkston]]. Èske nou ka pale ak yon entèprèt? Nimewo mwen se [[PHONE|404-555-0176]].","known":{}} +{"id":"v11-mixed-chat-012","channel":"chat","lang":"mixed","text":"هل يمكن إجراء فحص الدم في الصباح الباكر؟ My E2 was 1450 yesterday. هل أحتاج لتعديل جرعة Gonal-f 225؟ Follicles 14, 16, 11 mm.","known":{}} +{"id":"v11-mixed-chat-013","channel":"chat","lang":"mixed","text":"Hola, mando mi ID del seguro: [[HEALTH_CARD|ZQT771205538]], group [[ACCOUNT|GRP-62014]]. Mi nombre es [[NAME|Lucía Herrera]] y mi esposa es [[NAME|Camila]]. Vivimos en [[ADDRESS|Lilburn]], pero trabajo en [[EMPLOYER|Westbrook Elementary]].","known":{"names":["Lucia Herrera"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-chat-014","channel":"chat","lang":"mixed","text":"Bonjour, quelle est la différence entre PGT-A et PGT-M? Our clinic in Halifax said results in 10 days. Est-ce que le test coûte 4 800 $ ou c'est par embryon? Merci.","known":{}} +{"id":"v11-mixed-chat-015","channel":"chat","lang":"mixed","text":"Hi, אני [[NAME|דנה כרמי]] and I'm asking about my embryo transfer. אני גרה ב[[ADDRESS|Alpharetta]]. The IP in the portal audit looks weird: [[IP_ADDRESS|198.51.100.23]], is that you or someone else?","known":{"names":["Dana Carmi"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-chat-016","channel":"chat","lang":"mixed","text":"Hi, writing for my niece [[NAME|Tiffany Marshall]] from [[ADDRESS|Membertou]]. Mi'kmaq is spoken at home so she may need an interpreter. She needs a letter for MSI coverage; her status card number is [[ID|1043 221 87]]. Wela'lin.","known":{}} +{"id":"v11-mixed-call-017","channel":"call","lang":"mixed","text":"Hi this is [[NAME|Yesenia Morales]] my date of birth is [[DATE|April seventeenth nineteen eighty-seven]] y quería saber si el resultado del beta ya está listo. Mi número es [[PHONE|seven seven zero five five five zero one four three]]. Gracias, bye.","known":{"names":["Yesenia Morales"],"phones":["770-555-0143"],"emails":[],"dates_of_birth":["1987-04-17"],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-call-018","channel":"call","lang":"mixed","text":"Agent: Magnolia Reproductive Associates, how may I help?\nCaller: Ahlan, bidi maw3ed lil-ultrasound, law samaht.\nAgent: Tomorrow at 1:45 pm ET in room 2, does that work?\nCaller: Tamam, shukran. Do I come with a full bladder?\nAgent: Yes, please drink 32 ounces an hour before. Your E2 was 820, all good.","known":{"names":["Reem Salameh"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-call-019","channel":"call","lang":"mixed","text":"Interpreter: This is the interpreter, [[NAME|Hyun-woo Jung]] from TalkBridge Interpreting. The patient is [[NAME|이서연]], and she says her address is [[ADDRESS|4417 Satellite Boulevard, Duluth]].\nNurse: Please ask [[NAME|이서연]] [[NAME|Seoyeon]]'s date of birth.\nInterpreter: [[DATE|1994년 2월 9일]]입니다.\nNurse: Thank you. Tell her Dr. [[PROVIDER|Park]] will call about the AMH.","known":{"names":["Seoyeon Lee"],"phones":[],"emails":[],"dates_of_birth":["1994-02-09"],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-call-020","channel":"call","lang":"mixed","text":"Caller: Alo, em tên là [[NAME|Tran Thi Lan]], em sinh ngày [[DATE|mười hai tháng ba năm 1990]], số điện thoại em là [[PHONE|bốn không bốn, năm năm năm, không một tám hai]].\nAgent: Sorry, can you repeat the last four?\nCaller: [[PHONE|không một tám hai]], zero one eight two. Em nhờ chị [[PROVIDER|Thao]] gọi lại về cái beta hCG.","known":{"names":["Lan Thi Tran"],"phones":["404-555-0182"],"emails":[],"dates_of_birth":["1990-03-12"],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-call-021","channel":"call","lang":"mixed","text":"Bonjou, se [[NAME|Jean-Robert Michel]] k ap rele. Madanm mwen [[NAME|Fabiola]] pa santi li byen apre pinksyon an, li gen doulè nan vant. Rele nou sou [[PHONE|678-555-0187]]. Nou nan [[ADDRESS|Stone Mountain]]. Dr [[PROVIDER|Okonkwo]], tanpri, it is urgent.","known":{"names":["Fabiola Michel"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-call-022","channel":"call","lang":"mixed","text":"Répondeur: Vous avez joint la clinique Magnolia, succursale de Halifax. Pour prendre rendez-vous, composez le un. For billing press two. Notre horaire est de 8 h à 16 h 30. The clinic will be closed on November 27. Pour une urgence, composez le 902-555-0710.","known":{}} +{"id":"v11-mixed-call-023","channel":"call","lang":"mixed","text":"Caller: Kwe', this is [[NAME|Joshua Sack]]. My wife is [[NAME|Alicia]], she has the HSG Thursday. We're out past [[ADDRESS|Indian Brook]], the blue house at [[ADDRESS|44.9752, -63.4721]], you can't miss it. Mi'kmaq interpreter needed? Msit no'kmaq.\nAgent: Thanks Mr. [[NAME|Sack]], we'll call you back at the number on file.","known":{"names":["Alicia Sack"],"phones":["902-555-0145"],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-call-024","channel":"call","lang":"mixed","text":"اسمي [[NAME|ليلى عبدالله]] and my husband is [[NAME|Omar]]. We paid the deposit by wire from account [[ACCOUNT|LB30 0987 0000 0000 0012 3456 78]]. هل وصلكم المبلغ؟ The invoice is [[ACCOUNT|INV-33807]]. أنا أسكن في [[ADDRESS|Bedford]].","known":{"names":["Layla Abdullah"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["INV-33807"]}} +{"id":"v11-mixed-call-025","channel":"call","lang":"mixed","text":"Nurse: This is the nurse line. Your beta hCG is 245 and progesterone is 22, which is great.\nCaller: Dziękuję, czyli transfer się udał? Co dalej?\nNurse: Repeat beta Friday at 0930h, continue Endometrin 100 mg three times a day, and the first ultrasound is at six weeks.\nCaller: Dobrze, dziękuję bardzo.","known":{"names":["Agata Nowicka"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-call-026","channel":"call","lang":"mixed","text":"Interpreter: Es para [[NAME|Rosa Delgado]]; fecha de nacimiento [[DATE|veintidós de enero de 1985]]; her social security is [[SSN|987-65-4329]]; mailing address [[ADDRESS|PO Box 118, Norcross]], zip [[ZIP|30091]].\nAgent: Thank you, I'll note that for Dr. [[PROVIDER|Hartley]]'s consult.","known":{"names":["Rosa Delgado"],"phones":[],"emails":[],"dates_of_birth":["1985-01-22"],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-email-027","channel":"email","lang":"mixed","text":"De : [[NAME|Isabelle Gaudet]] <[[EMAIL|isabelle.gaudet@example.org]]>\nÀ : info@magnolia-ra.example.org\nObjet : Transfert de dossier / records transfer\n\nBonjour,\n\nPlease send my records to Dr [[PROVIDER|Luc Arsenault]] at the fertility clinic in Moncton. Mon adresse est [[ADDRESS|123, rue Principale, app. 4]], [[ADDRESS|Dieppe]] [[POSTAL_CODE|E1A 4X2]]. La Dr [[PROVIDER|Goldfarb]] m'a dit que ça prend dix jours.\n\nMerci,\nIsabelle","known":{"names":["Isabelle Gaudet"],"phones":[],"emails":["i.gaudet@example.org"],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-email-028","channel":"email","lang":"mixed","text":"Subject: Cambio de horario – holiday closure\n\nHola equipo, las oficinas estarán cerradas el 27 de noviembre. Retrieval slots in December: 0730h and 0830h. Price list v3.2 attached: IUI $950, FET $3,200. Gracias.\n\nAtentamente,\nMagnolia Reproductive Associates\n1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309\nwww.magnolia-ra.example.org","known":{}} +{"id":"v11-mixed-email-029","channel":"email","lang":"mixed","text":"Subject: GoFundMe for our IVF\n\n안녕하세요, we are starting a fundraiser so friends can help with the cost: [[URL|gofundme.example.org/f/hana-and-minho-ivf]]. 저희는 [[ADDRESS|Johns Creek]]에 살아요. Please let us know if the clinic can accept payment plans. 감사합니다.\n\n[[NAME|Hana Yoon]] & [[NAME|Minho]]","known":{"names":["Hana Yoon"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-email-030","channel":"email","lang":"mixed","text":"From: [[NAME|Sandrine Toussaint]] <[[EMAIL|s.toussaint@example.net]]>\nTo: info@magnolia-ra.example.org\nSubject: Kliyan nou / our client\n\nBonjou, mwen se kaseworker nan Open Doors Adoption Agency. Kliyan nou [[NAME|Wilfrid Étienne]] gen yon konsiltasyon avèk nou semèn pwochèn. Our file number is [[ID|DFCS-2026-117204]]. Please send forms in English and Kreyòl, and call me at [[PHONE|404-555-0138]].\n\nMèsi anpil,\nSandrine","known":{"names":["Wilfrid Etienne"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-email-031","channel":"email","lang":"mixed","text":"Marhaba, my name is [[NAME|Rania Khoury]]. We arrived from [[ADDRESS|Beirut]] last [[DATE|September]] and live in [[ADDRESS|Spryfield]] now. Ana bidi consult ma3 Dr. [[PROVIDER|Saliba]] if she speaks Arabic. My Nova Scotia health card is [[HEALTH_CARD|5512 331 907]], passport [[ID|LR2210478]], and my phone is [[PHONE|902-555-0166]]. Shukran jazilan,\nRania","known":{"names":["Rania Khoury"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-email-032","channel":"email","lang":"mixed","text":"Subject: Nowy formularz / New consent form v4.1\n\nHi team, form v4.1 replaces v3.9 next month. Progesterone in oil 50 mg/mL, lot A2277B, store at 20-25 °C. Rooms 2 and 4 are blocked for training from 1300h to 1500h. Dziękuję za współpracę.\n\nMagnolia Reproductive Associates · 404-555-0700","known":{}} +{"id":"v11-mixed-email-033","channel":"email","lang":"mixed","text":"Subject: Question about our donor / שאלה על התורם\n\nHi, אנחנו [[NAME|טל ברק]] and [[NAME|Yoni Barak]]. Our donor ID is [[DONOR_ID|D-48812]] and we want to know if there are 2 more vials of the same donor. התורם הוא ממוצא אשכנזי. Our cousin [[NAME|ארז]] is also interested. Thank you!","known":{"names":["Tal Barak"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["D-48812"]}} +{"id":"v11-mixed-email-034","channel":"email","lang":"mixed","text":"Subject: Re: Re: Ticket 88412 – Facturación\n\nHola, la tarjeta con terminación [[ACCOUNT|4242]] fue cobrada dos veces por la invoice [[ACCOUNT|INV-33021]]. Please refund one charge. Gracias, [[NAME|Alejandra Ríos]]\n\n> Hi [[NAME|Alejandra]], we see a $350 charge on 11/12 and another on 11/14. We'll escalate.\n> Billing, [[PROVIDER|Monique Rich]]\n>\n> > Ticket 88412 opened by [[NAME|Alejandra Ríos]]","known":{"names":["Alejandra Rios"],"phones":[],"emails":[],"dates_of_birth":[],"addresses":[],"identifiers":["INV-33021"]}} +{"id":"v11-mixed-note-035","channel":"note","lang":"mixed","text":"Patient: [[NAME|정민아]] ([[NAME|Mina Jung]]), DOB [[DATE|1990-05-22]], address [[ADDRESS|3350 Pleasant Hill Road, Duluth]] [[ZIP|30096]], Employer: [[EMPLOYER|Hanbit Logistics]], Emergency contact: [[NAME|정현수]] [[PHONE|470-555-0112]], interpreter: [[NAME|Grace Oh]], Language: 한국어, consent 동의함.","known":{"names":["Mina Jung"],"phones":[],"emails":[],"dates_of_birth":["1990-05-22"],"addresses":["3350 Pleasant Hill Road, Duluth, GA 30096"],"identifiers":[]}} +{"id":"v11-mixed-note-036","channel":"note","lang":"mixed","text":"Huddle: phòng 3 IUI 1030h, phòng 4 HSG 1100h. Kiểm tra tủ lạnh 4.2°C. Ext 214 cho nurse line. Form v2.7 thay v2.5. Menopur lot 4B7731, Ovidrel lot 22A88.","known":{}} +{"id":"v11-mixed-note-037","channel":"note","lang":"mixed","text":"Referral: [[NAME|Mirlande Dorvil]], née [[DATE|1988-02-09]], ap viv [[ADDRESS|Rural Route 2, Site 4, Box 12]], [[ADDRESS|Upper Tantallon]]. Primary infertility 3 yrs, AMH 1.1. Referring: Dr [[PROVIDER|Alain Doucet]]. Fax [[PHONE|902-555-0188]]. Patient prefers Kreyòl, interpreter needed.","known":{"names":["Mirlande Dorvil"],"phones":[],"emails":[],"dates_of_birth":["1988-02-09"],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-note-038","channel":"note","lang":"mixed","text":"AI call summary: Caller [[NAME|سلمى منصور]] (Arabic/English). DOB confirmed [[DATE|1993-12-03]]. She lives in [[ADDRESS|Bedford]]. Asked about the trigger shot timing for tonight 2130h. Callback [[PHONE|902-555-0123]], routed to [[PROVIDER|Layla Saliba]].","known":{"names":["Salma Mansour"],"phones":["902-555-0123"],"emails":[],"dates_of_birth":["1993-12-03"],"addresses":[],"identifiers":[]}} +{"id":"v11-mixed-note-039","channel":"note","lang":"mixed","text":"Note: Mi'kmaw language interpreter requested for the Thursday consult at 1:15 pm ET; use the clinic interpreter line ext 330. Room 5, form v5.0, bring photo ID. Msit no'kmaq on the intake sheet means 'all my relations', not a name. Patient transport by Halifax Transit route 7.","known":{}} +{"id":"v11-mixed-note-040","channel":"note","lang":"mixed","text":"Note de service: formulaire de consentement v3.4 remplace v3.2. Gonal-f lot 24B9, NDC 44087-9001-1, entreposer à 2-8 °C. CPT 58970, ICD-10 N97.9. Prix IUI 950 $. Dziękuję zespołowi. Magnolia Associés en Reproduction, Halifax.","known":{}} diff --git a/benchmark/blind/clinic_v11.json b/benchmark/blind/clinic_v11.json new file mode 100644 index 0000000..47fb9e5 --- /dev/null +++ b/benchmark/blind/clinic_v11.json @@ -0,0 +1,9 @@ +["Magnolia Reproductive Associates","Magnolia Reproductive","Magnolia Fertility","Magnolia","MRA","M.R.A.","Asociados Reproductivos Magnolia","Magnolia Asociados de Reproducción","Associés en reproduction Magnolia","Magnolia Associés en Reproduction","Atlanta","Halifax", +"1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309","1180 Peachtree Park Dr NE, Ste 400, Atlanta, GA 30309","1180 Peachtree Park Drive NE Suite 400","1180 Peachtree Park Dr NE #400","1180 Peachtree Park Dr., Suite 400, Atlanta, Georgia 30309","1180 Peachtree Park Drive NE, Atlanta, GA","30309", +"Suite 210, 5612 Spring Garden Road, Halifax, NS B3J 1H2","5612 Spring Garden Road, Suite 210, Halifax, Nova Scotia B3J 1H2","5612 Spring Garden Rd, Ste 210, Halifax, NS B3J 1H2","5612 Spring Garden Rd #210, Halifax NS","5612 chemin Spring Garden, bureau 210, Halifax (N.-É.) B3J 1H2","5612 Spring Garden Road, Halifax","B3J 1H2","B3J1H2", +"404-555-0700","(404) 555-0700","404.555.0700","404 555 0700","+1 404 555 0700","+1-404-555-0700","4045550700","1-404-555-0700", +"404-555-0701","(404) 555-0701","404.555.0701","+1 404 555 0701","fax 404-555-0701", +"902-555-0710","(902) 555-0710","902.555.0710","902 555 0710","+1 902 555 0710","+1-902-555-0710","9025550710","1-902-555-0710", +"@magnolia-ra.example.org","info@magnolia-ra.example.org","frontdesk@magnolia-ra.example.org","magnolia-ra.example.org","www.magnolia-ra.example.org","https://www.magnolia-ra.example.org","https://magnolia-ra.example.org","http://magnolia-ra.example.org", +"portal.magnolia-ra.example.org","https://portal.magnolia-ra.example.org","magnolia-ra.example.org/portal", +"@MagnoliaFertility","@MagnoliaFertilityATL","@magnolia_ra","@MagnoliaRA_Halifax","MagnoliaFertility","instagram.com/magnoliafertility","facebook.com/MagnoliaReproductive"] diff --git a/benchmark/blind/staff_initials_v11.json b/benchmark/blind/staff_initials_v11.json new file mode 100644 index 0000000..13319d9 --- /dev/null +++ b/benchmark/blind/staff_initials_v11.json @@ -0,0 +1 @@ +{"Adaeze Okonkwo":"AO","Min-jun Park":"MJP","Anjali Deshmukh":"AD","Noa Ben-David":"NBD","Jerome Borden":"JB","Marcus Banks":"MB","Hope Comeau":"HC","Will Thibodeau":"WT","Jessica Hartley":"JH","Magdalena Kowalczyk":"MK","Layla Saliba":"LS","Dwayne Jefferson":"DJ","Summer Nguyen":"SN","Guadalupe Ramirez":"GR","Paris Jean-Baptiste":"PJB","Tomasz Wisniewski":"TW","Monique Rich":"MR","Kareem Haddad":"KH","Chase Whitaker":"CW","Selam Bekele":"SB","Joseph Googoo":"JG","Tamara Sylliboy":"TS","Thao Le":"TL","Tesfaye Alemu":"TA","Rebecca Goldfarb":"RG","Eitan Shapiro":"ES"} diff --git a/benchmark/blind/staff_v11.json b/benchmark/blind/staff_v11.json new file mode 100644 index 0000000..b742682 --- /dev/null +++ b/benchmark/blind/staff_v11.json @@ -0,0 +1 @@ +["Adaeze Okonkwo","Min-jun Park","Anjali Deshmukh","Noa Ben-David","Jerome Borden","Marcus Banks","Hope Comeau","Will Thibodeau","Jessica Hartley","Magdalena Kowalczyk","Layla Saliba","Dwayne Jefferson","Summer Nguyen","Guadalupe Ramirez","Paris Jean-Baptiste","Tomasz Wisniewski","Monique Rich","Kareem Haddad","Chase Whitaker","Selam Bekele","Joseph Googoo","Tamara Sylliboy","Thao Le","Tesfaye Alemu","Rebecca Goldfarb","Eitan Shapiro"] diff --git a/benchmark/data/patient_comms_blind_v11.jsonl b/benchmark/data/patient_comms_blind_v11.jsonl new file mode 100644 index 0000000..5efb064 --- /dev/null +++ b/benchmark/data/patient_comms_blind_v11.jsonl @@ -0,0 +1,400 @@ +{"id": "v11-en-sms-001", "channel": "sms", "lang": "en", "text": "Hi it's Tamsin, confirming my retrieval is 0630 tomorrow, no food after midnight right? Trigger was 10,000 units at 2130h", "spans": [{"start": 8, "end": 14, "type": "NAME"}], "known": {"names": ["Tamsin Aldridge"], "phones": ["404-555-0191"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-002", "channel": "sms", "lang": "en", "text": "Reminder: your monitoring appt is at 0815h. Please arrive 10 min early and bring your med log. Reply C to confirm. Magnolia Reproductive Associates 404-555-0700", "spans": [], "known": {}} +{"id": "v11-en-sms-003", "channel": "sms", "lang": "en", "text": "Dr. Okonkwo said my E2 was 1450 and lining 9.2, do I keep the same Gonal-f dose? thx - Priya", "spans": [{"start": 4, "end": 11, "type": "PROVIDER"}, {"start": 87, "end": 92, "type": "NAME"}], "known": {"names": ["Priya Venkataraman"], "phones": ["770-555-0162"], "emails": [], "dates_of_birth": ["1990-02-14"], "addresses": [], "identifiers": ["MRN 0063318"]}} +{"id": "v11-en-sms-004", "channel": "sms", "lang": "en", "text": "Mon 4:12pm: can you update my number? the old one got shut off\nMon 4:40pm Clinic: Of course. What's the new number?\nTue 8:05am: ok so area code is 902, then 555, then 0163\nTue 8:30am Clinic: Thanks, saved. Anything else to update?\nTue 8:31am: nope that's all, Ruth Ann MacIsaac", "spans": [{"start": 147, "end": 150, "type": "PHONE"}, {"start": 157, "end": 160, "type": "PHONE"}, {"start": 167, "end": 171, "type": "PHONE"}, {"start": 260, "end": 268, "type": "NAME"}, {"start": 269, "end": 277, "type": "NAME"}], "known": {"names": ["Ruth Ann MacIsaac"], "phones": ["902-555-0145"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-005", "channel": "sms", "lang": "en", "text": "For the meds shipment please use RR 2, Site 4, Box 12, Shubenacadie NS B0N 2H0. Courier can't find us otherwise", "spans": [{"start": 33, "end": 53, "type": "ADDRESS"}, {"start": 55, "end": 67, "type": "ADDRESS"}, {"start": 71, "end": 78, "type": "POSTAL_CODE"}], "known": {"names": [], "phones": ["902-555-0177"], "emails": [], "dates_of_birth": [], "addresses": ["RR 2 Site 4 Box 12, Shubenacadie NS B0N 2H0"], "identifiers": []}} +{"id": "v11-en-sms-006", "channel": "sms", "lang": "en", "text": "Menopur lot 4471B and Cetrotide lot 90215 were both in the fridge box, the pharmacy slip says CPT 76830 for the scan. Is that normal?", "spans": [], "known": {}} +{"id": "v11-en-sms-007", "channel": "sms", "lang": "en", "text": "sent the $400 deposit to your Venmo, my handle is @jlopez-ATL88 in case it shows a weird name. its under Joaquin", "spans": [{"start": 50, "end": 63, "type": "ACCOUNT"}, {"start": 105, "end": 112, "type": "NAME"}], "known": {"names": ["Joaquin Lopez"], "phones": ["678-555-0123"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-008", "channel": "sms", "lang": "en", "text": "my SIN is 193 456 787 for the fertility tax credit form, please don't text it back to me", "spans": [{"start": 10, "end": 21, "type": "SIN"}], "known": {"names": ["Alanna Chisholm"], "phones": ["902-555-0119"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-009", "channel": "sms", "lang": "en", "text": "Heads up from Hope - Rm 3 needs restock before 1030h, MJP is covering triage till 1400. Pls don't double book the 1100 scan", "spans": [{"start": 14, "end": 18, "type": "PROVIDER"}, {"start": 54, "end": 57, "type": "PROVIDER"}], "known": {}} +{"id": "v11-en-sms-010", "channel": "sms", "lang": "en", "text": "Meet at the pull-off near 44.6488, -63.5752, I'll have the cooler for the sample drop. Look for the grey Civic", "spans": [{"start": 26, "end": 43, "type": "ADDRESS"}], "known": {"names": ["Lucas Pellerin"], "phones": ["902-555-0108"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-011", "channel": "sms", "lang": "en", "text": "Is the HSG covered under CPT 74740? Also are you closed Dec 24? I want to get the day 10 scan done before the holidays", "spans": [], "known": {}} +{"id": "v11-en-sms-012", "channel": "sms", "lang": "en", "text": "my DOB is April 3, 1991 and my husband Devontae is 11/17/1989 for the paperwork you asked about", "spans": [{"start": 10, "end": 23, "type": "DATE"}, {"start": 39, "end": 47, "type": "NAME"}, {"start": 51, "end": 61, "type": "DATE"}], "known": {"names": ["Simone Ellis", "Devontae Ellis"], "phones": ["404-555-0151"], "emails": [], "dates_of_birth": ["1991-04-03"], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-013", "channel": "sms", "lang": "en", "text": "they asked for my MSI number again: 1234 567 890. is that the same as the one on the intake sheet", "spans": [{"start": 36, "end": 48, "type": "HEALTH_CARD"}], "known": {"names": ["Alanna Chisholm"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["HEALTH_CARD 1234 567 891"]}} +{"id": "v11-en-sms-014", "channel": "sms", "lang": "en", "text": "Hello, this is Corinne. The embryo transfer is for me and my wife, her name is I-N-E-S, like Ines but with the spelling on her passport. She'll come to the 0900h visit", "spans": [{"start": 15, "end": 22, "type": "NAME"}, {"start": 79, "end": 86, "type": "NAME"}, {"start": 93, "end": 97, "type": "NAME"}], "known": {"names": ["Corinne Baudoin"], "phones": ["902-555-0133"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-015", "channel": "sms", "lang": "en", "text": "Thx! so BMI 31.2 means they want the metformin first? 2:15pm ET works for the call", "spans": [], "known": {}} +{"id": "v11-en-sms-016", "channel": "sms", "lang": "en", "text": "Invoice INV-208841 is double billed. $1,850 twice! The card ending 4417 got hit both times. Please fix today", "spans": [{"start": 8, "end": 18, "type": "ACCOUNT"}, {"start": 67, "end": 71, "type": "ACCOUNT"}], "known": {"names": ["Ebony Harmon"], "phones": ["470-555-0186"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["ACCOUNT INV-208841"]}} +{"id": "v11-en-sms-017", "channel": "sms", "lang": "en", "text": "HR at Peachtree Logistics Group said the fertility benefit goes through Maribel Quintanilla, she needs a letter from your office with CPT codes", "spans": [{"start": 6, "end": 31, "type": "EMPLOYER"}, {"start": 72, "end": 91, "type": "NAME"}], "known": {"names": ["Rosa Aguilar"], "phones": ["404-555-0166"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-018", "channel": "sms", "lang": "en", "text": "lol embryology called mine a 4AA blast like it's a school grade. is that good? 2 of 3 made it to day 5", "spans": [], "known": {}} +{"id": "v11-en-sms-019", "channel": "sms", "lang": "en", "text": "Zelled the copay from ngozi.o@example.com, should show as Ngozi O. Please confirm it landed", "spans": [{"start": 22, "end": 41, "type": "EMAIL"}, {"start": 58, "end": 65, "type": "NAME"}], "known": {"names": ["Ngozi Okafor"], "phones": ["404-555-0120"], "emails": ["ngozi.okafor@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-020", "channel": "sms", "lang": "en", "text": "Positive!!! Beta 312 at 14dpt. Told Kwame last night and he cried. Can I come in Nov 24 for the repeat?", "spans": [{"start": 36, "end": 41, "type": "NAME"}, {"start": 81, "end": 87, "type": "DATE"}], "known": {"names": ["Efua Mensah"], "phones": ["404-555-0137"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-021", "channel": "sms", "lang": "en", "text": "Magnolia Reproductive Associates will be closed Thanksgiving Thursday and Friday. Back Monday 0800h. For urgent issues call the on-call line 404-555-0700 and press 2.", "spans": [], "known": {}} +{"id": "v11-en-sms-022", "channel": "sms", "lang": "en", "text": "can we push to 1400? my mother in law Helga, she's 92, fell and I'm at urgent care with her", "spans": [{"start": 38, "end": 43, "type": "NAME"}, {"start": 51, "end": 53, "type": "AGE"}], "known": {"names": ["Brigitte Kowal"], "phones": ["404-555-0182"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-023", "channel": "sms", "lang": "en", "text": "we live in Eskasoni so the drive to your Halifax office is about 4 hrs, can the bloodwork be done at the clinic closer to home instead", "spans": [{"start": 11, "end": 19, "type": "ADDRESS"}], "known": {"names": ["Jordan Marshall"], "phones": ["902-555-0172"], "emails": [], "dates_of_birth": [], "addresses": ["Eskasoni NS"], "identifiers": []}} +{"id": "v11-en-sms-024", "channel": "sms", "lang": "en", "text": "I'm out in Cobb County so 0730 monitoring is hard with the 285 traffic. Any 0900 slots? thanks Mrs Whitlock", "spans": [{"start": 11, "end": 22, "type": "ADDRESS"}, {"start": 99, "end": 107, "type": "NAME"}], "known": {"names": ["Denise Whitlock"], "phones": ["770-555-0140"], "emails": [], "dates_of_birth": [], "addresses": ["Marietta GA"], "identifiers": []}} +{"id": "v11-en-sms-025", "channel": "sms", "lang": "en", "text": "for the courier its the blue house past the Circle K on Hwy 20, gate is open, dog is friendly. Ask for Mr Tran", "spans": [{"start": 20, "end": 62, "type": "ADDRESS"}, {"start": 103, "end": 110, "type": "NAME"}], "known": {"names": ["Khoa Tran"], "phones": ["678-555-0158"], "emails": [], "dates_of_birth": [], "addresses": ["Loganville GA"], "identifiers": []}} +{"id": "v11-en-sms-026", "channel": "sms", "lang": "en", "text": "Your results are ready in the portal. AMH 0.8, FSH 7.1, antral follicle count 9. Your nurse will call to go over them. Do not reply to this message.", "spans": [], "known": {}} +{"id": "v11-en-sms-027", "channel": "sms", "lang": "en", "text": "ok thanks that makes sense, I'll do the ultrasound Friday. Appreciate you all! - Bao Tran", "spans": [{"start": 81, "end": 89, "type": "NAME"}], "known": {"names": ["Bao Tran"], "phones": ["404-555-0113"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-028", "channel": "sms", "lang": "en", "text": "hey can you tell Dr Okonkwoo my follicles were 14 and 16 on the left? i think i spelled her name wrong sorry. also tell Layla thank you for yesterday", "spans": [{"start": 20, "end": 28, "type": "PROVIDER"}, {"start": 120, "end": 125, "type": "PROVIDER"}], "known": {"names": ["Carmen Delgado"], "phones": ["404-555-0105"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-029", "channel": "sms", "lang": "en", "text": "My MRN is MRA-0071245, you asked twice already! the one on the card is the same thing", "spans": [{"start": 10, "end": 21, "type": "MRN"}], "known": {"names": ["Danielle Ruiz"], "phones": ["305-555-0133"], "emails": [], "dates_of_birth": ["1988-09-30"], "addresses": [], "identifiers": ["MRN MRA-0071245"]}} +{"id": "v11-en-sms-030", "channel": "sms", "lang": "en", "text": "Aetna PA ref PA-77120934 is approved for the FET meds, good until 12/31/2026. do you need the group number GRP 55-20814 too", "spans": [{"start": 13, "end": 24, "type": "ACCOUNT"}, {"start": 66, "end": 76, "type": "DATE"}, {"start": 107, "end": 119, "type": "ACCOUNT"}], "known": {"names": ["Hannah Breck"], "phones": ["404-555-0149"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-031", "channel": "sms", "lang": "en", "text": "Pls call me back at (678) 555 0144 after 5, not the work line 470-555-0199 they listen in", "spans": [{"start": 20, "end": 34, "type": "PHONE"}, {"start": 62, "end": 74, "type": "PHONE"}], "known": {"names": ["Tessa Rowe"], "phones": ["678-555-0144"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-032", "channel": "sms", "lang": "en", "text": "Ovidrel 250 mcg at 2200h tonight. Retrieval is about 36h later. Bring ID, insurance card and a driver. Cetrotide stops tonight too. Questions: 404-555-0700", "spans": [], "known": {}} +{"id": "v11-en-sms-033", "channel": "sms", "lang": "en", "text": "we chose donor D-48812 from the bank, can you confirm the vials are reserved under our file? Leah and I are nervous", "spans": [{"start": 15, "end": 22, "type": "DONOR_ID"}, {"start": 93, "end": 97, "type": "NAME"}], "known": {"names": ["Leah Sandoval", "Mireya Sandoval"], "phones": ["404-555-0126"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["DONOR_ID D-48812"]}} +{"id": "v11-en-sms-034", "channel": "sms", "lang": "en", "text": "Tue: you can reach me on 404-555-0182\nTue (2 min later): sorry typo, it's 404-555-0128\nWed: did you get the corrected number? The old 404-555-0182 belongs to a stranger now lol\nWed Clinic: Yes, 404-555-0128 is saved on your file.", "spans": [{"start": 25, "end": 37, "type": "PHONE"}, {"start": 74, "end": 86, "type": "PHONE"}, {"start": 134, "end": 146, "type": "PHONE"}], "known": {"names": ["Latoya Pierce"], "phones": ["404-555-0128"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-035", "channel": "sms", "lang": "en", "text": "Sunday brunch near Piedmont Park was packed so I'm running late, I'll make the 0930h scan though. Can I keep the Lupron on the counter instead of the fridge", "spans": [], "known": {}} +{"id": "v11-en-sms-036", "channel": "sms", "lang": "en", "text": "the insurer wants my SSN for the claim, its 900-12-6120. I know I know. Don't reply with it", "spans": [{"start": 44, "end": 55, "type": "SSN"}], "known": {"names": ["Rachel Dumont"], "phones": ["404-555-0171"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-037", "channel": "sms", "lang": "en", "text": "I teach at Lakeside Elementary so I can only do 0700 appts, any chance before first bell? thx", "spans": [{"start": 11, "end": 30, "type": "EMPLOYER"}], "known": {"names": ["Grace Odom"], "phones": ["404-555-0102"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-038", "channel": "sms", "lang": "en", "text": "Maddox has a fever so I'll be 20 min late to see Banks. Don't give my slot away please!", "spans": [{"start": 0, "end": 6, "type": "NAME"}, {"start": 49, "end": 54, "type": "PROVIDER"}], "known": {"names": ["Whitney Foy", "Maddox Foy"], "phones": ["770-555-0194"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-039", "channel": "sms", "lang": "en", "text": "Tamara: billing codes for the 0900 IUI are in the chart. TS will send the superbill by 1600h, ext 214 if anything's off", "spans": [{"start": 0, "end": 6, "type": "PROVIDER"}, {"start": 57, "end": 59, "type": "PROVIDER"}], "known": {}} +{"id": "v11-en-sms-040", "channel": "sms", "lang": "en", "text": "Wire from my UK bank, IBAN GB00 FAKE 1234 5612 3456 78, for the egg freezing package. Sort code is on the receipt. Imogen here", "spans": [{"start": 27, "end": 54, "type": "ACCOUNT"}, {"start": 115, "end": 121, "type": "NAME"}], "known": {"names": ["Imogen Whitby"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-041", "channel": "sms", "lang": "en", "text": "Interac to dana.mb@example.net right? And my transit and institution are 12345-003, account 7788451 for the refund", "spans": [{"start": 11, "end": 30, "type": "EMAIL"}, {"start": 73, "end": 82, "type": "ACCOUNT"}, {"start": 92, "end": 99, "type": "ACCOUNT"}], "known": {"names": ["Dana MacBeath"], "phones": ["902-555-0185"], "emails": ["dana.macbeath@example.net"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-042", "channel": "sms", "lang": "en", "text": "I waited 55 min past my 1030h appt and nobody told me anything. $210 for a scan that took 5 minutes. This is unacceptable and I am telling everyone I know", "spans": [], "known": {}} +{"id": "v11-en-sms-043", "channel": "sms", "lang": "en", "text": "if anyone wants to help our journey my gofundme is gofundme.example.com/f/reyes-ivf no pressure!! Alicia Reyes", "spans": [{"start": 51, "end": 83, "type": "URL"}, {"start": 98, "end": 110, "type": "NAME"}], "known": {"names": ["Alicia Reyes"], "phones": ["404-555-0155"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-044", "channel": "sms", "lang": "en", "text": "we moved to the area in March so my old records are still with the clinic in Ohio. can you request them? Yuki Tanaka", "spans": [{"start": 24, "end": 29, "type": "DATE"}, {"start": 105, "end": 116, "type": "NAME"}], "known": {"names": ["Yuki Tanaka"], "phones": ["404-555-0116"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-sms-045", "channel": "sms", "lang": "en", "text": "Nurse line hours are 0800h-1700h ET weekdays. Ext 214 for scheduling, ext 330 for billing. After hours, press 2 for the on-call nurse. Ticket CS-55120 logged.", "spans": [], "known": {}} +{"id": "v11-en-chat-046", "channel": "chat", "lang": "en", "text": "Patient: hi I need to change my phone number on file\nAssistant: Happy to help with that. Could I have your full name first?\nPatient: Marisol Vega-Cruz\nAssistant: Thank you, Marisol. What's the new number?\nPatient: the area code is 404\nAssistant: Got it, go ahead with the rest.\nPatient: then 555\nPatient: 0182\nAssistant: Just to confirm: 404-555-0182?\nPatient: sorry, 0128 not 0182\nAssistant: No problem. So the number is 404-555-0128. Is that right?\nPatient: yes\nAssistant: Done. A text will go to that number to verify it. Anything else, Marisol?\nPatient: no thank you", "spans": [{"start": 133, "end": 150, "type": "NAME"}, {"start": 173, "end": 180, "type": "NAME"}, {"start": 231, "end": 234, "type": "PHONE"}, {"start": 292, "end": 295, "type": "PHONE"}, {"start": 305, "end": 309, "type": "PHONE"}, {"start": 338, "end": 350, "type": "PHONE"}, {"start": 368, "end": 372, "type": "PHONE"}, {"start": 422, "end": 434, "type": "PHONE"}, {"start": 540, "end": 547, "type": "NAME"}], "known": {"names": ["Marisol Vega-Cruz"], "phones": ["678-555-0190"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-047", "channel": "chat", "lang": "en", "text": "Hi Dr. Park, this is Folasade Adeyemi (DOB 1985-07-19). My day 3 labs came back and the portal says FSH 11.4 and E2 38. Do I still start Menopur on Thursday at 2000h or wait for your call? My husband Tunde is travelling so I'm injecting alone this cycle. Thank you!", "spans": [{"start": 7, "end": 11, "type": "PROVIDER"}, {"start": 21, "end": 37, "type": "NAME"}, {"start": 43, "end": 53, "type": "DATE"}, {"start": 200, "end": 205, "type": "NAME"}], "known": {"names": ["Folasade Adeyemi"], "phones": ["404-555-0165"], "emails": [], "dates_of_birth": ["1985-07-19"], "addresses": [], "identifiers": ["MRN 0058812"]}} +{"id": "v11-en-chat-048", "channel": "chat", "lang": "en", "text": "Visitor: Do you offer weekend monitoring? And what is the price for IUI versus IVF at the Halifax office? Also do you take Cigna or only Blue Cross?\nAssistant: Monitoring is weekdays 0700h-1100h and Saturdays by arrangement. Pricing depends on the protocol, and a coordinator can send you a written estimate. Would you like a callback?\nVisitor: not yet, just researching, thanks", "spans": [], "known": {}} +{"id": "v11-en-chat-049", "channel": "chat", "lang": "en", "text": "Assistant: I can book that. May I have your name and date of birth?\nPatient: Tyrone Gaines, born 02/09/1983\nAssistant: Thanks Tyrone. And a mailing address?\nPatient: 4B-123 Main St\nPatient: Decatur GA\nPatient: zip is 30030\nAssistant: Thank you. Email for the confirmation?\nPatient: t.gaines83@example.com\nAssistant: Great. Would you like me to hand you to a coordinator for insurance questions?\nPatient: yes pls\nAssistant: Connecting you to a staff member. You said Tyrone Gaines, DOB 02/09/1983, correct?\nPatient: yes\nStaff (Layla): Hi Tyrone, Layla here. Let's look at your coverage.", "spans": [{"start": 77, "end": 90, "type": "NAME"}, {"start": 97, "end": 107, "type": "DATE"}, {"start": 126, "end": 132, "type": "NAME"}, {"start": 166, "end": 180, "type": "ADDRESS"}, {"start": 190, "end": 197, "type": "ADDRESS"}, {"start": 217, "end": 222, "type": "ZIP"}, {"start": 282, "end": 304, "type": "EMAIL"}, {"start": 466, "end": 479, "type": "NAME"}, {"start": 485, "end": 495, "type": "DATE"}, {"start": 526, "end": 531, "type": "PROVIDER"}, {"start": 537, "end": 543, "type": "NAME"}, {"start": 545, "end": 550, "type": "PROVIDER"}], "known": {"names": ["Tyrone Gaines"], "phones": ["404-555-0152"], "emails": ["tgaines83@example.com"], "dates_of_birth": ["1983-02-09"], "addresses": ["123 Main St Apt 4B Decatur GA 30030"], "identifiers": []}} +{"id": "v11-en-chat-050", "channel": "chat", "lang": "en", "text": "#nursing-huddle\nAD: pt KJ 34yo G2P1 c/o cramping 2d post FET, afebrile, no bleeding. bhcg draw tmrw 0800\nMB: ok f/u w/ TW re: her E2 and P4, not OHSS risk imo\nAD: also re: AB's FET, consent still unsigned, rm 3 at 1330\nHC: I'll chase it. Mrs O in rm 5 wants to talk to Noa about PGT-A results", "spans": [{"start": 16, "end": 18, "type": "PROVIDER"}, {"start": 23, "end": 25, "type": "NAME"}, {"start": 105, "end": 107, "type": "PROVIDER"}, {"start": 119, "end": 121, "type": "PROVIDER"}, {"start": 159, "end": 161, "type": "PROVIDER"}, {"start": 172, "end": 174, "type": "NAME"}, {"start": 219, "end": 221, "type": "PROVIDER"}, {"start": 242, "end": 243, "type": "NAME"}, {"start": 269, "end": 272, "type": "PROVIDER"}], "known": {"names": ["Kiara Jennings", "Amira Boutros", "Nneka Obi"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-051", "channel": "chat", "lang": "en", "text": "#lab-handoff\nStim cycle 14 pts today. 9 retrievals Thurs, 4 ICSI, 5 conventional. Incubator 2 alarm at 0340h, temp 37.1 back in range. Dish lot 2290-7 low stock. PGT shipment tracking 1Z-ref on shared drive, form v3.2 only. Cryo tank 4 level OK. Please sign the log before 1700h.", "spans": [], "known": {}} +{"id": "v11-en-chat-052", "channel": "chat", "lang": "en", "text": "Subject: statement question\n\nHello billing, my statement shows $2,340 for cycle 2 but the estimate said $1,980. Statement number is ST-2026-33917. I'd like it mailed to 88 Wexford Terrace, Sandy Springs, GA 30328 since the email ones keep landing in spam. Thanks, Priscilla Hogue", "spans": [{"start": 132, "end": 145, "type": "ACCOUNT"}, {"start": 169, "end": 187, "type": "ADDRESS"}, {"start": 189, "end": 202, "type": "ADDRESS"}, {"start": 207, "end": 212, "type": "ZIP"}, {"start": 264, "end": 279, "type": "NAME"}], "known": {"names": ["Priscilla Hogue"], "phones": ["770-555-0139"], "emails": [], "dates_of_birth": [], "addresses": ["88 Wexford Terrace Sandy Springs GA 30328"], "identifiers": ["ACCOUNT ST-2026-33917"]}} +{"id": "v11-en-chat-053", "channel": "chat", "lang": "en", "text": "Patient: Is my insurance active? My member ID is XQP884219003\nAssistant: I can't verify coverage in chat, but I can note it for the billing team. What is the name on the policy?\nPatient: Alejandra Santoyo but the subscriber is my husband Raul Santoyo\nAssistant: Thank you. I'll pass it along with the member ID XQP884219003 and note the subscriber is Raul.\nPatient: his group number is G-60418\nAssistant: Noted. Billing will reply in the portal within two business days.", "spans": [{"start": 49, "end": 61, "type": "HEALTH_CARD"}, {"start": 187, "end": 204, "type": "NAME"}, {"start": 238, "end": 250, "type": "NAME"}, {"start": 311, "end": 323, "type": "HEALTH_CARD"}, {"start": 351, "end": 355, "type": "NAME"}, {"start": 386, "end": 393, "type": "ACCOUNT"}], "known": {"names": ["Alejandra Santoyo"], "phones": ["678-555-0111"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["HEALTH_CARD XQP884219003"]}} +{"id": "v11-en-chat-054", "channel": "chat", "lang": "en", "text": "hello, my husband and I arrived from Aleppo in the summer and now we live in Clayton Park, Halifax. We are looking for a clinic that speaks Arabic. My name is Hala Darwish and my husband is Samer. We were told the MSI does not cover ICSI. Is this right?", "spans": [{"start": 37, "end": 43, "type": "ADDRESS"}, {"start": 77, "end": 89, "type": "ADDRESS"}, {"start": 159, "end": 171, "type": "NAME"}, {"start": 190, "end": 195, "type": "NAME"}], "known": {"names": ["Hala Darwish"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-055", "channel": "chat", "lang": "en", "text": "Visitor: what does a 3BB embryo mean? and is 1.9 cm too big for a follicle\nAssistant: A 3BB blastocyst is a grade: expansion stage 3 with B-grade inner cell mass and trophectoderm. Follicle size depends on the cycle day. Around 18-22 mm is typical before trigger. Your nurse will tell you what applies to you.\nVisitor: ok thanks. AMH 0.8 and BMI 31.2 are those bad\nAssistant: I can't interpret personal results in chat, but your care team can go through them at your visit.", "spans": [], "known": {}} +{"id": "v11-en-chat-056", "channel": "chat", "lang": "en", "text": "Ticket CS-61802 history\n\nFrom Gwen Abernathy \nTo: frontdesk\nMy portal says my retrieval date is 11/30 but Jerome told me 12/2 on the phone. Which is right?\n\nFrom: frontdesk\n> My portal says my retrieval date is 11/30 ...\nHi Gwen, let me check with the nurses and come back to you.\n\nFrom Gwen Abernathy\n> Hi Gwen, let me check ...\n> > My portal says ...\nAny update? I need to book time off at Brightwell Credit Union today.\n\nFrom: frontdesk\nRetrieval is 12/2, the portal had an old entry. Sorry about that.", "spans": [{"start": 30, "end": 44, "type": "NAME"}, {"start": 46, "end": 72, "type": "EMAIL"}, {"start": 124, "end": 129, "type": "DATE"}, {"start": 134, "end": 140, "type": "PROVIDER"}, {"start": 149, "end": 153, "type": "DATE"}, {"start": 252, "end": 256, "type": "NAME"}, {"start": 315, "end": 329, "type": "NAME"}, {"start": 335, "end": 339, "type": "NAME"}, {"start": 420, "end": 443, "type": "EMPLOYER"}, {"start": 481, "end": 485, "type": "DATE"}], "known": {"names": ["Gwen Abernathy"], "phones": ["404-555-0147"], "emails": ["gabernathy@example.org"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-057", "channel": "chat", "lang": "en", "text": "Assistant: Is there anything else I can help with today?\nVisitor: Is the Halifax office at 5612 Spring Garden Road open Saturdays?\nAssistant: No, both offices are closed on weekends. Halifax is open Monday to Friday 0800h-1630h AT. You can also follow us on Instagram at @MagnoliaFertilityATL or email info@magnolia-ra.example.org.\nVisitor: and Atlanta is on Peachtree Park Drive, right? parking?\nAssistant: Yes, 1180 Peachtree Park Drive NE, Suite 400. There is a garage on the ground level, validated at the front desk.", "spans": [], "known": {}} +{"id": "v11-en-chat-058", "channel": "chat", "lang": "en", "text": "Hi, I'm the foster mom for a teen who's now an adult and wants to ask about egg freezing. I'm Constance Pickett and our caseworker is Ms. Odette Rivard at Halifax Family Services Centre. Can she join the call? The young woman's name is Shanice and she is 19.", "spans": [{"start": 94, "end": 111, "type": "NAME"}, {"start": 134, "end": 151, "type": "NAME"}, {"start": 155, "end": 185, "type": "EMPLOYER"}, {"start": 236, "end": 243, "type": "NAME"}], "known": {}} +{"id": "v11-en-chat-059", "channel": "chat", "lang": "en", "text": "portal audit export (support)\n2026-11-02 09:14:55 login ok user=u_81723 ip=203.0.113.45\n2026-11-02 09:15:10 view results type=semen_analysis\n2026-11-02 09:22:41 login fail user=u_81723 ip=198.51.100.7\nTicket CS-62044 opened by Summer Nguyen for geo mismatch.", "spans": [{"start": 30, "end": 40, "type": "DATE"}, {"start": 64, "end": 71, "type": "ID"}, {"start": 75, "end": 87, "type": "IP_ADDRESS"}, {"start": 88, "end": 98, "type": "DATE"}, {"start": 141, "end": 151, "type": "DATE"}, {"start": 177, "end": 184, "type": "ID"}, {"start": 188, "end": 200, "type": "IP_ADDRESS"}, {"start": 227, "end": 240, "type": "PROVIDER"}], "known": {"names": [], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["ID u_81723"]}} +{"id": "v11-en-chat-060", "channel": "chat", "lang": "en", "text": "Holiday schedule for the portal banner: Atlanta closed Thanksgiving Thursday and the day after, Halifax closed Remembrance Day. Monitoring resumes 0700h the next business day. Embryo transfer appointments on affected days will be moved by a coordinator. Questions: frontdesk@magnolia-ra.example.org", "spans": [], "known": {}} +{"id": "v11-en-chat-061", "channel": "chat", "lang": "en", "text": "I don't really know who to tell. We lost the pregnancy last night, 9 weeks. Ben is at work and I can't call him. I'm Odalys. Could somebody from the nurse team call me when they can. I don't want to talk to the front desk about it.", "spans": [{"start": 76, "end": 79, "type": "NAME"}, {"start": 117, "end": 123, "type": "NAME"}], "known": {"names": ["Odalys Pena"], "phones": ["678-555-0198"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-062", "channel": "chat", "lang": "en", "text": "Portal message to Dr. Banks: Our gestational carrier, Teresa Hollis, is due to start estrogen on Dec 4. The agency is Sunrise Surrogacy Partners and the agency file number is AG-77031. We are the intended parents, Mina and Jordan Kessler. Can the contract copy be uploaded to the portal?", "spans": [{"start": 22, "end": 27, "type": "PROVIDER"}, {"start": 54, "end": 67, "type": "NAME"}, {"start": 97, "end": 102, "type": "DATE"}, {"start": 118, "end": 144, "type": "EMPLOYER"}, {"start": 175, "end": 183, "type": "ID"}, {"start": 214, "end": 218, "type": "NAME"}, {"start": 223, "end": 237, "type": "NAME"}], "known": {"names": ["Mina Kessler", "Jordan Kessler"], "phones": ["404-555-0167"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-063", "channel": "chat", "lang": "en", "text": "Assistant: Please give me your date of birth to find your file.\nPatient: June\nAssistant: Which day of the month?\nPatient: the 21st\nPatient: of June I mean, sorry June 21\nPatient: and the year is 1987\nAssistant: Thanks. And your last name?\nPatient: Fitzgerald\nAssistant: Thanks, Ms. Fitzgerald. Let me look. I see an appointment on December 12. Is that the one you want to move?\nPatient: yes, the 12th is bad. anything the week after?", "spans": [{"start": 73, "end": 77, "type": "DATE"}, {"start": 126, "end": 130, "type": "DATE"}, {"start": 143, "end": 147, "type": "DATE"}, {"start": 162, "end": 169, "type": "DATE"}, {"start": 248, "end": 258, "type": "NAME"}, {"start": 282, "end": 292, "type": "NAME"}, {"start": 331, "end": 342, "type": "DATE"}, {"start": 396, "end": 400, "type": "DATE"}], "known": {"names": ["Colleen Fitzgerald"], "phones": ["404-555-0143"], "emails": [], "dates_of_birth": ["1987-06-21"], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-064", "channel": "chat", "lang": "en", "text": "#front-desk\nJG: 1015 is a no show. 1030 sono done, Selam needs rm 2 cleaned. Courier for specimens due 1130h. Coffee order is on the whiteboard. Reminder: pharmacy line is ext 305 and the fax machine is out of toner again.", "spans": [{"start": 12, "end": 14, "type": "PROVIDER"}, {"start": 51, "end": 56, "type": "PROVIDER"}], "known": {}} +{"id": "v11-en-chat-065", "channel": "chat", "lang": "en", "text": "Sharing the screenshots: my Ovia export shows account name luna_cycle_88 and my Dexcom pump CGM serial is SN 3MH0041AB7. My cycle was 31 days last month, luteal 12 days. Is that okay before an IUI? - Selene Brandt", "spans": [{"start": 59, "end": 72, "type": "ID"}, {"start": 106, "end": 119, "type": "ID"}, {"start": 200, "end": 213, "type": "NAME"}], "known": {"names": ["Selene Brandt"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-066", "channel": "chat", "lang": "en", "text": "Attached are my photos of the rash: IMG_20260314_maria.jpg and Scan - Okafor, Ngozi.pdf (the other lab). Does Dr. Deshmukh want to see them before the next injection?", "spans": [{"start": 40, "end": 48, "type": "DATE"}, {"start": 49, "end": 54, "type": "NAME"}, {"start": 70, "end": 83, "type": "NAME"}, {"start": 114, "end": 122, "type": "PROVIDER"}], "known": {"names": ["Maria Okafor"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-067", "channel": "chat", "lang": "en", "text": "Visitor: do you code the egg freezing consult as 99204 or 99205? and what ICD is used for diminished ovarian reserve, N97.9?\nAssistant: Coding depends on the visit and is set by billing. I can pass your question to the billing team.\nVisitor: also is there an out of pocket max of $4,500 on the freezing package or is it per vial\nAssistant: Packages are quoted in writing. I'd be happy to request an estimate.", "spans": [], "known": {}} +{"id": "v11-en-chat-068", "channel": "chat", "lang": "en", "text": "hi! we are a Korean family in Duluth and my wife Ji-woo Han is 38. Is there a Korean-speaking nurse for the consult? I am Dong-hyun. We saw an ad at H Mart for the open house. My cell is 678-555-0121.", "spans": [{"start": 30, "end": 36, "type": "ADDRESS"}, {"start": 49, "end": 59, "type": "NAME"}, {"start": 122, "end": 131, "type": "NAME"}, {"start": 187, "end": 199, "type": "PHONE"}], "known": {"names": ["Ji-woo Han"], "phones": ["678-555-0121"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-069", "channel": "chat", "lang": "en", "text": "Portal message: Please send my husband's semen analysis report to PO Box 118, Fort Valley, GA 31030, not our street address, his parents open our mail. He is Cedric Mayfield. I'm Janelle.", "spans": [{"start": 66, "end": 76, "type": "ADDRESS"}, {"start": 78, "end": 89, "type": "ADDRESS"}, {"start": 94, "end": 99, "type": "ZIP"}, {"start": 158, "end": 173, "type": "NAME"}, {"start": 179, "end": 186, "type": "NAME"}], "known": {"names": ["Janelle Mayfield", "Cedric Mayfield"], "phones": ["478-555-0132"], "emails": [], "dates_of_birth": [], "addresses": ["410 Orchard Lane Fort Valley GA 31030"], "identifiers": []}} +{"id": "v11-en-chat-070", "channel": "chat", "lang": "en", "text": "My husband is active duty so mail goes to Bldg 4412, Rm 212, Fort Moore, GA 31905. Is Tricare accepted for the follow-up visit? His sponsor ID is SP-4410287. I'm Kayla Dunn. Do I need a referral from Dr. Thibodeau?", "spans": [{"start": 42, "end": 71, "type": "ADDRESS"}, {"start": 76, "end": 81, "type": "ZIP"}, {"start": 146, "end": 156, "type": "ID"}, {"start": 162, "end": 172, "type": "NAME"}, {"start": 200, "end": 213, "type": "PROVIDER"}], "known": {"names": ["Kayla Dunn"], "phones": ["706-555-0113"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-071", "channel": "chat", "lang": "en", "text": "Can you send the consent forms to 123, rue Principale, app. 4, Dieppe, NB E1A 4H2? C'est pour ma conjointe, Mélanie Cormier. We will drive to Halifax on the 0830h appointment.", "spans": [{"start": 34, "end": 61, "type": "ADDRESS"}, {"start": 63, "end": 69, "type": "ADDRESS"}, {"start": 74, "end": 81, "type": "POSTAL_CODE"}, {"start": 108, "end": 123, "type": "NAME"}], "known": {"names": ["Mélanie Cormier"], "phones": ["506-555-0170"], "emails": [], "dates_of_birth": [], "addresses": ["123 rue Principale app. 4 Dieppe NB E1A 4H2"], "identifiers": []}} +{"id": "v11-en-chat-072", "channel": "chat", "lang": "en", "text": "Visitor: do I need to fast for the AMH or is that only the glucose test?\nAssistant: AMH does not need fasting. The glucose tolerance test does, usually 8-10 hours.\nVisitor: and can I take my Synthroid before. TSH was 2.4\nAssistant: Please ask your nurse for personal medication instructions. I can message the clinical team for you.\nVisitor: no it's fine, thanks. bye", "spans": [], "known": {}} +{"id": "v11-en-chat-073", "channel": "chat", "lang": "en", "text": "Quick one from the Halifax satellite: Hope and Will are off Friday, JG covers phones, Tamara covers the 1330h sono list. Fax is on the usual 902-555-0710 line.", "spans": [{"start": 38, "end": 42, "type": "PROVIDER"}, {"start": 47, "end": 51, "type": "PROVIDER"}, {"start": 68, "end": 70, "type": "PROVIDER"}, {"start": 86, "end": 92, "type": "PROVIDER"}], "known": {}} +{"id": "v11-en-chat-074", "channel": "chat", "lang": "en", "text": "Patient: so for the FET do I start the estradiol patches on day 2 or day 3?\nAssistant: Your protocol sheet says day 2. Patches are changed every 48 hours, e.g. 0800h Monday and Wednesday.\nPatient: and progesterone in oil 50 mg starts after the lining check?\nAssistant: That's right, usually when the lining is 8 mm or more with a trilaminar pattern. Your nurse confirms the start.\nPatient: what if my lining is 7.4\nAssistant: The team may extend estradiol. Please wait for their call rather than starting early.\nPatient: ok. last q, can I fly 2 days after transfer?\nAssistant: Many patients do, but ask the physician at your transfer visit.", "spans": [], "known": {}} +{"id": "v11-en-chat-075", "channel": "chat", "lang": "en", "text": "Assistant: How can I help today?\nPatient: Hi. I wanted to ask about the sperm freezing package, how long do samples stay stored?\nAssistant: Standard storage is billed per year, and the contract lists terms. Anything else?\nPatient: how many vials per sample usually\nAssistant: It depends on count and motility, typically 2 to 6.\nPatient: do you do semen analysis same day\nAssistant: Results are normally available in 24-48 hours.\nPatient: ok one more thing, can you email me the packet?\nAssistant: Sure, what's the best email?\nPatient: marcus.delacroix@example.net\nAssistant: Thanks Marcus, I'll send it there. May I add your date of birth for the file?\nPatient: Feb 2, 1992", "spans": [{"start": 535, "end": 563, "type": "EMAIL"}, {"start": 582, "end": 588, "type": "NAME"}, {"start": 662, "end": 673, "type": "DATE"}], "known": {"names": ["Marcus Delacroix"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-076", "channel": "chat", "lang": "en", "text": "Visitor: how does the Nova Scotia fertility tax credit work and does it apply to ICSI? And my employer plan in Georgia, does Magnolia bill that directly?\nAssistant: In Nova Scotia the Fertility Treatment Tax Credit is claimed on your provincial return, and eligible expenses are listed on the CRA site. For Georgia employer plans the billing team verifies benefits before your consult. I can request that.\nVisitor: no thanks, I'll check my benefits book first", "spans": [], "known": {}} +{"id": "v11-en-chat-077", "channel": "chat", "lang": "en", "text": "Staff (Jessica): Can you spell your last name for me?\nPatient: Szczepanski, S-Z-C-Z-E-P-A-N-S-K-I\nStaff (Jessica): Thanks, Mrs. Szczepanski. And your first?\nPatient: Wiktoria\nStaff (Jessica): Perfect, found you. Your retrieval is confirmed for Dec 9.", "spans": [{"start": 7, "end": 14, "type": "PROVIDER"}, {"start": 63, "end": 74, "type": "NAME"}, {"start": 76, "end": 97, "type": "NAME"}, {"start": 105, "end": 112, "type": "PROVIDER"}, {"start": 128, "end": 139, "type": "NAME"}, {"start": 166, "end": 174, "type": "NAME"}, {"start": 182, "end": 189, "type": "PROVIDER"}, {"start": 244, "end": 249, "type": "DATE"}], "known": {"names": ["Wiktoria Szczepanski"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-078", "channel": "chat", "lang": "en", "text": "#embryology\nFreezer 3 alarm 0212h, probe read -3 C on the door then back to -196. Dewar fill done. 12 straws re-checked, no loss. Vitrification kit lot 77281, form v2.4 signed. Dish count for tomorrow 18. Please don't open tank 2 until the 0700h bus.", "spans": [], "known": {}} +{"id": "v11-en-chat-079", "channel": "chat", "lang": "en", "text": "Portal message: I'm paying the retrieval deposit with my HSA, account HSA-0041-7782. I also mailed cheque number 4471 last week for the genetic testing. And the Interac for the Halifax visit came from k.paquette@example.org. Did all three land? - Karine Paquette", "spans": [{"start": 70, "end": 83, "type": "ACCOUNT"}, {"start": 113, "end": 117, "type": "ACCOUNT"}, {"start": 201, "end": 223, "type": "EMAIL"}, {"start": 247, "end": 262, "type": "NAME"}], "known": {"names": ["Karine Paquette"], "phones": ["902-555-0126"], "emails": ["karine.paquette@example.org"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-080", "channel": "chat", "lang": "en", "text": "Visitor: what happens to my embryos if I stop paying for storage?\nAssistant: Storage terms are in your cryopreservation agreement (form v4.1). Options include continuing storage, donating, thawing or transferring to another facility. The clinic sends written notices before any action is taken.\nVisitor: is there a grace period\nAssistant: The agreement states it. A coordinator can go through it with you if you request a call.\nVisitor: ok I'll look at the form first", "spans": [], "known": {}} +{"id": "v11-en-chat-081", "channel": "chat", "lang": "en", "text": "(voice message transcribed by the widget) hi my name is Mary Ann O'Dell uh Marry Ann Odell if it shows up weird, i'm calling about my baby shower on the 14th of December no wait i mean the ultrasound, the anatomy scan, can i come at 3", "spans": [{"start": 56, "end": 71, "type": "NAME"}, {"start": 75, "end": 90, "type": "NAME"}, {"start": 149, "end": 169, "type": "DATE"}], "known": {"names": ["Mary Ann O'Dell"], "phones": ["404-555-0188"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-082", "channel": "chat", "lang": "en", "text": "Visitor: I waited 50 min past my 0915h slot yesterday, then the nurse said the doctor was running behind. For $175 you could text. Please pass this to the manager.\nAssistant: I'm sorry about the wait. I can send this to the patient experience team. Would you like a follow-up?\nVisitor: no just want it noted", "spans": [], "known": {}} +{"id": "v11-en-chat-083", "channel": "chat", "lang": "en", "text": "We live in Millbrook First Nation near Truro and the nearest lab is 40 min away. My status card number is 1052 8841 03 if you need it for the Non-Insured Health Benefits form. I'm Rhonda Gloade, my partner is Cody Paul.", "spans": [{"start": 11, "end": 33, "type": "ADDRESS"}, {"start": 39, "end": 44, "type": "ADDRESS"}, {"start": 106, "end": 118, "type": "ID"}, {"start": 180, "end": 193, "type": "NAME"}, {"start": 209, "end": 218, "type": "NAME"}], "known": {"names": ["Rhonda Gloade"], "phones": ["902-555-0184"], "emails": [], "dates_of_birth": [], "addresses": ["Millbrook NS"], "identifiers": []}} +{"id": "v11-en-chat-084", "channel": "chat", "lang": "en", "text": "hi it's Nathalie Joseph from Haiti originally, now in Clarkston. My daughter Naomie goes to Indian Creek Elementary and I have to pick her up by 3 so I need early appts. My husband Jean-Robert will drive. Do you have Haitian Creole interpreters? Please text 470-555-0173.", "spans": [{"start": 8, "end": 23, "type": "NAME"}, {"start": 54, "end": 63, "type": "ADDRESS"}, {"start": 77, "end": 83, "type": "NAME"}, {"start": 92, "end": 115, "type": "EMPLOYER"}, {"start": 181, "end": 192, "type": "NAME"}, {"start": 258, "end": 270, "type": "PHONE"}], "known": {"names": ["Nathalie Joseph"], "phones": ["470-555-0173"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-085", "channel": "chat", "lang": "en", "text": "Visitor: can a donor egg cycle use a fresh donor or only frozen? what's the typical number of eggs in a lot of 6\nAssistant: Both options exist. Frozen donor lots usually come in sets of 6 or 8 oocytes. A fresh cycle needs synchronization. A consultant can explain the pros and cons.\nVisitor: ok what is the success per transfer around age 40\nAssistant: Rates depend on donor age rather than the recipient's age. Our published SART summary is on the website.", "spans": [], "known": {}} +{"id": "v11-en-chat-086", "channel": "chat", "lang": "en", "text": "Our adoption agency, Bridges Adoption Agency, asked us to get a fertility history letter. Our social worker is Paul Esterhazy, his number is (902) 555-0116. We are Anne-Marie and Greg Whalen. Our landlord, Mr. Kaplan, needs to be told nothing, please.", "spans": [{"start": 21, "end": 44, "type": "EMPLOYER"}, {"start": 111, "end": 125, "type": "NAME"}, {"start": 141, "end": 155, "type": "PHONE"}, {"start": 164, "end": 174, "type": "NAME"}, {"start": 179, "end": 190, "type": "NAME"}, {"start": 206, "end": 216, "type": "NAME"}], "known": {"names": ["Anne-Marie Whalen", "Greg Whalen"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-087", "channel": "chat", "lang": "en", "text": "Visitor: hours?\nAssistant: Atlanta: Mon-Fri 0700h-1700h ET. Halifax: Mon-Fri 0800h-1630h AT. Both offices are closed on weekends and on public holidays.\nVisitor: and phone for Halifax\nAssistant: 902-555-0710. The Atlanta main line is 404-555-0700 and our fax is 404-555-0701.\nVisitor: thx", "spans": [], "known": {}} +{"id": "v11-en-chat-088", "channel": "chat", "lang": "en", "text": "DM from DJ: pt M.O. rm 3 wants to switch to the 1400 slot, she's c/o headache on Lupron day 6. Dr. Okonkwo ok'd. Also re: TB's IUI, trigger 2130h, SN has the script. FSH on file 8.9, AFC 11.", "spans": [{"start": 8, "end": 10, "type": "PROVIDER"}, {"start": 15, "end": 19, "type": "NAME"}, {"start": 99, "end": 106, "type": "PROVIDER"}, {"start": 122, "end": 124, "type": "NAME"}, {"start": 147, "end": 149, "type": "PROVIDER"}], "known": {"names": ["Maya Osei", "Tara Bell"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-089", "channel": "chat", "lang": "en", "text": "Ticket CS-63310\n\n--- Nov 10, Guadalupe (billing):\nHi Yolanda, prior auth PA-90214477 for your FET meds is pending with Cigna.\n\n--- Nov 12, Yolanda Pruitt:\n> prior auth PA-90214477 for your FET meds is pending\nStill pending? My transfer is Nov 21. My claim number from them is CL-8820145.\n\n--- Nov 13, Guadalupe:\n> Still pending? My claim number...\nApproved this morning. Approval reference AUTH-445902, effective through May 31, 2027.", "spans": [{"start": 21, "end": 27, "type": "DATE"}, {"start": 29, "end": 38, "type": "PROVIDER"}, {"start": 53, "end": 60, "type": "NAME"}, {"start": 73, "end": 84, "type": "ACCOUNT"}, {"start": 131, "end": 137, "type": "DATE"}, {"start": 139, "end": 153, "type": "NAME"}, {"start": 168, "end": 179, "type": "ACCOUNT"}, {"start": 239, "end": 245, "type": "DATE"}, {"start": 276, "end": 286, "type": "ACCOUNT"}, {"start": 293, "end": 299, "type": "DATE"}, {"start": 301, "end": 310, "type": "PROVIDER"}, {"start": 390, "end": 401, "type": "ACCOUNT"}, {"start": 421, "end": 433, "type": "DATE"}], "known": {"names": ["Yolanda Pruitt"], "phones": ["470-555-0159"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["ACCOUNT PA-90214477"]}} +{"id": "v11-en-chat-090", "channel": "chat", "lang": "en", "text": "Portal message: Just wanted to share some good news. The 12 week scan looked perfect, heartbeat 168, CRL matched dates. We're so grateful to the whole team. Please pass this on to the embryology and nursing teams. We'll send a photo when the baby arrives!", "spans": [], "known": {}} +{"id": "v11-en-chat-091", "channel": "chat", "lang": "en", "text": "Hello, I'm Sunita Deshpande, my husband Arjun is on a work visa at Northgate Systems. Passport number for the intake form: Z1234567. We live in Alpharetta near the Mansell Rd temple. Is there an Indian vegetarian dietitian on the team?", "spans": [{"start": 11, "end": 27, "type": "NAME"}, {"start": 40, "end": 45, "type": "NAME"}, {"start": 67, "end": 84, "type": "EMPLOYER"}, {"start": 123, "end": 131, "type": "ID"}, {"start": 144, "end": 154, "type": "ADDRESS"}], "known": {"names": ["Sunita Deshpande"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": ["Alpharetta GA"], "identifiers": []}} +{"id": "v11-en-chat-092", "channel": "chat", "lang": "en", "text": "Hi, Mulu Hailu here. Parking: my car plate is RBX-4410, gold Corolla, I will be in the Peachtree Park garage on Tuesday the 25th. My wife Hirut doesn't speak English well, is there an Amharic interpreter. We are in Tucker.", "spans": [{"start": 4, "end": 14, "type": "NAME"}, {"start": 46, "end": 54, "type": "ID"}, {"start": 112, "end": 128, "type": "DATE"}, {"start": 138, "end": 143, "type": "NAME"}, {"start": 215, "end": 221, "type": "ADDRESS"}], "known": {"names": ["Mulu Hailu"], "phones": ["404-555-0178"], "emails": [], "dates_of_birth": [], "addresses": ["Tucker GA"], "identifiers": []}} +{"id": "v11-en-chat-093", "channel": "chat", "lang": "en", "text": "Visitor: do you test for CF carrier status on the donor side and what about SMA\nAssistant: Carrier screening panels for donors are listed in the donor profile. Your counselor can review which conditions were screened.\nVisitor: and can the sperm bank send directly\nAssistant: Yes, shipments from approved banks arrive in a dry shipper with chain-of-custody documents.", "spans": [], "known": {}} +{"id": "v11-en-chat-094", "channel": "chat", "lang": "en", "text": "Staff (Hope): Could you give me your cell once more? I only have a partial.\nPatient: sure, 770-555-0149\nStaff (Hope): Thanks. And what's your date of birth so I can verify?\nPatient: 09/03/1990\nStaff (Hope): Great. One more time, the number: 770-555-0149. Correct?\nPatient: yes. oh wait, my husband Isaiah might call from 678-555-0107, that's his work\nStaff (Hope): I'll note it. Name for the note?\nPatient: Isaiah Coleman. I'm Brianna Coleman.", "spans": [{"start": 7, "end": 11, "type": "PROVIDER"}, {"start": 91, "end": 103, "type": "PHONE"}, {"start": 111, "end": 115, "type": "PROVIDER"}, {"start": 182, "end": 192, "type": "DATE"}, {"start": 200, "end": 204, "type": "PROVIDER"}, {"start": 241, "end": 253, "type": "PHONE"}, {"start": 298, "end": 304, "type": "NAME"}, {"start": 321, "end": 333, "type": "PHONE"}, {"start": 358, "end": 362, "type": "PROVIDER"}, {"start": 407, "end": 421, "type": "NAME"}, {"start": 427, "end": 442, "type": "NAME"}], "known": {"names": ["Brianna Coleman"], "phones": ["770-555-0149"], "emails": [], "dates_of_birth": ["1990-09-03"], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-095", "channel": "chat", "lang": "en", "text": "Teams, triage: pt RW 36yo G3P0 spotting day 5 post-transfer, HCG 118 yesterday, repeat tmrw 0800. MJP on call tonight, wants P4 added. Mrs W prefers calls after 1700. Her partner Dev is at the hospital with his dad so text only. cc Adaeze", "spans": [{"start": 18, "end": 20, "type": "NAME"}, {"start": 98, "end": 101, "type": "PROVIDER"}, {"start": 139, "end": 140, "type": "NAME"}, {"start": 179, "end": 182, "type": "NAME"}, {"start": 232, "end": 238, "type": "PROVIDER"}], "known": {"names": ["Rina Walsh", "Dev Mehta"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-chat-096", "channel": "chat", "lang": "en", "text": "Visitor: is the Halifax office near the Public Gardens? and is there a bus\nAssistant: The Halifax office is on Spring Garden Road, a short walk from the Public Gardens, and several Halifax Transit routes stop nearby.\nVisitor: is the Atlanta one near MARTA\nAssistant: Yes, there's a MARTA station about 10 minutes on foot.", "spans": [], "known": {}} +{"id": "v11-en-chat-097", "channel": "chat", "lang": "en", "text": "hi, I'm from North Preston and we're a Black Nova Scotian family; my wife Tanisha Downey and I are looking at IUI. Her MSI number is 2341 887 566. Our nurse said Hope could set up the consult. Her cell is 902-555-0192. Who else should I call?", "spans": [{"start": 13, "end": 26, "type": "ADDRESS"}, {"start": 74, "end": 88, "type": "NAME"}, {"start": 133, "end": 145, "type": "HEALTH_CARD"}, {"start": 162, "end": 166, "type": "PROVIDER"}, {"start": 205, "end": 217, "type": "PHONE"}], "known": {"names": ["Tanisha Downey"], "phones": ["902-555-0192"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["HEALTH_CARD 2341 887 566"]}} +{"id": "v11-en-chat-098", "channel": "chat", "lang": "en", "text": "Assistant: I'm sorry to hear that. Do you want to speak with a counselor?\nVisitor: i dont know. Third failed cycle and I feel numb\nAssistant: That sounds incredibly hard. Our team includes counselors and we also share support group listings. Would a call from a nurse help, or would you rather browse resources first?\nVisitor: resources first. thank you for not being a robot about it\nAssistant: I'm an AI assistant, but I'm glad it helped. Here's the support page and our nurse line, 404-555-0700, if you want a person.", "spans": [], "known": {}} +{"id": "v11-en-chat-099", "channel": "chat", "lang": "en", "text": "Voicemail tree (copied from whiteboard, Selam updated):\n1 scheduling ext 214 (Hope, JG)\n2 nurse triage ext 220 (AD, MJP, MB)\n3 billing ext 330 (Guadalupe, Tamara)\n4 records ext 341 (Thao Le)\n9 operator", "spans": [{"start": 40, "end": 45, "type": "PROVIDER"}, {"start": 78, "end": 82, "type": "PROVIDER"}, {"start": 84, "end": 86, "type": "PROVIDER"}, {"start": 112, "end": 114, "type": "PROVIDER"}, {"start": 116, "end": 119, "type": "PROVIDER"}, {"start": 121, "end": 123, "type": "PROVIDER"}, {"start": 144, "end": 153, "type": "PROVIDER"}, {"start": 155, "end": 161, "type": "PROVIDER"}, {"start": 182, "end": 189, "type": "PROVIDER"}], "known": {}} +{"id": "v11-en-chat-100", "channel": "chat", "lang": "en", "text": "Visitor: I'm 41 and my doctor said to do IVF now. Honestly scared. what's the first step\nAssistant: Many people feel that way. The first step is usually a consultation where the physician reviews history and ordered tests such as AMH, FSH and antral follicle count. I can help you request an appointment.\nVisitor: ok but not today. is there a no cost call to just ask questions\nAssistant: Yes, a nurse coordinator can do a 15 minute phone call. Would you like a callback request?\nVisitor: maybe next week", "spans": [], "known": {}} +{"id": "v11-en-call-101", "channel": "call", "lang": "en", "text": "Agent: Thank you for calling Magnolia Reproductive Associates, this is the virtual assistant. How can I help?\nCaller: Hi, I need to move my monitoring appointment. My name is Renata Okafor-Lindqvist.\nAgent: Thanks, Renata. Can I get a phone number on the account?\nCaller: Sure. The area code is 404, then 555, then 0182.\nAgent: Just to confirm: 404-555-0182?\nCaller: Sorry, no. 0128. Zero one two eight.\nAgent: Got it, 404-555-0128. And your date of birth?\nCaller: March ninth, nineteen eighty-seven.\nAgent: Thank you. I see Dr. Okonkwo is your doctor. Would 0845h tomorrow work for your bloodwork?\nCaller: Yes, that works. Is it still fasting? My E2 was 1450 last time.\nAgent: No fasting needed for estradiol. See you then.", "spans": [{"start": 175, "end": 198, "type": "NAME"}, {"start": 215, "end": 221, "type": "NAME"}, {"start": 295, "end": 298, "type": "PHONE"}, {"start": 305, "end": 308, "type": "PHONE"}, {"start": 315, "end": 319, "type": "PHONE"}, {"start": 345, "end": 357, "type": "PHONE"}, {"start": 378, "end": 382, "type": "PHONE"}, {"start": 384, "end": 402, "type": "PHONE"}, {"start": 419, "end": 431, "type": "PHONE"}, {"start": 465, "end": 499, "type": "DATE"}, {"start": 529, "end": 536, "type": "PROVIDER"}], "known": {"names": ["Renata Okafor-Lindqvist"], "phones": ["404-555-0128"], "emails": [], "dates_of_birth": ["1987-03-09"], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-102", "channel": "call", "lang": "en", "text": "Voicemail, 0712h. Hi, this is Bethany Corrigan calling for Hope on the nurse line. My number is six seven eight, five five five, oh one four four. I'm out in Cobb County so it's a drive for me. My transfer is on the fourteenth of December and I just realized the progesterone I picked up is the wrong strength. Could somebody please call me back before noon? Thank you so much.", "spans": [{"start": 30, "end": 46, "type": "NAME"}, {"start": 59, "end": 63, "type": "PROVIDER"}, {"start": 96, "end": 145, "type": "PHONE"}, {"start": 158, "end": 169, "type": "ADDRESS"}, {"start": 216, "end": 238, "type": "DATE"}], "known": {"names": ["Bethany Corrigan"], "phones": ["678-555-0144"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-103", "channel": "call", "lang": "en", "text": "IVR capture, main line.\n'Thank you for calling Magnolia Reproductive Associates. For our Atlanta office, press 1. For our Halifax office, press 2. Please note our offices will be closed Thursday and Friday for Thanksgiving. If this is a medical emergency, hang up and dial 911. For billing, press 3. For the nurse line, press 4. For pharmacy refills, press 5. Our Atlanta office is located at 1180 Peachtree Park Drive NE, Suite 400. Our Halifax office is at 5612 Spring Garden Road, Suite 210. Office hours are 0700h to 1600h Eastern, Monday to Friday. To repeat this menu, press star.'", "spans": [], "known": {}} +{"id": "v11-en-call-104", "channel": "call", "lang": "en", "text": "AI call summary\nCaller: Ibrahim Yousef, husband of patient Sahar Yousef (MRN 0099314).\nReason: Sahar had retrieval yesterday, now c/o bloating and some SOB. Asked if this is OHSS. Reported weight up 3 lb overnight.\nAction: Warm transfer to nurse triage, Hope Comeau took the call at 1415h. Advised ER if SOB worsens. Ibrahim gave a cell, (470) 555-0173, and said the best time to reach him is after 1800h.\nFollow-up: Dr. Banks to review E2 and fluid status in AM.", "spans": [{"start": 24, "end": 38, "type": "NAME"}, {"start": 59, "end": 71, "type": "NAME"}, {"start": 77, "end": 84, "type": "MRN"}, {"start": 95, "end": 100, "type": "NAME"}, {"start": 254, "end": 265, "type": "PROVIDER"}, {"start": 317, "end": 324, "type": "NAME"}, {"start": 338, "end": 352, "type": "PHONE"}, {"start": 421, "end": 426, "type": "PROVIDER"}], "known": {"names": ["Sahar Yousef"], "phones": ["470-555-0173"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["MRN 0099314"]}} +{"id": "v11-en-call-105", "channel": "call", "lang": "en", "text": "Agent: Magnolia Reproductive, Halifax office, how can I help you today?\nCaller: Hi. I'm calling about my intake paperwork. It's Tamsin Paul. I'm in Millbrook First Nation so I'm about forty minutes out.\nAgent: Thanks Tamsin. Can you spell your last name for me?\nCaller: P, A, U, L. And the mailing address is RR 2, Site 4, Box 12, Truro.\nAgent: And your health card number?\nCaller: It's 1234 567 890, I think. Hold on, my husband has the card. Yes, one two three four, five six seven, eight nine zero.\nAgent: Perfect. Layla Saliba will send the consent forms by the portal.\nCaller: Okay, I haven't set up the portal yet.\nAgent: No problem, I can send a link.", "spans": [{"start": 128, "end": 139, "type": "NAME"}, {"start": 148, "end": 170, "type": "ADDRESS"}, {"start": 217, "end": 223, "type": "NAME"}, {"start": 270, "end": 280, "type": "NAME"}, {"start": 309, "end": 336, "type": "ADDRESS"}, {"start": 387, "end": 399, "type": "HEALTH_CARD"}, {"start": 449, "end": 500, "type": "HEALTH_CARD"}, {"start": 518, "end": 530, "type": "PROVIDER"}], "known": {"names": ["Tamsin Paul"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": ["RR 2, Site 4, Box 12, Truro"], "identifiers": ["1234 567 890"]}} +{"id": "v11-en-call-106", "channel": "call", "lang": "en", "text": "Voicemail transcript. Hello, this message is for the billing department. This is Gwen Ashby with Peachstate Benefits calling regarding claim CLM-7731902 for our member Corinne Tabb, member ID PSB442918307. We received the prior authorization request, reference PA-2026-558104, and we need the CPT code and the diagnosis code on the letter of medical necessity. Please call me back at 770-555-0166. Again that is Gwen. Thank you.", "spans": [{"start": 81, "end": 91, "type": "NAME"}, {"start": 141, "end": 152, "type": "ACCOUNT"}, {"start": 168, "end": 180, "type": "NAME"}, {"start": 192, "end": 204, "type": "HEALTH_CARD"}, {"start": 261, "end": 275, "type": "ACCOUNT"}, {"start": 384, "end": 396, "type": "PHONE"}, {"start": 412, "end": 416, "type": "NAME"}], "known": {"names": ["Corinne Tabb"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["PSB442918307"]}} +{"id": "v11-en-call-107", "channel": "call", "lang": "en", "text": "IVR capture, pharmacy line.\n'You have reached the Magnolia pharmacy refill line. To check the status of a refill, press 1. Please enter your prescription number followed by the pound key. ... We did not receive that. Please try again. ... Refills for Menopur 75 IU, ganirelix 250 mcg and Ovidrel 250 mcg are shipped cold, Monday through Thursday, and require a signature. Progesterone in oil, 50 mg per mL, ships room temperature, below 25 degrees Celsius. For billing questions, press 3. For all other questions, press 0 to reach the front desk at extension 4410.'", "spans": [], "known": {}} +{"id": "v11-en-call-108", "channel": "call", "lang": "en", "text": "[Interpreter-assisted call, Spanish/English]\nAgent: This is Magnolia Reproductive Associates. Who am I speaking with?\nInterpreter: Good afternoon, this is interpreter Ximena, interpreter ID 4471, with the language line. I have the patient on the line, Yolanda Pacheco.\nAgent: Thank you. Could the patient confirm her date of birth?\nInterpreter: She says the fifth of August, nineteen ninety-one.\nAgent: And the best number?\nInterpreter: She says four oh four, five five five, zero nine one one.\nAgent: Thank you. Tell her that Guadalupe Ramirez will call her tomorrow about the PGT results.\nInterpreter: She is asking if the results are good or not.\nAgent: I can't share results by phone, only the doctor can.", "spans": [{"start": 167, "end": 173, "type": "NAME"}, {"start": 190, "end": 194, "type": "ID"}, {"start": 252, "end": 267, "type": "NAME"}, {"start": 354, "end": 394, "type": "DATE"}, {"start": 446, "end": 493, "type": "PHONE"}, {"start": 527, "end": 544, "type": "PROVIDER"}], "known": {"names": ["Yolanda Pacheco"], "phones": ["404-555-0911"], "emails": [], "dates_of_birth": ["1991-08-05"], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-109", "channel": "call", "lang": "en", "text": "Voicemail tree transcription, embryology.\n'Hi, you've reached the embryology lab at Magnolia Reproductive Associates. Lab hours are 0630h to 1700h. If you are calling about a PGT-A result, press 2. If you are calling about thaw schedules, press 3. Please do not leave patient names or dates of birth on this line. For urgent lab issues after hours, page the on-call embryologist through the main number. Extension 4417.'", "spans": [], "known": {}} +{"id": "v11-en-call-110", "channel": "call", "lang": "en", "text": "Agent: Can I get an email to send the portal invite?\nCaller: Sure. It's k, e, l, l, i, s, o, n, eight eight, at example dot com. That's kellison88 at example dot com.\nAgent: Is that two L's in Kellison?\nCaller: Yes, two L's. It's my wife's email actually. She's Margaux Ellison, and I'm Keith Ellison.\nAgent: Thanks, Keith. And who's your referring doctor?\nCaller: Dr. Halvorsen, at the women's clinic in Marietta. Margaux has seen him since June.\nAgent: Got it.", "spans": [{"start": 72, "end": 127, "type": "EMAIL"}, {"start": 136, "end": 165, "type": "EMAIL"}, {"start": 193, "end": 201, "type": "NAME"}, {"start": 262, "end": 277, "type": "NAME"}, {"start": 287, "end": 300, "type": "NAME"}, {"start": 317, "end": 322, "type": "NAME"}, {"start": 369, "end": 378, "type": "PROVIDER"}, {"start": 415, "end": 422, "type": "NAME"}], "known": {"names": ["Margaux Ellison", "Keith Ellison"], "phones": [], "emails": ["kellison88@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-111", "channel": "call", "lang": "en", "text": "Agent: For identity I need the last four of your social.\nCaller: Uh, my SSN ends in 4417.\nAgent: And the street number on file?\nCaller: 2290. That's 2290 Briarcliff Court, Apt 4B, in Decatur.\nAgent: Thank you, Mr. Thornbury. Hmm, the system says Lamar is the owner of this account.\nCaller: That's my father. Lamar Thornbury Senior. I'm Darnell Thornbury, I handle the billing.\nAgent: I'll need him to authorize that. I will send him a consent form.", "spans": [{"start": 84, "end": 88, "type": "SSN"}, {"start": 149, "end": 178, "type": "ADDRESS"}, {"start": 183, "end": 190, "type": "ADDRESS"}, {"start": 214, "end": 223, "type": "NAME"}, {"start": 246, "end": 251, "type": "NAME"}, {"start": 308, "end": 313, "type": "NAME"}, {"start": 314, "end": 323, "type": "NAME"}, {"start": 336, "end": 353, "type": "NAME"}], "known": {"names": ["Lamar Thornbury"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-112", "channel": "call", "lang": "en", "text": "Voicemail, 1530h. Good afternoon, this is Patrice Vandermeer in human resources at Harborline Freight Systems. I'm calling about the fertility benefit letter that our employee Josh Okpara asked you to send. We still haven't received it. Our fax is 678-555-0420. Please include the policy number if you have it, it's GRP-30981-C. Thank you.", "spans": [{"start": 42, "end": 60, "type": "NAME"}, {"start": 83, "end": 109, "type": "EMPLOYER"}, {"start": 176, "end": 187, "type": "NAME"}, {"start": 248, "end": 260, "type": "PHONE"}, {"start": 316, "end": 327, "type": "ACCOUNT"}], "known": {"names": ["Josh Okpara"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-113", "channel": "call", "lang": "en", "text": "AI call summary (agent assist)\nCall length 6:42. Caller asked about the cost of an IUI cycle with monitoring and why the invoice showed $1,260 for CPT 58322 plus $310 for ultrasound. Agent explained the global fee, sent the price sheet (form FIN-14 v3). Caller then asked whether letrozole 5 mg can be taken with a progesterone-only pill. Agent escalated to nurse line, ticket TKT-48213. Sentiment: neutral. No scheduling change. Next action: nurse callback within 24h. Room: none. Lot numbers were not discussed.", "spans": [], "known": {}} +{"id": "v11-en-call-114", "channel": "call", "lang": "en", "text": "Agent: The courier needs to drop the cooler. Can you give me a delivery address?\nCaller: It's hard to find. I'm up at 33.7490, -84.3880 if you put that in a maps app. Otherwise, it's the blue house past the Circle K on Hwy 20, and then the second gravel drive on the left.\nAgent: Is there a street number?\nCaller: Not really, it's Rural Route 3. The mailbox says Hollis.\nAgent: Okay Ms. Hollis, the courier will ring you at the number on file.\nCaller: Please. And can you not leave it on the porch, it's going to be 90 degrees.", "spans": [{"start": 118, "end": 135, "type": "ADDRESS"}, {"start": 183, "end": 271, "type": "ADDRESS"}, {"start": 331, "end": 344, "type": "ADDRESS"}, {"start": 363, "end": 369, "type": "NAME"}, {"start": 387, "end": 393, "type": "NAME"}], "known": {"names": ["Pauline Hollis"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-115", "channel": "call", "lang": "en", "text": "Agent: Bonjour, hello, Halifax office.\nCaller: Hi. Um, it's Mélanie LeBlanc. I'm calling to confirm my details for the tax credit form. My postal code is bee three ell, two cee four.\nAgent: And the street?\nCaller: 88 Quinpool Road, Apt 3. I'm in the North End now. Before we lived in Meteghan.\nAgent: Thank you. Date of birth?\nCaller: April the twelfth, nineteen ninety-three.\nAgent: Thanks. Rebecca Goldfarb will complete section B of the Nova Scotia fertility tax credit paperwork.", "spans": [{"start": 60, "end": 75, "type": "NAME"}, {"start": 154, "end": 181, "type": "POSTAL_CODE"}, {"start": 214, "end": 237, "type": "ADDRESS"}, {"start": 250, "end": 259, "type": "ADDRESS"}, {"start": 284, "end": 292, "type": "ADDRESS"}, {"start": 335, "end": 375, "type": "DATE"}, {"start": 392, "end": 408, "type": "PROVIDER"}], "known": {"names": ["Mélanie LeBlanc"], "phones": [], "emails": [], "dates_of_birth": ["1993-04-12"], "addresses": ["88 Quinpool Road, Apt 3, Halifax"], "identifiers": []}} +{"id": "v11-en-call-116", "channel": "call", "lang": "en", "text": "Staff voicemail left on the nurse line, 0655h. Hey, it's Hope. I'm running late, traffic on the Connector. Can you ask Jessica to cover the 0730h monitoring list? Dr. Banks has OR time at 0800h. Also the ultrasound room 3 probe cover box is empty, tell MB we need them before the first retrieval. Thanks guys.", "spans": [{"start": 57, "end": 61, "type": "PROVIDER"}, {"start": 119, "end": 126, "type": "PROVIDER"}, {"start": 167, "end": 172, "type": "PROVIDER"}, {"start": 253, "end": 255, "type": "PROVIDER"}], "known": {}} +{"id": "v11-en-call-117", "channel": "call", "lang": "en", "text": "Agent: Name of the patient, please.\nCaller: Maris all Kinta Nia.\nAgent: I'm sorry, could you spell that?\nCaller: M, A, R, I, S, O, L. Quintanilla. Q, U, I, N, T, A, N, I, L, L, A.\nAgent: Thank you, Marisol Quintanilla. And you are calling about your beta?\nCaller: Yes, I had it Monday. They said under 5 and my husband and I are...\nAgent: I'm so sorry. Let me transfer you to a nurse, Dwayne Jefferson is available.\nCaller: Okay. Thank you.", "spans": [{"start": 44, "end": 63, "type": "NAME"}, {"start": 113, "end": 132, "type": "NAME"}, {"start": 134, "end": 145, "type": "NAME"}, {"start": 147, "end": 178, "type": "NAME"}, {"start": 198, "end": 217, "type": "NAME"}, {"start": 385, "end": 401, "type": "PROVIDER"}], "known": {"names": ["Marisol Quintanilla"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-118", "channel": "call", "lang": "en", "text": "Caller: I want to make a complaint. I've been on hold for forty minutes, I was transferred three times, and nobody could tell me why my invoice is $4,850. I was quoted $3,900 at the consult. I'm not asking for a name or a favor, I just want a manager to look at the fee schedule. Every time I call, they march me back to the same menu. This is the worst experience I've had at any specialist, and I am working shifts at the hospital, I can't sit by the phone.\nAgent: I'm sorry about that. I've logged this as ticket TKT-48977 and escalated it to the practice manager.\nCaller: Fine.", "spans": [], "known": {}} +{"id": "v11-en-call-119", "channel": "call", "lang": "en", "text": "Agent: You said donor eggs. Do you have the donor number for the thaw?\nCaller: Yes. It's ND-20931, from Northfield Cryo. My partner Kayode has the paper. Our record number is... 0083377.\nAgent: Great, thanks Ms. Adeyemi. And the straw numbers?\nCaller: Straw one through six.\nAgent: I see six on hold at the Atlanta lab. Jerome Borden will contact you about the thaw date.\nCaller: Is it the twenty-second still? That was the date I wrote down.", "spans": [{"start": 89, "end": 97, "type": "DONOR_ID"}, {"start": 132, "end": 138, "type": "NAME"}, {"start": 178, "end": 185, "type": "MRN"}, {"start": 212, "end": 219, "type": "NAME"}, {"start": 320, "end": 333, "type": "PROVIDER"}, {"start": 386, "end": 403, "type": "DATE"}], "known": {"names": ["Folasade Adeyemi"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["MRN 0083377", "ND-20931"]}} +{"id": "v11-en-call-120", "channel": "call", "lang": "en", "text": "Agent: Atlanta office, how can I help?\nCaller: I'm calling for my grandmother, Odessa Whitfield. She's 91 years old, and she wants to know if she can sign the records release for her great-grandchild's embryos. I'm her caregiver, my name's Tarika.\nAgent: Is she listed on the patient's file?\nCaller: I don't think so. The patient is my cousin, Janelle Whitfield-Ross.\nAgent: Unfortunately we can only release to the patient. Thao Le can email the form to Janelle directly.\nCaller: Okay, I'll let her know.", "spans": [{"start": 79, "end": 95, "type": "NAME"}, {"start": 103, "end": 105, "type": "AGE"}, {"start": 240, "end": 246, "type": "NAME"}, {"start": 344, "end": 366, "type": "NAME"}, {"start": 425, "end": 432, "type": "PROVIDER"}, {"start": 455, "end": 462, "type": "NAME"}], "known": {"names": ["Janelle Whitfield-Ross"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-121", "channel": "call", "lang": "en", "text": "AI call summary\nInbound, 3:10. Patient asked whether an E2 of 1450 with 14 mm and 16 mm follicles means she should trigger tonight. Agent could not advise. Routed to nurse line, flagged same-day. Patient also asked if Ovidrel needs to be refrigerated (agent: room temp is fine up to 30 days per package, nurse to confirm). No identifiers captured because caller declined to verify. Outcome: callback requested, priority high. Lot and NDC not discussed. Appointment 0930h Thursday unchanged.", "spans": [], "known": {}} +{"id": "v11-en-call-122", "channel": "call", "lang": "en", "text": "Agent: You can pay the balance by card, cheque or e-transfer.\nCaller: Can I Zelle it? I use mlopez88@example.com for Zelle, or Cash App, it's $mlopez88.\nAgent: We can't pull from those. We take payments only to our portal. I can read you the invoice number: INV-30871.\nCaller: Okay. I'm Maribel Lopez, if that helps. Card ending 7702.\nAgent: Thanks, Maribel. I've applied the payment plan, $450 per month. Monique Rich in billing will confirm by email.\nCaller: Wonderful, thank you.", "spans": [{"start": 92, "end": 112, "type": "ACCOUNT"}, {"start": 142, "end": 151, "type": "ACCOUNT"}, {"start": 258, "end": 267, "type": "ACCOUNT"}, {"start": 287, "end": 300, "type": "NAME"}, {"start": 329, "end": 333, "type": "ACCOUNT"}, {"start": 350, "end": 357, "type": "NAME"}, {"start": 406, "end": 418, "type": "PROVIDER"}], "known": {"names": ["Maribel Lopez"], "phones": [], "emails": ["mlopez88@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-123", "channel": "call", "lang": "en", "text": "IVR capture, after hours.\n'You have reached Magnolia Reproductive Associates. Our offices are closed today, the Friday after Thanksgiving, and will reopen Monday at 0700h. For urgent medical needs related to a recent retrieval or transfer, press 1 to be connected to the on-call nurse. For all other matters, please leave a message after the tone or use the patient portal. Messages left after 1900h will be returned the next business day. Thank you and happy holidays.'", "spans": [], "known": {}} +{"id": "v11-en-call-124", "channel": "call", "lang": "en", "text": "Agent: Halifax office. How may I help?\nCaller: Hi, I'd like to send the deposit by Interac e-transfer. Which email do I send it to?\nAgent: That would be through billing. I'll send you a secure request instead.\nCaller: Fine. It would go to nadine.arseneau@example.net. My banking, in case you need it for a refund, is transit 12345-003, account 7788120.\nAgent: We don't need the account details by phone, please don't read those. I'll note the request for Rebecca Goldfarb.\nCaller: Sorry. I'm Nadine Arseneau.\nAgent: Thanks, Nadine.", "spans": [{"start": 239, "end": 266, "type": "EMAIL"}, {"start": 325, "end": 334, "type": "ACCOUNT"}, {"start": 344, "end": 351, "type": "ACCOUNT"}, {"start": 455, "end": 471, "type": "PROVIDER"}, {"start": 492, "end": 507, "type": "NAME"}, {"start": 524, "end": 530, "type": "NAME"}], "known": {"names": ["Nadine Arseneau"], "phones": [], "emails": ["nadine.arseneau@example.net"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-125", "channel": "call", "lang": "en", "text": "Caller: This is for the fertility tax credit. The form asks for my SIN, which is 529 117 304. Should I say it again? Five two nine, one one seven, three zero four.\nAgent: That is fine, I have it. And your spouse's?\nCaller: His is 412 880 659. His name is Samir Haddad-Nasr, and I'm Lina Haddad-Nasr.\nAgent: Thank you, Lina. Rebecca will fill in the clinic part.\nCaller: One more thing, we moved in September so the address on last year's receipts is old.", "spans": [{"start": 81, "end": 92, "type": "SIN"}, {"start": 117, "end": 162, "type": "SIN"}, {"start": 230, "end": 241, "type": "SIN"}, {"start": 255, "end": 272, "type": "NAME"}, {"start": 282, "end": 298, "type": "NAME"}, {"start": 318, "end": 322, "type": "NAME"}, {"start": 324, "end": 331, "type": "PROVIDER"}, {"start": 398, "end": 407, "type": "DATE"}], "known": {"names": ["Lina Haddad-Nasr", "Samir Haddad-Nasr"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-126", "channel": "call", "lang": "en", "text": "Huddle recording, 0715h, transcribed. Okay, quick run-through. Three retrievals, rooms 1 and 2, first one at 0800h. Two FETs at 1030h, both day-5 blastocysts, grades 4AA and 3BB, both PGT-A normal. One IUI at 1130h. Room 3 is down for cleaning until noon, so the HSGs move to 1300h. Lab freezer 4 alarm was a false trip, temp read minus 196. Stims patients: eleven on the list for monitoring, bloods close at 0930h. Remember the new consent form version 6 goes live Monday. That's all, thanks everybody.", "spans": [], "known": {}} +{"id": "v11-en-call-127", "channel": "call", "lang": "en", "text": "Voicemail, 1648h. This message is for the practice manager. My name is Priscilla Dumont, I'm an attorney representing Hector Rivas and Alma Rivas in the matter of their surrogacy agreement, court file number 26-FC-04417. I need a certified copy of the embryo disposition forms, signed. Please send it to the office, my direct line is (404) 555-0261, or email pdumont@example.org. The hearing is on the ninth of January so we are somewhat short on time. Thank you.", "spans": [{"start": 71, "end": 87, "type": "NAME"}, {"start": 118, "end": 130, "type": "NAME"}, {"start": 135, "end": 145, "type": "NAME"}, {"start": 208, "end": 219, "type": "ID"}, {"start": 334, "end": 348, "type": "PHONE"}, {"start": 359, "end": 378, "type": "EMAIL"}, {"start": 402, "end": 418, "type": "DATE"}], "known": {"names": ["Hector Rivas", "Alma Rivas"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-128", "channel": "call", "lang": "en", "text": "AI call summary (agent assist), 18:21\nPatient Geraldine Boateng, DOB 1990-11-02, MRN 0061209. Spouse Kwabena joined at minute 4. Topics covered in order: (1) cancelled FET on Nov 24 because lining was 6.2 mm, (2) whether to switch from oral to patch estrogen, (3) cost of storage renewal, $650 per year, (4) frustration that two nurses gave different instructions. Dr. Okonkwo note requested. Caller mentioned they live in Stone Mountain and the commute is an hour. Follow-up: Hope Comeau to call back by 1700h tomorrow. Caller email on file confirmed: gboateng@example.com.", "spans": [{"start": 46, "end": 63, "type": "NAME"}, {"start": 69, "end": 79, "type": "DATE"}, {"start": 85, "end": 92, "type": "MRN"}, {"start": 101, "end": 108, "type": "NAME"}, {"start": 175, "end": 181, "type": "DATE"}, {"start": 369, "end": 376, "type": "PROVIDER"}, {"start": 423, "end": 437, "type": "ADDRESS"}, {"start": 477, "end": 488, "type": "PROVIDER"}, {"start": 553, "end": 573, "type": "EMAIL"}], "known": {"names": ["Geraldine Boateng"], "phones": [], "emails": ["gboateng@example.com"], "dates_of_birth": ["1990-11-02"], "addresses": [], "identifiers": ["MRN 0061209"]}} +{"id": "v11-en-call-129", "channel": "call", "lang": "en", "text": "Voicemail, 2201h. Hi. It's me again. I don't know who checks these. My bloods came back, AMH 0.8, and my BMI was 31.2 at the consult, and the doctor said the clinic won't do an IVF cycle until I lose weight, but I read online that other places do. I'm not trying to be rude. I just want somebody to explain it without making me feel like it's all my fault. Please don't call before nine tomorrow, I work nights. Thank you. Bye.", "spans": [], "known": {}} +{"id": "v11-en-call-130", "channel": "call", "lang": "en", "text": "Agent: Atlanta office, you're speaking with the virtual assistant.\nCaller: I'm calling to update my work info. I teach at Westmount Elementary, and my insurance is through the school district. My name is Corrine Pettiford.\nAgent: Thank you, Corrine. Do you also want the child's school listed?\nCaller: No, my son Theo is only two. He's at the daycare on Candler Road.\nAgent: Okay, I've updated your employer. Would you like to speak to Layla Saliba about the benefit letter?\nCaller: Yes please, the school district wants it by the end of the month.", "spans": [{"start": 122, "end": 142, "type": "EMPLOYER"}, {"start": 204, "end": 221, "type": "NAME"}, {"start": 241, "end": 248, "type": "NAME"}, {"start": 313, "end": 317, "type": "NAME"}, {"start": 354, "end": 366, "type": "ADDRESS"}, {"start": 436, "end": 448, "type": "PROVIDER"}], "known": {"names": ["Corrine Pettiford"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-131", "channel": "call", "lang": "en", "text": "Voicemail, caseworker. Hello, this is Odalys Brantley with Fulton County Family Services, I'm the caseworker for Mr. and Mrs. Teague. They're foster parents to Kiara, who is nine, and they've asked about egg freezing for their biological daughter Shanice Teague, age twenty-four. Shanice has Medicaid, and I'm calling to see if your clinic has any programs. You can reach me at 404-555-0338, extension 12. Thanks very much.", "spans": [{"start": 38, "end": 53, "type": "NAME"}, {"start": 126, "end": 132, "type": "NAME"}, {"start": 160, "end": 165, "type": "NAME"}, {"start": 247, "end": 261, "type": "NAME"}, {"start": 280, "end": 287, "type": "NAME"}, {"start": 378, "end": 390, "type": "PHONE"}], "known": {"names": ["Shanice Teague"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-132", "channel": "call", "lang": "en", "text": "Agent: Auto reminder. This is Magnolia Reproductive Associates. You have an appointment on your calendar. Please arrive fifteen minutes early. If you cannot make it, call us at least 24 hours in advance. Our Atlanta number is 404-555-0700. To confirm, press 1. To reschedule, press 2. To speak to someone, press 0.\nCaller: [presses 1]\nAgent: Thank you. Your appointment is confirmed. Please remember that the front desk charges a $75 fee for appointments cancelled without notice.", "spans": [], "known": {}} +{"id": "v11-en-call-133", "channel": "call", "lang": "en", "text": "Agent: I just need a vehicle plate for the garage validation.\nCaller: Sure, it's a grey Subaru, plate TFR 4418, Georgia.\nAgent: Thanks. The garage is on Peachtree Park Drive, level 3 is free for patients.\nCaller: I'm also bringing my sister Ayesha as my support person for the retrieval.\nAgent: She'll need her ID at the front desk. And the driver, Ayesha, should be the one who signs you out.\nCaller: Got it. I'm Imani Gaskins by the way, I'm with Dr. Whitaker... sorry, Chase said he'd be doing it.", "spans": [{"start": 102, "end": 110, "type": "ID"}, {"start": 241, "end": 247, "type": "NAME"}, {"start": 349, "end": 355, "type": "NAME"}, {"start": 414, "end": 427, "type": "NAME"}, {"start": 453, "end": 461, "type": "PROVIDER"}, {"start": 472, "end": 477, "type": "PROVIDER"}], "known": {"names": ["Imani Gaskins"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-134", "channel": "call", "lang": "en", "text": "[Interpreter-assisted call, Arabic/English, Halifax]\nAgent: Hello, Halifax office.\nInterpreter: Hello, interpreter Hanan speaking. The patient is Zeinab Khoury, calling about her husband's semen analysis.\nAgent: Thanks. I can only discuss the file with Zeinab. Can she confirm her birth date?\nInterpreter: The third of February, nineteen eighty-eight.\nAgent: And the health card?\nInterpreter: She is reading it: 9876 543 210.\nAgent: Good. Tell her Layla Saliba can see her next week, and she should bring the lab form.", "spans": [{"start": 115, "end": 120, "type": "NAME"}, {"start": 146, "end": 159, "type": "NAME"}, {"start": 253, "end": 259, "type": "NAME"}, {"start": 306, "end": 350, "type": "DATE"}, {"start": 412, "end": 424, "type": "HEALTH_CARD"}, {"start": 448, "end": 460, "type": "PROVIDER"}], "known": {"names": ["Zeinab Khoury"], "phones": [], "emails": [], "dates_of_birth": ["1988-02-03"], "addresses": [], "identifiers": ["9876 543 210"]}} +{"id": "v11-en-call-135", "channel": "call", "lang": "en", "text": "Voicemail, nurse line, 0800h. Hi, I'm calling about the Lupron. I took it at about 2100h last night, then I noticed the pen cap was cracked and I'm not sure I got the whole dose. It's the 14-day kit, lot number on the box ends in 0457. I did not spot or have a headache. Could you tell me if I should repeat tonight's dose or wait? I'm on cycle day 21 and I start estrogen in three days. I'm at my desk until 1700h, I can pick up.", "spans": [], "known": {}} +{"id": "v11-en-call-136", "channel": "call", "lang": "en", "text": "Staff voicemail, internal ext 4402. Hey Summer, it's Kareem. Can you and TW cover the 1030h consult for Dr. Shapiro? AD is out sick and NBD is in the OR. Also the agency nurse badge is not working so please have Selam sign her in. Thank you!", "spans": [{"start": 40, "end": 46, "type": "PROVIDER"}, {"start": 53, "end": 59, "type": "PROVIDER"}, {"start": 73, "end": 75, "type": "PROVIDER"}, {"start": 108, "end": 115, "type": "PROVIDER"}, {"start": 117, "end": 119, "type": "PROVIDER"}, {"start": 136, "end": 139, "type": "PROVIDER"}, {"start": 212, "end": 217, "type": "PROVIDER"}], "known": {}} +{"id": "v11-en-call-137", "channel": "call", "lang": "en", "text": "Agent: Anything else I can put on the account?\nCaller: Yes, we started a GoFundMe, gofundme.example.com/f/baby-for-the-reyes, and if you can add it to our financial counselling notes, I know Monique said it might help with the payment plan.\nAgent: I can note it. Who am I speaking to?\nCaller: Esteban Reyes. My wife is Camila. My other number is 470.555.0129 if you can't reach her.\nAgent: Thanks, Esteban. Our team will reach out.", "spans": [{"start": 83, "end": 124, "type": "URL"}, {"start": 191, "end": 198, "type": "PROVIDER"}, {"start": 293, "end": 306, "type": "NAME"}, {"start": 319, "end": 325, "type": "NAME"}, {"start": 346, "end": 358, "type": "PHONE"}, {"start": 398, "end": 405, "type": "NAME"}], "known": {"names": ["Camila Reyes", "Esteban Reyes"], "phones": ["470-555-0129"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-call-138", "channel": "call", "lang": "en", "text": "Agent: I'll need a mailing address for the medication shipment.\nCaller: Okay. The number is forty-one.\nAgent: Forty-one what?\nCaller: Oak Hollow Lane. Hold on. It's Oak Hollow, two words. Then it's Lilburn.\nAgent: And the zip?\nCaller: three oh oh four seven.\nAgent: Thank you. Forty-one Oak Hollow Lane, Lilburn, three zero zero four seven. Name on the delivery?\nCaller: Rosalind Achebe. A, C, H, E, B, E, I think, no, A-C-H-E-B-E. Yes.", "spans": [{"start": 92, "end": 101, "type": "ADDRESS"}, {"start": 134, "end": 149, "type": "ADDRESS"}, {"start": 165, "end": 175, "type": "ADDRESS"}, {"start": 198, "end": 205, "type": "ADDRESS"}, {"start": 235, "end": 257, "type": "ZIP"}, {"start": 277, "end": 311, "type": "ADDRESS"}, {"start": 313, "end": 339, "type": "ZIP"}, {"start": 371, "end": 386, "type": "NAME"}, {"start": 388, "end": 404, "type": "NAME"}, {"start": 419, "end": 430, "type": "NAME"}], "known": {"names": ["Rosalind Achebe"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": ["41 Oak Hollow Lane, Lilburn, GA"], "identifiers": []}} +{"id": "v11-en-call-139", "channel": "call", "lang": "en", "text": "Pharmacy call, transcript. Hi, this is the tech at Peachtree Specialty Rx. I'm calling to verify the order for a cooler on Thursday. We have Menopur 75 IU, NDC 55566-0204-01, lot 8A2231, expires 03/2027, 10 vials, and cetrorelix 0.25 mg, 7 syringes. Total is $1,184.50 after the manufacturer savings card. Can you confirm that the signature hold is on for the ship date? Our order number is PX-0044192. Call us back at the pharmacy desk, extension 212. Thanks.", "spans": [], "known": {}} +{"id": "v11-en-call-140", "channel": "call", "lang": "en", "text": "Caller: I need to know why I never got my embryo transport paperwork.\nAgent: Let me look. Name?\nCaller: Priya Venkataraman. We're moving to Raleigh in July, and the new clinic asked for a letter from Dr. Deshmukh.\nAgent: I see it was sent to priya.v@example.com.\nCaller: That's the wrong one. It's pvenkat.moving@example.org. My partner Arjun mistyped it.\nAgent: Thank you Priya. I'll resend it. Please allow two to three business days.", "spans": [{"start": 104, "end": 122, "type": "NAME"}, {"start": 140, "end": 147, "type": "ADDRESS"}, {"start": 151, "end": 155, "type": "DATE"}, {"start": 204, "end": 212, "type": "PROVIDER"}, {"start": 242, "end": 261, "type": "EMAIL"}, {"start": 298, "end": 324, "type": "EMAIL"}, {"start": 337, "end": 342, "type": "NAME"}, {"start": 373, "end": 378, "type": "NAME"}], "known": {"names": ["Priya Venkataraman"], "phones": [], "emails": ["priya.v@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-141", "channel": "email", "lang": "en", "text": "From: Delphine Achterberg \nTo: Magnolia Reproductive Associates \nSubject: Re: Re: Re: Beta result and next steps\n\nHi Hope,\n\nThanks for calling yesterday. I'm still confused about the second beta. You said 38 and then the portal says 61. Which is it? Dr. Okonkwo told me on the phone that anything doubling is good but I don't want to get my hopes up again after the last time in February.\n\nAlso, can you confirm you have my right address for the progesterone shipment? It is 7714 Glenridge Trail, Unit 12, Sandy Springs, 30328. The courier left it at the wrong unit twice.\n\nThanks,\nDelphine\n\n> On Tue, Hope Comeau wrote:\n> Hi Delphine, glad we connected. The first beta on Nov 12 was 38 and the repeat on Nov 14 was 61, so that is a rise. Please come in Monday at 0900h for the third.\n>\n> > From: Delphine Achterberg\n> > I had my beta this morning, should I be worried that it's low?", "spans": [{"start": 6, "end": 25, "type": "NAME"}, {"start": 27, "end": 50, "type": "EMAIL"}, {"start": 177, "end": 181, "type": "PROVIDER"}, {"start": 314, "end": 321, "type": "PROVIDER"}, {"start": 439, "end": 447, "type": "DATE"}, {"start": 535, "end": 564, "type": "ADDRESS"}, {"start": 566, "end": 579, "type": "ADDRESS"}, {"start": 581, "end": 586, "type": "ZIP"}, {"start": 642, "end": 650, "type": "NAME"}, {"start": 662, "end": 673, "type": "PROVIDER"}, {"start": 686, "end": 694, "type": "NAME"}, {"start": 733, "end": 739, "type": "DATE"}, {"start": 765, "end": 771, "type": "DATE"}, {"start": 857, "end": 876, "type": "NAME"}], "known": {"names": ["Delphine Achterberg"], "phones": [], "emails": ["dachterberg@example.com"], "dates_of_birth": [], "addresses": ["7714 Glenridge Trail, Unit 12, Sandy Springs, GA 30328"], "identifiers": []}} +{"id": "v11-en-email-142", "channel": "email", "lang": "en", "text": "Subject: Magnolia November Newsletter\n\nHello from Magnolia Reproductive Associates!\n\nIn this issue:\n- Free webinar: 'Egg Freezing 101', Tuesday at 7:00pm ET\n- New Halifax hours: Monday to Thursday, 0800h to 1600h\n- What's new in PGT-A: our lab now reports mosaic embryos by percentage\n- A note from our nursing team on injection tips\n\nOur Atlanta and Halifax offices will be closed on Thursday and Friday for Thanksgiving.\n\nFollow us on Instagram @MagnoliaFertilityATL or visit www.magnolia-ra.example.org.\n\nMagnolia Reproductive Associates - 1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309 - 404-555-0700\nTo stop receiving emails, reply STOP.", "spans": [], "known": {}} +{"id": "v11-en-email-143", "channel": "email", "lang": "en", "text": "From: Marguerite Oyelaran \nTo: Monique Rich \nCc: Femi Oyelaran , Lorraine Tisdale \nSubject: FWD: Denial letter, claim 7704-118-A\n\nMonique, forwarding the denial. Lorraine from Blue Ridge Mutual says it was coded wrong. Member ID is BRM 8830 2214 05, group G-440182. Can you rebill with the correct diagnosis? We have until December 19 to appeal.\n\nMarguerite\n\n---------- Forwarded message ----------\nFrom: Lorraine Tisdale \nDate: Nov 10, 2026\nSubject: Your denial\n\nDear Ms. Oyelaran,\nYour claim has been denied. Appeals must be filed in 45 days.", "spans": [{"start": 6, "end": 25, "type": "NAME"}, {"start": 27, "end": 58, "type": "EMAIL"}, {"start": 64, "end": 76, "type": "PROVIDER"}, {"start": 115, "end": 128, "type": "NAME"}, {"start": 130, "end": 155, "type": "EMAIL"}, {"start": 158, "end": 174, "type": "NAME"}, {"start": 176, "end": 196, "type": "EMAIL"}, {"start": 233, "end": 243, "type": "ACCOUNT"}, {"start": 245, "end": 252, "type": "PROVIDER"}, {"start": 277, "end": 285, "type": "NAME"}, {"start": 347, "end": 363, "type": "HEALTH_CARD"}, {"start": 371, "end": 379, "type": "ACCOUNT"}, {"start": 438, "end": 449, "type": "DATE"}, {"start": 462, "end": 472, "type": "NAME"}, {"start": 520, "end": 536, "type": "NAME"}, {"start": 538, "end": 558, "type": "EMAIL"}, {"start": 566, "end": 578, "type": "DATE"}, {"start": 610, "end": 618, "type": "NAME"}], "known": {"names": ["Marguerite Oyelaran", "Femi Oyelaran"], "phones": [], "emails": ["marguerite.oyelaran@example.net"], "dates_of_birth": [], "addresses": [], "identifiers": ["BRM 8830 2214 05"]}} +{"id": "v11-en-email-144", "channel": "email", "lang": "en", "text": "Subject: Your results are available\n\nA new result has been posted to your patient portal.\n\nTo view it, sign in at https://portal.magnolia-ra.example.org. For your privacy, we do not include results in email.\n\nIf you did not expect this message, please contact our front desk at 404-555-0700 (Atlanta) or 902-555-0710 (Halifax).\n\nThis email was sent from an unmonitored address. Do not reply. Accession batch 2026-1120-B. Magnolia Reproductive Associates.", "spans": [], "known": {}} +{"id": "v11-en-email-145", "channel": "email", "lang": "en", "text": "From: Oluwaseun Adebayo-Clarke \nTo: billing@magnolia-ra.example.org\nSubject: Refund details\n\nHello billing,\n\nPlease send the refund of the cancelled cycle to my bank in the UK. IBAN GB82 TEST 1234 5698 7654 32, BIC TESTGB2L, account holder Oluwaseun Adebayo-Clarke. I know it takes longer but I'm back in Lagos next month.\n\nMy deposit was invoice number INV-30119, $2,400, and I paid with card ending 3391.\n\nRegards,\nSeun\n\nOluwaseun Adebayo-Clarke\nSent from my iPhone", "spans": [{"start": 6, "end": 30, "type": "NAME"}, {"start": 32, "end": 56, "type": "EMAIL"}, {"start": 208, "end": 235, "type": "ACCOUNT"}, {"start": 266, "end": 290, "type": "NAME"}, {"start": 331, "end": 336, "type": "ADDRESS"}, {"start": 380, "end": 389, "type": "ACCOUNT"}, {"start": 427, "end": 431, "type": "ACCOUNT"}, {"start": 443, "end": 447, "type": "NAME"}, {"start": 449, "end": 473, "type": "NAME"}], "known": {"names": ["Oluwaseun Adebayo-Clarke"], "phones": [], "emails": ["seun.adebayo@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-146", "channel": "email", "lang": "en", "text": "From: Bernadette Quigley, Benefits Specialist\nTo: Walter Pruitt\nCc: Layla Saliba\nSubject: Re: Your fertility coverage letter\n\nHi Walter,\n\nI got the form back from the clinic. Under the Evergreen Health Plan the lifetime maximum for fertility treatment is $25,000, and you have used $11,200. The remaining balance is available once you pay the deductible. Reference: EHP-2026-77301.\n\nBest,\nBernadette\n\nBernadette Quigley\nBenefits Specialist, Stonefield Manufacturing Group\nDirect: (770) 555-0212", "spans": [{"start": 6, "end": 24, "type": "NAME"}, {"start": 50, "end": 63, "type": "NAME"}, {"start": 68, "end": 80, "type": "PROVIDER"}, {"start": 129, "end": 135, "type": "NAME"}, {"start": 366, "end": 380, "type": "ACCOUNT"}, {"start": 389, "end": 399, "type": "NAME"}, {"start": 401, "end": 419, "type": "NAME"}, {"start": 441, "end": 471, "type": "EMPLOYER"}, {"start": 480, "end": 494, "type": "PHONE"}], "known": {"names": ["Walter Pruitt"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-147", "channel": "email", "lang": "en", "text": "From: Jessica Hartley\nTo: Nursing team\nSubject: Stim protocol update, effective Monday\n\nTeam,\n\nPer Dr. Banks and Dr. Okonkwo, we are changing the antagonist start to day 5 for all standard responders, flexible start for AMH under 1.0. Gonadotropin starting doses stay the same, 150 to 225 IU. Trigger is now dual for any patient with E2 over 3000.\n\nPlease update the cheat sheet (v7) and the patient handout. MJP has the new template. Questions to me or HC.\n\nThanks,\nJess\n\nProtocol doc: PRT-STIM-07", "spans": [{"start": 6, "end": 21, "type": "PROVIDER"}, {"start": 103, "end": 108, "type": "PROVIDER"}, {"start": 117, "end": 124, "type": "PROVIDER"}, {"start": 409, "end": 412, "type": "PROVIDER"}, {"start": 454, "end": 456, "type": "PROVIDER"}, {"start": 467, "end": 471, "type": "PROVIDER"}], "known": {}} +{"id": "v11-en-email-148", "channel": "email", "lang": "en", "text": "From: Dr. Alan Pemberton, Perimeter Women's Health\nTo: Magnolia Reproductive Associates \nSubject: Referral: Sunita Raghavan, DOB 1984-06-17\n\nDear colleagues,\n\nI am referring Mrs. Raghavan, a 42-year-old G1P0 with unexplained infertility for three years and diminished ovarian reserve (AMH 0.4). She had a normal HSG in March and her husband's semen analysis was normal. Please advise on IVF with PGT-A. She lives in Alpharetta and works at Crestline Software.\n\nHer phone is 678-555-0377. Records attached as 'Scan - Raghavan, Sunita.pdf'.\n\nSincerely,\nDr. Pemberton\nFax: 770-555-0391", "spans": [{"start": 10, "end": 24, "type": "PROVIDER"}, {"start": 143, "end": 158, "type": "NAME"}, {"start": 164, "end": 174, "type": "DATE"}, {"start": 214, "end": 222, "type": "NAME"}, {"start": 354, "end": 359, "type": "DATE"}, {"start": 451, "end": 461, "type": "ADDRESS"}, {"start": 475, "end": 493, "type": "EMPLOYER"}, {"start": 509, "end": 521, "type": "PHONE"}, {"start": 551, "end": 567, "type": "NAME"}, {"start": 590, "end": 599, "type": "PROVIDER"}, {"start": 605, "end": 617, "type": "PHONE"}], "known": {"names": ["Sunita Raghavan"], "phones": ["678-555-0377"], "emails": [], "dates_of_birth": ["1984-06-17"], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-149", "channel": "email", "lang": "en", "text": "Subject: Formal complaint\n\nTo whom it may concern,\n\nI am writing to complain about the care my wife and I received. We have been patients since April 2025 and the experience has declined each month. I was told the wrong thing about embryo storage fees by three different people. I will be copying my attorney, Desmond Okeke, on all further correspondence.\n\nI expect a response within seven days.\n\nChukwuma Ibe\n412 Dunwoody Club Drive\n+1 770 555 0149\n\nCc: Desmond Okeke ", "spans": [{"start": 144, "end": 154, "type": "DATE"}, {"start": 310, "end": 323, "type": "NAME"}, {"start": 397, "end": 409, "type": "NAME"}, {"start": 410, "end": 433, "type": "ADDRESS"}, {"start": 434, "end": 449, "type": "PHONE"}, {"start": 455, "end": 468, "type": "NAME"}, {"start": 470, "end": 488, "type": "EMAIL"}], "known": {"names": ["Chukwuma Ibe"], "phones": ["770-555-0149"], "emails": [], "dates_of_birth": [], "addresses": ["412 Dunwoody Club Drive, Dunwoody, GA"], "identifiers": []}} +{"id": "v11-en-email-150", "channel": "email", "lang": "en", "text": "Subject: Questions about egg freezing\n\nHi there,\n\nI'm thirty-one and thinking about freezing my eggs next year. I have a few questions before I book a consult:\n\n1. What is the total cost, including medication and storage?\n2. How many cycles do people usually need?\n3. Is AMH testing required at the consult or can it be done earlier at my family doctor?\n4. Do you offer financing?\n\nI saw on your Instagram that you do a free info night. Is that still happening?\n\nThanks very much,\nA future patient", "spans": [], "known": {}} +{"id": "v11-en-email-151", "channel": "email", "lang": "en", "text": "From: Cassidy Moreau \nTo: billing@magnolia-ra.example.org\nSubject: Re: Invoice\n\nHi, my invoice is INV-30662. I'd like to pay half now and half in December. I can send via Venmo @cassidy-moreau-4 if you have one. If not, I'll use the portal.\n\nAlso my HSA account number is HSA-00448129, can you submit the claim to them directly?\n\nThank you,\nCass", "spans": [{"start": 6, "end": 20, "type": "NAME"}, {"start": 22, "end": 44, "type": "EMAIL"}, {"start": 122, "end": 131, "type": "ACCOUNT"}, {"start": 201, "end": 218, "type": "ACCOUNT"}, {"start": 296, "end": 308, "type": "ACCOUNT"}, {"start": 365, "end": 369, "type": "NAME"}], "known": {"names": ["Cassidy Moreau"], "phones": [], "emails": ["cassmoreau@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-152", "channel": "email", "lang": "en", "text": "Hi Nurse Hope,\n\nThis is Dante, Alicia Brennan's husband. She asked me to write because she's not feeling well after the retrieval, a lot of pain on her left side and she's been vomiting since about 1800h. We're at home. She says it's different from the cramping they told us about. Should we go to the ER or wait until tomorrow morning?\n\nMy cell is 404-555-0188, please call right away.\n\nDante Brennan\nSent from my iPhone", "spans": [{"start": 9, "end": 13, "type": "PROVIDER"}, {"start": 24, "end": 29, "type": "NAME"}, {"start": 31, "end": 45, "type": "NAME"}, {"start": 349, "end": 361, "type": "PHONE"}, {"start": 388, "end": 401, "type": "NAME"}], "known": {"names": ["Alicia Brennan"], "phones": ["404-555-0166"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-153", "channel": "email", "lang": "en", "text": "From: Josée Doucet \nTo: halifax office\nSubject: Address change for tax credit\n\nHello,\n\nPlease update my address to: 123, rue Principale, app. 4, Chéticamp, Nova Scotia, B0E 1H0. My spouse Luc Doucet and I moved there in August for his job at Cabot Trail Seafoods.\n\nMy health card number is 2468 135 790 and my date of birth is 1992-02-29. Rebecca Goldfarb asked for it for the form.\n\nMerci,\nJosée", "spans": [{"start": 6, "end": 18, "type": "NAME"}, {"start": 20, "end": 39, "type": "EMAIL"}, {"start": 137, "end": 164, "type": "ADDRESS"}, {"start": 166, "end": 175, "type": "ADDRESS"}, {"start": 190, "end": 197, "type": "POSTAL_CODE"}, {"start": 209, "end": 219, "type": "NAME"}, {"start": 241, "end": 247, "type": "DATE"}, {"start": 263, "end": 283, "type": "EMPLOYER"}, {"start": 311, "end": 323, "type": "HEALTH_CARD"}, {"start": 348, "end": 358, "type": "DATE"}, {"start": 360, "end": 376, "type": "PROVIDER"}, {"start": 412, "end": 417, "type": "NAME"}], "known": {"names": ["Josée Doucet"], "phones": [], "emails": ["jdoucet@example.net"], "dates_of_birth": ["1992-02-29"], "addresses": ["45 Chemin du Cap, Chéticamp, NS"], "identifiers": ["2468 135 790"]}} +{"id": "v11-en-email-154", "channel": "email", "lang": "en", "text": "Subject: New message in your portal\n\nHello,\n\nYou have 1 new secure message from your care team. Sign in at https://portal.magnolia-ra.example.org to read it. Messages are available for 90 days.\n\nNeed help? Visit magnolia-ra.example.org/portal or call 404-555-0700.\n\nThis is an automated notice. Do not reply. Magnolia Reproductive Associates, 1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309.", "spans": [], "known": {}} +{"id": "v11-en-email-155", "channel": "email", "lang": "en", "text": "From: Whitney Castellano, Case Manager, Harbor Surrogacy Partners\nTo: Thao Le\nCc: Jared Moss, Ellen Moss\nSubject: Surrogate screening records for Bria Lamont\n\nHi Thao,\n\nAttached are the medical screening records for our gestational carrier Bria Lamont, DOB 1993-08-20. She lives at PO Box 118, Cartersville. The intended parents, Jared and Ellen, would like to schedule the mock cycle for the week of December 7.\n\nAgency file: HSP-26-0412\nDonor egg ID: EGG-77214\n\nBest,\nWhitney\n404-555-0293", "spans": [{"start": 6, "end": 24, "type": "NAME"}, {"start": 70, "end": 77, "type": "PROVIDER"}, {"start": 82, "end": 92, "type": "NAME"}, {"start": 94, "end": 104, "type": "NAME"}, {"start": 146, "end": 157, "type": "NAME"}, {"start": 162, "end": 166, "type": "PROVIDER"}, {"start": 240, "end": 251, "type": "NAME"}, {"start": 257, "end": 267, "type": "DATE"}, {"start": 282, "end": 292, "type": "ADDRESS"}, {"start": 294, "end": 306, "type": "ADDRESS"}, {"start": 330, "end": 335, "type": "NAME"}, {"start": 340, "end": 345, "type": "NAME"}, {"start": 401, "end": 411, "type": "DATE"}, {"start": 427, "end": 438, "type": "ID"}, {"start": 453, "end": 462, "type": "DONOR_ID"}, {"start": 470, "end": 477, "type": "NAME"}, {"start": 478, "end": 490, "type": "PHONE"}], "known": {"names": ["Bria Lamont", "Jared Moss", "Ellen Moss"], "phones": [], "emails": [], "dates_of_birth": ["1993-08-20"], "addresses": [], "identifiers": ["EGG-77214"]}} +{"id": "v11-en-email-156", "channel": "email", "lang": "en", "text": "From: Cryo Supply Co. Orders\nTo: Jerome Borden\nSubject: Order confirmation PO-2026-0888\n\nThank you for your order.\n\nItem: Liquid nitrogen dewar, 35L, 1 each, $1,180.00\nItem: Cryo straws 0.25 mL, case of 500, $412.00\nItem: Vitrification kit, lot 5K2204, exp 06/2027, qty 4\nShipping: 3 to 5 business days to 1180 Peachtree Park Drive NE, Suite 400, Atlanta GA 30309\n\nTrack: TRK-90044172\n\nQuestions? Call 800-555-0111 or reply to this email.", "spans": [{"start": 33, "end": 46, "type": "PROVIDER"}], "known": {}} +{"id": "v11-en-email-157", "channel": "email", "lang": "en", "text": "Hi,\n\nI need to move Thursday's appointment. I'm on a work trip so I won't be back until the weekend. Also, for the courier, when I'm home, the drop location is at 34.0522, -84.2980 near the barn, the driveway is unmarked.\n\nMy FSA account is under my employer, Meridian Dental Group, and the number is FSA-7720-5531.\n\nThanks,\nT. Valcourt\ntvalcourt@example.com", "spans": [{"start": 163, "end": 180, "type": "ADDRESS"}, {"start": 260, "end": 281, "type": "EMPLOYER"}, {"start": 301, "end": 314, "type": "ACCOUNT"}, {"start": 325, "end": 336, "type": "NAME"}, {"start": 337, "end": 358, "type": "EMAIL"}], "known": {"names": ["Thibault Valcourt"], "phones": [], "emails": ["tvalcourt@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-158", "channel": "email", "lang": "en", "text": "From: Selam Bekele\nTo: Marcus Banks, Hope Comeau\nSubject: Fwd: Re: Fwd: patient transfer\n\nFYI, see below. Pt wants to transfer embryos to the Raleigh clinic.\n\n-----Original Message-----\nFrom: Imogen Prescott \nSent: Tuesday, November 17, 2026 3:42 PM\nTo: Selam Bekele\nSubject: Re: Fwd: patient transfer\n\nHi Selam, my embryos (6 frozen, day 5) are to go to the other clinic. Shipping date December 2. Their lab is asking for the signed release.\n\n-----Original Message-----\nFrom: Selam Bekele\nSent: Monday, November 16, 2026 10:05 AM\nTo: Imogen Prescott\n\nHi Imogen, attached is the release form. Please sign page 3.", "spans": [{"start": 6, "end": 18, "type": "PROVIDER"}, {"start": 23, "end": 35, "type": "PROVIDER"}, {"start": 37, "end": 48, "type": "PROVIDER"}, {"start": 192, "end": 207, "type": "NAME"}, {"start": 209, "end": 230, "type": "EMAIL"}, {"start": 238, "end": 264, "type": "DATE"}, {"start": 277, "end": 289, "type": "PROVIDER"}, {"start": 329, "end": 334, "type": "PROVIDER"}, {"start": 410, "end": 420, "type": "DATE"}, {"start": 500, "end": 512, "type": "PROVIDER"}, {"start": 519, "end": 544, "type": "DATE"}, {"start": 558, "end": 573, "type": "NAME"}, {"start": 578, "end": 584, "type": "NAME"}], "known": {"names": ["Imogen Prescott"], "phones": [], "emails": ["iprescott@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-159", "channel": "email", "lang": "en", "text": "hey can you guys tell me if the doctor got my cd3 labs, FSH 7.1 and E2 38? not sure if the lab faxed them. thx\n\nNoelle P", "spans": [{"start": 112, "end": 120, "type": "NAME"}], "known": {"names": ["Noelle Prater"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-160", "channel": "email", "lang": "en", "text": "From: Isaiah Fontenot \nTo: support@magnolia-ra.example.org\nSubject: Re: [TKT-49002] Portal login not working\n\nStill locked out. I tried the reset link you sent and it says the link expired. I'm trying from my laptop and my phone. Please just call me, (678) 555-0412.\n\n---\nOn Wed, Thao Le wrote:\n> Hi Isaiah, we've reset it again. Please use the new link within 30 minutes.\n>\n> On Nov 16, Isaiah wrote:\n> > The link in the email goes to a blank page.\n> >\n> > On Nov 13, support wrote:\n> > > Thank you for contacting Magnolia. Your ticket number is TKT-49002. Please do not send your date of birth by email. A team member will respond within two business days.", "spans": [{"start": 6, "end": 21, "type": "NAME"}, {"start": 23, "end": 44, "type": "EMAIL"}, {"start": 274, "end": 288, "type": "PHONE"}, {"start": 303, "end": 310, "type": "PROVIDER"}, {"start": 323, "end": 329, "type": "NAME"}, {"start": 403, "end": 409, "type": "DATE"}, {"start": 411, "end": 417, "type": "NAME"}, {"start": 484, "end": 490, "type": "DATE"}], "known": {"names": ["Isaiah Fontenot"], "phones": ["678-555-0412"], "emails": ["ifontenot@example.net"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-161", "channel": "email", "lang": "en", "text": "Subject: Policy updates, effective January 1\n\nDear patients,\n\nWe are making three changes to our policies:\n\n1. Late cancellation fee for monitoring visits is now $50. Procedures remain $150.\n2. Our consent forms are being updated to version 7. You may be asked to re-sign at your next visit.\n3. Prescription refill requests must be made through the portal at least 72 hours before you run out.\n\nOur offices will be closed December 24 to 26 and on January 1. The nurse line remains open for urgent needs.\n\nThank you for trusting us with your care.\n\nMagnolia Reproductive Associates\nAtlanta 404-555-0700 - Halifax 902-555-0710\nwww.magnolia-ra.example.org", "spans": [], "known": {}} +{"id": "v11-en-email-162", "channel": "email", "lang": "en", "text": "From: Sgt. Marcellus Boone \nTo: Magnolia Reproductive \nSubject: Mailing address for my wife's meds\n\nMy wife Krista Boone is staying with her mother while I'm deployed. Please ship to her at Unit 3, Barracks Row 14, Fort Moore, 31905. My military mailing address is PSC 4012, Box 88, APO AE 09720. I'm 1294-77-0831 for the military ID if you need it. We'll be at the clinic in January.\n\nMarcellus", "spans": [{"start": 11, "end": 26, "type": "NAME"}, {"start": 28, "end": 53, "type": "EMAIL"}, {"start": 165, "end": 177, "type": "NAME"}, {"start": 247, "end": 282, "type": "ADDRESS"}, {"start": 284, "end": 289, "type": "ZIP"}, {"start": 322, "end": 338, "type": "ADDRESS"}, {"start": 347, "end": 352, "type": "ZIP"}, {"start": 358, "end": 370, "type": "ID"}, {"start": 433, "end": 440, "type": "DATE"}, {"start": 443, "end": 452, "type": "NAME"}], "known": {"names": ["Krista Boone"], "phones": [], "emails": ["mboone.family@example.org"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-163", "channel": "email", "lang": "en", "text": "Subject: Thank you, and a hard goodbye\n\nTo the nurses and doctors who looked after me,\n\nI wanted to write because I don't know how to say this on the phone. After the miscarriage last week we have decided to take a break. I want you to know that every single person on that floor was kind, from the people at the front desk to the person who held my hand during the scan. Please tell them I said thank you. I'm not ready to talk about next steps, and I would be grateful if nobody calls me for a while.\n\nWith love and gratitude,\nA patient", "spans": [], "known": {}} +{"id": "v11-en-email-164", "channel": "email", "lang": "en", "text": "From: Monica Alvarenga\nTo: Layla Saliba\nSubject: Accommodation letter request\n\nHi Layla,\n\nMy employer, Brightwater Logistics, is asking for a letter confirming that my IVF schedule requires early morning appointments (0700h to 0900h) through early December. The HR coordinator is Greg Tolliver and his email is gtolliver@example.com. They want it addressed to him.\n\nPlease keep the details minimal, I haven't told my manager anything.\n\nThanks!\nMonica", "spans": [{"start": 6, "end": 22, "type": "NAME"}, {"start": 27, "end": 39, "type": "PROVIDER"}, {"start": 82, "end": 87, "type": "PROVIDER"}, {"start": 103, "end": 124, "type": "EMPLOYER"}, {"start": 242, "end": 256, "type": "DATE"}, {"start": 280, "end": 293, "type": "NAME"}, {"start": 311, "end": 332, "type": "EMAIL"}, {"start": 444, "end": 450, "type": "NAME"}], "known": {"names": ["Monica Alvarenga"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-165", "channel": "email", "lang": "en", "text": "Good day,\n\nMy name is Chinedu Obi and my wife is Ngozi Obi. We are from the Nigerian community in Lithonia and a friend recommended your clinic. We would like to pay the consult deposit by wire. My bank is routing 061000052 account 0048812207. Please send us the clinic details. Also my wife's passport number is A12345678 if you need it for the international records transfer from Lagos.\n\nKind regards,\nChinedu Obi\n+1 (678) 555-0324", "spans": [{"start": 22, "end": 33, "type": "NAME"}, {"start": 49, "end": 58, "type": "NAME"}, {"start": 98, "end": 106, "type": "ADDRESS"}, {"start": 214, "end": 223, "type": "ACCOUNT"}, {"start": 232, "end": 242, "type": "ACCOUNT"}, {"start": 313, "end": 322, "type": "ID"}, {"start": 404, "end": 415, "type": "NAME"}, {"start": 416, "end": 433, "type": "PHONE"}], "known": {"names": ["Chinedu Obi", "Ngozi Obi"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-166", "channel": "email", "lang": "en", "text": "From: Jerome Borden\nTo: Dr. Okonkwo, Dr. Banks, AD, NBD\nSubject: Embryology weekly\n\nHi all,\n\nBlast rate last month 52%, fertilization 78% (ICSI 81%). Incubator 2 CO2 drifted to 6.4%, recalibrated 11/12, no embryos affected. PGT-A biopsy turnaround from the reference lab averages 9 days. Freezer 4 inventory audit complete, no discrepancies. New dewar arrives next week.\n\nJB", "spans": [{"start": 6, "end": 19, "type": "PROVIDER"}, {"start": 28, "end": 35, "type": "PROVIDER"}, {"start": 41, "end": 46, "type": "PROVIDER"}, {"start": 48, "end": 50, "type": "PROVIDER"}, {"start": 52, "end": 55, "type": "PROVIDER"}, {"start": 372, "end": 374, "type": "PROVIDER"}], "known": {}} +{"id": "v11-en-email-167", "channel": "email", "lang": "en", "text": "Subject: Meet FertiTrack, the cycle app clinics love\n\nHi there,\n\nWe're FertiTrack. Our app syncs with thermometers, ovulation strips and wearable bands to chart cycle day, BBT and LH. Clinics get a dashboard and your patients get reminders for meds. Pricing starts at $19 per month per provider, with a 60-day trial.\n\nBook a demo: www.fertitrack-demo.example.com\n\nBest,\nThe FertiTrack team\n\nUnsubscribe: reply with the word STOP.", "spans": [], "known": {}} +{"id": "v11-en-email-168", "channel": "email", "lang": "en", "text": "From: Alanna Sack \nTo: Halifax office\nSubject: Question about travel\n\nHello, I'm from Eskasoni First Nation on Cape Breton and I'm about three and a half hours from Halifax. For monitoring, can I do bloods at the health centre in Eskasoni and send them to you? My health card is 1357 924 680. I may also need a letter for non-insured health benefits transport. My band number is BN-4471-210.\n\nWela'lioq,\nAlanna Sack", "spans": [{"start": 6, "end": 17, "type": "NAME"}, {"start": 19, "end": 36, "type": "EMAIL"}, {"start": 105, "end": 126, "type": "ADDRESS"}, {"start": 249, "end": 257, "type": "ADDRESS"}, {"start": 298, "end": 310, "type": "HEALTH_CARD"}, {"start": 398, "end": 409, "type": "ID"}, {"start": 423, "end": 434, "type": "NAME"}], "known": {"names": ["Alanna Sack"], "phones": [], "emails": ["asack@example.net"], "dates_of_birth": [], "addresses": [], "identifiers": ["1357 924 680"]}} +{"id": "v11-en-email-169", "channel": "email", "lang": "en", "text": "From: Ji-woo Han \nTo: frontdesk@magnolia-ra.example.org\nSubject: Re: Consult booking\n\nHi,\n\nYes, Thursday at 1:30pm ET works. My husband Dong-hyun Han will come with me. We live in Duluth, off Pleasant Hill Road, so we will try to leave early. I attached my husband's passport and my Korean ID.\n\nAlso can Dr. Park see us, or is Dr. Min-jun Park a man? A friend said he speaks Korean.\n\nThank you,\nJi-woo", "spans": [{"start": 6, "end": 16, "type": "NAME"}, {"start": 18, "end": 35, "type": "EMAIL"}, {"start": 155, "end": 168, "type": "NAME"}, {"start": 199, "end": 205, "type": "ADDRESS"}, {"start": 211, "end": 229, "type": "ADDRESS"}, {"start": 327, "end": 331, "type": "PROVIDER"}, {"start": 350, "end": 362, "type": "PROVIDER"}, {"start": 414, "end": 420, "type": "NAME"}], "known": {"names": ["Ji-woo Han", "Dong-hyun Han"], "phones": [], "emails": ["jwhan@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-170", "channel": "email", "lang": "en", "text": "Subject: Security alert: new sign-in to your portal\n\nHello Renee,\n\nWe noticed a sign-in to your patient portal account:\n\nUser: rpoitier_5530\nTime: 2026-11-18 21:14 ET\nIP address: 203.0.113.45\nDevice: Chrome on Windows\n\nIf this was you, no action is needed. If not, reset your password at https://portal.magnolia-ra.example.org. Last known sign-in was from 198.51.100.7.\n\nMagnolia Reproductive Associates Security", "spans": [{"start": 59, "end": 64, "type": "NAME"}, {"start": 127, "end": 140, "type": "ID"}, {"start": 179, "end": 191, "type": "IP_ADDRESS"}, {"start": 356, "end": 368, "type": "IP_ADDRESS"}], "known": {"names": ["Renee Poitier"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["rpoitier_5530"]}} +{"id": "v11-en-email-171", "channel": "email", "lang": "en", "text": "Hi,\n\nQuick question for the nurses. I'm on estradiol 2 mg twice a day and progesterone suppositories 200 mg, and my GP just prescribed amoxicillin 500 mg for a sinus infection. Is that okay with the transfer? Also can I use Tylenol for headaches? I take levothyroxine 75 mcg in the morning, my TSH was 1.9. I'd rather email than call because I'm at work most of the day.\n\nThanks a lot", "spans": [], "known": {}} +{"id": "v11-en-email-172", "channel": "email", "lang": "en", "text": "From: Rosalind Greer, Attorney at Law\nTo: Thao Le\nSubject: Known donor agreement, Hadley matter\n\nDear Ms. Le,\n\nI represent Hadley Vance and Priyanka Vance regarding the known donor, Tobias Reiner. Please find the executed donor agreement under court docket 26-DR-1182. The donor's screening results should be released to our office only on written authorization from Mr. Reiner.\n\nOur office: 900 Marietta Street NW, Suite 8, Atlanta.\n\nSincerely,\nRosalind Greer", "spans": [{"start": 6, "end": 20, "type": "NAME"}, {"start": 42, "end": 49, "type": "PROVIDER"}, {"start": 82, "end": 88, "type": "NAME"}, {"start": 106, "end": 108, "type": "PROVIDER"}, {"start": 123, "end": 135, "type": "NAME"}, {"start": 140, "end": 154, "type": "NAME"}, {"start": 182, "end": 195, "type": "NAME"}, {"start": 257, "end": 267, "type": "ID"}, {"start": 371, "end": 377, "type": "NAME"}, {"start": 392, "end": 423, "type": "ADDRESS"}, {"start": 446, "end": 460, "type": "NAME"}], "known": {"names": ["Hadley Vance", "Priyanka Vance"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-173", "channel": "email", "lang": "en", "text": "Subject: Lab report summary, batch 2026-1117\n\nSemen analysis summary (5 samples, deidentified for QC):\nVolume 1.8 to 4.2 mL. Concentration 4 to 62 M/mL. Total motility 22% to 58%. Strict morphology 2% to 6%. DFI testing not performed. Two samples recommended for ICSI. Accession numbers 88104 to 88108. Reagent lot 77A9, exp 08/2027. Incubator temp 37.0 C, humidity 91%. Sperm wash media pH 7.4. Reported to the Atlanta lab director for sign-off.", "spans": [], "known": {}} +{"id": "v11-en-email-174", "channel": "email", "lang": "en", "text": "Hi team,\n\nHere's my cycle data export from the app. Account name is mayattc_2026, and the thermometer is serial BT-882-014471. It shows an LH surge on cycle day 13, and I had my IUI on Nov 19. The wearable band is a different serial, WB-33-70912. I attached the PDF.\n\nMaya Thorne\nmaya.thorne@example.com", "spans": [{"start": 68, "end": 80, "type": "ID"}, {"start": 112, "end": 125, "type": "ID"}, {"start": 185, "end": 191, "type": "DATE"}, {"start": 234, "end": 245, "type": "ID"}, {"start": 268, "end": 279, "type": "NAME"}, {"start": 280, "end": 303, "type": "EMAIL"}], "known": {"names": ["Maya Thorne"], "phones": [], "emails": ["maya.thorne@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-email-175", "channel": "email", "lang": "en", "text": "From: Jessica Hartley\nTo: Ruth Ann Delacroix \nSubject: Re: Re: Day 6 monitoring\n\nHi Ruth Ann,\n\nYour estradiol today was 840 and you have three follicles at 12 mm. Keep the same dose of 225 IU tonight and come back in Saturday the 21st at 0830h, not Friday.\n\nJessica\n\nOn Thu, Ruth Ann wrote:\n> Is it normal to bloat this much? Also I'll be at my mother's in Peachtree City Friday night, can I still do the injection there?\n>\n> On Wed, Jessica Hartley wrote:\n> > Hi Ruth Ann, see you Thursday at 0800h. Hartley sorry, I'm a nurse practitioner, I'll leave the doctor titles to others.", "spans": [{"start": 6, "end": 21, "type": "PROVIDER"}, {"start": 26, "end": 44, "type": "NAME"}, {"start": 46, "end": 68, "type": "EMAIL"}, {"start": 108, "end": 116, "type": "NAME"}, {"start": 241, "end": 258, "type": "DATE"}, {"start": 282, "end": 289, "type": "PROVIDER"}, {"start": 299, "end": 307, "type": "NAME"}, {"start": 381, "end": 395, "type": "ADDRESS"}, {"start": 458, "end": 473, "type": "PROVIDER"}, {"start": 488, "end": 496, "type": "NAME"}, {"start": 525, "end": 532, "type": "PROVIDER"}], "known": {"names": ["Ruth Ann Delacroix"], "phones": [], "emails": ["rdelacroix@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-note-176", "channel": "note", "lang": "en", "text": "Triage 1420h. Pt KJ 34yo G2P1 c/o cramping L>R x2d, 6 days post ET (FET, day-5 4AA). No bleeding, afebrile, no N/V. Hx 1 prior MC. Reassured, advised rest, hydrate, continue PIO 50 mg + estradiol. Repeat HCG on schedule. If heavy bleed or pain >7/10 -> ER. D/w HC, ok per MB. F/u call tomorrow. Pt voiced understanding. Husband Dre on speaker.", "spans": [{"start": 17, "end": 19, "type": "NAME"}, {"start": 261, "end": 263, "type": "PROVIDER"}, {"start": 272, "end": 274, "type": "PROVIDER"}, {"start": 328, "end": 331, "type": "NAME"}], "known": {"names": ["Kiana Jeffries"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-note-177", "channel": "note", "lang": "en", "text": "WHITEBOARD (transcribed 0645h)\nRm 1: retrieval 0800, anesth in at 0745\nRm 2: retrieval 0900\nRm 3: FET 1030 (4AA, 3BB), embryology to thaw 0930\nRm 4: IUI 1130\nUS room: monitoring list 0700-0930, 14 pts\nLab: freezer 4 alarm checked ok, LN2 top-up due\nPharmacy cooler pickup 1500\nStaff mtg Thurs 1215 ext 4410\nDO NOT book HSG in Rm 3 until Monday", "spans": [], "known": {}} +{"id": "v11-en-note-178", "channel": "note", "lang": "en", "text": "REFERRAL LETTER\n\nTo: Dr. Marcus Banks, Magnolia Reproductive Associates\nFrom: Dr. Elise Wanamaker, Roswell Women's Care\nDate: November 3, 2026\n\nRe: Priscilla Odom, DOB 08/14/1989, MRN (ours) RWC-228104\n\nDear Dr. Banks,\n\nThank you for seeing Ms. Odom, a 37-year-old with PCOS and irregular cycles. She has failed three cycles of letrozole with timed intercourse and one IUI. BMI 29.4, AMH 6.8, TSH 2.2. Her partner Jocelyn has normal parameters. Patient resides in Roswell and can be reached at (770) 555-0218. Insurance: Peach State Select, ID PSS3392841-01.\n\nSincerely,\nDr. Wanamaker", "spans": [{"start": 25, "end": 37, "type": "PROVIDER"}, {"start": 82, "end": 97, "type": "PROVIDER"}, {"start": 126, "end": 142, "type": "DATE"}, {"start": 148, "end": 162, "type": "NAME"}, {"start": 168, "end": 178, "type": "DATE"}, {"start": 191, "end": 201, "type": "MRN"}, {"start": 212, "end": 217, "type": "PROVIDER"}, {"start": 245, "end": 249, "type": "NAME"}, {"start": 414, "end": 421, "type": "NAME"}, {"start": 464, "end": 471, "type": "ADDRESS"}, {"start": 494, "end": 508, "type": "PHONE"}, {"start": 544, "end": 557, "type": "HEALTH_CARD"}, {"start": 575, "end": 584, "type": "PROVIDER"}], "known": {"names": ["Priscilla Odom"], "phones": ["770-555-0218"], "emails": [], "dates_of_birth": ["1989-08-14"], "addresses": [], "identifiers": ["PSS3392841-01"]}} +{"id": "v11-en-note-179", "channel": "note", "lang": "en", "text": "[FAX OCR - page 1 of 3]\nFAX TRANSMISSION\nFROM: HAL1FAX FAMlLY MEDICINE FAX: 902-555-0388\nTO: MAGNOLIA REPRODUCTIVE ASSOC FAX: 404-555-0701\nDATE: 11/09/2026 PAGES: 3\nRE: NATHALIE ROY-ARSENAULT DOB 1991-03-07\n\nPlease find lab results enclosed. Rubel1a IgG immune. Vit D 42 ng/mL. TSH 1.7. Pt's hea1th card # 4455 667 788. Pls fax back confirmation of receipt. CONFIDENTIAL: this fax is intended only for the addressee...", "spans": [{"start": 78, "end": 90, "type": "PHONE"}, {"start": 149, "end": 159, "type": "DATE"}, {"start": 175, "end": 197, "type": "NAME"}, {"start": 203, "end": 213, "type": "DATE"}, {"start": 313, "end": 325, "type": "HEALTH_CARD"}], "known": {"names": ["Nathalie Roy-Arsenault"], "phones": [], "emails": [], "dates_of_birth": ["1991-03-07"], "addresses": [], "identifiers": ["4455 667 788"]}} +{"id": "v11-en-note-180", "channel": "note", "lang": "en", "text": "NEW PATIENT INTAKE FORM (dump)\nName: ADEBOLA T. FASHOLA\nPreferred name: Debbie\nDOB: 12/03/1986 Age: 39\nAddress: 1788 Cascade Road SW, #4B, Atlanta, GA 30311\nCell: 404-555-0147 Email: debbie.fashola@example.com\nEmployer: Grady Street Credit Union\nSpouse/Partner: Tolu Fashola\nEmergency contact: Bimpe Adeyinka (sister) 404-555-0219\nReferred by: Dr. Jamila Whitlow\nReason for visit: unexplained infertility 2 yrs\nPrior pregnancies: 0 Prior treatments: Clomid x3\nInsurance: self-pay", "spans": [{"start": 37, "end": 55, "type": "NAME"}, {"start": 72, "end": 78, "type": "NAME"}, {"start": 84, "end": 94, "type": "DATE"}, {"start": 115, "end": 140, "type": "ADDRESS"}, {"start": 142, "end": 149, "type": "ADDRESS"}, {"start": 154, "end": 159, "type": "ZIP"}, {"start": 166, "end": 178, "type": "PHONE"}, {"start": 189, "end": 215, "type": "EMAIL"}, {"start": 226, "end": 251, "type": "EMPLOYER"}, {"start": 268, "end": 280, "type": "NAME"}, {"start": 300, "end": 314, "type": "NAME"}, {"start": 324, "end": 336, "type": "PHONE"}, {"start": 354, "end": 368, "type": "PROVIDER"}], "known": {"names": ["Adebola Fashola"], "phones": ["404-555-0147"], "emails": ["debbie.fashola@example.com"], "dates_of_birth": ["1986-12-03"], "addresses": ["1788 Cascade Road SW, Atlanta, GA 30311"], "identifiers": []}} +{"id": "v11-en-note-181", "channel": "note", "lang": "en", "text": "EXPLANATION OF BENEFITS (OCR)\nPeach State Select Health\nMember: ELAINE R MORROW Member ID: PSS7710294-02\nGroup: 0044-8812 Claim #: CLM260033871\nDate of service: 10/27/2026\nProvider: MAGNOLIA REPRODUCTIVE ASSOC\nRendering: BANKS MARCUS\nCPT 76830 transvaginal US: billed $285.00, allowed $142.00, plan paid $113.60, patient resp $28.40\nCPT 99214 office visit: billed $310.00, allowed $168.00, deductible $168.00\nThis is not a bill. Questions? Call the number on your card.", "spans": [{"start": 64, "end": 79, "type": "NAME"}, {"start": 94, "end": 107, "type": "HEALTH_CARD"}, {"start": 115, "end": 124, "type": "ACCOUNT"}, {"start": 137, "end": 149, "type": "ACCOUNT"}, {"start": 167, "end": 177, "type": "DATE"}, {"start": 227, "end": 239, "type": "PROVIDER"}], "known": {"names": ["Elaine Morrow"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["PSS7710294-02"]}} +{"id": "v11-en-note-182", "channel": "note", "lang": "en", "text": "MEDICATION TEACHING SHEET (handout)\nGanirelix 250 mcg/0.5 mL prefilled syringe. Inject under the skin of the lower abdomen once daily, at about the same time each day, starting on stim day 5 or 6 as directed. Store at room temperature, up to 25 C. Do not freeze. Rotate sites. Mild redness is common. Call the nurse line if you have swelling of the face or trouble breathing. Menopur 75 IU: mix with 1 mL saline, use within 3 hours. Lot numbers and expiry are printed on the box. Sharps container: dispose when 3/4 full. Handout version 4.2, nursing education.", "spans": [], "known": {}} +{"id": "v11-en-note-183", "channel": "note", "lang": "en", "text": "AI VISIT SUMMARY (auto-generated, review before filing)\nPatient: Veronica Salazar-Pinto, 36. Accompanied by husband Mateo. Provider: Dr. Adaeze Okonkwo.\nChief concern: recurrent implantation failure after 3 transfers. History: two children from prior marriage, Luz (9) and Andres (6) who attend Hillcrest Montessori. Patient works as a nurse at Northside Medical Center. Plan: endometrial receptivity testing, hysteroscopy next cycle, ERA biopsy Dec 4. Patient prefers evening calls. Patient lives in Johns Creek.", "spans": [{"start": 65, "end": 87, "type": "NAME"}, {"start": 116, "end": 121, "type": "NAME"}, {"start": 137, "end": 151, "type": "PROVIDER"}, {"start": 261, "end": 264, "type": "NAME"}, {"start": 273, "end": 279, "type": "NAME"}, {"start": 295, "end": 315, "type": "EMPLOYER"}, {"start": 345, "end": 369, "type": "EMPLOYER"}, {"start": 446, "end": 451, "type": "DATE"}, {"start": 501, "end": 512, "type": "ADDRESS"}], "known": {"names": ["Veronica Salazar-Pinto"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-note-184", "channel": "note", "lang": "en", "text": "Teams chat export, #nurses\n[0702] HC: anyone know who has the cooler key\n[0703] Summer: DJ had it yesterday\n[0705] DJ: on my desk, drawer 2\n[0711] Kareem: heads up Dr. Whitaker is 20 min late, push his 0730 to 0750\n[0712] HC: ok. Selam can you grab the 0730 bloods?\n[0713] SB: on it\n[0720] Hope: also the Menopur delivery is in the fridge on level 2, not the pharmacy", "spans": [{"start": 34, "end": 36, "type": "PROVIDER"}, {"start": 80, "end": 86, "type": "PROVIDER"}, {"start": 88, "end": 90, "type": "PROVIDER"}, {"start": 115, "end": 117, "type": "PROVIDER"}, {"start": 147, "end": 153, "type": "PROVIDER"}, {"start": 168, "end": 176, "type": "PROVIDER"}, {"start": 222, "end": 224, "type": "PROVIDER"}, {"start": 230, "end": 235, "type": "PROVIDER"}, {"start": 273, "end": 275, "type": "PROVIDER"}, {"start": 290, "end": 294, "type": "PROVIDER"}], "known": {}} +{"id": "v11-en-note-185", "channel": "note", "lang": "en", "text": "PGT-A SUMMARY (deidentified QC copy)\nBatch 88A. 14 embryos biopsied, 11 day-5, 3 day-6. Results: 6 euploid, 2 mosaic (low, 20-30%), 5 aneuploid, 1 no result. Biopsy to result turnaround 8 days. Average grade 3BB. Transfer recommendation per protocol PGT-SOP-03: euploid first, single embryo. Reference lab accession range 55001-55014. Report version 2.1. No patient identifiers attached to this QC copy.", "spans": [], "known": {}} +{"id": "v11-en-note-186", "channel": "note", "lang": "en", "text": "COUNSELLING NOTE, 50 min\nClient Bethel Tesfaye (Ethiopian community, Atlanta) with husband Yonas. Presenting: grief after second loss at 11 wk, guilt, strain with mother-in-law Almaz who has been critical. Couple lives in Cherokee County and commutes to Georgia Tech where Yonas works as a researcher. Sleep poor, appetite down. Safety screen negative. Plan: weekly sessions, sleep hygiene, refer to support group on Dec 3. Medical team (AO, JH) aware of therapy start. Counsellor: Rebecca Goldfarb.", "spans": [{"start": 32, "end": 46, "type": "NAME"}, {"start": 91, "end": 96, "type": "NAME"}, {"start": 177, "end": 182, "type": "NAME"}, {"start": 222, "end": 237, "type": "ADDRESS"}, {"start": 254, "end": 266, "type": "EMPLOYER"}, {"start": 273, "end": 278, "type": "NAME"}, {"start": 417, "end": 422, "type": "DATE"}, {"start": 438, "end": 440, "type": "PROVIDER"}, {"start": 442, "end": 444, "type": "PROVIDER"}, {"start": 482, "end": 498, "type": "PROVIDER"}], "known": {"names": ["Bethel Tesfaye", "Yonas Tesfaye"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-note-187", "channel": "note", "lang": "en", "text": "[OCR of screenshot, iMessage]\nShe Who Must Not Be Named: did you pay the clinic??\nMe: yes, sent $1,200 via Venmo from @jtran-1985\nShe Who Must Not Be Named: ok. mom wants to know the date for the transfer\nMe: it's the 3rd of next month, and we need to bring the donor paperwork. ID is DON-30871\nShe Who Must Not Be Named: texting you a pic. IMG_20261114_jtran.jpg\nMe: ok call me 404-555-0431 after 6", "spans": [{"start": 118, "end": 129, "type": "ACCOUNT"}, {"start": 214, "end": 221, "type": "DATE"}, {"start": 285, "end": 294, "type": "DONOR_ID"}, {"start": 354, "end": 359, "type": "NAME"}, {"start": 379, "end": 391, "type": "PHONE"}], "known": {"names": ["Jenny Tran"], "phones": ["404-555-0431"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["DON-30871"]}} +{"id": "v11-en-note-188", "channel": "note", "lang": "en", "text": "SOP EXCERPT - Retrieval Day (rev 5)\n1. Confirm NPO since 2200h. 2. Two-person ID check at check-in and again at time-out. 3. Anesthesia: propofol per anesthesia record, SpO2 target >95%. 4. Aspiration pressure 120 mmHg, 17 g single-lumen needle. 5. Follicular fluid to the lab in tube warmer at 37.0 C, hand-off to embryology within 2 minutes. 6. Record number of oocytes, grade of cumulus. 7. Post-op: vitals q15 x4, discharge when stable, no driving for 24 h. 8. Give written instructions (form RET-12). 9. Update OHSS risk, calling threshold E2 > 4000 or more than 20 follicles. Room turnaround target 25 min.", "spans": [], "known": {}} +{"id": "v11-en-note-189", "channel": "note", "lang": "en", "text": "EMBRYO DISPOSITION AGREEMENT (OCR)\nPatients: CAMERON L. BELLAMY and DEVONTE R. BELLAMY\nAddress: 2204 Mableton Parkway SE, Mableton, GA 30126\nEmbryos in storage: 4 (cryotank 2, canister B, cane 7)\nOption selected in the event of divorce: [X] discard [ ] donate to research [ ] donate to couple\nOption in the event of death of one partner: [X] transfer to survivor\nSigned: Cameron L. Bellamy Date: 06/12/2026\nSigned: Devonte R. Bellamy Date: 06/12/2026\nWitness: Jerome Borden Notary: Sheila Ames, commission no. NP-883120", "spans": [{"start": 45, "end": 63, "type": "NAME"}, {"start": 68, "end": 86, "type": "NAME"}, {"start": 96, "end": 120, "type": "ADDRESS"}, {"start": 122, "end": 130, "type": "ADDRESS"}, {"start": 135, "end": 140, "type": "ZIP"}, {"start": 373, "end": 391, "type": "NAME"}, {"start": 400, "end": 410, "type": "DATE"}, {"start": 419, "end": 437, "type": "NAME"}, {"start": 446, "end": 456, "type": "DATE"}, {"start": 466, "end": 479, "type": "PROVIDER"}, {"start": 490, "end": 501, "type": "NAME"}, {"start": 518, "end": 527, "type": "ID"}], "known": {"names": ["Cameron Bellamy", "Devonte Bellamy"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": ["2204 Mableton Parkway SE, Mableton, GA 30126"], "identifiers": []}} +{"id": "v11-en-note-190", "channel": "note", "lang": "en", "text": "FEE SCHEDULE 2026 (patient copy)\nInitial consult 60 min: $425\nFollow-up consult: $240\nTransvaginal ultrasound (CPT 76830): $285\nSaline sonogram (CPT 58340 + 76831): $520\nHSG (CPT 58340 + 74740): $640\nIUI (CPT 58322) with washed sperm: $1,260\nIVF cycle, global fee (CPT 58970 retrieval, 89250 culture): $14,800\nICSI add-on (CPT 89280): $1,900\nPGT-A biopsy per embryo: $550\nFrozen embryo transfer (CPT 58974): $3,250\nStorage, per year: $650\nNova Scotia patients: ask about the Fertility Tax Credit and MSI coverage for consults.\nPrices subject to change. Form FIN-14 v3.", "spans": [], "known": {}} +{"id": "v11-en-note-191", "channel": "note", "lang": "en", "text": "ON-CALL HANDOFF 2200h\nMrs. O rm 3 - retrieval today, 18 oocytes, pain 4/10, voided, ok for d/c at 2100, left. If calls, OHSS watch, weigh daily.\nM.O. (2nd call) - bleeding after FET, 2 pads/hr? Called back, spotting only. f/u DJ re: E2 in AM. (DJ = Dwayne, not Dr. Thibodeau)\nRe: AB's FET - cancelled, lining 5.9. Dr. Okonkwo to call pt.\nNo other open issues. Pager 4402 with MJP.", "spans": [{"start": 27, "end": 28, "type": "NAME"}, {"start": 147, "end": 149, "type": "NAME"}, {"start": 226, "end": 228, "type": "PROVIDER"}, {"start": 244, "end": 246, "type": "PROVIDER"}, {"start": 249, "end": 255, "type": "PROVIDER"}, {"start": 265, "end": 274, "type": "PROVIDER"}, {"start": 280, "end": 282, "type": "NAME"}, {"start": 314, "end": 325, "type": "PROVIDER"}, {"start": 376, "end": 379, "type": "PROVIDER"}], "known": {}} +{"id": "v11-en-note-192", "channel": "note", "lang": "en", "text": "CODING NOTE (billing review)\nVisit type: F/U, established. ICD-10: N97.9 (female infertility, unspecified), E28.2 (PCOS), Z31.41 (encounter for fertility testing). CPT 99213 plus 76830. Modifier -25 on E/M. Denial code CO-97 (bundled) on 2 of 12 claims this week, ticket TKT-48977 open to appeal. Lot 5K2204 not applicable. Payer remit batch 2026-11-18. Please do not code ICD-10 Z31.83 until the consent form version 7 is on file. Next audit: December.", "spans": [], "known": {}} +{"id": "v11-en-note-193", "channel": "note", "lang": "en", "text": "PORTAL AUDIT LOG (excerpt)\n2026-11-14 08:02:11 LOGIN uid=tmbeki_2231 ip=192.0.2.88 OK\n2026-11-14 08:03:40 VIEW results/lab/88104 uid=tmbeki_2231\n2026-11-14 08:04:02 DOWNLOAD 'Scan - Mbeki, Thandiwe.pdf' uid=tmbeki_2231\n2026-11-14 22:51:17 LOGIN uid=tmbeki_2231 ip=198.51.100.120 FAIL (2fa)\n2026-11-14 22:52:03 LOGIN uid=tmbeki_2231 ip=198.51.100.120 FAIL (2fa)\n2026-11-15 07:40:00 STAFF VIEW uid=hcomeau chart 0071882\nFlagged by security for review by Hope Comeau.", "spans": [{"start": 57, "end": 68, "type": "ID"}, {"start": 72, "end": 82, "type": "IP_ADDRESS"}, {"start": 133, "end": 144, "type": "ID"}, {"start": 182, "end": 197, "type": "NAME"}, {"start": 207, "end": 218, "type": "ID"}, {"start": 249, "end": 260, "type": "ID"}, {"start": 264, "end": 278, "type": "IP_ADDRESS"}, {"start": 320, "end": 331, "type": "ID"}, {"start": 335, "end": 349, "type": "IP_ADDRESS"}, {"start": 396, "end": 403, "type": "PROVIDER"}, {"start": 410, "end": 417, "type": "MRN"}, {"start": 452, "end": 463, "type": "PROVIDER"}], "known": {"names": ["Thandiwe Mbeki"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["tmbeki_2231"]}} +{"id": "v11-en-note-194", "channel": "note", "lang": "en", "text": "PHARMACY RECORD\nRx number: RX-7784102 Filled: 2026-11-16\nPatient: BRANDI KOWALSKI DOB 1990-05-19\nAddress: 55 Old Roswell Road, Apt 12, Alpharetta 30009\nPrescriber: JESSICA HARTLEY NP\nDrug: progesterone in oil 50 mg/mL, 30 mL. Sig: 1 mL IM nightly. Refills: 2\nCopay: $38.00 Card ending 5518\nPharmacist verified. Ship cold? no.", "spans": [{"start": 27, "end": 37, "type": "ID"}, {"start": 47, "end": 57, "type": "DATE"}, {"start": 67, "end": 82, "type": "NAME"}, {"start": 88, "end": 98, "type": "DATE"}, {"start": 108, "end": 135, "type": "ADDRESS"}, {"start": 137, "end": 147, "type": "ADDRESS"}, {"start": 148, "end": 153, "type": "ZIP"}, {"start": 166, "end": 184, "type": "PROVIDER"}, {"start": 288, "end": 292, "type": "ACCOUNT"}], "known": {"names": ["Brandi Kowalski"], "phones": [], "emails": [], "dates_of_birth": ["1990-05-19"], "addresses": ["55 Old Roswell Road, Apt 12, Alpharetta, GA 30009"], "identifiers": []}} +{"id": "v11-en-note-195", "channel": "note", "lang": "en", "text": "AI VISIT SUMMARY (auto-generated)\nPatient is 38, G0, presenting with 18 months of infertility. AMH 1.1, day-3 FSH 8.4, antral follicle count 9. Partner semen analysis: concentration 22 M/mL, motility 41%. Plan: proceed to IUI x3 with letrozole 5 mg days 3 to 7, then IVF if unsuccessful. Discussed fertility preservation, costs, and the clinic's financing partner. Patient asked about acupuncture and caffeine, counselled. Next visit: day 10 ultrasound. Patient has no questions. Consent form version 7 signed. No pregnancy-related complaints. Mood: anxious but engaged. Referral to counselling offered.", "spans": [], "known": {}} +{"id": "v11-en-note-196", "channel": "note", "lang": "en", "text": "HALIFAX INTAKE NOTE\nPt Rima Haddad with spouse Fadi Haddad, both from the Lebanese community in Bedford. Address: 14 Larry Uteck Boulevard, Unit 506, B4B 0K1. Health card (pt): 7788 123 456. Fadi's employer: Atlantic Marine Supply. Interpreter: not needed, English and Arabic. DOB 1989-10-04. Presented with 3 yrs primary infertility, normal HSG last April. Seen by Layla Saliba. Plan: bloods, SA, MSI coverage letter, follow-up with Dr. Noa Ben-David in January.", "spans": [{"start": 23, "end": 34, "type": "NAME"}, {"start": 47, "end": 58, "type": "NAME"}, {"start": 96, "end": 103, "type": "ADDRESS"}, {"start": 114, "end": 148, "type": "ADDRESS"}, {"start": 150, "end": 157, "type": "POSTAL_CODE"}, {"start": 177, "end": 189, "type": "HEALTH_CARD"}, {"start": 191, "end": 195, "type": "NAME"}, {"start": 208, "end": 230, "type": "EMPLOYER"}, {"start": 281, "end": 291, "type": "DATE"}, {"start": 346, "end": 356, "type": "DATE"}, {"start": 366, "end": 378, "type": "PROVIDER"}, {"start": 438, "end": 451, "type": "PROVIDER"}], "known": {"names": ["Rima Haddad"], "phones": [], "emails": [], "dates_of_birth": ["1989-10-04"], "addresses": ["14 Larry Uteck Boulevard, Unit 506, Halifax NS"], "identifiers": ["7788 123 456"]}} +{"id": "v11-en-note-197", "channel": "note", "lang": "en", "text": "HOLIDAY SCHEDULE 2026\nThanksgiving: closed Thursday and Friday. On-call nurse covers.\nChristmas: closed December 24 (noon) through December 26. No retrievals December 23 to 27.\nNew Year's Day: closed.\nHalifax office also observes Boxing Day.\nMonitoring hours on non-holiday weekends: 0730h to 1000h, Atlanta only. Embryology lab is staffed every day of the year. Please confirm your transfer date with the front desk before travel. After-hours emergencies: call 404-555-0700 and press 1.", "spans": [], "known": {}} +{"id": "v11-en-note-198", "channel": "note", "lang": "en", "text": "AI CALL SUMMARY\nCaller Fiona McAllister-Reed called billing to dispute charge on cheque #2218 for $1,500. She said her bank, Harbour Credit Union, shows transit 20410-815 institution 815, account 0037741 and the deposit was taken twice. Agent verified with last four of SSN 9031. Caller said her mother-in-law Winnifred is 93 and wants to sign the surrogacy consent. Escalated to Monique Rich. Callback number (902) 555-0275.", "spans": [{"start": 23, "end": 44, "type": "NAME"}, {"start": 88, "end": 93, "type": "ACCOUNT"}, {"start": 161, "end": 170, "type": "ACCOUNT"}, {"start": 196, "end": 203, "type": "ACCOUNT"}, {"start": 274, "end": 278, "type": "SSN"}, {"start": 310, "end": 319, "type": "NAME"}, {"start": 323, "end": 325, "type": "AGE"}, {"start": 380, "end": 392, "type": "PROVIDER"}, {"start": 410, "end": 424, "type": "PHONE"}], "known": {"names": ["Fiona McAllister-Reed"], "phones": ["902-555-0275"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-note-199", "channel": "note", "lang": "en", "text": "LETTER (OCR)\nBrightHaven Adoption Services\n\nRe: Eleanor Whitcombe and Garrett Whitcombe, home study approved September 22, 2026\n\nTo whom it may concern: the above couple has been approved as adoptive parents and wish to pursue embryo adoption in parallel. The matched child, Baby Girl M., is placed through our caseworker Imelda Ferrante. The couple resides at 3 Birchwood Cove, Marietta. Home study ID: HS-26-0071. Please direct questions to Thao Le at your clinic or to us at 678-555-0511.", "spans": [{"start": 48, "end": 65, "type": "NAME"}, {"start": 70, "end": 87, "type": "NAME"}, {"start": 109, "end": 127, "type": "DATE"}, {"start": 275, "end": 287, "type": "NAME"}, {"start": 322, "end": 337, "type": "NAME"}, {"start": 361, "end": 387, "type": "ADDRESS"}, {"start": 404, "end": 414, "type": "ID"}, {"start": 443, "end": 450, "type": "PROVIDER"}, {"start": 478, "end": 490, "type": "PHONE"}], "known": {"names": ["Eleanor Whitcombe", "Garrett Whitcombe"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-en-note-200", "channel": "note", "lang": "en", "text": "CONSENT FOR FROZEN EMBRYO TRANSFER (form CONS-FET v7)\nPatient name: ______________________ DOB: ____/____/________\nPartner name: ______________________\nI understand that frozen embryos are thawed before transfer and that a small proportion may not survive thaw. I understand that the number of embryos transferred will be discussed with my physician and that the risk of multiple pregnancy increases with each additional embryo. I understand the medications (estradiol, progesterone) and their common side effects. I have had my questions answered.\nPatient signature: ______________ Date: ____________\nPhysician signature: ______________ Date: ____________\nMagnolia Reproductive Associates. Atlanta 404-555-0700. Halifax 902-555-0710. Version 7, effective January 1.", "spans": [], "known": {}} +{"id": "v11-es-sms-001", "channel": "sms", "lang": "es", "text": "Hola, soy Yesenia, la esposa de Arturo Cabrera. Mañana tenemos la transferencia a las 0930h y no encuentro el estacionamiento. Mi cel es 470-555-0161 por si me llaman.", "spans": [{"start": 10, "end": 17, "type": "NAME"}, {"start": 32, "end": 46, "type": "NAME"}, {"start": 137, "end": 149, "type": "PHONE"}], "known": {"names": ["Yesenia Cabrera Soto"], "phones": ["470-555-0161"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-chat-002", "channel": "chat", "lang": "es", "text": "Paciente: buenas noches, una duda, cuando empiezo la progesterona vaginal?\nAsistente: Buenas noches. Normalmente se inicia el día de la recuperación o un día después, según el protocolo que le haya indicado su equipo. Tiene que confirmarlo con enfermería.\nPaciente: me dijeron que mi E2 salió en 1450 y que el Lupron lo baje a 10 unidades, eso es normal?\nAsistente: Un estradiol de 1450 pg/mL durante la estimulación es frecuente. La dosis exacta de su medicamento la decide su médico, no puedo cambiarla desde aquí.\nPaciente: y los folículos medían 17, 16 y 14 mm, creo que son pocos\nAsistente: Le sugiero preguntarle a su enfermera en la llamada de monitoreo de las 2:15pm ET. Puedo dejarle un mensaje para que la llamen si quiere.\nPaciente: no, gracias, solo quería saber. Ya les escribí por el portal.\nAsistente: Con gusto. Que le vaya muy bien en el proceso.", "spans": [], "known": {}} +{"id": "v11-es-call-003", "channel": "call", "lang": "es", "text": "Buenas tardes, le habla Luz Marina Giraldo, soy paciente de la doctora Okonkwo. Llamo para que me confirmen mi cita. Mi fecha de nacimiento es catorce de agosto de mil novecientos ochenta y cuatro y mi número de teléfono es cuatro cero cuatro, cinco cinco cinco, cero uno ocho dos. Yo vivo en Marietta pero trabajo en Delta Air Lines. Gracias, que Dios los bendiga.", "spans": [{"start": 24, "end": 42, "type": "NAME"}, {"start": 71, "end": 78, "type": "PROVIDER"}, {"start": 143, "end": 196, "type": "DATE"}, {"start": 224, "end": 280, "type": "PHONE"}, {"start": 293, "end": 301, "type": "ADDRESS"}, {"start": 318, "end": 333, "type": "EMPLOYER"}], "known": {"names": ["Luz Marina Giraldo Ocampo"], "phones": ["404-555-0182"], "emails": [], "dates_of_birth": ["1984-08-14"], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-004", "channel": "call", "lang": "es", "text": "Gracias por llamar a Magnolia Reproductive Associates en Atlanta. Para citas y monitoreo, oprima uno. Para la oficina de Halifax, oprima dos o marque nueve cero dos, cinco cinco cinco, cero siete uno cero. Para facturación, oprima tres. Para hablar con enfermería, marque la extensión 214. Nuestro horario es de 0700h a 1700h, de lunes a viernes. Si es una emergencia médica, cuelgue y llame al 911. Para repetir este menú, oprima la tecla de asterisco.", "spans": [], "known": {}} +{"id": "v11-es-email-005", "channel": "email", "lang": "es", "text": "De: Fernanda Treviño \nPara: frontdesk@magnolia-ra.example.org\nAsunto: Transferencia de dinero para el depósito\n\nBuenas tardes,\n\nSoy Fernanda Treviño, les escribo desde Monterrey. Mi esposo y yo vamos a viajar a Atlanta en la primavera para el ciclo de óvulos donados. Quisiera hacer el depósito por transferencia bancaria desde mi cuenta en México. Mi CLABE es 012180001234567897, a nombre de Fernanda Treviño Alvarado. Nuestro domicilio es Calle Río Tamesí 214, Colonia del Valle, San Pedro Garza García, por si necesitan mandar el contrato por mensajería.\n\nTambién quiero saber si el costo de $4,850 incluye la medicación o es aparte, porque en la cotización no quedó claro.\n\nQuedo atenta,\nFernanda T.", "spans": [{"start": 4, "end": 20, "type": "NAME"}, {"start": 22, "end": 46, "type": "EMAIL"}, {"start": 158, "end": 174, "type": "NAME"}, {"start": 194, "end": 203, "type": "ADDRESS"}, {"start": 387, "end": 405, "type": "ACCOUNT"}, {"start": 419, "end": 444, "type": "NAME"}, {"start": 467, "end": 530, "type": "ADDRESS"}, {"start": 718, "end": 729, "type": "NAME"}], "known": {"names": ["Fernanda Treviño Alvarado"], "phones": [], "emails": ["ftrevino.mty@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-sms-006", "channel": "sms", "lang": "es", "text": "Recordatorio: su cita de monitoreo es mañana a las 8:15 am. Responda C para confirmar o R para reprogramar. Recuerde venir sin ayuno. Magnolia Reproductive Associates 404-555-0700. Responda STOP para no recibir mensajes.", "spans": [], "known": {}} +{"id": "v11-es-chat-007", "channel": "chat", "lang": "es", "text": "Asistente: Hola, soy el asistente virtual de Magnolia Reproductive Associates. En qué le puedo ayudar?\nPaciente: quiero cambiar mi numero de telefono en mi expediente\nAsistente: Claro. Primero, me confirma su nombre completo?\nPaciente: Marisol Escoto\nAsistente: Gracias, Marisol. Cuál es el número nuevo?\nPaciente: el codigo de area es 678\nAsistente: Muy bien, continúe con los demás dígitos.\nPaciente: luego 555\nPaciente: y termina en 0149\nAsistente: Para confirmar: 678-555-0149. Es correcto?\nPaciente: perdon, es 0194, me equivoque\nAsistente: Entendido. Le confirmo: 678-555-0194. Es correcto?\nPaciente: si\nAsistente: Listo, Marisol. Su solicitud queda registrada y el personal la revisará. Algo más?\nPaciente: no, gracias", "spans": [{"start": 236, "end": 250, "type": "NAME"}, {"start": 271, "end": 278, "type": "NAME"}, {"start": 336, "end": 339, "type": "PHONE"}, {"start": 409, "end": 412, "type": "PHONE"}, {"start": 436, "end": 440, "type": "PHONE"}, {"start": 468, "end": 480, "type": "PHONE"}, {"start": 516, "end": 520, "type": "PHONE"}, {"start": 570, "end": 582, "type": "PHONE"}, {"start": 628, "end": 635, "type": "NAME"}], "known": {"names": ["Marisol Escoto Reyes"], "phones": ["770-555-0133"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-008", "channel": "call", "lang": "es", "text": "Agente: Magnolia, habla Kareem, en qué le ayudo?\nLlamante: Buenas, quiero confirmar la cita de mi hermana. Ella se llama Altagracia Peña. Se escribe a-l-t-a-g-r-a-c-i-a, y el apellido p, e, eñe, a. Es la cita del veintidós de octubre con la doctora Deshmukh.\nAgente: Un momento, la busco. Usted es familiar?\nLlamante: Sí, soy su hermana, Yaritza. Vivimos en Washington Heights pero ella se está quedando conmigo en Lawrenceville mientras dura el tratamiento.", "spans": [{"start": 24, "end": 30, "type": "PROVIDER"}, {"start": 121, "end": 136, "type": "NAME"}, {"start": 149, "end": 168, "type": "NAME"}, {"start": 184, "end": 196, "type": "NAME"}, {"start": 213, "end": 233, "type": "DATE"}, {"start": 249, "end": 257, "type": "PROVIDER"}, {"start": 338, "end": 345, "type": "NAME"}, {"start": 358, "end": 376, "type": "ADDRESS"}, {"start": 415, "end": 428, "type": "ADDRESS"}], "known": {"names": ["Altagracia Peña Díaz"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-email-009", "channel": "email", "lang": "es", "text": "Asunto: Pregunta sobre el costo del ciclo con óvulos donados\n\nBuenas tardes. Estamos interesados en un ciclo con óvulos donados y quisiera saber lo siguiente:\n\n1. Cuánto cuesta el paquete completo, incluyendo el PGT-A de los embriones.\n2. Si ofrecen un plan de pagos a 12 meses.\n3. Si mi seguro de empleado en Georgia cubre las pruebas previas como el HSG y el AMH, o solo la consulta.\n4. Cuántos embriones transfieren normalmente. Mi médico anterior me hablaba de grado 4AA como lo ideal.\n\nTengo 38 años y un IMC de 31.2. Me dijeron que eso podría influir. Les agradezco mucho su respuesta.\n\nSaludos cordiales", "spans": [], "known": {}} +{"id": "v11-es-note-010", "channel": "note", "lang": "es", "text": "Nota de triage 0845h. pt KJ 34a G2P1 c/o cólicos leves y distensión día 5 post-recuperación. Sin fiebre, T 36.8. Sin sangrado. Sospecha OHSS leve, E2 último 3200. Indicado reposo, líquidos con electrolitos, vigilar peso diario. f/u c/ AD re: manejo. Si empeora, ER. Pt refiere que su esposo Rolando la acompaña.", "spans": [{"start": 25, "end": 27, "type": "NAME"}, {"start": 235, "end": 237, "type": "PROVIDER"}, {"start": 291, "end": 298, "type": "NAME"}], "known": {"names": ["Karina Jiménez Pérez"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-sms-011", "channel": "sms", "lang": "es", "text": "[lunes] Buenos días, soy Brenda Chávez. Le escribo porque mi hija Ximena se enfermó y no puedo llevar los papeles hoy.\n[Clínica] Entendido. Puede subirlos al portal o traerlos el jueves.\n[martes] Ya los fotografié. Le mando la dirección donde vivimos para el envío de la medicina: 14 Avenida 12-30, Zona 11, Ciudad de Guatemala\n[Clínica] Gracias. Ese envío no es posible fuera de EE. UU. Necesitaríamos una dirección en Georgia.\n[miércoles] Entonces la mando a donde mi cuñada: 2260 Buford Highway, Apt 7C, Doraville 30340. Ella se llama Sonia Chávez.\n[Clínica] Perfecto, Brenda. La enfermera Guadalupe le avisará cuando salga.", "spans": [{"start": 25, "end": 38, "type": "NAME"}, {"start": 66, "end": 72, "type": "NAME"}, {"start": 281, "end": 327, "type": "ADDRESS"}, {"start": 478, "end": 516, "type": "ADDRESS"}, {"start": 517, "end": 522, "type": "ZIP"}, {"start": 538, "end": 550, "type": "NAME"}, {"start": 572, "end": 578, "type": "NAME"}, {"start": 593, "end": 602, "type": "PROVIDER"}], "known": {"names": ["Brenda Chávez Morales"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-chat-012", "channel": "chat", "lang": "es", "text": "Usuario: me llegaron los resultados del PGT-A y no entiendo bien\nAsistente: Con gusto le explico términos generales. Qué dice su informe?\nUsuario: dice embriones 1, 2 y 3 euploides, el 4 aneuploide con trisomía 16, el 5 mosaico bajo\nAsistente: Un embrión euploide tiene el número esperado de cromosomas. Los mosaicos se evalúan caso por caso con su médico en una consulta de genética.\nUsuario: y la calidad, me pusieron 4AA, 3BB, 4BB y 5AB\nAsistente: Esa letra y número describen la expansión y las células del embrión. Por sí solas no determinan que se vaya a implantar.\nUsuario: cuántos días tarda el reporte del laboratorio, el lote es el PGT-2026-114 creo\nAsistente: Ese número de lote es del laboratorio y yo no tengo acceso a su estado. Puede preguntarle a su enfermera en la consulta de 0900h.\nUsuario: vale, gracias", "spans": [], "known": {}} +{"id": "v11-es-call-013", "channel": "call", "lang": "es", "text": "Hola, buenas, mira, te llamo desde Valencia, en España, que mi marido y yo estamos pensando en ir a Atlanta para la FIV. Me llamo Cristina Almenar Soler. Os tengo que mandar el informe de mi ginecólogo, el doctor Marcus Banks me ha dicho que ya conoce a la clínica, bueno, eso me dijo mi ginecólogo. Mi DNI es 48215937K, por si lo piden para el registro. Mi correo es cristina.almenar@example.net, eso sí, que se me olvida siempre. Vivimos en calle Colón 38, 4º B, 46004 Valencia. Y mi teléfono es +34 555 010 203.", "spans": [{"start": 35, "end": 43, "type": "ADDRESS"}, {"start": 130, "end": 152, "type": "NAME"}, {"start": 213, "end": 225, "type": "PROVIDER"}, {"start": 310, "end": 319, "type": "ID"}, {"start": 368, "end": 396, "type": "EMAIL"}, {"start": 443, "end": 479, "type": "ADDRESS"}, {"start": 498, "end": 513, "type": "PHONE"}], "known": {"names": ["Cristina Almenar Soler"], "phones": ["+34 555 010 203"], "emails": [], "dates_of_birth": ["1986-02-19"], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-014", "channel": "call", "lang": "es", "text": "Hola, ha llamado a la oficina de Magnolia en Atlanta. En este momento estamos con otras llamadas. Nuestro horario de recepción de llamadas es de las 0800h a las 1700h hora del este. Si desea dejar un mensaje para enfermería, hable después del tono. Si es sobre un resultado de laboratorio, por favor indique su número de teléfono lentamente. Si llama por la inyección de desencadenante, Ovidrel 250 microgramos, la hora de aplicación está en su calendario del portal. Esta línea no se revisa los días festivos. Gracias.", "spans": [], "known": {}} +{"id": "v11-es-email-015", "channel": "email", "lang": "es", "text": "Asunto: Reclamación del seguro - póliza y número de afiliado\n\nBuenas tardes, equipo de facturación:\n\nSoy Juan Camilo Restrepo, de Medellín, aunque ahora vivo en Sandy Springs. Les escribo por la reclamación de mi esposa, Paola Henao. Mi aseguradora me pide estos datos:\n\n- Número de afiliado: XQM4408217356\n- Número de grupo: GRP-98215\n- Reclamación: CLM-2026-0033481\n\nEl cobro de $1,200 del 3 de septiembre no coincide con el estimado que me dieron. Mi esposa nació el 12/03/1990 (día/mes/año, como se escribe en Colombia). Pueden llamar a mi trabajo en (770) 555-0108, pregunten por Juan Camilo.\n\nGracias de antemano.", "spans": [{"start": 105, "end": 125, "type": "NAME"}, {"start": 130, "end": 138, "type": "ADDRESS"}, {"start": 161, "end": 174, "type": "ADDRESS"}, {"start": 221, "end": 232, "type": "NAME"}, {"start": 293, "end": 306, "type": "HEALTH_CARD"}, {"start": 326, "end": 335, "type": "ACCOUNT"}, {"start": 351, "end": 367, "type": "ACCOUNT"}, {"start": 392, "end": 407, "type": "DATE"}, {"start": 470, "end": 480, "type": "DATE"}, {"start": 555, "end": 569, "type": "PHONE"}, {"start": 585, "end": 596, "type": "NAME"}], "known": {"names": ["Paola Henao Giraldo"], "phones": ["770-555-0108"], "emails": [], "dates_of_birth": ["1990-03-12"], "addresses": [], "identifiers": []}} +{"id": "v11-es-sms-016", "channel": "sms", "lang": "es", "text": "Resultados listos en el portal: AMH 0.8 ng/mL, FSH 7.2, estradiol día 3 de 42. Recuerde que un resultado aislado no define su pronóstico. Su enfermera la contactará para la consulta de seguimiento de las 1130h. Ref. de ticket #48217. Magnolia Reproductive Associates.", "spans": [], "known": {}} +{"id": "v11-es-chat-017", "channel": "chat", "lang": "es", "text": "Paciente: quiero pagar el saldo con cash app o venmo, se puede?\nAsistente: Podemos recibir pagos por el portal con tarjeta o transferencia. Cash App o Venmo no están disponibles para depósitos de tratamiento, pero sí puede usar el plan de pagos.\nPaciente: es que mi hermana me va a mandar la plata de ella, su venmo es @yari-sanchez-12 y el mío es $yarisanchez88\nAsistente: Gracias, pero no puedo registrar esos datos como medio de pago. Si ella desea pagar por usted, puede hacerlo por el portal con su tarjeta.\nPaciente: ah ok, su tarjeta termina en 4471\nAsistente: Se lo agradezco. Por seguridad, no me dé más números de la tarjeta por este chat.\nPaciente: perfecto. Soy Yarisa Sánchez, de Santo Domingo, por si necesitan confirmar.", "spans": [{"start": 319, "end": 335, "type": "ACCOUNT"}, {"start": 348, "end": 362, "type": "ACCOUNT"}, {"start": 552, "end": 556, "type": "ACCOUNT"}, {"start": 674, "end": 688, "type": "NAME"}, {"start": 693, "end": 706, "type": "ADDRESS"}], "known": {"names": ["Yarisa Sánchez Reyes"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-018", "channel": "call", "lang": "es", "text": "Farmacia: Buenas tardes, le llamo de la farmacia de especialidad para confirmar el envío. La receta número RX-7714823 es para la paciente Rosa Elena Basques.\nEnfermera: Sí, ella es Rosa Elena Vázquez, con ve. Está en Guadalajara, México, viajó para estar con su familia en Zapopan, pero regresa a Atlanta el 9 de noviembre.\nFarmacia: Entendido. El Menopur 75 unidades, 10 viales, sale hoy. Necesito su teléfono: +52 555 010 441.\nEnfermera: Sí, ese es el de ella. Y la doctora Okonkwo firmó la receta ayer.", "spans": [{"start": 107, "end": 117, "type": "ID"}, {"start": 138, "end": 156, "type": "NAME"}, {"start": 181, "end": 199, "type": "NAME"}, {"start": 217, "end": 228, "type": "ADDRESS"}, {"start": 273, "end": 280, "type": "ADDRESS"}, {"start": 308, "end": 322, "type": "DATE"}, {"start": 412, "end": 427, "type": "PHONE"}, {"start": 476, "end": 483, "type": "PROVIDER"}], "known": {"names": ["Rosa Elena Vázquez Ortiz"], "phones": ["+52 555 010 441"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-email-019", "channel": "email", "lang": "es", "text": "De: Guadalupe Ramirez\nPara: Selam Bekele, Thao Le\nAsunto: Huddle del jueves - materiales en español\n\nHola a las dos,\n\nSolo para avisar que las hojas de consentimiento de transferencia en español versión 3.2 ya están en la carpeta compartida. La versión 3.1 se retira. Por favor, no impriman la anterior. Thao, ¿puedes revisar con Adaeze que la traducción de la sección de riesgos de OHSS quede igual que la de inglés?\n\nLa sala 3 se usará para las pruebas de simulacro a las 1400h. El código de la puerta cambió, pregunten en recepción.\n\nGracias,\nGuadalupe", "spans": [{"start": 4, "end": 21, "type": "PROVIDER"}, {"start": 28, "end": 40, "type": "PROVIDER"}, {"start": 42, "end": 49, "type": "PROVIDER"}, {"start": 304, "end": 308, "type": "PROVIDER"}, {"start": 330, "end": 336, "type": "PROVIDER"}, {"start": 546, "end": 555, "type": "PROVIDER"}], "known": {}} +{"id": "v11-es-note-020", "channel": "note", "lang": "es", "text": "FORMULARIO DE ADMISIÓN (copia OCR)\nNOMBRE: MARTÍNEZ CRUZ, ELVIRA\nFECHA DE NACIMIENTO: 03-ABR-1987\nESTADO CIVIL: Casada\nCÓNYUGE: OSVALDO MARTÍNEZ RIVAS\nDIRECCIÓN: 3308 Memorial Dr SE, Apt 11, Atlanta 30032\nTEL. CELULAR: 404-555-0127\nCORREO: emartinezc@example.org\nLICENCIA DE GA: 058412977\nEMPLEADOR: Gwinnett County Public Schools\nMOTIVO DE CONSULTA: infertilidad secundaria, 2 años. Antecedente de miomas. AMH 1.1. Prefiere atención en español.\nMÉDICO REFERENTE: Dr. Tomasz Wisniewski", "spans": [{"start": 43, "end": 64, "type": "NAME"}, {"start": 86, "end": 97, "type": "DATE"}, {"start": 128, "end": 150, "type": "NAME"}, {"start": 162, "end": 189, "type": "ADDRESS"}, {"start": 191, "end": 198, "type": "ADDRESS"}, {"start": 199, "end": 204, "type": "ZIP"}, {"start": 219, "end": 231, "type": "PHONE"}, {"start": 240, "end": 262, "type": "EMAIL"}, {"start": 279, "end": 288, "type": "ID"}, {"start": 300, "end": 330, "type": "EMPLOYER"}, {"start": 468, "end": 485, "type": "PROVIDER"}], "known": {"names": ["Elvira Martínez Cruz"], "phones": ["404-555-0127"], "emails": [], "dates_of_birth": ["1987-04-03"], "addresses": ["3308 Memorial Dr SE, Apt 11"], "identifiers": []}} +{"id": "v11-es-sms-021", "channel": "sms", "lang": "es", "text": "Doctora, ya me hice la prueba de embarazo en la mañana y salió negativa. Beta de 2. Estoy muy triste, no sé qué hacer ahora. Mi esposo no dice nada pero sé que le duele. Cuándo puedo hablar con usted? Gracias por todo lo que hizo.", "spans": [], "known": {}} +{"id": "v11-es-chat-022", "channel": "chat", "lang": "es", "text": "Asistente: Para verificar su identidad necesito su fecha de nacimiento. Puede dármela por partes si prefiere.\nPaciente: el cinco\nAsistente: Gracias. Y el mes?\nPaciente: julio\nAsistente: Y el año?\nPaciente: mil novecientos noventa y uno\nAsistente: Para confirmar: 5 de julio de 1991. Es correcto?\nPaciente: no, perdón, me confundí, es 15 de julio de 1991\nAsistente: Gracias. Ahora su nombre completo, por favor.\nPaciente: Dulce María Ibarra\nAsistente: Gracias, Dulce María. Tengo el correo dulce.ibarra91@example.com en su perfil, sigue vigente?\nPaciente: sí, ese mismo\nAsistente: Perfecto. Le muestro su próxima cita: control con la doctora Hartley a las 1015h.\nPaciente: gracias. Cuál era el estacionamiento?\nAsistente: El del edificio de la calle Peachtree Park, nivel 2.", "spans": [{"start": 169, "end": 174, "type": "DATE"}, {"start": 263, "end": 273, "type": "DATE"}, {"start": 334, "end": 345, "type": "DATE"}, {"start": 421, "end": 439, "type": "NAME"}, {"start": 460, "end": 471, "type": "NAME"}, {"start": 489, "end": 515, "type": "EMAIL"}, {"start": 641, "end": 648, "type": "PROVIDER"}], "known": {"names": ["Dulce María Ibarra Núñez"], "phones": [], "emails": ["dulce.ibarra91@example.com"], "dates_of_birth": ["1991-07-15"], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-023", "channel": "call", "lang": "es", "text": "Buenas, mire, soy Reina Isabel Zelaya, hondureña, y llamo porque la enfermera me dijo que mandara las medicinas a la casa pero el camión no encuentra donde vivimos. Es la casa azul después de la gasolinera Circle K en la Hwy 20, allá por Conyers, en el condado de Rockdale, hay un buzón con el número 4418. Si me llaman, es al 678-555-0172. Mi esposo trabaja de noche, no le llamen de día. Gracias.", "spans": [{"start": 18, "end": 37, "type": "NAME"}, {"start": 221, "end": 227, "type": "ADDRESS"}, {"start": 238, "end": 245, "type": "ADDRESS"}, {"start": 253, "end": 272, "type": "ADDRESS"}, {"start": 301, "end": 305, "type": "ADDRESS"}, {"start": 327, "end": 339, "type": "PHONE"}], "known": {"names": ["Reina Isabel Zelaya Mejía"], "phones": ["678-555-0172"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-024", "channel": "call", "lang": "es", "text": "Transcripción del árbol de voz, versión de otoño. Bienvenido a Magnolia Reproductive Associates. Oficinas cerradas el día de Acción de Gracias y el viernes siguiente. En caso de urgencia con medicación de fertilidad durante el cierre, deje un mensaje en el buzón uno y el enfermero de guardia devolverá la llamada en un plazo de 30 minutos. Para el laboratorio de embriología, extensión 305. Para el departamento financiero, extensión 118. Para la oficina de Halifax, extensión 410. Para consultas sobre la donación de óvulos, extensión 221. Para repetir, oprima almohadilla.", "spans": [], "known": {}} +{"id": "v11-es-email-025", "channel": "email", "lang": "es", "text": "De: Sofía Valderrama \nPara: info@magnolia-ra.example.org\nAsunto: Ayuda para el tratamiento\n\nHola,\n\nMe llamo Sofía Valderrama, soy de Bogotá y vivo actualmente en el barrio Chapinero Alto. Mi cédula es 52 418 903 y mi pasaporte AV1928345. Quiero hacer la FIV en Atlanta pero el presupuesto es muy alto, por eso creé una página para pedir apoyo: https://gofundme.example.com/f/sofia-quiere-ser-mama. También mi familia me comparte en Instagram: instagram.example.com/sofiaquieresermama.\n\nEn el correo de la cotización dice 'embrión 5AA', pero yo solo tengo 3 óvulos madurados en la última punción. Eso significa que hubo un error?\n\nQuedo muy atenta. Gracias.\n\nSofi", "spans": [{"start": 4, "end": 20, "type": "NAME"}, {"start": 22, "end": 49, "type": "EMAIL"}, {"start": 137, "end": 153, "type": "NAME"}, {"start": 162, "end": 168, "type": "ADDRESS"}, {"start": 201, "end": 215, "type": "ADDRESS"}, {"start": 230, "end": 240, "type": "ID"}, {"start": 256, "end": 265, "type": "ID"}, {"start": 373, "end": 425, "type": "URL"}, {"start": 472, "end": 512, "type": "URL"}, {"start": 687, "end": 691, "type": "NAME"}], "known": {"names": ["Sofía Valderrama Pineda"], "phones": [], "emails": ["svalderrama.bog@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-sms-026", "channel": "sms", "lang": "es", "text": "Vale, apunto: ecografía el 14 de enero a las 0815h con Tamara. Yo soy Marta Ibáñez, por si no me tenéis en el sistema con el segundo apellido. Tengo que avisar en el trabajo, en Iberdrola. Gracias, majos.", "spans": [{"start": 27, "end": 38, "type": "DATE"}, {"start": 55, "end": 61, "type": "PROVIDER"}, {"start": 70, "end": 82, "type": "NAME"}, {"start": 178, "end": 187, "type": "EMPLOYER"}], "known": {"names": ["Marta Ibáñez Gil"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-chat-027", "channel": "chat", "lang": "es", "text": "Cliente: cuánto cuesta guardar los embriones congelados?\nAsistente: La tarifa estándar de almacenamiento es de $600 al año por paciente, y se factura cada año. Puede pagarla en el portal.\nCliente: y qué temperatura tienen?\nAsistente: Se conservan en nitrógeno líquido a -196 °C en tanques con monitoreo continuo y alarmas.\nCliente: y si mi esposo y yo nos separamos, de quién son?\nAsistente: Esa decisión se documenta en el formulario de disposición de embriones, versión 4.1, que ambos firman antes de la congelación. No puedo darle asesoría legal; el equipo administrativo puede explicarle el proceso.\nCliente: y cuántos años pueden estar?\nAsistente: No hay un límite biológico establecido; los acuerdos de almacenamiento suelen renovarse anualmente.\nCliente: entiendo, gracias", "spans": [], "known": {}} +{"id": "v11-es-call-028", "channel": "call", "lang": "es", "text": "Hola, hola, soy el esposo de la señora Osorio, mire, ella tiene mucho dolor de barriga, se hinchó toda, subió como cuatro libras desde ayer, la mandaron de esa operación hace tres días. Yo quiero saber si la llevo a la emergencia. Me llamo Heriberto. Ella es Mariela Osorio, con ese, no con zeta. La doctora Sylliboy la vio el martes pasado. Estamos aquí en Norcross, cerca de la clínica de Piedmont, pero no sé si es grave. Dígame qué hago.", "spans": [{"start": 39, "end": 45, "type": "NAME"}, {"start": 240, "end": 249, "type": "NAME"}, {"start": 259, "end": 273, "type": "NAME"}, {"start": 308, "end": 316, "type": "PROVIDER"}, {"start": 358, "end": 366, "type": "ADDRESS"}], "known": {"names": ["Mariela Osorio Cano"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-email-029", "channel": "email", "lang": "es", "text": "Asunto: RE: RE: FET de AB - protocolo\n\nLayla: Perfecto, entonces seguimos con estradiol 6 mg y la progesterona IM desde el día 14. Me confirmas la hora del ecografista.\n\n> El mar, 08:02, Jerome Borden escribió:\n> Layla, el endometrio de AB midió 8.4 mm en trilaminar. Yo creo que podemos programar la FET. ¿Qué piensas?\n>\n> > El lun, 16:40, Layla Saliba escribió:\n> > JB, revisa el caso de la FET de AB antes del huddle de las 0730h. Tiene 2 embriones 4AA y 3AB de biopsia.\n\nSala 2 reservada para el jueves a las 0900h. Lote del medio de transferencia: LOT-5503.", "spans": [{"start": 23, "end": 25, "type": "NAME"}, {"start": 39, "end": 44, "type": "PROVIDER"}, {"start": 187, "end": 200, "type": "PROVIDER"}, {"start": 213, "end": 218, "type": "PROVIDER"}, {"start": 237, "end": 239, "type": "NAME"}, {"start": 341, "end": 353, "type": "PROVIDER"}, {"start": 368, "end": 370, "type": "PROVIDER"}, {"start": 400, "end": 402, "type": "NAME"}], "known": {}} +{"id": "v11-es-note-030", "channel": "note", "lang": "es", "text": "Resumen de llamada (generado por IA) - llamada entrante 14:22, duración 6 min.\nLlamante: Teodora Quintanilla, paciente. Verificó su identidad con la fecha de nacimiento 1988-11-02 y el código postal 30043.\nMotivo: la paciente reporta que su receta número RX-9920174 no llegó a la farmacia. Enfermería llamó a la farmacia y el envío estaba retenido por falta de pago de $85.\nAcción: se transfirió a facturación. Paciente prefiere ser contactada en español al (678) 555-0139. Seguimiento: Monique Rich llamará mañana.\nEstado de ánimo: ansiosa, agradecida.", "spans": [{"start": 89, "end": 108, "type": "NAME"}, {"start": 169, "end": 179, "type": "DATE"}, {"start": 199, "end": 204, "type": "ZIP"}, {"start": 255, "end": 265, "type": "ID"}, {"start": 458, "end": 472, "type": "PHONE"}, {"start": 487, "end": 499, "type": "PROVIDER"}], "known": {"names": ["Teodora Quintanilla Ruiz"], "phones": ["678-555-0139"], "emails": [], "dates_of_birth": ["1988-11-02"], "addresses": [], "identifiers": []}} +{"id": "v11-es-sms-031", "channel": "sms", "lang": "es", "text": "hola es Nayeli otra vez. mi mama Rosario me dijo que le podia pagar su parte por zelle pero no se si lo aceptan. le mande a ella al 470-555-0114 y tambien tengo cash app $nayeli.r.0412. el recibo me lo pueden mandar a nayeli0412@example.com? gracias", "spans": [{"start": 8, "end": 14, "type": "NAME"}, {"start": 33, "end": 40, "type": "NAME"}, {"start": 132, "end": 144, "type": "PHONE"}, {"start": 170, "end": 184, "type": "ACCOUNT"}, {"start": 218, "end": 240, "type": "EMAIL"}], "known": {"names": ["Nayeli Ramos Beltrán"], "phones": ["678-555-0166"], "emails": ["nayeli.ramos@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-chat-032", "channel": "chat", "lang": "es", "text": "Paciente: mi seguro dijo que cubre el diagnóstico pero no el tratamiento, cómo es eso?\nAsistente: Muchos planes de empleadores en Georgia cubren la evaluación de infertilidad, como análisis de sangre, ecografías y la histerosalpingografía, pero excluyen la FIV. Su plan puede ser distinto; lo mejor es pedir el resumen de beneficios.\nPaciente: en la factura veo el código 58970 y también N97.9\nAsistente: El 58970 es el código CPT del procedimiento de recuperación de óvulos y el N97.9 es un código de diagnóstico de infertilidad femenina sin especificar. Son códigos estándar, no identifican a una persona.\nPaciente: y 76830?\nAsistente: Es una ecografía transvaginal. Puede aparecer varias veces durante el monitoreo.\nPaciente: cuánto sale cada una?\nAsistente: El precio estándar es de $210 por ecografía. Facturación puede confirmar si su plan tiene copago.\nPaciente: gracias, voy a llamar al lado de recursos humanos de mi trabajo", "spans": [], "known": {}} +{"id": "v11-es-call-033", "channel": "call", "lang": "es", "text": "Buenas tardes, habla Gabriela Montes de Oca, desde la Ciudad de México. Les dejo este mensaje porque el mensajero de la farmacia quiere entregar el medicamento a mi casa en México y se perdió. Le dije que mi casa está en estas coordenadas, 19.4326, menos 99.1332, es una calle sin nombre cerca del mercado en colonia Santa María la Ribera. Mi número de WhatsApp es +52 555 010 118. Soy paciente de la doctora Kowalczyk y tengo la transferencia programada para la primera semana del mes entrante. Muchas gracias.", "spans": [{"start": 21, "end": 43, "type": "NAME"}, {"start": 54, "end": 70, "type": "ADDRESS"}, {"start": 240, "end": 262, "type": "ADDRESS"}, {"start": 309, "end": 338, "type": "ADDRESS"}, {"start": 365, "end": 380, "type": "PHONE"}, {"start": 409, "end": 418, "type": "PROVIDER"}], "known": {"names": ["Gabriela Montes de Oca Lara"], "phones": ["+52 555 010 118"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-note-034", "channel": "note", "lang": "es", "text": "PIZARRÓN huddle 0715h (transcrito de foto)\nHab 1: Sra. O - HSG 0830h - DJ \nHab 2: M.R. G3P0 - ecografía - SN\nHab 3: libre, limpieza\nHab 4: pt LC retrieval 1030h, 14 folículos, propofol - MJP / TA\nLLAMAR: lab re: AMH de HG (0.4, repetir?)\nFalta: reponer Cetrotide, 2 cajas\nRecordar: simulacro de incendio jueves 1500h", "spans": [{"start": 55, "end": 56, "type": "NAME"}, {"start": 71, "end": 73, "type": "PROVIDER"}, {"start": 82, "end": 86, "type": "NAME"}, {"start": 106, "end": 108, "type": "PROVIDER"}, {"start": 142, "end": 144, "type": "NAME"}, {"start": 187, "end": 190, "type": "PROVIDER"}, {"start": 193, "end": 195, "type": "PROVIDER"}, {"start": 219, "end": 221, "type": "NAME"}], "known": {}} +{"id": "v11-es-email-035", "channel": "email", "lang": "es", "text": "Asunto: Preguntas sobre congelar óvulos\n\nBuenas tardes,\n\nTengo 36 años y estoy pensando en congelar mis óvulos. Mi prima lo hizo hace dos años en otra ciudad y le sacaron 14. Yo quisiera saber:\n\n- Cuántos ciclos suelen necesitarse a mi edad.\n- Si el AMH bajo (el mío fue 0.9) significa que hay que hacerlo ya.\n- Cuánto cuestan las inyecciones, porque vi que el Gonal-f de 450 UI cuesta como $400 en otra farmacia.\n- Si hay descuento por pago adelantado.\n\nMe preocupa también el dolor de la punción, no me gustan las agujas. Gracias de antemano por su tiempo y paciencia.", "spans": [], "known": {}} +{"id": "v11-es-sms-036", "channel": "sms", "lang": "es", "text": "Hola Cinthia, le recordamos su cita de transferencia el miércoles 6 de noviembre a las 0930h en Magnolia Reproductive Associates, 1180 Peachtree Park Drive NE, Suite 400. Tome 1 litro de agua una hora antes y no orine. Responda C para confirmar.", "spans": [{"start": 5, "end": 12, "type": "NAME"}, {"start": 66, "end": 80, "type": "DATE"}], "known": {"names": ["Cinthia Beltrán Soto"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-chat-037", "channel": "chat", "lang": "es", "text": "Asistente: Para la autorización previa necesito verificar un dato. Los últimos cuatro del seguro social?\nPaciente: es 4417\nAsistente: Gracias. Y el número de miembro de su seguro?\nPaciente: kiero decirlo bien, empieza con tres letras, W, B, K y luego 90284715\nAsistente: Para confirmar: WBK90284715. Correcto?\nPaciente: si asi. el grupo es 77120\nAsistente: Gracias. La autorización queda con referencia PA-2026-55812 y la confirmación llegará a su correo.\nPaciente: ok. mi correo es rmartinez.atl@example.net pero ahi aparece solo mi apellido\nAsistente: Anotado. Algo más, señora?\nPaciente: no, ya, gracias. Soy Rocío Martínez", "spans": [{"start": 118, "end": 122, "type": "SSN"}, {"start": 235, "end": 242, "type": "HEALTH_CARD"}, {"start": 251, "end": 259, "type": "HEALTH_CARD"}, {"start": 287, "end": 298, "type": "HEALTH_CARD"}, {"start": 340, "end": 345, "type": "ACCOUNT"}, {"start": 403, "end": 416, "type": "ACCOUNT"}, {"start": 483, "end": 508, "type": "EMAIL"}, {"start": 612, "end": 626, "type": "NAME"}], "known": {"names": ["Rocío Martínez Herrera"], "phones": [], "emails": ["rmartinez.atl@example.net"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-038", "channel": "call", "lang": "es", "text": "Intérprete: Hola, le habla el intérprete Wilfredo, número de intérprete 4471, de la línea de idiomas. Estoy en la llamada con la paciente Altagracia Rosario y con la enfermera.\nEnfermera: Gracias. Pregúntele cuándo empezó el sangrado.\nIntérprete: Dice que desde el domingo en la noche y que es como una regla ligera. Dice que se hizo la prueba hace dos días y salió positiva.\nEnfermera: Dígale que venga hoy para el beta y la ecografía. Una pregunta, dónde vive?\nIntérprete: Dice que en Stone Mountain, cerca de la estación de MARTA.", "spans": [{"start": 41, "end": 49, "type": "NAME"}, {"start": 72, "end": 76, "type": "ID"}, {"start": 138, "end": 156, "type": "NAME"}, {"start": 487, "end": 501, "type": "ADDRESS"}], "known": {"names": ["Altagracia Rosario Féliz"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-email-039", "channel": "email", "lang": "es", "text": "De: Ernesto Villalobos \nPara: Coordinación de subrogación\nCc: karla.pena.ga@example.org\nAsunto: Contrato de gestación - caso 2026-FM-04417\n\nEstimados:\n\nComo abogado de los futuros padres, Hugo Salcedo y Mireya Salcedo, les remito el borrador del contrato con la gestante, la señora Karla Peña. El tribunal del condado de Fulton asignó el expediente 2026-FM-04417, y el abogado de la gestante, Dennis Whitfield, ya revisó las cláusulas 7 a 12.\n\nLa señora Peña tiene su domicilio en Macon y los padres residen en Guadalajara, Jalisco. Necesitamos que la clínica confirme por escrito que la doctora Hartley aceptó el seguimiento médico antes de la firma.\n\nAtentamente,\nErnesto Villalobos", "spans": [{"start": 4, "end": 22, "type": "NAME"}, {"start": 24, "end": 47, "type": "EMAIL"}, {"start": 87, "end": 112, "type": "EMAIL"}, {"start": 150, "end": 163, "type": "ID"}, {"start": 213, "end": 225, "type": "NAME"}, {"start": 228, "end": 242, "type": "NAME"}, {"start": 307, "end": 317, "type": "NAME"}, {"start": 374, "end": 387, "type": "ID"}, {"start": 418, "end": 434, "type": "NAME"}, {"start": 479, "end": 483, "type": "NAME"}, {"start": 506, "end": 511, "type": "ADDRESS"}, {"start": 536, "end": 556, "type": "ADDRESS"}, {"start": 621, "end": 628, "type": "PROVIDER"}, {"start": 691, "end": 709, "type": "NAME"}], "known": {"names": ["Hugo Salcedo Marín", "Mireya Salcedo Ríos"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-note-040", "channel": "note", "lang": "es", "text": "FAX RECIBIDO - FARMACIA (OCR, calidad baja)\nDe: Farmacia Especialidad Sur Fax: 770-555-0188\nPara: Magnolia Reproductive Associates, Atn. enfermería, fax 404-555-0701\nRe: confirmación de envío\nPaciente: VELÁZQUEZ, ARACELI Fecha nac: 09/22/1985\nRx #: 8830-42117\nMedicamento: Menopur 75 UI, NDC 55566-7501-1, lote B7821, caducidad 2027-03\nCantidad: 10 viales. Surtido: 1.\nEntrega a: 620 Clairmont Ave, Apt 3D, Decatur 30030\nFirma recibida: A. Velázquez\nAprobado por: Dr. Banks", "spans": [{"start": 81, "end": 93, "type": "PHONE"}, {"start": 204, "end": 222, "type": "NAME"}, {"start": 236, "end": 246, "type": "DATE"}, {"start": 253, "end": 263, "type": "ID"}, {"start": 384, "end": 418, "type": "ADDRESS"}, {"start": 419, "end": 424, "type": "ZIP"}, {"start": 441, "end": 453, "type": "NAME"}, {"start": 472, "end": 477, "type": "PROVIDER"}], "known": {"names": ["Araceli Velázquez Peña"], "phones": [], "emails": [], "dates_of_birth": ["1985-09-22"], "addresses": ["620 Clairmont Ave, Apt 3D, Decatur"], "identifiers": []}} +{"id": "v11-es-sms-041", "channel": "sms", "lang": "es", "text": "Gracias por todo el cariño de ayer. Mi esposo y yo estuvimos llorando en el carro un rato, pero también un poco aliviados de saber qué sigue. Si hay que esperar dos ciclos antes de intentar otra transferencia, lo vamos a hacer. Dios sabe por qué. Los queremos mucho.", "spans": [], "known": {}} +{"id": "v11-es-chat-042", "channel": "chat", "lang": "es", "text": "Estudiante: hola, soy Emiliano Garza, estoy haciendo mi doctorado aquí y mi pareja y yo queremos información sobre congelar esperma antes de mi tratamiento\nAsistente: Con gusto. Para la consulta necesito su nombre completo y un teléfono.\nEstudiante: Emiliano Garza Treviño, el teléfono es 404-555-0149\nAsistente: Gracias, Emiliano. Y dónde recibe correo?\nEstudiante: vivo en la residencia de la universidad: Glenn Residence Hall, room 221, 701 Fowler St NW, Atlanta 30332\nAsistente: Anotado. Hay descuento para estudiantes, hay que mostrar la credencial.\nEstudiante: mi número de estudiante es 903412870\nAsistente: No lo necesito, mejor no lo comparta por chat. Qué horario le conviene para la consulta?\nEstudiante: después de las 1600h, que salgo del laboratorio", "spans": [{"start": 22, "end": 36, "type": "NAME"}, {"start": 250, "end": 272, "type": "NAME"}, {"start": 289, "end": 301, "type": "PHONE"}, {"start": 322, "end": 330, "type": "NAME"}, {"start": 408, "end": 465, "type": "ADDRESS"}, {"start": 466, "end": 471, "type": "ZIP"}, {"start": 594, "end": 603, "type": "ID"}], "known": {"names": ["Emiliano Garza Treviño"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-043", "channel": "call", "lang": "es", "text": "Hola, buenas tardes, quería ver si pueden mover mi cita de hoy porque se me complicó el trabajo y no voy a poder llegar a las 3:30 de la tarde. Podría ser más tarde, como a las 5:15, o mejor mañana temprano. Es la ecografía del folículo, la segunda de esta semana. También quería preguntar si el medicamento que me tocó anoche, el Cetrotide, se puede ponerme a la misma hora aunque cambie la cita. Me devuelven la llamada, por favor. Gracias.", "spans": [], "known": {}} +{"id": "v11-es-note-044", "channel": "note", "lang": "es", "text": "CARTA DE REFERENCIA\nGuadalajara, México\n\nEstimada doctora Okonkwo:\n\nLe refiero a mi paciente, la señora Beatriz Orozco Ledesma, nacida el 7 de febrero de 1983, con diagnóstico de factor tubárico bilateral tras salpingectomía. Antecedentes: G1P0A1, endometriosis grado II, AMH 0.7. Solicita FIV con PGT-A. Domicilio: Av. Vallarta 2450, Col. Arcos Vallarta, Guadalajara. Teléfono: +52 555 010 662.\n\nAtentamente,\nDr. Alejandro Fuentes\nCédula profesional 8814325", "spans": [{"start": 58, "end": 65, "type": "PROVIDER"}, {"start": 104, "end": 126, "type": "NAME"}, {"start": 138, "end": 158, "type": "DATE"}, {"start": 316, "end": 367, "type": "ADDRESS"}, {"start": 379, "end": 394, "type": "PHONE"}, {"start": 414, "end": 431, "type": "PROVIDER"}, {"start": 451, "end": 458, "type": "ID"}], "known": {"names": ["Beatriz Orozco Ledesma"], "phones": [], "emails": [], "dates_of_birth": ["1983-02-07"], "addresses": [], "identifiers": []}} +{"id": "v11-es-email-045", "channel": "email", "lang": "es", "text": "Asunto: Taller informativo en español - hay lugares disponibles\n\nEstimadas familias:\n\nLos invitamos a nuestra sesión informativa gratuita sobre fertilidad, en español, el sábado 16 de noviembre a las 1000h en nuestra oficina. Hablaremos de FIV, congelación de óvulos y opciones de financiamiento. Habrá café, pan dulce y traducción simultánea. Cupo: 40 personas. Puede registrarse en https://magnolia-ra.example.org/portal.\n\nAtentamente,\nEquipo de educación al paciente\nMagnolia Reproductive Associates\n1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309\n404-555-0700 - info@magnolia-ra.example.org - @MagnoliaFertilityATL\nPara dejar de recibir estos correos, responda con la palabra BAJA.", "spans": [], "known": {}} +{"id": "v11-es-sms-046", "channel": "sms", "lang": "es", "text": "doc Borden soy Wilkin Mejía de santiago dominicana. mañana es mi cumple, el 3 de diciembre, jaja, 34. espero que la beta de hoy me de un regalito. llámeme al (404) 555-0183 cuando salga el resultado q yo contesto aunque este en el trabajo en Home Depot", "spans": [{"start": 4, "end": 10, "type": "PROVIDER"}, {"start": 15, "end": 27, "type": "NAME"}, {"start": 31, "end": 39, "type": "ADDRESS"}, {"start": 76, "end": 90, "type": "DATE"}, {"start": 158, "end": 172, "type": "PHONE"}, {"start": 242, "end": 252, "type": "EMPLOYER"}], "known": {"names": ["Wilkin Mejía Santos"], "phones": ["404-555-0183"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-chat-047", "channel": "chat", "lang": "es", "text": "Visitante: buenas, vivo en Tijuana, Baja California, y estoy viendo si puedo hacer los monitoreos allá y solo ir a Atlanta para la recuperación\nAsistente: Sí, muchos pacientes lo hacen. Se necesita un laboratorio y una clínica de ecografías cerca de usted que envíe los resultados por el portal.\nVisitante: mi ginecóloga es la doctora Rebecca Goldfarb, no, perdón, es otra, Rebeca Galindo. Disculpe, me confundí con el nombre que me dieron\nAsistente: No se preocupe. Para el registro internacional puede subir su pasaporte o su CURP.\nVisitante: mi CURP es GALR810412MBCLNB07\nAsistente: Gracias, pero por seguridad pídale al equipo el enlace seguro del portal para subir documentos. Evite escribir números oficiales aquí.\nVisitante: ok, perdón, no sabía", "spans": [{"start": 27, "end": 34, "type": "ADDRESS"}, {"start": 335, "end": 351, "type": "PROVIDER"}, {"start": 374, "end": 388, "type": "NAME"}, {"start": 556, "end": 574, "type": "ID"}], "known": {}} +{"id": "v11-es-call-048", "channel": "call", "lang": "es", "text": "Buenas tardes, quiero hablar con la enfermera de mi esposa. Mi esposa se llama Liliana Cardona, pero en el sistema creo que aparece como Liliana Cardonas, con ese al final. Yo soy el padre de ella, don Fabio Cardona, viajé desde Pereira, Colombia, para acompañarla en el posparto. Ella nació el veintinueve de febrero del noventa y dos. No la dejen sola ni a ella ni a la niña, Valentina, que nació hace una semana.", "spans": [{"start": 79, "end": 94, "type": "NAME"}, {"start": 137, "end": 153, "type": "NAME"}, {"start": 202, "end": 215, "type": "NAME"}, {"start": 229, "end": 236, "type": "ADDRESS"}, {"start": 295, "end": 335, "type": "DATE"}, {"start": 378, "end": 387, "type": "NAME"}], "known": {"names": ["Liliana Cardona Ríos"], "phones": [], "emails": [], "dates_of_birth": ["1992-02-29"], "addresses": [], "identifiers": []}} +{"id": "v11-es-email-049", "channel": "email", "lang": "es", "text": "Asunto: RE: RE: Cheque devuelto - ticket 20931\n\nBuenas tardes, señora Lorena Pacheco:\n\nLe confirmamos que su cheque número 1042 por $1,500 fue devuelto por el banco. Puede reponerlo por el portal o con tarjeta.\n\nMonique\nFacturación\n\n> El jue, 11:20, Lorena Pacheco escribió:\n> Les mandé el cheque a la dirección que me dieron, pero me lo devolvieron al PO Box 418, Cumming 30028. Mi cuenta es la 0044-871203, en Wells Fargo\n>\n> > El mar, 09:05, Facturación escribió:\n> > Señora Pacheco, falta la firma en su cheque.", "spans": [{"start": 70, "end": 84, "type": "NAME"}, {"start": 123, "end": 127, "type": "ACCOUNT"}, {"start": 212, "end": 219, "type": "PROVIDER"}, {"start": 250, "end": 264, "type": "NAME"}, {"start": 353, "end": 372, "type": "ADDRESS"}, {"start": 373, "end": 378, "type": "ZIP"}, {"start": 396, "end": 407, "type": "ACCOUNT"}, {"start": 478, "end": 485, "type": "NAME"}], "known": {"names": ["Lorena Pacheco Duarte"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-note-050", "channel": "note", "lang": "es", "text": "Auditoría del portal - paciente Idalia Sandoval\n2026-10-30 21:14:07 login ok usr=isandoval_8841 ip=73.146.220.19\n2026-10-30 21:16:52 descarga: Scan - Sandoval, Idalia.pdf\n2026-10-30 21:19:33 foto subida: IMG_20261030_idalia.jpg\n2026-10-31 02:03:11 login fallido ip=187.190.45.8 (México)\nObservación: la paciente dice que viajó a Puebla. Revisión de seguridad solicitada a KH.", "spans": [{"start": 32, "end": 47, "type": "NAME"}, {"start": 81, "end": 95, "type": "ID"}, {"start": 99, "end": 112, "type": "IP_ADDRESS"}, {"start": 150, "end": 166, "type": "NAME"}, {"start": 217, "end": 223, "type": "NAME"}, {"start": 265, "end": 277, "type": "IP_ADDRESS"}, {"start": 329, "end": 335, "type": "ADDRESS"}, {"start": 372, "end": 374, "type": "PROVIDER"}], "known": {"names": ["Idalia Sandoval Torres"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-sms-051", "channel": "sms", "lang": "es", "text": "Buenas noches, doctora. Le escribo desde el carro porque no quiero que mi esposa me oiga. Tengo miedo del resultado del espermiograma, el conteo salió en 3.2 millones y la motilidad 18%. Qué opciones tenemos? Prefiero hablarlo a solas con usted antes de que ella sepa.", "spans": [], "known": {}} +{"id": "v11-es-chat-052", "channel": "chat", "lang": "es", "text": "Usuario: cuál es la diferencia entre un protocolo antagonista y uno largo?\nAsistente: En el protocolo antagonista la estimulación empieza el día 2 o 3 del ciclo y se agrega un bloqueador (por ejemplo Cetrotide) más adelante. El largo comienza con supresión previa, normalmente con Lupron, y dura más semanas. Su médico decide cuál conviene.\nUsuario: y el desencadenante es siempre Ovidrel?\nAsistente: No siempre. A veces se usa Lupron o una combinación, según el riesgo de OHSS.\nUsuario: cuántas ampollas de Gonal-f son normales\nAsistente: Varía muchísimo. Hay pacientes con 150 UI al día y otras con 300 UI. No es un indicador de éxito.\nUsuario: mi amiga dice que se hinchó mucho y subió peso\nAsistente: La distensión leve es común, pero un aumento de peso rápido o dolor fuerte debe reportarse a enfermería de inmediato.\nUsuario: gracias, muy claro", "spans": [], "known": {}} +{"id": "v11-es-call-053", "channel": "call", "lang": "es", "text": "Buenas, necesito ayuda con unos papeles. Mi nombre es Ixchel Tzoc, de Guatemala pero trabajo en Chick-fil-A en Roswell. En recursos humanos me dijo la señora Brenda Lamar que necesitan una carta de la clínica diciendo que mi tratamiento es para el beneficio de fertilidad. Pueden mandarla al correo blamar.hr@example.com? Ella dijo que el número de mi póliza es POL-6620193 y que lo ponga en la carta. Gracias, estoy esperando.", "spans": [{"start": 54, "end": 65, "type": "NAME"}, {"start": 96, "end": 107, "type": "EMPLOYER"}, {"start": 111, "end": 118, "type": "ADDRESS"}, {"start": 158, "end": 170, "type": "NAME"}, {"start": 299, "end": 320, "type": "EMAIL"}, {"start": 362, "end": 373, "type": "ACCOUNT"}], "known": {"names": ["Ixchel Tzoc Pérez"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-note-054", "channel": "note", "lang": "es", "text": "Nota de enfermería 1610h. Sra. A llamó por dolor pélvico día 3 post-FET. Sin sangrado. T 37.0. Se tranquilizó. Se le recordó seguir progesterona IM 50 mg. Pregunta si puede viajar a Orlando el fin de semana; se le dijo que consulte con HC. Pendiente: f/u c/ Hope mañana, beta el día 10. Esposo J. contesta el teléfono fijo y dice que hablan español e inglés.", "spans": [{"start": 31, "end": 32, "type": "NAME"}, {"start": 236, "end": 238, "type": "PROVIDER"}, {"start": 258, "end": 262, "type": "PROVIDER"}, {"start": 294, "end": 296, "type": "NAME"}], "known": {}} +{"id": "v11-es-email-055", "channel": "email", "lang": "es", "text": "De: Consuelo Aguirre \nAsunto: Queja formal - atención recibida\n\nA quien corresponda:\n\nMe llamo Consuelo Aguirre Pons y soy de Valencia, aunque hoy resido en Alpharetta. El pasado 22 de octubre tuve cita con el doctor Visniewski a las 1015h y esperé casi dos horas y media sin que nadie me avisara. Cuando por fin entré, el doctor ni siquiera había revisado mis análisis, que incluían una FSH de 11 y un AMH de 0.6. Además, la recepcionista, una chica joven que se llama Selam, me trató con mucha frialdad.\n\nPaqué $350 de consulta con la tarjeta terminada en 0928 y quiero un reembolso parcial. Mi número de paciente es el MRN 0071245.\n\nUn saludo,\nConsuelo Aguirre", "spans": [{"start": 4, "end": 20, "type": "NAME"}, {"start": 22, "end": 51, "type": "EMAIL"}, {"start": 126, "end": 147, "type": "NAME"}, {"start": 157, "end": 165, "type": "ADDRESS"}, {"start": 188, "end": 198, "type": "ADDRESS"}, {"start": 210, "end": 223, "type": "DATE"}, {"start": 248, "end": 258, "type": "PROVIDER"}, {"start": 501, "end": 506, "type": "PROVIDER"}, {"start": 589, "end": 593, "type": "ACCOUNT"}, {"start": 657, "end": 664, "type": "MRN"}, {"start": 678, "end": 694, "type": "NAME"}], "known": {"names": ["Consuelo Aguirre Pons"], "phones": [], "emails": ["caguirre.valencia@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": ["MRN 0071245"]}} +{"id": "v11-es-sms-056", "channel": "sms", "lang": "es", "text": "AVISO: Magnolia Reproductive Associates estará cerrada el jueves y viernes por el Día de Acción de Gracias. Las llamadas de urgencia con medicación se atienden en el 404-555-0700, opción 1. Las citas de monitoreo del sábado se mantienen a las 0700h. Que tengan unas felices fiestas.", "spans": [], "known": {}} +{"id": "v11-es-chat-057", "channel": "chat", "lang": "es", "text": "Paciente: quiero pagar con mi cuenta HSA, qué datos necesitan?\nAsistente: Puede pagar desde el portal ingresando los datos de su tarjeta HSA. No necesitamos su número de cuenta bancaria.\nPaciente: es que el banco me da un numero de cuenta y un routing, el routing es 061000104 y la cuenta 7731904482\nAsistente: Gracias, pero por favor no comparta esos datos aquí. Los voy a ocultar del registro del chat.\nPaciente: ay perdón, pensé que se hacia asi como en la tienda. soy Yocasta Martínez de Lilburn y se me hace dificil con tanta tecnología\nAsistente: No se preocupe, Yocasta. Si prefiere, puede llamar a facturación y le ayudamos por teléfono.", "spans": [{"start": 267, "end": 276, "type": "ACCOUNT"}, {"start": 289, "end": 299, "type": "ACCOUNT"}, {"start": 472, "end": 488, "type": "NAME"}, {"start": 492, "end": 499, "type": "ADDRESS"}, {"start": 569, "end": 576, "type": "NAME"}], "known": {"names": ["Yocasta Martínez Peralta"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-es-call-058", "channel": "call", "lang": "es", "text": "Mensaje de voz, 0612h. Hola, buenos días, llamo por la medicación de esta noche. Me tocan 225 unidades de Gonal-f y 75 de Menopur, y a las 2100h el Cetrotide, 0.25 miligramos. Se me acabó una pluma y la otra marca como 80 unidades restantes, alcanza o no? Lo otro, la ecografía de hoy es en la sala 2, no? Mi último estradiol fue 1450 y los folículos más grandes medían 18 milímetros. Si me pueden devolver la llamada antes de las 1100h, mejor. Gracias.", "spans": [], "known": {}} +{"id": "v11-es-email-059", "channel": "email", "lang": "es", "text": "De: Camila Duque \nPara: halifax@magnolia-ra.example.org\nAsunto: Crédito fiscal y tarjeta de salud\n\nBuenas tardes,\n\nSoy Camila Duque, colombiana recién llegada a Halifax. Vivimos en 1427 Robie Street, Apt 5, Halifax B3H 3E4. Mi tarjeta de salud de Nueva Escocia es la 9182 304 567 y la de mi esposo Esteban es la 9182 304 571. Queremos saber si el crédito fiscal de fertilidad de Nueva Escocia cubre los medicamentos y cómo se presenta.\n\nTambién, si la primera consulta puede ser en español. Mi inglés es básico todavía.\n\nGracias,\nCamila", "spans": [{"start": 4, "end": 16, "type": "NAME"}, {"start": 18, "end": 42, "type": "EMAIL"}, {"start": 145, "end": 157, "type": "NAME"}, {"start": 207, "end": 231, "type": "ADDRESS"}, {"start": 233, "end": 240, "type": "ADDRESS"}, {"start": 241, "end": 248, "type": "POSTAL_CODE"}, {"start": 293, "end": 305, "type": "HEALTH_CARD"}, {"start": 324, "end": 331, "type": "NAME"}, {"start": 338, "end": 350, "type": "HEALTH_CARD"}, {"start": 556, "end": 562, "type": "NAME"}], "known": {"names": ["Camila Duque Herrera"], "phones": [], "emails": ["camila.duque@example.org"], "dates_of_birth": [], "addresses": [], "identifiers": ["9182 304 567"]}} +{"id": "v11-es-note-060", "channel": "note", "lang": "es", "text": "ACUERDO DE DISPOSICIÓN DE EMBRIONES (versión 4.1) - extracto escaneado\nPacientes: Graciela Domínguez Ortega y Raúl Ibarra Solís\nDomicilio: 1905 Cheshire Bridge Rd NE, Unidad 12, Atlanta, 30324\nEmbriones en almacenamiento: 4 (tanque 6, canister 2)\nID de embriones: EMB-2026-00418 a EMB-2026-00421\nOpción elegida en caso de separación: descarte\nTestigo: Mónica Barajas, notaria. Testigo clínico: Paris Jean-Baptiste\nFirmado el 12 de agosto de 2026.", "spans": [{"start": 82, "end": 107, "type": "NAME"}, {"start": 110, "end": 127, "type": "NAME"}, {"start": 139, "end": 176, "type": "ADDRESS"}, {"start": 178, "end": 185, "type": "ADDRESS"}, {"start": 187, "end": 192, "type": "ZIP"}, {"start": 264, "end": 278, "type": "DONOR_ID"}, {"start": 281, "end": 295, "type": "DONOR_ID"}, {"start": 352, "end": 366, "type": "NAME"}, {"start": 394, "end": 413, "type": "PROVIDER"}, {"start": 425, "end": 445, "type": "DATE"}], "known": {"names": ["Graciela Domínguez Ortega", "Raúl Ibarra Solís"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-sms-001", "channel": "sms", "lang": "fr", "text": "Allo, c'est Mélanie, j'ai call-é à matin mais ça répondait pas. Moi pis Gilles on reste à Shediac, fait que c'est un boute à drive jusqu'à Halifax. Est-ce qu'on peut faire le monitorage à Moncton à la place? Check-moé ça pis rappelle-moé au 506-555-0147. Marci!", "spans": [{"start": 12, "end": 19, "type": "NAME"}, {"start": 72, "end": 78, "type": "NAME"}, {"start": 90, "end": 97, "type": "ADDRESS"}, {"start": 241, "end": 253, "type": "PHONE"}], "known": {"names": ["Mélanie Léger"], "phones": ["506-555-0147"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-chat-002", "channel": "chat", "lang": "fr", "text": "Visiteur: Bonjour, est-ce que le crédit d'impôt pour la fertilité en Nouvelle-Écosse couvre les médicaments?\nAssistant: Bonjour. En général, le programme provincial peut couvrir une partie des frais admissibles liés aux traitements, mais les règles précises changent. Je vous recommande de vérifier les critères officiels et de demander un reçu détaillé à notre service de facturation.\nVisiteur: Et la FIV, ça coûte combien environ?\nAssistant: Un cycle de FIV standard est facturé à 7 800 $, sans les médicaments ni le test génétique PGT-A. Les médicaments varient de 2 500 $ à 5 000 $ selon le protocole.\nVisiteur: Ok. Pis l'insémination?\nAssistant: Une IUI est facturée à 650 $ plus le suivi échographique à 210 $ par visite.\nVisiteur: Merci, c'est clair.\nAssistant: Avec plaisir. Voulez-vous réserver une consultation d'information à Halifax?\nVisiteur: Pas tout de suite.", "spans": [], "known": {}} +{"id": "v11-fr-call-003", "channel": "call", "lang": "fr", "text": "Bonjour, ici Marie-Ange Pierre-Louis, je suis une patiente d'Atlanta, d'origine haïtienne. Je voudrais confirmer mon rendez-vous avec la docteure Okonkwo. Ma date de naissance, c'est le quatorze juin mil neuf cent quatre-vingt-dix. Vous pouvez me joindre au quatre zéro quatre, cinq cinq cinq, zéro deux trois neuf. J'habite à Clarkston, près de l'église haïtienne. Mon mari s'appelle Wilner, il va venir avec moi. Merci, que Dieu vous bénisse.", "spans": [{"start": 13, "end": 36, "type": "NAME"}, {"start": 146, "end": 153, "type": "PROVIDER"}, {"start": 186, "end": 230, "type": "DATE"}, {"start": 258, "end": 314, "type": "PHONE"}, {"start": 327, "end": 336, "type": "ADDRESS"}, {"start": 385, "end": 391, "type": "NAME"}], "known": {"names": ["Marie-Ange Pierre-Louis"], "phones": ["404-555-0239"], "emails": [], "dates_of_birth": ["1990-06-14"], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-004", "channel": "call", "lang": "fr", "text": "Bienvenue chez Magnolia Reproductive Associates. Pour le bureau d'Atlanta, faites le un. Pour le bureau de Halifax, faites le deux, ou composez le neuf zéro deux, cinq cinq cinq, zéro sept un zéro. Pour la facturation, poste 118. Pour les soins infirmiers, poste 214. Les bureaux sont fermés le jour de l'Action de grâce américaine. Pour une urgence médicale, raccrochez et composez le 911. Pour répéter ce message, appuyez sur la touche étoile.", "spans": [], "known": {}} +{"id": "v11-fr-email-005", "channel": "email", "lang": "fr", "text": "De: Nadine Haddad-Khoury \nÀ: halifax@magnolia-ra.example.org\nObjet: Dossier de mon mari et moi\n\nBonjour,\n\nJe m'appelle Nadine Haddad-Khoury, nous sommes originaires de Beyrouth et nous habitons à Halifax depuis deux ans, au 2180 Gottingen Street, appartement 4B, B3K 3B3. Mon mari, Fadi Khoury, est né le 3 mars 1984 et moi le 18 novembre 1987. Nos numéros de carte santé sont 7340 118 925 pour moi et 7340 118 933 pour lui.\n\nMon mari travaille à Dalhousie University, au laboratoire de chimie. Nous aimerions savoir si vous acceptez de lire les résultats de nos analyses faites au Liban, en arabe et en français.\n\nCordialement,\nNadine", "spans": [{"start": 4, "end": 24, "type": "NAME"}, {"start": 26, "end": 51, "type": "EMAIL"}, {"start": 146, "end": 166, "type": "NAME"}, {"start": 195, "end": 203, "type": "ADDRESS"}, {"start": 251, "end": 288, "type": "ADDRESS"}, {"start": 290, "end": 297, "type": "POSTAL_CODE"}, {"start": 309, "end": 320, "type": "NAME"}, {"start": 332, "end": 343, "type": "DATE"}, {"start": 354, "end": 370, "type": "DATE"}, {"start": 404, "end": 416, "type": "HEALTH_CARD"}, {"start": 429, "end": 441, "type": "HEALTH_CARD"}, {"start": 474, "end": 494, "type": "EMPLOYER"}, {"start": 656, "end": 662, "type": "NAME"}], "known": {"names": ["Nadine Haddad-Khoury"], "phones": [], "emails": ["nadine.khoury@example.net"], "dates_of_birth": ["1987-11-18"], "addresses": [], "identifiers": []}} +{"id": "v11-fr-sms-006", "channel": "sms", "lang": "fr", "text": "Rappel: votre échographie de suivi est demain à 8 h 15. Vous n'avez pas besoin d'être à jeun. Si vous prenez Gonal-f 225 UI ce soir à 21 h, ne changez pas l'heure. Pour confirmer, répondez O. Magnolia Reproductive Associates, 902-555-0710. Répondez STOP pour ne plus recevoir de messages.", "spans": [], "known": {}} +{"id": "v11-fr-chat-007", "channel": "chat", "lang": "fr", "text": "Assistant: Bonjour, je suis l'assistant virtuel de Magnolia. Comment puis-je vous aider?\nPatiente: Je suis québécoise, je travaille à Halifax depuis septembre et je veux transférer mon dossier de Montréal.\nAssistant: Bien sûr. Quel est votre nom complet?\nPatiente: Audrey Bouchard-Lavoie\nAssistant: Merci, Audrey. Pouvez-vous me donner le numéro de votre carte d'assurance maladie?\nPatiente: C'est BOUA 8703\nPatiente: 1415\nPatiente: attends, je vais faire ça en entier: BOUA 8703 1415\nAssistant: Merci. Pour confirmer: BOUA 8703 1415. C'est bien ça?\nPatiente: oui, mais elle est expirée depuis février\nAssistant: Notez que votre nouvelle carte de la Nouvelle-Écosse sera nécessaire. Je transmets votre demande à l'équipe.\nPatiente: super, ma clinique à Montréal est la Clinique Lavallée... non attends, c'est pas mon employeur, désolée, c'est ma clinique. Je travaille à Nova Scotia Power.", "spans": [{"start": 265, "end": 287, "type": "NAME"}, {"start": 306, "end": 312, "type": "NAME"}, {"start": 398, "end": 407, "type": "HEALTH_CARD"}, {"start": 418, "end": 422, "type": "HEALTH_CARD"}, {"start": 470, "end": 484, "type": "HEALTH_CARD"}, {"start": 519, "end": 533, "type": "HEALTH_CARD"}, {"start": 594, "end": 601, "type": "DATE"}, {"start": 871, "end": 888, "type": "EMPLOYER"}], "known": {"names": ["Audrey Bouchard-Lavoie"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-008", "channel": "call", "lang": "fr", "text": "Agent: Magnolia, bonjour.\nAppelant: Oui bonjour, je voudrais vérifier le rendez-vous de ma femme. Elle s'appelle Zineb El Idrissi, ça s'écrit Z, I, N, E, B pour le prénom et E, L, I, D, R, I, S, S, I pour le nom. Nous sommes de Casablanca mais nous sommes à Dartmouth pour mes études.\nAgent: Un instant. Je trouve un rendez-vous avec la docteure Layla Saliba le 19 novembre.\nAppelant: Parfait. Moi, c'est Anas. Mon numéro est le 902-555-0188.", "spans": [{"start": 113, "end": 129, "type": "NAME"}, {"start": 142, "end": 155, "type": "NAME"}, {"start": 174, "end": 199, "type": "NAME"}, {"start": 228, "end": 238, "type": "ADDRESS"}, {"start": 258, "end": 267, "type": "ADDRESS"}, {"start": 346, "end": 358, "type": "PROVIDER"}, {"start": 362, "end": 373, "type": "DATE"}, {"start": 405, "end": 409, "type": "NAME"}, {"start": 429, "end": 441, "type": "PHONE"}], "known": {"names": ["Zineb El Idrissi"], "phones": ["902-555-0188"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-email-009", "channel": "email", "lang": "fr", "text": "Objet: Question sur le déroulement d'un transfert d'embryon congelé\n\nBonjour,\n\nNous sommes en préparation pour un transfert d'embryon congelé et j'ai quelques questions pratiques:\n\n1. À quelle heure faut-il arriver? On nous a dit 0930 h pour un transfert à 1015 h.\n2. Peut-on conduire après? La clinique a mentionné un léger sédatif, de l'Ativan 1 mg, mais je ne suis pas certaine.\n3. L'estradiol est à 6 mg par jour; est-ce que je dois continuer le patch en plus?\n4. Notre embryon est de grade 4AA, congelé au jour 5. Est-ce un bon grade?\n5. Après le transfert, combien de temps de repos? Mon patron veut savoir si je dois prendre une journée complète ou une demi-journée.\n\nMerci beaucoup pour votre patience.", "spans": [], "known": {}} +{"id": "v11-fr-note-010", "channel": "note", "lang": "fr", "text": "Note de triage, 1135 h, bureau d'Halifax. Pt CL 31 ans G1P0 appelle en chiac/français, c/o spotting léger J8 post-FET, sans douleur. T 36.9. Rassurée. Rappel: beta le jour 10. Mari Jean-Marc a parlé au téléphone en premier. À voir avec HC re: progestérone IM. Hope prévenue à 1140 h. Famille de Clare, Baie Sainte-Marie; trajet de 3 h, prévoir un monitorage à Yarmouth la semaine prochaine.", "spans": [{"start": 45, "end": 47, "type": "NAME"}, {"start": 181, "end": 190, "type": "NAME"}, {"start": 236, "end": 238, "type": "PROVIDER"}, {"start": 260, "end": 264, "type": "PROVIDER"}, {"start": 295, "end": 300, "type": "ADDRESS"}], "known": {"names": ["Chantal LeBlanc"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-sms-011", "channel": "sms", "lang": "fr", "text": "Bonsoir, c'est Mireille Kabongo. Je viens d'envoyer l'acompte de 500 $ par Cash App, mon identifiant est $mireille.kabongo7. Vous pouvez m'envoyer le reçu par courriel à mkabongo7@example.com? J'habite maintenant au 3350 Clairmont Rd NE, #4B à Brookhaven. Mon frère Patrick va s'occuper de la paperasse.", "spans": [{"start": 15, "end": 31, "type": "NAME"}, {"start": 105, "end": 123, "type": "ACCOUNT"}, {"start": 170, "end": 191, "type": "EMAIL"}, {"start": 216, "end": 241, "type": "ADDRESS"}, {"start": 244, "end": 254, "type": "ADDRESS"}, {"start": 266, "end": 273, "type": "NAME"}], "known": {"names": ["Mireille Kabongo Tshimanga"], "phones": [], "emails": ["mireille.kabongo@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-chat-012", "channel": "chat", "lang": "fr", "text": "Utilisateur: j'ai reçu mon rapport PGT-A et je comprends pas tout\nAssistant: Je peux vous aider à comprendre le vocabulaire général. Que dit le rapport?\nUtilisateur: 3 embryons euploïdes, 1 aneuploïde (monosomie 21) et 2 mosaïques de bas niveau\nAssistant: Un embryon euploïde a le nombre attendu de chromosomes. Les mosaïques se discutent au cas par cas avec le médecin et parfois avec un conseiller en génétique.\nUtilisateur: pis les grades, c'est 4AA, 3AB et 4BB\nAssistant: Le grade décrit l'expansion et l'aspect des cellules. Il ne prédit pas à lui seul l'implantation.\nUtilisateur: combien de temps pour le prochain transfert?\nAssistant: En général, un cycle de préparation dure de 2 à 3 semaines. Votre infirmière peut préciser selon votre protocole, lors de la consultation de 1330 h.\nUtilisateur: ok merci beaucoup", "spans": [], "known": {}} +{"id": "v11-fr-call-013", "channel": "call", "lang": "fr", "text": "Allo, bonjour, c'est Rose-Aimée Boudreau de Chéticamp. Je vous laisse un message parce que le livreur trouve pas ma maison. Mon adresse, c'est RR 2, Site 4, Box 12, Chéticamp, pis c'est la maison jaune après le garage de bateaux, à côté du bureau de poste. Je suis la fille de Alphonse Boudreau qui est connu dans le coin. Mon numéro, c'est le (902) 555-0163. Merci ben, bye.", "spans": [{"start": 21, "end": 40, "type": "NAME"}, {"start": 44, "end": 53, "type": "ADDRESS"}, {"start": 143, "end": 163, "type": "ADDRESS"}, {"start": 165, "end": 174, "type": "ADDRESS"}, {"start": 277, "end": 294, "type": "NAME"}, {"start": 344, "end": 358, "type": "PHONE"}], "known": {"names": ["Rose-Aimée Boudreau"], "phones": ["902-555-0163"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-014", "channel": "call", "lang": "fr", "text": "Bonjour, je laisse un message pour l'infirmière. Alors ce matin ma température était à 36,4, j'ai pris mon Cetrotide à 0800 h, la dose de 0,25 mg. Hier le résultat de l'estradiol était à 1450 et mes follicules à 17, 16 et 14 millimètres. Je voudrais savoir si je dois changer la dose de Menopur de 150 à 75 unités, parce que j'ai beaucoup de ballonnements. Est-ce qu'on pourrait me rappeler avant 1100 h? Merci, bonne journée.", "spans": [], "known": {}} +{"id": "v11-fr-email-015", "channel": "email", "lang": "fr", "text": "De: Sophie Marchetti \nObjet: Demande de dossier médical et consultation à distance\n\nBonjour,\n\nJe m'appelle Sophie Marchetti, j'habite à Lyon, au 14 rue de la République, 69002 Lyon. Je suis née le 27/09/1985. Mon numéro de sécurité sociale est le 2 85 09 69 123 456 78 et ma mutuelle est la MGEN contrat 4408217.\n\nMon gynécologue, le docteur Banks, a déjà échangé avec votre équipe, je crois. Je souhaite savoir si une première consultation en visio est possible avant un déplacement à Atlanta. Mon mari Thomas et moi avons déjà fait trois inséminations et une FIV en France.\n\nBien cordialement,\nSophie Marchetti", "spans": [{"start": 4, "end": 20, "type": "NAME"}, {"start": 22, "end": 52, "type": "EMAIL"}, {"start": 139, "end": 155, "type": "NAME"}, {"start": 168, "end": 172, "type": "ADDRESS"}, {"start": 177, "end": 212, "type": "ADDRESS"}, {"start": 229, "end": 239, "type": "DATE"}, {"start": 279, "end": 300, "type": "ID"}, {"start": 323, "end": 343, "type": "ACCOUNT"}, {"start": 374, "end": 379, "type": "PROVIDER"}, {"start": 536, "end": 542, "type": "NAME"}, {"start": 628, "end": 644, "type": "NAME"}], "known": {"names": ["Sophie Marchetti"], "phones": [], "emails": ["sophie.marchetti69@example.org"], "dates_of_birth": ["1985-09-27"], "addresses": [], "identifiers": []}} +{"id": "v11-fr-sms-016", "channel": "sms", "lang": "fr", "text": "Résultats disponibles dans le portail: AMH 0,8 ng/mL, FSH 7,2, estradiol jour 3 à 42. Un résultat seul ne définit pas votre pronostic. Votre infirmière vous rappellera pour le suivi de 1130 h. Billet de référence no 48217. Magnolia Reproductive Associates.", "spans": [], "known": {}} +{"id": "v11-fr-chat-017", "channel": "chat", "lang": "fr", "text": "Assistant: Pour mettre à jour votre téléphone, donnez-moi le nouveau numéro, vous pouvez le faire en plusieurs messages.\nPatiente: l'indicatif c'est 506\nPatiente: après ça 555\nPatiente: pis 0172\nAssistant: Pour confirmer: 506-555-0172. C'est exact?\nPatiente: non attends, j'ai mêlé, c'est 0127 à la fin\nAssistant: Merci. Nouveau numéro: 506-555-0127. C'est bien ça?\nPatiente: oui c'est ça\nAssistant: Et votre nom?\nPatiente: Annick Gallant\nAssistant: Merci, Annick. Voulez-vous aussi mettre à jour l'adresse?\nPatiente: oui, on a déménagé à Dieppe, au 88 chemin Gauvin\nAssistant: C'est noté. Quelqu'un de l'équipe va valider les changements.", "spans": [{"start": 149, "end": 152, "type": "PHONE"}, {"start": 172, "end": 175, "type": "PHONE"}, {"start": 190, "end": 194, "type": "PHONE"}, {"start": 222, "end": 234, "type": "PHONE"}, {"start": 289, "end": 293, "type": "PHONE"}, {"start": 337, "end": 349, "type": "PHONE"}, {"start": 424, "end": 438, "type": "NAME"}, {"start": 457, "end": 463, "type": "NAME"}, {"start": 539, "end": 545, "type": "ADDRESS"}, {"start": 550, "end": 566, "type": "ADDRESS"}], "known": {"names": ["Annick Gallant"], "phones": ["506-555-0101"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-018", "channel": "call", "lang": "fr", "text": "Agent: Magnolia Halifax, bonjour.\nAppelante: Oui bonjour, c'est Camille Tremblay-Roy, je viens de Québec, je suis à Halifax pour le travail. Je veux que vous m'envoyiez mes résultats par courriel. L'adresse, c'est c, tremblay, tiret, roy, arobase example point org.\nAgent: Pouvez-vous épeler? ctremblay-roy@example.org, c'est bien ça?\nAppelante: Oui. Pis mon rendez-vous est jeudi le 21 avec le docteur Will Thibodeau. J'ai aussi mon NAS si vous le demandez: 193 456 787. J'habite sur Quinpool Road, pas loin de l'hôpital.", "spans": [{"start": 64, "end": 84, "type": "NAME"}, {"start": 98, "end": 104, "type": "ADDRESS"}, {"start": 214, "end": 264, "type": "EMAIL"}, {"start": 293, "end": 318, "type": "EMAIL"}, {"start": 384, "end": 386, "type": "DATE"}, {"start": 403, "end": 417, "type": "PROVIDER"}, {"start": 459, "end": 470, "type": "SIN"}, {"start": 485, "end": 498, "type": "ADDRESS"}], "known": {"names": ["Camille Tremblay-Roy"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-email-019", "channel": "email", "lang": "fr", "text": "De: Paris Jean-Baptiste\nÀ: Layla Saliba, Hope Comeau\nObjet: Ressources en français pour le bureau de Halifax\n\nBonjour à toutes,\n\nLes feuilles de consentement en français, version 3.2, sont dans le dossier partagé. La version 3.1 est retirée, ne l'imprimez plus. Layla, peux-tu vérifier avec Hope la traduction de la section sur le syndrome d'hyperstimulation ovarienne (OHSS)?\n\nLa salle 2 sera utilisée pour le simulacre à 1400 h. Le code de la porte a changé, demandez à la réception.\n\nMerci,\nParis", "spans": [{"start": 4, "end": 23, "type": "PROVIDER"}, {"start": 27, "end": 39, "type": "PROVIDER"}, {"start": 41, "end": 52, "type": "PROVIDER"}, {"start": 262, "end": 267, "type": "PROVIDER"}, {"start": 291, "end": 295, "type": "PROVIDER"}, {"start": 494, "end": 499, "type": "PROVIDER"}], "known": {}} +{"id": "v11-fr-note-020", "channel": "note", "lang": "fr", "text": "FORMULAIRE D'ADMISSION (copie OCR)\nNOM: CORMIER, LUCIE\nDATE DE NAISSANCE: 12-AVR-1989\nÉTAT CIVIL: Conjointe de fait\nCONJOINT: MARC-ANDRÉ GAUDET\nADRESSE: 44 rue Principale, app. 4, Caraquet (N.-B.) E1W 1A5\nTÉL. CELL.: 506-555-0156\nCARTE MEDICARE N.-B.: 021 458 937\nEMPLOYEUR: Réseau de santé Vitalité\nMOTIF: infertilité primaire, 3 ans. SOPK. AMH 5.2. Préfère les services en français.\nMÉDECIN RÉFÉRENT: Dre Noa Ben-David", "spans": [{"start": 40, "end": 54, "type": "NAME"}, {"start": 74, "end": 85, "type": "DATE"}, {"start": 126, "end": 143, "type": "NAME"}, {"start": 153, "end": 178, "type": "ADDRESS"}, {"start": 180, "end": 188, "type": "ADDRESS"}, {"start": 197, "end": 204, "type": "POSTAL_CODE"}, {"start": 217, "end": 229, "type": "PHONE"}, {"start": 252, "end": 263, "type": "HEALTH_CARD"}, {"start": 275, "end": 299, "type": "EMPLOYER"}, {"start": 407, "end": 420, "type": "PROVIDER"}], "known": {"names": ["Lucie Cormier"], "phones": ["506-555-0156"], "emails": [], "dates_of_birth": ["1989-04-12"], "addresses": ["44 rue Principale, app. 4"], "identifiers": []}} +{"id": "v11-fr-sms-021", "channel": "sms", "lang": "fr", "text": "Merci pour votre message d'hier. Ça fait du bien de savoir qu'on n'est pas seuls. On a pleuré toute la soirée mais on a aussi décidé de reprendre dans deux cycles, quand je serai prête. Mon pasteur dit que Dieu a un plan, et j'essaie d'y croire. Priez pour nous s'il vous plaît.", "spans": [], "known": {}} +{"id": "v11-fr-chat-022", "channel": "chat", "lang": "fr", "text": "Patiente: Bonsoir, je suis marocaine, je vis à Atlanta, et ma mère veut payer une partie du traitement depuis le Maroc.\nAssistant: Bonsoir. Nous acceptons les virements internationaux, mais je ne peux pas traiter les coordonnées bancaires dans ce chat.\nPatiente: Je comprends, mais j'ai son IBAN: MA64 0115 1900 0001 2050 0053 4921\nAssistant: Merci, mais par sécurité, veuillez ne pas l'écrire ici. La facturation vous enverra un formulaire sécurisé.\nPatiente: D'accord. Ma mère s'appelle Fatima Zahra Benjelloun et elle vit à Rabat, quartier Agdal.\nAssistant: Notez que je n'ai pas besoin de ces informations ici. Comment vous appelez-vous?\nPatiente: Khadija Benjelloun, mon mari est Omar Tahiri. Nous habitons Duluth, pas loin de la mosquée.\nAssistant: Merci, Khadija. La facturation vous contactera.\nPatiente: Parfait, merci.", "spans": [{"start": 297, "end": 331, "type": "ACCOUNT"}, {"start": 489, "end": 512, "type": "NAME"}, {"start": 527, "end": 532, "type": "ADDRESS"}, {"start": 543, "end": 548, "type": "ADDRESS"}, {"start": 652, "end": 670, "type": "NAME"}, {"start": 685, "end": 696, "type": "NAME"}, {"start": 712, "end": 718, "type": "ADDRESS"}, {"start": 762, "end": 769, "type": "NAME"}], "known": {"names": ["Khadija Benjelloun Tahiri"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-023", "channel": "call", "lang": "fr", "text": "Bonjour, euh, je m'appelle Maya a bou, enfin c'est Maya Aboud, A-B-O-U-D, je suis libanaise, de Bayonne. Non, pardon, de Bourj Hammoud, à Beyrouth, et je vis maintenant à Bedford en Nouvelle-Écosse. Je dois changer mon rendez-vous de mardi le 12 parce que mon mari Georges travaille à l'hôpital ce jour-là. Mon numéro, c'est le 902-555-0116. La docteure Thao Le me connaît déjà.", "spans": [{"start": 27, "end": 37, "type": "NAME"}, {"start": 51, "end": 61, "type": "NAME"}, {"start": 96, "end": 103, "type": "ADDRESS"}, {"start": 121, "end": 134, "type": "ADDRESS"}, {"start": 138, "end": 146, "type": "ADDRESS"}, {"start": 171, "end": 178, "type": "ADDRESS"}, {"start": 234, "end": 245, "type": "DATE"}, {"start": 265, "end": 272, "type": "NAME"}, {"start": 328, "end": 340, "type": "PHONE"}, {"start": 354, "end": 361, "type": "PROVIDER"}], "known": {"names": ["Maya Aboud"], "phones": ["902-555-0116"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-email-024", "channel": "email", "lang": "fr", "text": "Objet: Plan de paiement pour les médicaments\n\nBonjour,\n\nJe voudrais savoir s'il est possible de payer les médicaments de stimulation en trois versements. La note que j'ai reçue indique 3 480 $, dont 1 920 $ pour les gonadotrophines et 410 $ pour le déclencheur Ovidrel. Mon assurance rembourse peut-être 20 %, mais je dois d'abord avancer la somme.\n\nEst-ce que la clinique peut préparer une facture détaillée avec les codes (CPT 58970 pour la ponction, 76830 pour l'écho) pour mon employeur? Ils demandent le détail pour le remboursement.\n\nMerci d'avance de votre aide.", "spans": [], "known": {}} +{"id": "v11-fr-note-025", "channel": "note", "lang": "fr", "text": "Triage 1450 h. Mme D (salle 3) c/o céphalée post-ponction, 2e jour, sans fièvre, TA 118/74. Hydratation encouragée, acétaminophène 500 mg q6h. Mari Réjean à ses côtés. Suivi avec WT demain 0900 h. Si vomissements ou douleur abdominale: ER. Patiente de Pointe-de-l'Église, parle français seulement, interprète pas nécessaire.", "spans": [{"start": 19, "end": 20, "type": "NAME"}, {"start": 148, "end": 154, "type": "NAME"}, {"start": 179, "end": 181, "type": "PROVIDER"}, {"start": 252, "end": 270, "type": "ADDRESS"}], "known": {}} +{"id": "v11-fr-sms-026", "channel": "sms", "lang": "fr", "text": "Salut c'est Josée, pour la livraison des médicaments: on reste sur la route 11, la maison bleue passé le Tim Hortons de Miramichi, avant le pont, y'a une boîte aux lettres rouge avec le 4409 écrit dessus. Le livreur peut la laisser dans le garage si on est pas là. Mon chum Dave va être là après 17 h.", "spans": [{"start": 12, "end": 17, "type": "NAME"}, {"start": 70, "end": 78, "type": "ADDRESS"}, {"start": 120, "end": 129, "type": "ADDRESS"}, {"start": 186, "end": 190, "type": "ADDRESS"}, {"start": 274, "end": 278, "type": "NAME"}], "known": {"names": ["Josée Savoie"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-chat-027", "channel": "chat", "lang": "fr", "text": "Assistant: Pour ouvrir votre dossier international, j'ai besoin de votre nom et d'une pièce d'identité.\nPatient: Je m'appelle Jean-Pierre Mukendi, originaire de Kinshasa, en RDC, maintenant à Atlanta depuis cinq ans. Ma femme est Espérance Mukendi, elle a Espé comme surnom.\nAssistant: Merci. Quel est votre numéro de passeport?\nPatient: OP0123456\nAssistant: Merci. Pour confirmer: OP0123456. Correct?\nPatient: oui\nAssistant: Votre adresse?\nPatient: 1805 Candler Road, Apt 14, Decatur, 30032\nPatient: ma femme travaille chez Emory Healthcare comme infirmière\nAssistant: Merci. La coordonnatrice Monique vous écrira.", "spans": [{"start": 126, "end": 145, "type": "NAME"}, {"start": 161, "end": 169, "type": "ADDRESS"}, {"start": 230, "end": 247, "type": "NAME"}, {"start": 256, "end": 260, "type": "NAME"}, {"start": 338, "end": 347, "type": "ID"}, {"start": 382, "end": 391, "type": "ID"}, {"start": 450, "end": 475, "type": "ADDRESS"}, {"start": 477, "end": 484, "type": "ADDRESS"}, {"start": 486, "end": 491, "type": "ZIP"}, {"start": 525, "end": 541, "type": "EMPLOYER"}, {"start": 595, "end": 602, "type": "PROVIDER"}], "known": {"names": ["Jean-Pierre Mukendi"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-028", "channel": "call", "lang": "fr", "text": "Message vocal interne pour le relais de quart. Bonjour, ici Hope, 0645 h. Rien de spécial cette nuit. Salle 3 est libre, la salle 1 a un HSG à 0830 h avec DJ. Le frigo B affiche 4,2 degrés, pas de souci. Il manque une boîte de Cetrotide et une de Menopur 75; Guadalupe fait la commande aujourd'hui. Le lot de milieu de culture LOT-5503 expire fin janvier. Le technicien de l'ascenseur vient à 1000 h. Selam, tu prends le relais à 0700 h. Bonne journée.", "spans": [{"start": 60, "end": 64, "type": "PROVIDER"}, {"start": 155, "end": 157, "type": "PROVIDER"}, {"start": 259, "end": 268, "type": "PROVIDER"}, {"start": 401, "end": 406, "type": "PROVIDER"}], "known": {}} +{"id": "v11-fr-email-029", "channel": "email", "lang": "fr", "text": "Objet: RE: RE: Remboursement du dépôt - billet 20931\n\nBonjour Madame Berthe Okoko,\n\nNous avons bien reçu votre demande. Le remboursement de 750 $ sera fait par chèque à l'adresse indiquée. Dès que possible, confirmez-nous votre adresse.\n\nMonique Rich\nFacturation\n\n> Le jeudi 14 h 20, Berthe Okoko a écrit:\n> Je voudrais être remboursée, ma situation a changé. Mon adresse est 11 Rue Gaspard, Apt 2, Dieppe E1A 5K9. Mon numéro de compte chez vous est ACC-0088412.\n>\n> > Le mardi 9 h 05, Facturation a écrit:\n> > Madame Okoko, votre dépôt est au dossier.", "spans": [{"start": 69, "end": 81, "type": "NAME"}, {"start": 238, "end": 250, "type": "PROVIDER"}, {"start": 284, "end": 296, "type": "NAME"}, {"start": 376, "end": 397, "type": "ADDRESS"}, {"start": 399, "end": 405, "type": "ADDRESS"}, {"start": 406, "end": 413, "type": "POSTAL_CODE"}, {"start": 450, "end": 461, "type": "ACCOUNT"}, {"start": 518, "end": 523, "type": "NAME"}], "known": {"names": ["Berthe Okoko"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-note-030", "channel": "note", "lang": "fr", "text": "RAPPORT DE LABORATOIRE (numérisé)\nAccession: LAB-2026-118842\nPatiente: Hélène Dufresne-Arsenault 1991-05-17\nMRN: 0083391\nPrélevé: 2026-10-21 0745 h\nAMH 1,4 ng/mL (réf. 1,0-4,0) FSH 8,1 mUI/mL E2 42 pg/mL TSH 2,3\nDonneur de sperme: CRYO-DN-77214\nMédecin demandeur: Dr Eitan Shapiro\nFax de retour: 404-555-0701\nNotes: ne pas confondre avec l'accession LAB-2026-118824 (autre patiente).", "spans": [{"start": 71, "end": 96, "type": "NAME"}, {"start": 99, "end": 109, "type": "DATE"}, {"start": 115, "end": 122, "type": "MRN"}, {"start": 132, "end": 142, "type": "DATE"}, {"start": 236, "end": 249, "type": "DONOR_ID"}, {"start": 272, "end": 285, "type": "PROVIDER"}], "known": {"names": ["Hélène Dufresne-Arsenault"], "phones": [], "emails": [], "dates_of_birth": ["1991-05-17"], "addresses": [], "identifiers": ["MRN 0083391"]}} +{"id": "v11-fr-sms-031", "channel": "sms", "lang": "fr", "text": "Bonjour docteur, c'est Stéphanie d'Entremont de Pubnico. Le test de grossesse de ce matin est positif!! On est tellement contents, je peux pas arrêter de brailler. Ma mère Lucille le sait déjà pis elle a dit qu'elle va tricoter une petite couverte. La date prévue serait le 8 juillet, d'après l'appli. Pis on le dit à personne avant la première écho, promis!", "spans": [{"start": 23, "end": 44, "type": "NAME"}, {"start": 48, "end": 55, "type": "ADDRESS"}, {"start": 172, "end": 179, "type": "NAME"}, {"start": 274, "end": 283, "type": "DATE"}], "known": {"names": ["Stéphanie d'Entremont"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-chat-032", "channel": "chat", "lang": "fr", "text": "Utilisatrice: bonjour, je veux congeler mes ovules, j'ai 35 ans\nAssistant: Bonjour. Je peux vous donner des informations générales. Que souhaitez-vous savoir?\nUtilisatrice: combien de cycles faut-il en général?\nAssistant: Cela dépend de l'âge et de la réserve ovarienne. Beaucoup de personnes de 35 ans font un ou deux cycles; le médecin évalue l'AMH et le compte de follicules antraux.\nUtilisatrice: mon AMH est de 0,9, c'est bas?\nAssistant: Une valeur de 0,9 ng/mL est inférieure à la moyenne pour cet âge, mais elle ne permet pas à elle seule de prédire le nombre d'ovules. Un spécialiste doit l'interpréter avec l'échographie.\nUtilisatrice: et le prix?\nAssistant: Le cycle de congélation d'ovocytes est à 6 200 $, médicaments en sus, plus un frais de stockage de 600 $ par année.\nUtilisatrice: ok merci, je vais y penser", "spans": [], "known": {}} +{"id": "v11-fr-call-033", "channel": "call", "lang": "fr", "text": "Allo, bonjou, mwen rele Josette Désir. Pardon, je parle en français: je suis Josette Désir, de Little Haiti avant, mais maintenant à Tucker, en Géorgie. La docteure Hartley a dit que je devais refaire la prise de sang. Mon mari, Jean-Robert, n'est pas content de payer encore. Ma sœur Nadège va m'accompagner mardi. Rappelez-moi s'il vous plaît au 678-555-0184.", "spans": [{"start": 24, "end": 37, "type": "NAME"}, {"start": 77, "end": 90, "type": "NAME"}, {"start": 95, "end": 107, "type": "ADDRESS"}, {"start": 133, "end": 139, "type": "ADDRESS"}, {"start": 165, "end": 172, "type": "PROVIDER"}, {"start": 229, "end": 240, "type": "NAME"}, {"start": 285, "end": 291, "type": "NAME"}, {"start": 348, "end": 360, "type": "PHONE"}], "known": {"names": ["Josette Désir"], "phones": ["678-555-0184"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-email-034", "channel": "email", "lang": "fr", "text": "Objet: Questions sur le don d'ovules\n\nBonjour,\n\nMa conjointe et moi envisageons un don d'ovules. Voici nos questions:\n\n- Les donneuses sont-elles anonymes ou connues? Pouvons-nous choisir selon l'origine ethnique?\n- Quelle est la différence entre un cycle frais et des ovules congelés?\n- Combien d'embryons transfère-t-on, et le PGT-A est-il recommandé avec une donneuse jeune?\n- Quel est le prix de la banque d'ovules, par exemple pour 6 ovocytes vitrifiés?\n- Est-ce que la loi sur la procréation assistée au Canada s'applique aussi à votre bureau de Halifax?\n\nNous avons eu une grosse perte l'an dernier et nous voulons faire les choses calmement. Merci de votre compréhension.", "spans": [], "known": {}} +{"id": "v11-fr-note-035", "channel": "note", "lang": "fr", "text": "LETTRE DE RÉFÉRENCE - Halifax\n\nChère Dre Deshmukh,\n\nJe vous réfère Mme Annie Pothier, née le 2 octobre 1982, de Wolfville, N.-É. Diagnostic: insuffisance ovarienne prématurée possible, FSH 38, AMH indétectable. Elle a été vue pour une hystéroscopie en juin. Carte santé: 2745 889 112. Son numéro: 902-555-0167. Elle souhaite un don d'ovules.\n\nCordialement,\nDre Miriam Sutherland, médecine familiale\nWolfville, N.-É.", "spans": [{"start": 41, "end": 49, "type": "PROVIDER"}, {"start": 67, "end": 84, "type": "NAME"}, {"start": 93, "end": 107, "type": "DATE"}, {"start": 112, "end": 121, "type": "ADDRESS"}, {"start": 252, "end": 256, "type": "DATE"}, {"start": 271, "end": 283, "type": "HEALTH_CARD"}, {"start": 297, "end": 309, "type": "PHONE"}, {"start": 361, "end": 378, "type": "PROVIDER"}, {"start": 399, "end": 408, "type": "ADDRESS"}], "known": {"names": ["Annie Pothier"], "phones": ["902-555-0167"], "emails": [], "dates_of_birth": ["1982-10-02"], "addresses": [], "identifiers": []}} +{"id": "v11-fr-sms-036", "channel": "sms", "lang": "fr", "text": "Magnolia Halifax: votre rendez-vous de transfert est confirmé pour 0930 h. Arrivez 20 minutes avant, vessie pleine. Stationnement: Spring Garden Road, niveau P2. Pour modifier, appelez le 902-555-0710 avant 1600 h. Bureaux fermés à Noël et au jour de l'An.", "spans": [], "known": {}} +{"id": "v11-fr-chat-037", "channel": "chat", "lang": "fr", "text": "Patient: je dois recevoir une livraison de médicaments mais je suis à mon chalet ce weekend\nAssistant: Pouvez-vous me donner l'adresse de livraison?\nPatient: Je m'appelle Alexandre Gagnon-Morin et le chalet est au bord du lac, Lac Mégantic, pas d'adresse civique, mais les coordonnées GPS sont 45.5841, -70.8795\nAssistant: Un transporteur ne peut pas livrer avec seulement des coordonnées. Avez-vous un autre endroit?\nPatient: oui, chez mes parents, 12 rue des Érables, Sherbrooke J1H 4L2\nAssistant: Merci. La livraison sera à ce nom?\nPatient: oui, ou Sylvain Morin, mon père\nAssistant: C'est noté, Alexandre. Une signature sera exigée.", "spans": [{"start": 171, "end": 193, "type": "NAME"}, {"start": 227, "end": 239, "type": "ADDRESS"}, {"start": 294, "end": 311, "type": "ADDRESS"}, {"start": 450, "end": 480, "type": "ADDRESS"}, {"start": 481, "end": 488, "type": "POSTAL_CODE"}, {"start": 552, "end": 565, "type": "NAME"}, {"start": 599, "end": 608, "type": "NAME"}], "known": {"names": ["Alexandre Gagnon-Morin"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-call-038", "channel": "call", "lang": "fr", "text": "Bonjour, je vous appelle depuis la France, je suis à Paris, dans le onzième. Je m'appelle Clémence Rousseau, née le quatre septembre quatre-vingt-sept. J'ai fait une FIV chez vous il y a deux ans avec la docteure Okonkwo et j'aimerais récupérer mon dossier. Mon dossier avait le numéro zéro zéro sept quatre deux cinq un, je crois. Vous pouvez m'écrire à clemence.rousseau@example.com.", "spans": [{"start": 53, "end": 58, "type": "ADDRESS"}, {"start": 68, "end": 75, "type": "ADDRESS"}, {"start": 90, "end": 107, "type": "NAME"}, {"start": 116, "end": 150, "type": "DATE"}, {"start": 213, "end": 220, "type": "PROVIDER"}, {"start": 286, "end": 320, "type": "MRN"}, {"start": 355, "end": 384, "type": "EMAIL"}], "known": {"names": ["Clémence Rousseau"], "phones": [], "emails": [], "dates_of_birth": ["1987-09-04"], "addresses": [], "identifiers": ["MRN 0074251"]}} +{"id": "v11-fr-email-039", "channel": "email", "lang": "fr", "text": "De: Nathalie Pellerin \nÀ: Ressources humaines\nObjet: Demande de congé pour traitement de fertilité\n\nBonjour Madame Roxanne Deveau,\n\nJe vous écris au sujet de ma demande de congé. Je travaille chez Maritime Travel depuis quatre ans, et ma date de départ prévue est le 4 novembre, pour la ponction. La clinique pourra fournir une lettre confirmant que mon traitement est médicalement nécessaire. Mon numéro d'employée est le E-208841.\n\nEn cas de questions, vous pouvez joindre la docteure Saliba ou moi au (902) 555-0171.\n\nMerci,\nNathalie Pellerin", "spans": [{"start": 4, "end": 21, "type": "NAME"}, {"start": 23, "end": 44, "type": "EMAIL"}, {"start": 138, "end": 152, "type": "NAME"}, {"start": 220, "end": 235, "type": "EMPLOYER"}, {"start": 290, "end": 300, "type": "DATE"}, {"start": 446, "end": 454, "type": "ID"}, {"start": 510, "end": 516, "type": "PROVIDER"}, {"start": 527, "end": 541, "type": "PHONE"}, {"start": 551, "end": 568, "type": "NAME"}], "known": {"names": ["Nathalie Pellerin"], "phones": [], "emails": ["npellerin@example.net"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-fr-note-040", "channel": "note", "lang": "fr", "text": "TÉLÉCOPIE PHARMACIE (OCR)\nPharmacie communautaire - Fax: 902-555-0125\nÀ: Magnolia Halifax, fax 404-555-0701 (Atlanta)\nPatient: ROBICHAUD, ISABELLE Carte santé N.-É.: 6021 774 308\nOrdonnance no: RX 4420981\nDIN 02432897, Gonal-f 450 UI, lot 22A91, exp. 2027-06\nQté: 1 stylo. Renouv.: 0\nLivraison: 91 Church Point Rd, Church Point B0W 1M0\nPharmacien: M. Luc Doucet\nPrescripteur: Dre Thao Le", "spans": [{"start": 57, "end": 69, "type": "PHONE"}, {"start": 127, "end": 146, "type": "NAME"}, {"start": 168, "end": 180, "type": "HEALTH_CARD"}, {"start": 196, "end": 206, "type": "ID"}, {"start": 297, "end": 315, "type": "ADDRESS"}, {"start": 317, "end": 329, "type": "ADDRESS"}, {"start": 330, "end": 337, "type": "POSTAL_CODE"}, {"start": 353, "end": 363, "type": "PROVIDER"}, {"start": 382, "end": 389, "type": "PROVIDER"}], "known": {"names": ["Isabelle Robichaud"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-pl-sms-001", "channel": "sms", "lang": "pl", "text": "Dzień dobry, tu Agnieszka Mazur. Jutro mam USG o 8:30, czy mam być na czczo? Pozdrawiam", "spans": [{"start": 16, "end": 31, "type": "NAME"}], "known": {"names": ["Agnieszka Mazur"], "phones": ["404-555-0112"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-pl-sms-002", "channel": "sms", "lang": "pl", "text": "Przypominamy: monitoring cyklu w poniedziałek o godz. 07:45, gabinet 3. Proszę pić dużo wody i nie stosować kremów na brzuch. Magnolia Reproductive Associates, 404-555-0700", "spans": [], "known": {"names": ["Weronika Szulc"], "phones": ["404-555-0155"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-pl-sms-003", "channel": "sms", "lang": "pl", "text": "Pani Magdaleno, wyniki AMH 0,8 odebrałam, dziękuję. Czy doktor Wiśniewski oddzwoni dzisiaj? Mój numer to 404-555-0188, bo ten stary już nie działa. Kasia", "spans": [{"start": 5, "end": 14, "type": "PROVIDER"}, {"start": 63, "end": 73, "type": "PROVIDER"}, {"start": 105, "end": 117, "type": "PHONE"}, {"start": 148, "end": 153, "type": "NAME"}], "known": {"names": ["Katarzyna Lis"], "phones": ["404-555-0143"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-pl-sms-004", "channel": "sms", "lang": "pl", "text": "Czesc, tu Marek, maz Oli Szymanskiej. Ola jest po punkcji i bardzo boli ja brzuch, mieszkamy w Duluth. Co robic? Dzwonic na 404-555-0700?", "spans": [{"start": 10, "end": 15, "type": "NAME"}, {"start": 21, "end": 36, "type": "NAME"}, {"start": 38, "end": 41, "type": "NAME"}, {"start": 95, "end": 101, "type": "ADDRESS"}], "known": {"names": ["Aleksandra Szymanska"], "phones": ["404-555-0131"], "emails": [], "dates_of_birth": ["1990-01-17"], "addresses": ["3350 Pleasant Hill Road, Duluth, GA"], "identifiers": []}} +{"id": "v11-pl-sms-005", "channel": "sms", "lang": "pl", "text": "Dzien dobry, czy transfer zarodka 5AA jest mozliwy w tym cyklu? Estradiol 1450, progesteron 18, endometrium 8,2 mm. Dziekuje", "spans": [], "known": {}} +{"id": "v11-pl-sms-006", "channel": "sms", "lang": "pl", "text": "Dzięki za potwierdzenie! Przelew 300 USD poszedł przez Zelle z adresu zofia.wrona@example.com, proszę sprawdzić do piątku.", "spans": [{"start": 70, "end": 93, "type": "EMAIL"}], "known": {"names": ["Zofia Wrona"], "phones": [], "emails": ["z.wrona@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-pl-chat-007", "channel": "chat", "lang": "pl", "text": "Pacjentka: Dzień dobry, chcę przełożyć wizytę kontrolną.\nAsystent: Chętnie pomogę. Proszę o imię i nazwisko oraz datę urodzenia.\nPacjentka: Beata Jabłońska, 12 marca 1989\nAsystent: Dziękuję, pani Beato. Jaki numer telefonu mam w karcie?\nPacjentka: kierunkowy to 404\nPacjentka: potem 555\nPacjentka: i 0182\nAsystent: Czyli 404-555-0182?\nPacjentka: przepraszam, końcówka 0128\nAsystent: Zapisałam: 404-555-0128. Na kiedy przełożyć wizytę?\nPacjentka: Najlepiej na czwartek rano, do doktor Kowalczyk.\nAsystent: Czwartek, 9:15 jest wolny u doktor Kowalczyk. Potwierdzić?\nPacjentka: Tak, dziękuję. Pozdrawiam, Beata", "spans": [{"start": 140, "end": 155, "type": "NAME"}, {"start": 157, "end": 170, "type": "DATE"}, {"start": 196, "end": 201, "type": "NAME"}, {"start": 262, "end": 265, "type": "PHONE"}, {"start": 283, "end": 286, "type": "PHONE"}, {"start": 300, "end": 304, "type": "PHONE"}, {"start": 321, "end": 333, "type": "PHONE"}, {"start": 368, "end": 372, "type": "PHONE"}, {"start": 394, "end": 406, "type": "PHONE"}, {"start": 484, "end": 493, "type": "PROVIDER"}, {"start": 540, "end": 549, "type": "PROVIDER"}, {"start": 602, "end": 607, "type": "NAME"}], "known": {"names": ["Beata Jabłońska"], "phones": ["404-555-0182"], "emails": [], "dates_of_birth": ["1989-03-12"], "addresses": [], "identifiers": []}} +{"id": "v11-pl-chat-008", "channel": "chat", "lang": "pl", "text": "Czy zastrzyk Menopur 225 IU mogę robić o tej samej porze co Cetrotide? Dzisiaj mam folikuły 14, 16 i 11 mm, endometrium 8,2. Dzień cyklu 9.", "spans": [], "known": {}} +{"id": "v11-pl-chat-009", "channel": "chat", "lang": "pl", "text": "Dzień dobry, piszę w imieniu siostry, Justyny Pawlak. Ona mieszka w Dartmouth i słabo zna angielski. Czy macie tłumacza polskiego?\nAsystent: Tak, Magdalena Kowalczyk mówi po polsku i pracuje w naszym biurze w Halifaksie. Mogę przekazać prośbę.\nTak proszę, siostra ma konsultację w czwartek.", "spans": [{"start": 38, "end": 52, "type": "NAME"}, {"start": 68, "end": 77, "type": "ADDRESS"}, {"start": 146, "end": 165, "type": "PROVIDER"}], "known": {"names": ["Justyna Pawlak"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": ["Dartmouth, NS"], "identifiers": []}} +{"id": "v11-pl-chat-010", "channel": "chat", "lang": "pl", "text": "Szanowni Państwo, wysyłam skan karty ubezpieczeniowej. Numer członkowski XQP884412907, grupa GRP-55120. Pacjent: Paweł Zieliński. Proszę o potwierdzenie, że wszystko się zgadza przed konsultacją z doktor Hartley.", "spans": [{"start": 73, "end": 85, "type": "HEALTH_CARD"}, {"start": 93, "end": 102, "type": "ACCOUNT"}, {"start": 113, "end": 128, "type": "NAME"}, {"start": 204, "end": 211, "type": "PROVIDER"}], "known": {"names": ["Pawel Zielinski"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["XQP884412907"]}} +{"id": "v11-pl-chat-011", "channel": "chat", "lang": "pl", "text": "Asystent AI: Wyniki PGT-A dla zarodków są zwykle gotowe w 10-14 dni. Proszę nie podawać w czacie danych osobowych.\nPacjentka: A czy koszt 4 800 USD obejmuje mrożenie? Rozważam program Magnolia Shared Risk.\nAsystent AI: Mrożenie zarodków kosztuje osobno, 650 USD za rok.", "spans": [], "known": {}} +{"id": "v11-pl-chat-012", "channel": "chat", "lang": "pl", "text": "Dzień dobry, mieszkamy w Rural Route 3, Truro, to ponad godzina do Halifaksu. Czy monitoring może być u nas w lokalnym laboratorium? Mój mąż Henryk i ja jesteśmy pacjentami od marca.", "spans": [{"start": 25, "end": 45, "type": "ADDRESS"}, {"start": 141, "end": 147, "type": "NAME"}, {"start": 176, "end": 181, "type": "DATE"}], "known": {}} +{"id": "v11-pl-call-013", "channel": "call", "lang": "pl", "text": "Dzień dobry, mówi Alicja Borkowska, urodzona piątego października tysiąc dziewięćset osiemdziesiątego dziewiątego. Dzwonię w sprawie wyników krwi. Proszę o telefon do doktora Wiśniewskiego pod numer plus 48 555 010 203. Jestem w Polsce do końca tygodnia. Dziękuję, do usłyszenia.", "spans": [{"start": 18, "end": 34, "type": "NAME"}, {"start": 45, "end": 113, "type": "DATE"}, {"start": 175, "end": 188, "type": "PROVIDER"}, {"start": 199, "end": 218, "type": "PHONE"}], "known": {"names": ["Alicja Borkowska"], "phones": ["+48 555 010 230"], "emails": [], "dates_of_birth": ["1989-10-05"], "addresses": [], "identifiers": []}} +{"id": "v11-pl-call-014", "channel": "call", "lang": "pl", "text": "Witamy w Magnolia Reproductive Associates. Aby umówić wizytę, wciśnij jeden. W sprawie rachunków, dwa. Dla pacjentek w trakcie cyklu IVF, trzy. Godziny pracy: od poniedziałku do piątku, od 8:00 do 17:00. W sprawie pilnej, wewnętrzny 214. Biuro w Halifaksie: 902-555-0710.", "spans": [], "known": {}} +{"id": "v11-pl-call-015", "channel": "call", "lang": "pl", "text": "Recepcjonistka: Magnolia, w czym mogę pomóc?\nPacjentka: Dzień dobry, chcę dopisać się do kolejki na transfer. Nazywam się Wrzesińska.\nRecepcjonistka: Proszę przeliterować.\nPacjentka: W R Z E S I Ń S K A, imię Lidia.\nRecepcjonistka: Data urodzenia?\nPacjentka: dwudziestego trzeciego lutego tysiąc dziewięćset dziewięćdziesiątego pierwszego.\nRecepcjonistka: I adres?\nPacjentka: dwa dwa jeden zero Briarcliff Road, mieszkanie 4B.", "spans": [{"start": 122, "end": 132, "type": "NAME"}, {"start": 183, "end": 202, "type": "NAME"}, {"start": 209, "end": 214, "type": "NAME"}, {"start": 259, "end": 338, "type": "DATE"}, {"start": 376, "end": 425, "type": "ADDRESS"}], "known": {"names": ["Lidia Wrzesinska"], "phones": [], "emails": [], "dates_of_birth": ["1991-02-23"], "addresses": [], "identifiers": []}} +{"id": "v11-pl-call-016", "channel": "call", "lang": "pl", "text": "Dzień dobry, mówi doktor Hanna Sowa z Krakowa. Dzwonię w sprawie pacjentki Iwona Rutkowska, PESEL 91022300145. Dokumentację wyślę faksem na 404-555-0701, proszę potwierdzić odbiór. Gdyby coś, oddzwońcie na +48 555 010 440. Dziękuję, do widzenia.", "spans": [{"start": 25, "end": 35, "type": "PROVIDER"}, {"start": 75, "end": 90, "type": "NAME"}, {"start": 98, "end": 109, "type": "ID"}, {"start": 206, "end": 221, "type": "PHONE"}], "known": {}} +{"id": "v11-pl-call-017", "channel": "call", "lang": "pl", "text": "Menu telefoniczne: dla pacjentek IVF wewnętrzny 3, dla dawstwa gamet wewnętrzny 4, dla rozliczeń 5. Nagraj wiadomość po sygnale, ale nie podawaj numeru karty. Linia pielęgniarska pracuje od 7:00 do 16:30, 404-555-0700. W święta biuro jest zamknięte.", "spans": [], "known": {}} +{"id": "v11-pl-call-018", "channel": "call", "lang": "pl", "text": "Tłumacz: Dzień dobry, tu tłumacz Zbigniew Cieślak, numer licencji TL-48812. Pacjent Roman Gil mówi, że w aptece dostał receptę numer RX-7730194, ale farmaceutka nie ma jej w systemie.\nPielęgniarka: Proszę poprosić pana Gila, żeby podał datę urodzenia.\nTłumacz: trzeci maja siedemdziesiąty dziewiąty.", "spans": [{"start": 33, "end": 49, "type": "NAME"}, {"start": 66, "end": 74, "type": "ID"}, {"start": 84, "end": 93, "type": "NAME"}, {"start": 133, "end": 143, "type": "ID"}, {"start": 219, "end": 223, "type": "NAME"}, {"start": 261, "end": 298, "type": "DATE"}], "known": {"names": ["Roman Gil"], "phones": [], "emails": [], "dates_of_birth": ["1979-05-03"], "addresses": [], "identifiers": []}} +{"id": "v11-pl-call-019", "channel": "call", "lang": "pl", "text": "Dzień dobry, dzwonię w sprawie żony, Karoliny. Nazywam się Dariusz Lewandowski, pracuję w Southline Freight, i z pracy mamy ubezpieczenie, numer polisy SF-0098213. Mieszkamy w Gwinnett County, więc dojazd do Atlanty to godzina.", "spans": [{"start": 37, "end": 45, "type": "NAME"}, {"start": 59, "end": 78, "type": "NAME"}, {"start": 90, "end": 107, "type": "EMPLOYER"}, {"start": 152, "end": 162, "type": "ACCOUNT"}, {"start": 176, "end": 191, "type": "ADDRESS"}], "known": {"names": ["Karolina Lewandowska"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-pl-email-020", "channel": "email", "lang": "pl", "text": "Od: Monika Sadowska \nDo: info@magnolia-ra.example.org\nTemat: Prośba o dokumentację\n\nSzanowni Państwo,\n\nproszę o przesłanie mojej dokumentacji (wyniki AMH oraz raport z punkcji z 14 kwietnia) do kliniki w Warszawie. Prowadziła mnie dr Okonkwo, więc to ona powinna podpisać zgodę.\n\nZ poważaniem\nMonika Sadowska", "spans": [{"start": 4, "end": 19, "type": "NAME"}, {"start": 21, "end": 48, "type": "EMAIL"}, {"start": 207, "end": 218, "type": "DATE"}, {"start": 263, "end": 270, "type": "PROVIDER"}, {"start": 322, "end": 337, "type": "NAME"}], "known": {"names": ["Monika Sadowska"], "phones": [], "emails": ["msadowska@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-pl-email-021", "channel": "email", "lang": "pl", "text": "Temat: Przypomnienie o wizycie\n\nSzanowni Państwo,\n\nPaństwa wizyta odbędzie się w czwartek o godz. 14:15 ET w naszym gabinecie przy 1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309. Prosimy o zabranie dokumentu tożsamości i karty ubezpieczeniowej.\n\nKlinika będzie zamknięta 27 listopada z okazji Święta Dziękczynienia.\n\nMagnolia Reproductive Associates\ninfo@magnolia-ra.example.org · 404-555-0700", "spans": [], "known": {"names": ["Dorota Kruk"], "phones": ["404-555-0166"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-pl-email-022", "channel": "email", "lang": "pl", "text": "Temat: Re: Re: Faktura INV-2214 -- brak wpłaty\n\nDzień dobry,\n\nwysłałam przelew jeszcze raz, tym razem z konta 021000021 / 4471889205. Proszę o potwierdzenie. Sylwia Dudek\n\n> Pani Sylwio, nie widzimy wpłaty za fakturę INV-2214. Prosimy o numer routingowy i konta.\n> Rachunki, Monique Rich\n>\n> > Dzień dobry, rata 2 z 4 przelana w piątek. Pozdrawiam, Sylwia Dudek", "spans": [{"start": 23, "end": 31, "type": "ACCOUNT"}, {"start": 110, "end": 119, "type": "ACCOUNT"}, {"start": 122, "end": 132, "type": "ACCOUNT"}, {"start": 158, "end": 170, "type": "NAME"}, {"start": 179, "end": 185, "type": "NAME"}, {"start": 217, "end": 225, "type": "ACCOUNT"}, {"start": 275, "end": 287, "type": "PROVIDER"}, {"start": 349, "end": 361, "type": "NAME"}], "known": {"names": ["Sylwia Dudek"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["INV-2214"]}} +{"id": "v11-pl-email-023", "channel": "email", "lang": "pl", "text": "Temat: Surogacja, dokumenty\n\nSzanowni Państwo,\n\npiszę jako adwokat Robert Kaminsky w imieniu Eweliny Czarneckiej, która jest surogatką dla pary Sandra Hill i Greg Hill. Pani Ewelina mieszka w Alpharetta. Sprawa w sądzie rodzinnym ma sygnaturę 2026-DR-04417. Prosimy o potwierdzenie, że umowa spełnia wymogi kliniki; dr Kowalczyk była uprzedzona.\n\nZ poważaniem", "spans": [{"start": 67, "end": 82, "type": "NAME"}, {"start": 93, "end": 112, "type": "NAME"}, {"start": 144, "end": 155, "type": "NAME"}, {"start": 158, "end": 167, "type": "NAME"}, {"start": 174, "end": 181, "type": "NAME"}, {"start": 192, "end": 202, "type": "ADDRESS"}, {"start": 243, "end": 256, "type": "ID"}, {"start": 319, "end": 328, "type": "PROVIDER"}], "known": {}} +{"id": "v11-pl-email-024", "channel": "email", "lang": "pl", "text": "Temat: Cennik leków\n\nDzień dobry, cena Gonal-f 900 IU wynosi 612 USD, seria 4B7731 ważna do końca 2027, NDC 44087-9001-1. Cetrotide 0,25 mg, 7 ampułek, 298 USD. Zamówienia przyjmujemy do godz. 16:00 ET. Ceny są ważne według listy v3.2.\n\nApteka Magnolia Specialty Pharmacy", "spans": [], "known": {}} +{"id": "v11-pl-email-025", "channel": "email", "lang": "pl", "text": "Dzień dobry,\n\ndziękuję za informację, przyjdę w środę. Proszę o przesłanie instrukcji na ten adres.\n\nPozdrawiam serdecznie,\nJoanna Wójcik-Brown\ntel. (678) 555-0166\nRoswell, GA\nblog: joanna-wb.example.net/blog", "spans": [{"start": 124, "end": 143, "type": "NAME"}, {"start": 149, "end": 163, "type": "PHONE"}, {"start": 164, "end": 171, "type": "ADDRESS"}, {"start": 182, "end": 208, "type": "URL"}], "known": {}} +{"id": "v11-pl-note-026", "channel": "note", "lang": "pl", "text": "pt KJ, 34 l., G2P1, c/o cramping po FET (dzień 5), E2 1450, bez krwawienia. Mąż Jacek przy niej. Przekazano do AD, f/u jutro 0900h.", "spans": [{"start": 3, "end": 5, "type": "NAME"}, {"start": 80, "end": 85, "type": "NAME"}, {"start": 111, "end": 113, "type": "PROVIDER"}], "known": {"names": ["Karolina Jurek"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-pl-note-027", "channel": "note", "lang": "pl", "text": "Przekazanie zmiany: pok. 2 IUI 10:30 (probówka 14), pok. 4 HSG 11:00, MB na punkcji w sali 1, HC dyżur telefoniczny, wewn. 214. Lodówka 4,2°C. Formularz zgody v4.1.", "spans": [{"start": 70, "end": 72, "type": "PROVIDER"}, {"start": 94, "end": 96, "type": "PROVIDER"}], "known": {}} +{"id": "v11-pl-note-028", "channel": "note", "lang": "pl", "text": "Szanowna Pani Doktor, kieruję pacjentkę Elżbieta Maj, ur. 1986-07-19, zam. ul. Mickiewicza 14/7, 31-120 Kraków, tel. +48 555 010 316, z pierwotną niepłodnością (AMH 0,6, 2 nieudane IUI) w celu oceny do IVF. Z koleżeńskim pozdrowieniem, dr Piotr Zając", "spans": [{"start": 40, "end": 52, "type": "NAME"}, {"start": 58, "end": 68, "type": "DATE"}, {"start": 75, "end": 95, "type": "ADDRESS"}, {"start": 97, "end": 103, "type": "POSTAL_CODE"}, {"start": 104, "end": 110, "type": "ADDRESS"}, {"start": 117, "end": 132, "type": "PHONE"}, {"start": 239, "end": 250, "type": "PROVIDER"}], "known": {"names": ["Elzbieta Maj"], "phones": [], "emails": [], "dates_of_birth": ["1986-07-19"], "addresses": [], "identifiers": []}} +{"id": "v11-pl-note-029", "channel": "note", "lang": "pl", "text": "Ubezpieczyciel: Peach State Health Plan\nUbezpieczony: MAZUR AGNIESZKA\nNr polisy: PSP-4471-0093\nID członka: M2204718\nNr roszczenia: CLM-2026-88213\nAutoryzacja wstępna: PA-90117452\nWażne do: 31.12.2026\nProcedura: CPT 58970, ICD-10 N97.9", "spans": [{"start": 54, "end": 69, "type": "NAME"}, {"start": 81, "end": 94, "type": "ACCOUNT"}, {"start": 107, "end": 115, "type": "HEALTH_CARD"}, {"start": 131, "end": 145, "type": "ACCOUNT"}, {"start": 167, "end": 178, "type": "ACCOUNT"}, {"start": 189, "end": 199, "type": "DATE"}], "known": {"names": ["Agnieszka Mazur"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["PSP-4471-0093"]}} +{"id": "v11-pl-note-030", "channel": "note", "lang": "pl", "text": "Podsumowanie rozmowy AI: Pacjentka Ilona Brzezińska zadzwoniła o 08:40 w sprawie zmiany leku (Ovitrelle 250 mcg). Zweryfikowano datę urodzenia 1987-02-14. Potwierdzono numer 678-555-0152. Przekazano do Layla Saliba, oddzwonienie do 16:00.", "spans": [{"start": 35, "end": 51, "type": "NAME"}, {"start": 143, "end": 153, "type": "DATE"}, {"start": 174, "end": 186, "type": "PHONE"}, {"start": 202, "end": 214, "type": "PROVIDER"}], "known": {"names": ["Ilona Brzezinska"], "phones": ["678-555-0152"], "emails": [], "dates_of_birth": ["1987-02-14"], "addresses": [], "identifiers": []}} +{"id": "v11-he-sms-001", "channel": "sms", "lang": "he", "text": "שלום, מדברת ענת לוי. יש לי בדיקת דם מחר ב-8:15, צריך להגיע בצום? תודה", "spans": [{"start": 12, "end": 19, "type": "NAME"}], "known": {"names": ["Anat Levi"], "phones": ["404-555-0121"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-he-sms-002", "channel": "sms", "lang": "he", "text": "תזכורת: ניטור מחזור מחר בשעה 07:30, חדר 3. נא לשתות הרבה מים ולא להשתמש בקרמים. Magnolia Reproductive Associates, 404-555-0700", "spans": [], "known": {"names": ["Yael Peretz"], "phones": ["404-555-0149"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-he-sms-003", "channel": "sms", "lang": "he", "text": "היי, הבעל שלי יונתן עונה במקומי. הטלפון שלי 404-555-0147. אפשר שד״ר איתן שפירו יחזור אליי לגבי האסטרדיול? אני בעבודה עד 16:00", "spans": [{"start": 14, "end": 19, "type": "NAME"}, {"start": 44, "end": 56, "type": "PHONE"}, {"start": 68, "end": 78, "type": "PROVIDER"}], "known": {"names": ["Maya Golan"], "phones": ["404-555-0199"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-he-sms-004", "channel": "sms", "lang": "he", "text": "שלום, אני מיכל כהן-ברק, גרה בדנווידי. אחותי רונית אמרה שהביטוח אישר. מספר פוליסה BC-77120934", "spans": [{"start": 10, "end": 22, "type": "NAME"}, {"start": 29, "end": 36, "type": "ADDRESS"}, {"start": 44, "end": 49, "type": "NAME"}, {"start": 81, "end": 92, "type": "ACCOUNT"}], "known": {"names": ["Michal Cohen-Barak"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-he-sms-005", "channel": "sms", "lang": "he", "text": "האם אפשר להתחיל זריקות גונל-אף 150 יחידות מיום 2 של המחזור? אנדומטריום 7.9 מ״מ, זקיקים 13, 15, 18. תודה", "spans": [], "known": {}} +{"id": "v11-he-sms-006", "channel": "sms", "lang": "he", "text": "העברתי 250 דולר ב-Venmo מהחשבון @dana-shalev-88, על שם דנה שלו. תאשרו בבקשה", "spans": [{"start": 32, "end": 47, "type": "ACCOUNT"}, {"start": 55, "end": 62, "type": "NAME"}], "known": {"names": ["Dana Shalev"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-he-chat-007", "channel": "chat", "lang": "he", "text": "מטופלת: שלום, אני רוצה לקבוע ייעוץ\nעוזר: בשמחה. מה שמך המלא?\nמטופלת: תמר אבני\nעוזר: נעים להכיר, תמר. מה תאריך הלידה?\nמטופלת: ב-3 ביוני 1990\nעוזר: ומספר טלפון?\nמטופלת: קידומת 678\nמטופלת: אחר כך 555\nמטופלת: ואז 0132\nעוזר: רק לוודא: 678-555-0132?\nמטופלת: סליחה, 0123 בסוף\nעוזר: רשמתי 678-555-0123. יש תור פנוי עם ד״ר נועה בן-דוד ביום שלישי ב-10:30. מתאים?\nמטופלת: כן, מעולה. תודה רבה, תמר", "spans": [{"start": 69, "end": 77, "type": "NAME"}, {"start": 96, "end": 99, "type": "NAME"}, {"start": 127, "end": 139, "type": "DATE"}, {"start": 174, "end": 177, "type": "PHONE"}, {"start": 193, "end": 196, "type": "PHONE"}, {"start": 209, "end": 213, "type": "PHONE"}, {"start": 230, "end": 242, "type": "PHONE"}, {"start": 259, "end": 263, "type": "PHONE"}, {"start": 281, "end": 293, "type": "PHONE"}, {"start": 314, "end": 325, "type": "PROVIDER"}, {"start": 382, "end": 385, "type": "NAME"}], "known": {"names": ["Tamar Avni"], "phones": ["678-555-0132"], "emails": [], "dates_of_birth": ["1990-06-03"], "addresses": [], "identifiers": []}} +{"id": "v11-he-chat-008", "channel": "chat", "lang": "he", "text": "עוזר: תוצאות ה-PGT-A מוכנות בדרך כלל תוך 10-14 ימים. העלות, 4,800 דולר, כוללת הקפאה. לא להכניס פרטים אישיים בצ'אט.\nמטופל: מה המשמעות של דרגה 4AB? ואיך זה קשור לתוכנית Magnolia Shared Risk?", "spans": [], "known": {}} +{"id": "v11-he-chat-009", "channel": "chat", "lang": "he", "text": "אני כותבת בשם אחותי ליאת פרידמן, היא גרה בתל אביב ורוצה להעביר אליכם תיק מרפאה מישראל. עם מי לדבר? תעודת הזהות שלה 305551872.", "spans": [{"start": 20, "end": 31, "type": "NAME"}, {"start": 42, "end": 49, "type": "ADDRESS"}, {"start": 115, "end": 124, "type": "ID"}], "known": {}} +{"id": "v11-he-chat-010", "channel": "chat", "lang": "he", "text": "מצורף צילום כרטיס הביטוח. מספר חבר ZLK553018820, קבוצה GRP-30871. שם המבוטחת: הדס מזרחי. ד״ר רבקה גולדפרב ביקשה לראות את זה לפני הייעוץ.", "spans": [{"start": 35, "end": 47, "type": "HEALTH_CARD"}, {"start": 55, "end": 64, "type": "ACCOUNT"}, {"start": 78, "end": 87, "type": "NAME"}, {"start": 93, "end": 105, "type": "PROVIDER"}], "known": {"names": ["Hadas Mizrahi"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["ZLK553018820"]}} +{"id": "v11-he-chat-011", "channel": "chat", "lang": "he", "text": "אסיסטנט: שעות הפעילות של המרפאה באטלנטה הן 8:00-17:00. בחגים המשרד סגור. לתיאום: 404-555-0700.\nמטופל: מה זה OHSS ומתי לפנות לחדר מיון?\nאסיסטנט: כאבי בטן חזקים, עלייה מהירה במשקל או קוצר נשימה, פנו מיד למיון.", "spans": [], "known": {}} +{"id": "v11-he-chat-012", "channel": "chat", "lang": "he", "text": "אנחנו גרים בקאונטי גווינט ואורי ואני מחכים לתור ממרץ. אפשר להקדים?", "spans": [{"start": 12, "end": 25, "type": "ADDRESS"}, {"start": 27, "end": 31, "type": "NAME"}, {"start": 49, "end": 52, "type": "DATE"}], "known": {}} +{"id": "v11-he-call-013", "channel": "call", "lang": "he", "text": "שלום, מדברת שירה אלמוג, נולדתי ב-5 באוקטובר 1989. הטלפון שלי +972-50-555-0123. תחזרו אליי לגבי בדיקת הדם, בבקשה לנועה בן-דוד. תודה, להתראות.", "spans": [{"start": 12, "end": 22, "type": "NAME"}, {"start": 33, "end": 48, "type": "DATE"}, {"start": 61, "end": 77, "type": "PHONE"}, {"start": 113, "end": 124, "type": "PROVIDER"}], "known": {"names": ["Shira Almog"], "phones": ["+972-50-555-0132"], "emails": [], "dates_of_birth": ["1989-10-05"], "addresses": [], "identifiers": []}} +{"id": "v11-he-call-014", "channel": "call", "lang": "he", "text": "ברוכים הבאים למגנוליה. לתיאום תור הקישו 1, לחשבונות הקישו 2, לשיחה דחופה שלוחה 214. שעות פעילות ראשון עד חמישי 8:00 עד 17:00. סניף הליפקס: 902-555-0710.", "spans": [], "known": {}} +{"id": "v11-he-call-015", "channel": "call", "lang": "he", "text": "פקידה: מגנוליה, איך אפשר לעזור?\nמטופלת: שלום, אני רוצה להצטרף לרשימת ההמתנה להחזרת עובר. שם המשפחה כרמי.\nפקידה: אפשר לאיית?\nמטופלת: כ ר מ י, שם פרטי הילה.\nפקידה: כתובת?\nמטופלת: 1450 בריארקליף רואד דירה 4B", "spans": [{"start": 99, "end": 103, "type": "NAME"}, {"start": 132, "end": 139, "type": "NAME"}, {"start": 149, "end": 153, "type": "NAME"}, {"start": 177, "end": 204, "type": "ADDRESS"}], "known": {"names": ["Hila Carmi"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-he-call-016", "channel": "call", "lang": "he", "text": "מדבר ד״ר אלון צור מהמרפאה בחיפה, בקשר למטופלת נעמה ברקוביץ. הפקס שלכם 404-555-0701 מקבל? מספר התיק אצלי 4408812. תחזרו אליי ל+972-50-555-0188.", "spans": [{"start": 9, "end": 17, "type": "PROVIDER"}, {"start": 46, "end": 58, "type": "NAME"}, {"start": 104, "end": 111, "type": "MRN"}, {"start": 125, "end": 141, "type": "PHONE"}], "known": {}} +{"id": "v11-he-call-017", "channel": "call", "lang": "he", "text": "המשרד סגור ב-27 בנובמבר לרגל חג ההודיה. להשארת הודעה לאחות הקישו 3. נא לא להשאיר מספרי כרטיס אשראי. שלוחת תשלומים 305. לקו הלילה חייגו 404-555-0700.", "spans": [], "known": {}} +{"id": "v11-he-call-018", "channel": "call", "lang": "he", "text": "מתורגמן: שלום, אני גיל ורדי, מתורגמן, מספר רישיון ITL-2210. המטופל אבי דגן אומר שקיבל מרשם RX-6620143 בבית המרקחת אבל אין אותו במערכת.\nאחות: בבקשה תשאל את אבי מה תאריך הלידה.\nמתורגמן: שלושה במאי שבעים ותשע.", "spans": [{"start": 19, "end": 27, "type": "NAME"}, {"start": 50, "end": 58, "type": "ID"}, {"start": 67, "end": 74, "type": "NAME"}, {"start": 91, "end": 101, "type": "ID"}, {"start": 155, "end": 158, "type": "NAME"}, {"start": 184, "end": 205, "type": "DATE"}], "known": {"names": ["Avi Dagan"], "phones": [], "emails": [], "dates_of_birth": ["1979-05-03"], "addresses": [], "identifiers": []}} +{"id": "v11-he-call-019", "channel": "call", "lang": "he", "text": "אני עמית רוזן, בעלה של קרן. אנחנו גרים בסנדי ספרינגס, ואני עובד בסאות'ליין פרייט. הביטוח דרך העבודה, פוליסה SF-0113345. רציתי לשאול אם הכיסוי כולל החזרת עוברים קפואים.", "spans": [{"start": 4, "end": 13, "type": "NAME"}, {"start": 23, "end": 26, "type": "NAME"}, {"start": 40, "end": 52, "type": "ADDRESS"}, {"start": 65, "end": 80, "type": "EMPLOYER"}, {"start": 108, "end": 118, "type": "ACCOUNT"}], "known": {"names": ["Keren Rosen"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-he-email-020", "channel": "email", "lang": "he", "text": "מאת: אילנה גרין \nאל: info@magnolia-ra.example.org\nנושא: בקשה להעברת תיעוד\n\nשלום רב,\n\nאבקש להעביר את התיעוד הרפואי שלי (כולל דו״ח השאיבה מ-14 באפריל) לד״ר אורן ביטון בתל השומר. ד״ר אדאזה אוקונקוו טיפלה בי ולכן היא צריכה לחתום.\n\nבברכה,\nאילנה גרין", "spans": [{"start": 5, "end": 15, "type": "NAME"}, {"start": 17, "end": 40, "type": "EMAIL"}, {"start": 163, "end": 172, "type": "DATE"}, {"start": 179, "end": 189, "type": "PROVIDER"}, {"start": 205, "end": 219, "type": "PROVIDER"}, {"start": 259, "end": 269, "type": "NAME"}], "known": {"names": ["Ilana Green"], "phones": [], "emails": ["igreen@example.com"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-he-email-021", "channel": "email", "lang": "he", "text": "נושא: תזכורת לתור\n\nשלום רב,\n\nהתור שלכם יתקיים ביום חמישי בשעה 14:15 ET במשרדנו ב-1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309. נא להביא תעודה מזהה וכרטיס ביטוח.\n\nהמרפאה סגורה ב-27 בנובמבר.\n\nMagnolia Reproductive Associates\ninfo@magnolia-ra.example.org · 404-555-0700", "spans": [], "known": {"names": ["Orly Sasson"], "phones": ["404-555-0182"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-he-email-022", "channel": "email", "lang": "he", "text": "נושא: Re: Re: חשבונית INV-2214 - לא התקבל תשלום\n\nשלום,\n\nשלחתי העברה בנקאית שוב, מהחשבון IL62 0108 0000 0009 9999 999. אשמח לאישור. רחל אוחיון\n\n> גב׳ אוחיון, לא ראינו תשלום עבור חשבונית INV-2214. נא לשלוח אסמכתא.\n> חשבונות, מוניק ריץ׳\n>\n> > שלום, תשלום 2 מתוך 4 הועבר ביום שישי. בברכה, רחל אוחיון", "spans": [{"start": 22, "end": 30, "type": "ACCOUNT"}, {"start": 88, "end": 116, "type": "ACCOUNT"}, {"start": 131, "end": 141, "type": "NAME"}, {"start": 149, "end": 155, "type": "NAME"}, {"start": 185, "end": 193, "type": "ACCOUNT"}, {"start": 223, "end": 233, "type": "PROVIDER"}, {"start": 285, "end": 295, "type": "NAME"}], "known": {"names": ["Rachel Ohayon"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["INV-2214"]}} +{"id": "v11-he-email-023", "channel": "email", "lang": "he", "text": "נושא: הסכם פונדקאות\n\nשלום רב,\n\nאני עו״ד דוד קפלן, מייצג את סיגל וייס ובן זוגה רועי נבון בעניין הסכם פונדקאות. הפונדקאית, ג׳ניפר ריד, גרה באלפרטה. מספר ההליך בבית המשפט תמ״ש 4417-26. משרדי ברמת גן. אבקש לאשר שד״ר גולדפרב מכירה את ההסכם.\n\nבכבוד רב", "spans": [{"start": 40, "end": 48, "type": "NAME"}, {"start": 59, "end": 68, "type": "NAME"}, {"start": 78, "end": 87, "type": "NAME"}, {"start": 121, "end": 131, "type": "NAME"}, {"start": 138, "end": 144, "type": "ADDRESS"}, {"start": 168, "end": 180, "type": "ID"}, {"start": 189, "end": 195, "type": "ADDRESS"}, {"start": 212, "end": 219, "type": "PROVIDER"}], "known": {}} +{"id": "v11-he-email-024", "channel": "email", "lang": "he", "text": "נושא: מחירון תרופות\n\nשלום, מחיר גונל-אף 900 יחידות הוא 612 דולר, אצווה 4B7731 בתוקף עד סוף 2027, NDC 44087-9001-1. צטרוטייד 0.25 מ״ג, 7 אמפולות, 298 דולר. הזמנות עד 16:00 ET. מחירים לפי רשימה v3.2.\n\nבית מרקחת Magnolia Specialty Pharmacy", "spans": [], "known": {}} +{"id": "v11-he-email-025", "channel": "email", "lang": "he", "text": "שלום,\n\nתודה על המידע, אגיע ביום רביעי. אפשר לשלוח את ההוראות לכתובת הזו.\n\nבברכה,\nענבל שחר-סמית\nטל׳ (678) 555-0166\nרוזוול, GA\nבלוג: inbal-ss.example.net/blog", "spans": [{"start": 81, "end": 94, "type": "NAME"}, {"start": 99, "end": 113, "type": "PHONE"}, {"start": 114, "end": 120, "type": "ADDRESS"}, {"start": 131, "end": 156, "type": "URL"}], "known": {}} +{"id": "v11-he-note-026", "channel": "note", "lang": "he", "text": "pt KJ בת 34, G2P1, c/o התכווצויות אחרי FET (יום 5), E2 1450, ללא דימום. בעלה יעקב איתה. הועבר ל-AD, f/u מחר 0900h.", "spans": [{"start": 3, "end": 5, "type": "NAME"}, {"start": 77, "end": 81, "type": "NAME"}, {"start": 96, "end": 98, "type": "PROVIDER"}], "known": {"names": ["Karin Jacobi"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-he-note-027", "channel": "note", "lang": "he", "text": "מסירת משמרת: חדר 2 IUI ב-10:30 (מבחנה 14), חדר 4 HSG ב-11:00, MB בשאיבה בחדר 1, HC בתורנות טלפון שלוחה 214. מקרר 4.2°C. טופס הסכמה v4.1.", "spans": [{"start": 62, "end": 64, "type": "PROVIDER"}, {"start": 80, "end": 82, "type": "PROVIDER"}], "known": {}} +{"id": "v11-he-note-028", "channel": "note", "lang": "he", "text": "הנדון: שרית אביטל, ת.ז. 305550416, ילידת 19.07.1986, מרח׳ הרצל 14, חיפה 3303014. טלפון +972-50-555-0171. אי פוריות ראשונית (AMH 0.6, שתי הזרעות כושלות). מופנית לבירור IVF.\nבכבוד, ד״ר עמוס פרלמן", "spans": [{"start": 7, "end": 17, "type": "NAME"}, {"start": 24, "end": 33, "type": "ID"}, {"start": 41, "end": 51, "type": "DATE"}, {"start": 58, "end": 65, "type": "ADDRESS"}, {"start": 67, "end": 71, "type": "ADDRESS"}, {"start": 72, "end": 79, "type": "POSTAL_CODE"}, {"start": 87, "end": 103, "type": "PHONE"}, {"start": 183, "end": 193, "type": "PROVIDER"}], "known": {"names": ["Sarit Avital"], "phones": [], "emails": [], "dates_of_birth": ["1986-07-19"], "addresses": [], "identifiers": []}} +{"id": "v11-he-note-029", "channel": "note", "lang": "he", "text": "מבטח: Peach State Health Plan\nמבוטחת: SHIRAN BARAK\nמס׳ פוליסה: PSP-5530-0187\nמס׳ חבר: M3318842\nתביעה: CLM-2026-90321\nאישור מראש: PA-90226631\nתוקף עד: 31.12.2026\nהליך: CPT 58970, ICD-10 N97.9", "spans": [{"start": 38, "end": 50, "type": "NAME"}, {"start": 63, "end": 76, "type": "ACCOUNT"}, {"start": 86, "end": 94, "type": "HEALTH_CARD"}, {"start": 102, "end": 116, "type": "ACCOUNT"}, {"start": 129, "end": 140, "type": "ACCOUNT"}, {"start": 150, "end": 160, "type": "DATE"}], "known": {"names": ["Shiran Barak"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["PSP-5530-0187"]}} +{"id": "v11-he-note-030", "channel": "note", "lang": "he", "text": "סיכום שיחה (AI): המטופלת מורן אשכנזי התקשרה ב-08:40 בנוגע לשינוי מינון (Ovitrelle 250). אומת תאריך לידה 1993-04-21. נרשם טלפון 678-555-0167. הועבר אל לילה סליבה, חזרה עד 16:00.", "spans": [{"start": 25, "end": 36, "type": "NAME"}, {"start": 104, "end": 114, "type": "DATE"}, {"start": 127, "end": 139, "type": "PHONE"}, {"start": 150, "end": 160, "type": "PROVIDER"}], "known": {"names": ["Moran Ashkenazi"], "phones": ["678-555-0167"], "emails": [], "dates_of_birth": ["1993-04-21"], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-sms-001", "channel": "sms", "lang": "mixed", "text": "안녕하세요 Magnolia입니다? 저 김수진인데요, tomorrow's retrieval 몇 시까지 가야 돼요? 남편 Daniel이 운전해요. 저희는 Duluth 살아요.", "spans": [{"start": 21, "end": 24, "type": "NAME"}, {"start": 66, "end": 72, "type": "NAME"}, {"start": 84, "end": 90, "type": "ADDRESS"}], "known": {"names": ["Sujin Kim"], "phones": ["470-555-0177"], "emails": [], "dates_of_birth": [], "addresses": ["Duluth, GA"], "identifiers": []}} +{"id": "v11-mixed-sms-002", "channel": "sms", "lang": "mixed", "text": "Chào chị, em muốn hỏi progesterone 200mg uống mấy lần một ngày ạ? Lab hôm nay E2 820, LH 3.1, follicle 17mm. Cảm ơn clinic nhiều.", "spans": [], "known": {}} +{"id": "v11-mixed-sms-003", "channel": "sms", "lang": "mixed", "text": "Bonjou, mwen se Marie-Claire Joseph. Mwen gen apwentman jedi a 9:30 ak Dr. Paris? Mwen pa ka jwenn parking. Call me back 678-555-0134 si ou kapab.", "spans": [{"start": 16, "end": 35, "type": "NAME"}, {"start": 75, "end": 80, "type": "PROVIDER"}, {"start": 121, "end": 133, "type": "PHONE"}], "known": {"names": ["Marie-Claire Joseph"], "phones": ["678-555-0143"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-sms-004", "channel": "sms", "lang": "mixed", "text": "Marhaba, ana Fatima Nasser w jozi Samir. Bnaaref bel Clayton Park, Halifax. Can we do the blood test at the Dartmouth lab instead? Shukran ktir", "spans": [{"start": 13, "end": 26, "type": "NAME"}, {"start": 34, "end": 39, "type": "NAME"}, {"start": 53, "end": 65, "type": "ADDRESS"}], "known": {"names": ["Fatima Nasser"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": ["Clayton Park, Halifax, NS"], "identifiers": []}} +{"id": "v11-mixed-sms-005", "channel": "sms", "lang": "mixed", "text": "Kwe' Dr. Googoo, it's Wanda Paul from Eskasoni. We got your message about the HSG, Thursday is ok. Msit no'kmaq. Wela'lin", "spans": [{"start": 9, "end": 15, "type": "PROVIDER"}, {"start": 22, "end": 32, "type": "NAME"}, {"start": 38, "end": 46, "type": "ADDRESS"}], "known": {"names": ["Wanda Paul"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-sms-006", "channel": "sms", "lang": "mixed", "text": "Hola, ya me puse la inyección de Ovidrel a las 9:40pm. ¿La transferencia sigue siendo el viernes a las 8am? Thx, mañana les mando el resultado de beta 112.", "spans": [], "known": {"names": ["Marisol Vega"], "phones": ["404-555-0105"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-sms-007", "channel": "sms", "lang": "mixed", "text": "Bonjour, c'est Chantal Leblanc. My husband Réjean and I just got the results, 2 embryons 5AA. On est à Dieppe donc on peut pas venir avant lundi. Merci Dr Goldfarb", "spans": [{"start": 15, "end": 30, "type": "NAME"}, {"start": 43, "end": 49, "type": "NAME"}, {"start": 103, "end": 109, "type": "ADDRESS"}, {"start": 155, "end": 163, "type": "PROVIDER"}], "known": {"names": ["Chantal Leblanc"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-sms-008", "channel": "sms", "lang": "mixed", "text": "Hej, tu Basia Kowal. My number changed: (470) 555-0129. Please update, I miss texts about the beta. Dziękuję!", "spans": [{"start": 8, "end": 19, "type": "NAME"}, {"start": 40, "end": 54, "type": "PHONE"}], "known": {"names": ["Barbara Kowal"], "phones": ["470-555-0198"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-chat-009", "channel": "chat", "lang": "mixed", "text": "Patient: 안녕하세요, I need to reschedule my consult.\nAssistant: Happy to help. May I have your full name?\nPatient: 최지현 (Jihyun Choi)\nAssistant: Thank you, Jihyun. And your date of birth?\nPatient: 생년월일은 1991년 8월 14일\nAssistant: Got it. Which phone number do we have for you?\nPatient: 전화번호가 바뀌었어요. area code 470\nPatient: 그다음 555\nPatient: 0166\nAssistant: Just to confirm: 470-555-0166?\nPatient: 아 죄송해요, 끝에 0116\nAssistant: Updated to 470-555-0116. Anything else?\nPatient: 네, 저희 Suwanee로 이사했어요. 우편번호 30024\nAssistant: Thanks. I will pass the new ZIP and city to the front desk. Your consult with Dr. Deshmukh is on Tuesday at 11:30. Does that work?\nPatient: 좋아요. Thank you, Jihyun 올림", "spans": [{"start": 111, "end": 114, "type": "NAME"}, {"start": 116, "end": 127, "type": "NAME"}, {"start": 151, "end": 157, "type": "NAME"}, {"start": 198, "end": 210, "type": "DATE"}, {"start": 301, "end": 304, "type": "PHONE"}, {"start": 318, "end": 321, "type": "PHONE"}, {"start": 331, "end": 335, "type": "PHONE"}, {"start": 364, "end": 376, "type": "PHONE"}, {"start": 398, "end": 402, "type": "PHONE"}, {"start": 425, "end": 437, "type": "PHONE"}, {"start": 469, "end": 476, "type": "ADDRESS"}, {"start": 490, "end": 495, "type": "POSTAL_CODE"}, {"start": 589, "end": 597, "type": "PROVIDER"}, {"start": 663, "end": 669, "type": "NAME"}], "known": {"names": ["Jihyun Choi"], "phones": ["470-555-0166"], "emails": [], "dates_of_birth": ["1991-08-14"], "addresses": ["Duluth, GA"], "identifiers": []}} +{"id": "v11-mixed-chat-010", "channel": "chat", "lang": "mixed", "text": "Patient: Chị ơi cho em hỏi giá IUI là bao nhiêu?\nAssistant: A single IUI cycle is $950, not including medications such as Clomid 50 mg or trigger shots.\nPatient: Ok em cảm ơn, em sẽ hỏi bảo hiểm Blue Cross xem có cover không. Giờ em phải đi làm, ca 7am đến 3pm.", "spans": [], "known": {}} +{"id": "v11-mixed-chat-011", "channel": "chat", "lang": "mixed", "text": "Bonjou, mwen ekri pou pitit fi mwen, Nadège Pierre. Li gen 33 an. Nou rete nan Clarkston. Èske nou ka pale ak yon entèprèt? Nimewo mwen se 404-555-0176.", "spans": [{"start": 37, "end": 50, "type": "NAME"}, {"start": 79, "end": 88, "type": "ADDRESS"}, {"start": 139, "end": 151, "type": "PHONE"}], "known": {}} +{"id": "v11-mixed-chat-012", "channel": "chat", "lang": "mixed", "text": "هل يمكن إجراء فحص الدم في الصباح الباكر؟ My E2 was 1450 yesterday. هل أحتاج لتعديل جرعة Gonal-f 225؟ Follicles 14, 16, 11 mm.", "spans": [], "known": {}} +{"id": "v11-mixed-chat-013", "channel": "chat", "lang": "mixed", "text": "Hola, mando mi ID del seguro: ZQT771205538, group GRP-62014. Mi nombre es Lucía Herrera y mi esposa es Camila. Vivimos en Lilburn, pero trabajo en Westbrook Elementary.", "spans": [{"start": 30, "end": 42, "type": "HEALTH_CARD"}, {"start": 50, "end": 59, "type": "ACCOUNT"}, {"start": 74, "end": 87, "type": "NAME"}, {"start": 103, "end": 109, "type": "NAME"}, {"start": 122, "end": 129, "type": "ADDRESS"}, {"start": 147, "end": 167, "type": "EMPLOYER"}], "known": {"names": ["Lucia Herrera"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-chat-014", "channel": "chat", "lang": "mixed", "text": "Bonjour, quelle est la différence entre PGT-A et PGT-M? Our clinic in Halifax said results in 10 days. Est-ce que le test coûte 4 800 $ ou c'est par embryon? Merci.", "spans": [], "known": {}} +{"id": "v11-mixed-chat-015", "channel": "chat", "lang": "mixed", "text": "Hi, אני דנה כרמי and I'm asking about my embryo transfer. אני גרה בAlpharetta. The IP in the portal audit looks weird: 198.51.100.23, is that you or someone else?", "spans": [{"start": 8, "end": 16, "type": "NAME"}, {"start": 67, "end": 77, "type": "ADDRESS"}, {"start": 119, "end": 132, "type": "IP_ADDRESS"}], "known": {"names": ["Dana Carmi"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-chat-016", "channel": "chat", "lang": "mixed", "text": "Hi, writing for my niece Tiffany Marshall from Membertou. Mi'kmaq is spoken at home so she may need an interpreter. She needs a letter for MSI coverage; her status card number is 1043 221 87. Wela'lin.", "spans": [{"start": 25, "end": 41, "type": "NAME"}, {"start": 47, "end": 56, "type": "ADDRESS"}, {"start": 179, "end": 190, "type": "ID"}], "known": {}} +{"id": "v11-mixed-call-017", "channel": "call", "lang": "mixed", "text": "Hi this is Yesenia Morales my date of birth is April seventeenth nineteen eighty-seven y quería saber si el resultado del beta ya está listo. Mi número es seven seven zero five five five zero one four three. Gracias, bye.", "spans": [{"start": 11, "end": 26, "type": "NAME"}, {"start": 47, "end": 86, "type": "DATE"}, {"start": 155, "end": 206, "type": "PHONE"}], "known": {"names": ["Yesenia Morales"], "phones": ["770-555-0143"], "emails": [], "dates_of_birth": ["1987-04-17"], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-call-018", "channel": "call", "lang": "mixed", "text": "Agent: Magnolia Reproductive Associates, how may I help?\nCaller: Ahlan, bidi maw3ed lil-ultrasound, law samaht.\nAgent: Tomorrow at 1:45 pm ET in room 2, does that work?\nCaller: Tamam, shukran. Do I come with a full bladder?\nAgent: Yes, please drink 32 ounces an hour before. Your E2 was 820, all good.", "spans": [], "known": {"names": ["Reem Salameh"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-call-019", "channel": "call", "lang": "mixed", "text": "Interpreter: This is the interpreter, Hyun-woo Jung from TalkBridge Interpreting. The patient is 이서연, and she says her address is 4417 Satellite Boulevard, Duluth.\nNurse: Please ask 이서연 Seoyeon's date of birth.\nInterpreter: 1994년 2월 9일입니다.\nNurse: Thank you. Tell her Dr. Park will call about the AMH.", "spans": [{"start": 38, "end": 51, "type": "NAME"}, {"start": 97, "end": 100, "type": "NAME"}, {"start": 130, "end": 162, "type": "ADDRESS"}, {"start": 182, "end": 185, "type": "NAME"}, {"start": 186, "end": 193, "type": "NAME"}, {"start": 224, "end": 235, "type": "DATE"}, {"start": 271, "end": 275, "type": "PROVIDER"}], "known": {"names": ["Seoyeon Lee"], "phones": [], "emails": [], "dates_of_birth": ["1994-02-09"], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-call-020", "channel": "call", "lang": "mixed", "text": "Caller: Alo, em tên là Tran Thi Lan, em sinh ngày mười hai tháng ba năm 1990, số điện thoại em là bốn không bốn, năm năm năm, không một tám hai.\nAgent: Sorry, can you repeat the last four?\nCaller: không một tám hai, zero one eight two. Em nhờ chị Thao gọi lại về cái beta hCG.", "spans": [{"start": 23, "end": 35, "type": "NAME"}, {"start": 50, "end": 76, "type": "DATE"}, {"start": 98, "end": 143, "type": "PHONE"}, {"start": 197, "end": 214, "type": "PHONE"}, {"start": 247, "end": 251, "type": "PROVIDER"}], "known": {"names": ["Lan Thi Tran"], "phones": ["404-555-0182"], "emails": [], "dates_of_birth": ["1990-03-12"], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-call-021", "channel": "call", "lang": "mixed", "text": "Bonjou, se Jean-Robert Michel k ap rele. Madanm mwen Fabiola pa santi li byen apre pinksyon an, li gen doulè nan vant. Rele nou sou 678-555-0187. Nou nan Stone Mountain. Dr Okonkwo, tanpri, it is urgent.", "spans": [{"start": 11, "end": 29, "type": "NAME"}, {"start": 53, "end": 60, "type": "NAME"}, {"start": 132, "end": 144, "type": "PHONE"}, {"start": 154, "end": 168, "type": "ADDRESS"}, {"start": 173, "end": 180, "type": "PROVIDER"}], "known": {"names": ["Fabiola Michel"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-call-022", "channel": "call", "lang": "mixed", "text": "Répondeur: Vous avez joint la clinique Magnolia, succursale de Halifax. Pour prendre rendez-vous, composez le un. For billing press two. Notre horaire est de 8 h à 16 h 30. The clinic will be closed on November 27. Pour une urgence, composez le 902-555-0710.", "spans": [], "known": {}} +{"id": "v11-mixed-call-023", "channel": "call", "lang": "mixed", "text": "Caller: Kwe', this is Joshua Sack. My wife is Alicia, she has the HSG Thursday. We're out past Indian Brook, the blue house at 44.9752, -63.4721, you can't miss it. Mi'kmaq interpreter needed? Msit no'kmaq.\nAgent: Thanks Mr. Sack, we'll call you back at the number on file.", "spans": [{"start": 22, "end": 33, "type": "NAME"}, {"start": 46, "end": 52, "type": "NAME"}, {"start": 95, "end": 107, "type": "ADDRESS"}, {"start": 127, "end": 144, "type": "ADDRESS"}, {"start": 225, "end": 229, "type": "NAME"}], "known": {"names": ["Alicia Sack"], "phones": ["902-555-0145"], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-call-024", "channel": "call", "lang": "mixed", "text": "اسمي ليلى عبدالله and my husband is Omar. We paid the deposit by wire from account LB30 0987 0000 0000 0012 3456 78. هل وصلكم المبلغ؟ The invoice is INV-33807. أنا أسكن في Bedford.", "spans": [{"start": 5, "end": 17, "type": "NAME"}, {"start": 36, "end": 40, "type": "NAME"}, {"start": 83, "end": 115, "type": "ACCOUNT"}, {"start": 149, "end": 158, "type": "ACCOUNT"}, {"start": 172, "end": 179, "type": "ADDRESS"}], "known": {"names": ["Layla Abdullah"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["INV-33807"]}} +{"id": "v11-mixed-call-025", "channel": "call", "lang": "mixed", "text": "Nurse: This is the nurse line. Your beta hCG is 245 and progesterone is 22, which is great.\nCaller: Dziękuję, czyli transfer się udał? Co dalej?\nNurse: Repeat beta Friday at 0930h, continue Endometrin 100 mg three times a day, and the first ultrasound is at six weeks.\nCaller: Dobrze, dziękuję bardzo.", "spans": [], "known": {"names": ["Agata Nowicka"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-call-026", "channel": "call", "lang": "mixed", "text": "Interpreter: Es para Rosa Delgado; fecha de nacimiento veintidós de enero de 1985; her social security is 987-65-4329; mailing address PO Box 118, Norcross, zip 30091.\nAgent: Thank you, I'll note that for Dr. Hartley's consult.", "spans": [{"start": 21, "end": 33, "type": "NAME"}, {"start": 55, "end": 81, "type": "DATE"}, {"start": 106, "end": 117, "type": "SSN"}, {"start": 135, "end": 155, "type": "ADDRESS"}, {"start": 161, "end": 166, "type": "ZIP"}, {"start": 209, "end": 216, "type": "PROVIDER"}], "known": {"names": ["Rosa Delgado"], "phones": [], "emails": [], "dates_of_birth": ["1985-01-22"], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-email-027", "channel": "email", "lang": "mixed", "text": "De : Isabelle Gaudet \nÀ : info@magnolia-ra.example.org\nObjet : Transfert de dossier / records transfer\n\nBonjour,\n\nPlease send my records to Dr Luc Arsenault at the fertility clinic in Moncton. Mon adresse est 123, rue Principale, app. 4, Dieppe E1A 4X2. La Dr Goldfarb m'a dit que ça prend dix jours.\n\nMerci,\nIsabelle", "spans": [{"start": 5, "end": 20, "type": "NAME"}, {"start": 22, "end": 49, "type": "EMAIL"}, {"start": 172, "end": 185, "type": "PROVIDER"}, {"start": 238, "end": 265, "type": "ADDRESS"}, {"start": 267, "end": 273, "type": "ADDRESS"}, {"start": 274, "end": 281, "type": "POSTAL_CODE"}, {"start": 289, "end": 297, "type": "PROVIDER"}, {"start": 338, "end": 346, "type": "NAME"}], "known": {"names": ["Isabelle Gaudet"], "phones": [], "emails": ["i.gaudet@example.org"], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-email-028", "channel": "email", "lang": "mixed", "text": "Subject: Cambio de horario – holiday closure\n\nHola equipo, las oficinas estarán cerradas el 27 de noviembre. Retrieval slots in December: 0730h and 0830h. Price list v3.2 attached: IUI $950, FET $3,200. Gracias.\n\nAtentamente,\nMagnolia Reproductive Associates\n1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309\nwww.magnolia-ra.example.org", "spans": [], "known": {}} +{"id": "v11-mixed-email-029", "channel": "email", "lang": "mixed", "text": "Subject: GoFundMe for our IVF\n\n안녕하세요, we are starting a fundraiser so friends can help with the cost: gofundme.example.org/f/hana-and-minho-ivf. 저희는 Johns Creek에 살아요. Please let us know if the clinic can accept payment plans. 감사합니다.\n\nHana Yoon & Minho", "spans": [{"start": 102, "end": 143, "type": "URL"}, {"start": 149, "end": 160, "type": "ADDRESS"}, {"start": 234, "end": 243, "type": "NAME"}, {"start": 246, "end": 251, "type": "NAME"}], "known": {"names": ["Hana Yoon"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-email-030", "channel": "email", "lang": "mixed", "text": "From: Sandrine Toussaint \nTo: info@magnolia-ra.example.org\nSubject: Kliyan nou / our client\n\nBonjou, mwen se kaseworker nan Open Doors Adoption Agency. Kliyan nou Wilfrid Étienne gen yon konsiltasyon avèk nou semèn pwochèn. Our file number is DFCS-2026-117204. Please send forms in English and Kreyòl, and call me at 404-555-0138.\n\nMèsi anpil,\nSandrine", "spans": [{"start": 6, "end": 24, "type": "NAME"}, {"start": 26, "end": 49, "type": "EMAIL"}, {"start": 188, "end": 203, "type": "NAME"}, {"start": 268, "end": 284, "type": "ID"}, {"start": 342, "end": 354, "type": "PHONE"}, {"start": 369, "end": 377, "type": "NAME"}], "known": {"names": ["Wilfrid Etienne"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-email-031", "channel": "email", "lang": "mixed", "text": "Marhaba, my name is Rania Khoury. We arrived from Beirut last September and live in Spryfield now. Ana bidi consult ma3 Dr. Saliba if she speaks Arabic. My Nova Scotia health card is 5512 331 907, passport LR2210478, and my phone is 902-555-0166. Shukran jazilan,\nRania", "spans": [{"start": 20, "end": 32, "type": "NAME"}, {"start": 50, "end": 56, "type": "ADDRESS"}, {"start": 62, "end": 71, "type": "DATE"}, {"start": 84, "end": 93, "type": "ADDRESS"}, {"start": 124, "end": 130, "type": "PROVIDER"}, {"start": 183, "end": 195, "type": "HEALTH_CARD"}, {"start": 206, "end": 215, "type": "ID"}, {"start": 233, "end": 245, "type": "PHONE"}, {"start": 264, "end": 269, "type": "NAME"}], "known": {"names": ["Rania Khoury"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-email-032", "channel": "email", "lang": "mixed", "text": "Subject: Nowy formularz / New consent form v4.1\n\nHi team, form v4.1 replaces v3.9 next month. Progesterone in oil 50 mg/mL, lot A2277B, store at 20-25 °C. Rooms 2 and 4 are blocked for training from 1300h to 1500h. Dziękuję za współpracę.\n\nMagnolia Reproductive Associates · 404-555-0700", "spans": [], "known": {}} +{"id": "v11-mixed-email-033", "channel": "email", "lang": "mixed", "text": "Subject: Question about our donor / שאלה על התורם\n\nHi, אנחנו טל ברק and Yoni Barak. Our donor ID is D-48812 and we want to know if there are 2 more vials of the same donor. התורם הוא ממוצא אשכנזי. Our cousin ארז is also interested. Thank you!", "spans": [{"start": 61, "end": 67, "type": "NAME"}, {"start": 72, "end": 82, "type": "NAME"}, {"start": 100, "end": 107, "type": "DONOR_ID"}, {"start": 208, "end": 211, "type": "NAME"}], "known": {"names": ["Tal Barak"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["D-48812"]}} +{"id": "v11-mixed-email-034", "channel": "email", "lang": "mixed", "text": "Subject: Re: Re: Ticket 88412 – Facturación\n\nHola, la tarjeta con terminación 4242 fue cobrada dos veces por la invoice INV-33021. Please refund one charge. Gracias, Alejandra Ríos\n\n> Hi Alejandra, we see a $350 charge on 11/12 and another on 11/14. We'll escalate.\n> Billing, Monique Rich\n>\n> > Ticket 88412 opened by Alejandra Ríos", "spans": [{"start": 78, "end": 82, "type": "ACCOUNT"}, {"start": 120, "end": 129, "type": "ACCOUNT"}, {"start": 166, "end": 180, "type": "NAME"}, {"start": 187, "end": 196, "type": "NAME"}, {"start": 222, "end": 227, "type": "DATE"}, {"start": 243, "end": 248, "type": "DATE"}, {"start": 277, "end": 289, "type": "PROVIDER"}, {"start": 319, "end": 333, "type": "NAME"}], "known": {"names": ["Alejandra Rios"], "phones": [], "emails": [], "dates_of_birth": [], "addresses": [], "identifiers": ["INV-33021"]}} +{"id": "v11-mixed-note-035", "channel": "note", "lang": "mixed", "text": "Patient: 정민아 (Mina Jung), DOB 1990-05-22, address 3350 Pleasant Hill Road, Duluth 30096, Employer: Hanbit Logistics, Emergency contact: 정현수 470-555-0112, interpreter: Grace Oh, Language: 한국어, consent 동의함.", "spans": [{"start": 9, "end": 12, "type": "NAME"}, {"start": 14, "end": 23, "type": "NAME"}, {"start": 30, "end": 40, "type": "DATE"}, {"start": 50, "end": 81, "type": "ADDRESS"}, {"start": 82, "end": 87, "type": "ZIP"}, {"start": 99, "end": 115, "type": "EMPLOYER"}, {"start": 136, "end": 139, "type": "NAME"}, {"start": 140, "end": 152, "type": "PHONE"}, {"start": 167, "end": 175, "type": "NAME"}], "known": {"names": ["Mina Jung"], "phones": [], "emails": [], "dates_of_birth": ["1990-05-22"], "addresses": ["3350 Pleasant Hill Road, Duluth, GA 30096"], "identifiers": []}} +{"id": "v11-mixed-note-036", "channel": "note", "lang": "mixed", "text": "Huddle: phòng 3 IUI 1030h, phòng 4 HSG 1100h. Kiểm tra tủ lạnh 4.2°C. Ext 214 cho nurse line. Form v2.7 thay v2.5. Menopur lot 4B7731, Ovidrel lot 22A88.", "spans": [], "known": {}} +{"id": "v11-mixed-note-037", "channel": "note", "lang": "mixed", "text": "Referral: Mirlande Dorvil, née 1988-02-09, ap viv Rural Route 2, Site 4, Box 12, Upper Tantallon. Primary infertility 3 yrs, AMH 1.1. Referring: Dr Alain Doucet. Fax 902-555-0188. Patient prefers Kreyòl, interpreter needed.", "spans": [{"start": 10, "end": 25, "type": "NAME"}, {"start": 31, "end": 41, "type": "DATE"}, {"start": 50, "end": 79, "type": "ADDRESS"}, {"start": 81, "end": 96, "type": "ADDRESS"}, {"start": 148, "end": 160, "type": "PROVIDER"}, {"start": 166, "end": 178, "type": "PHONE"}], "known": {"names": ["Mirlande Dorvil"], "phones": [], "emails": [], "dates_of_birth": ["1988-02-09"], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-note-038", "channel": "note", "lang": "mixed", "text": "AI call summary: Caller سلمى منصور (Arabic/English). DOB confirmed 1993-12-03. She lives in Bedford. Asked about the trigger shot timing for tonight 2130h. Callback 902-555-0123, routed to Layla Saliba.", "spans": [{"start": 24, "end": 34, "type": "NAME"}, {"start": 67, "end": 77, "type": "DATE"}, {"start": 92, "end": 99, "type": "ADDRESS"}, {"start": 165, "end": 177, "type": "PHONE"}, {"start": 189, "end": 201, "type": "PROVIDER"}], "known": {"names": ["Salma Mansour"], "phones": ["902-555-0123"], "emails": [], "dates_of_birth": ["1993-12-03"], "addresses": [], "identifiers": []}} +{"id": "v11-mixed-note-039", "channel": "note", "lang": "mixed", "text": "Note: Mi'kmaw language interpreter requested for the Thursday consult at 1:15 pm ET; use the clinic interpreter line ext 330. Room 5, form v5.0, bring photo ID. Msit no'kmaq on the intake sheet means 'all my relations', not a name. Patient transport by Halifax Transit route 7.", "spans": [], "known": {}} +{"id": "v11-mixed-note-040", "channel": "note", "lang": "mixed", "text": "Note de service: formulaire de consentement v3.4 remplace v3.2. Gonal-f lot 24B9, NDC 44087-9001-1, entreposer à 2-8 °C. CPT 58970, ICD-10 N97.9. Prix IUI 950 $. Dziękuję zespołowi. Magnolia Associés en Reproduction, Halifax.", "spans": [], "known": {}} diff --git a/benchmark/results_blind_v11_frozen.json b/benchmark/results_blind_v11_frozen.json new file mode 100644 index 0000000..17ab21c --- /dev/null +++ b/benchmark/results_blind_v11_frozen.json @@ -0,0 +1,182 @@ +{ + "regex": { + "recall": 0.6988636363636364, + "precision": 0.8072669826224329, + "spans": 1408, + "missed": 424, + "leaked_char_rate": 0.2550403225806452, + "by_type": { + "ACCOUNT": 0.7931034482758621, + "ADDRESS": 0.4, + "AGE": 1.0, + "DATE": 0.9014084507042254, + "DONOR_ID": 1.0, + "EMAIL": 0.9642857142857143, + "EMPLOYER": 0.47058823529411764, + "HEALTH_CARD": 0.9166666666666666, + "ID": 0.6666666666666666, + "IP_ADDRESS": 1.0, + "MRN": 1.0, + "NAME": 0.6783831282952548, + "PHONE": 0.7441860465116279, + "POSTAL_CODE": 0.8666666666666667, + "SIN": 0.8, + "SSN": 0.8, + "URL": 1.0, + "ZIP": 0.8636363636363636 + }, + "by_channel": { + "call": 0.6479289940828402, + "chat": 0.670846394984326, + "email": 0.7923497267759563, + "note": 0.7068273092369478, + "sms": 0.625 + }, + "by_lang": { + "en": 0.7370753323485968, + "es": 0.6747967479674797, + "fr": 0.7197802197802198, + "he": 0.6136363636363636, + "mixed": 0.5546875, + "pl": 0.7241379310344828 + }, + "clean_messages": 137, + "clean_masked_rate": 0.4233576642335766, + "false_positives": 244 + }, + "regex+known": { + "recall": 0.7571022727272727, + "precision": 0.8212983223924143, + "spans": 1408, + "missed": 342, + "leaked_char_rate": 0.1941084229390681, + "by_type": { + "ACCOUNT": 0.8045977011494253, + "ADDRESS": 0.40476190476190477, + "AGE": 1.0, + "DATE": 0.9014084507042254, + "DONOR_ID": 1.0, + "EMAIL": 0.9642857142857143, + "EMPLOYER": 0.47058823529411764, + "HEALTH_CARD": 0.9166666666666666, + "ID": 0.7666666666666667, + "IP_ADDRESS": 1.0, + "MRN": 1.0, + "NAME": 0.8084358523725835, + "PHONE": 0.7441860465116279, + "POSTAL_CODE": 0.8666666666666667, + "SIN": 0.8, + "SSN": 0.8, + "URL": 1.0, + "ZIP": 0.8636363636363636 + }, + "by_channel": { + "call": 0.7337278106508875, + "chat": 0.6990595611285266, + "email": 0.825136612021858, + "note": 0.7951807228915663, + "sms": 0.6985294117647058 + }, + "by_lang": { + "en": 0.8079763663220089, + "es": 0.7317073170731707, + "fr": 0.7472527472527473, + "he": 0.6590909090909091, + "mixed": 0.6171875, + "pl": 0.7586206896551724 + }, + "clean_messages": 137, + "clean_masked_rate": 0.4233576642335766, + "false_positives": 245 + }, + "regex+gliner": { + "recall": 0.8707386363636364, + "precision": 0.7171837708830548, + "spans": 1408, + "missed": 182, + "leaked_char_rate": 0.09705421146953405, + "by_type": { + "ACCOUNT": 0.7931034482758621, + "ADDRESS": 0.8095238095238095, + "AGE": 1.0, + "DATE": 0.9014084507042254, + "DONOR_ID": 1.0, + "EMAIL": 0.9642857142857143, + "EMPLOYER": 0.8823529411764706, + "HEALTH_CARD": 0.9166666666666666, + "ID": 0.6666666666666666, + "IP_ADDRESS": 1.0, + "MRN": 1.0, + "NAME": 0.9244288224956063, + "PHONE": 0.7441860465116279, + "POSTAL_CODE": 0.8666666666666667, + "SIN": 0.8, + "SSN": 0.8, + "URL": 1.0, + "ZIP": 0.9545454545454546 + }, + "by_channel": { + "call": 0.849112426035503, + "chat": 0.8150470219435737, + "email": 0.9289617486338798, + "note": 0.8795180722891566, + "sms": 0.8823529411764706 + }, + "by_lang": { + "en": 0.8714918759231906, + "es": 0.8780487804878049, + "fr": 0.8736263736263736, + "he": 0.8636363636363636, + "mixed": 0.859375, + "pl": 0.8620689655172413 + }, + "clean_messages": 137, + "clean_masked_rate": 0.6058394160583942, + "false_positives": 474 + }, + "regex+known+gliner": { + "recall": 0.8835227272727273, + "precision": 0.7200942840306424, + "spans": 1408, + "missed": 164, + "leaked_char_rate": 0.0871975806451613, + "by_type": { + "ACCOUNT": 0.8045977011494253, + "ADDRESS": 0.8095238095238095, + "AGE": 1.0, + "DATE": 0.9014084507042254, + "DONOR_ID": 1.0, + "EMAIL": 0.9642857142857143, + "EMPLOYER": 0.8823529411764706, + "HEALTH_CARD": 0.9166666666666666, + "ID": 0.7666666666666667, + "IP_ADDRESS": 1.0, + "MRN": 1.0, + "NAME": 0.9437609841827768, + "PHONE": 0.7441860465116279, + "POSTAL_CODE": 0.8666666666666667, + "SIN": 0.8, + "SSN": 0.8, + "URL": 1.0, + "ZIP": 0.9545454545454546 + }, + "by_channel": { + "call": 0.8668639053254438, + "chat": 0.8181818181818182, + "email": 0.9371584699453552, + "note": 0.9036144578313253, + "sms": 0.8970588235294118 + }, + "by_lang": { + "en": 0.8892171344165436, + "es": 0.8821138211382114, + "fr": 0.8846153846153846, + "he": 0.875, + "mixed": 0.8671875, + "pl": 0.8735632183908046 + }, + "clean_messages": 137, + "clean_masked_rate": 0.6058394160583942, + "false_positives": 475 + } +} From c1adde928e215981cac914a15bb7328e65708502 Mon Sep 17 00:00:00 2001 From: Sergei Gorlovetsky <136336554+Sergei-gorlovetsky@users.noreply.github.com> Date: Fri, 20 Nov 2026 18:12:58 -0500 Subject: [PATCH 2/2] Fixes from blind v11: phones in pieces, addresses, payment details, initials Phone numbers given in pieces across lines or turns after a phone cue (area code, exchange, line number, a close correction), national numbers in groups after a phone cue, "plus"/"mas" + country code said as a word, Vietnamese spoken digits, spelled emails and names with commas, dashes or dotted letters. Addresses (cue-gated, new _geo module): rural routes, GPS pairs, directions to a home, counties, First Nation reserves, military and campus addresses, colonias, bare street or town replies to a "where do you live?" question, towns after residence verbs in five languages; not directions to the clinic, public institutions, countries or continents. Accounts and IDs (new _accounts module): payment handles and cashtags (not the clinic's own in a "pay us" sentence), transit, routing and grouped account numbers, cheque numbers with a first-person cue, usernames, personal device serials, court and military file numbers, grouped national IDs and health cards, licence plates, the last four digits given in a reply. Names: a patient's initials after a patient cue, with about 300 clinical and chart abbreviations excluded; Polish case forms of a found surname; a found handle repeated bare. Dates in photo file names; fewer false dates (scores, BMI and lab decimals, equipment upkeep). Bounded spoken lookback and no int() limit crash on long digit runs. Removed during review because each kept leaking patient data in new ways: allowing the clinic street without its full allow entry, letting staff initials pass, and leaving clinic closure and "effective" dates visible. Four review rounds and eight final rounds confirmed 135 problems; all fixed or listed as known limits (1,685 tests). v11 with clinic details and staff list: recall 88.4% -> 99.3%, precision 84.0% -> 86.2%. No identifier the frozen code caught is missed on v0 to v11 in four configurations. Results files regenerated, docs and a v11 CI gate added. A client-derived example domain in a docstring and a test was replaced with a neutral one. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Sergei Gorlovetsky <136336554+Sergei-gorlovetsky@users.noreply.github.com> --- .github/workflows/ci.yml | 2 + README.md | 30 +- benchmark/README.md | 53 +- benchmark/results_blind_v1.json | 36 +- benchmark/results_blind_v10.json | 80 +- benchmark/results_blind_v11.json | 182 ++++ benchmark/results_blind_v2.json | 44 +- benchmark/results_blind_v3.json | 104 +- benchmark/results_blind_v4.json | 84 +- benchmark/results_blind_v5.json | 112 +- benchmark/results_blind_v6.json | 84 +- benchmark/results_blind_v7.json | 66 +- benchmark/results_blind_v8.json | 94 +- benchmark/results_blind_v9.json | 124 +-- src/phiproxy/detectors/_accounts.py | 511 ++++++++++ src/phiproxy/detectors/_geo.py | 866 ++++++++++++++++ src/phiproxy/detectors/_names.py | 263 ++++- src/phiproxy/detectors/_pieces.py | 154 +++ src/phiproxy/detectors/_spoken.py | 144 ++- src/phiproxy/detectors/regex.py | 306 +++++- src/phiproxy/masker.py | 139 ++- tests/test_masker.py | 824 ++++++++++++++- tests/test_regex.py | 1464 +++++++++++++++++++++++++++ 23 files changed, 5270 insertions(+), 496 deletions(-) create mode 100644 benchmark/results_blind_v11.json create mode 100644 src/phiproxy/detectors/_accounts.py create mode 100644 src/phiproxy/detectors/_geo.py create mode 100644 src/phiproxy/detectors/_pieces.py diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e775d6..f042104 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,8 @@ jobs: run: python benchmark/score.py --data benchmark/data/patient_comms_blind_v9.jsonl --config regex+known --min-recall 0.90 - name: Blind benchmark v10 (regex+known must stay at or above 90% recall) run: python benchmark/score.py --data benchmark/data/patient_comms_blind_v10.jsonl --config regex+known --min-recall 0.90 + - name: Blind benchmark v11 (regex+known must stay at or above 90% recall) + run: python benchmark/score.py --data benchmark/data/patient_comms_blind_v11.jsonl --config regex+known --min-recall 0.90 e2e: runs-on: ubuntu-latest diff --git a/README.md b/README.md index e252857..37cd75b 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ docker compose -f deploy/docker-compose.yml up --build | `PROVIDER` | "Dr. Patel" (passes by default, as clinician names are not patient identifiers; enable with `Policy(disabled_types=set())`) | regex + local model | | `EMPLOYER` | "I work at the Tim Hortons on Barton" | local model | -Names are found from context in English, French, Spanish, Polish and Hebrew without a model: self-introductions (also lowercase, as in call transcripts), relatives with or without "my", chart labels, sign-offs and signature blocks, email headers, and full names next to a date of birth or chart number. Names with no cue word need the local model or your records. Dates are also matched in French, Spanish, Polish and Hebrew, written or spoken ("le 12 mai 1990", "el catorce de febrero de mil novecientos noventa y uno", "trzeciego lipca", "5 בנובמבר"), and spoken digits in those languages. Numbers read out loud in calls are rebuilt before matching: grouped and compound number words in all five languages ("eight hundred, five five five, oh one four two", "dziewięćset pięć, pięćset pięćdziesiąt pięć..."), spelled letters and the phonetic alphabet ("T three A, four B seven", "november sierra hotel four zero zero..."), so spoken phone numbers, postal codes, health cards, member and donor codes, and street numbers ("eighteen forty two west cermak road") are masked. Canadian and US cities and towns over 15,000 people (from [GeoNames](https://www.geonames.org/), CC BY 4.0) are masked after a location cue ("I live in Sudbury", "j'habite à Laval", "mieszkam w Toronto"); names that are also common words, such as Normal or Mobile, must be capitalized. Code-shaped identifiers without a keyword ("SL-4471920-03", "W123456789", any bare number of 7+ digits) are masked as `ID`. Machine-shaped text is read by its field names: JSON keys (`"last_name"`, `"patientName"`, `"zip"`), `key: value` dumps (`preferred_name: Ana`, `Nom : Tremblay`), CSV columns under a header row (`last,first,dob,member_id`), and HL7 v2 PID, NK1, GT1 and IN1 segments; each value must still look like what its field says, so `Phone: press 1` or `Last name: TBD` are left alone. Emails written to dodge filters ("ana [at] example [dot] org") or spoken in five languages, and social handles and usernames (as `ID`), are masked. A clinic address on the allow list also matches its common spellings (Ave and Avenue, Suite and #), and a name found once is masked on its later mentions in the same message. Invisible characters (zero-width spaces, bidi marks) are ignored when matching. +Names are found from context in English, French, Spanish, Polish and Hebrew without a model: self-introductions (also lowercase, as in call transcripts), relatives with or without "my", chart labels, sign-offs and signature blocks, email headers, and full names next to a date of birth or chart number. Names with no cue word need the local model or your records. Dates are also matched in French, Spanish, Polish and Hebrew, written or spoken ("le 12 mai 1990", "el catorce de febrero de mil novecientos noventa y uno", "trzeciego lipca", "5 בנובמבר"), and spoken digits in those languages. Numbers read out loud in calls are rebuilt before matching: grouped and compound number words in all five languages ("eight hundred, five five five, oh one four two", "dziewięćset pięć, pięćset pięćdziesiąt pięć..."), spelled letters and the phonetic alphabet ("T three A, four B seven", "november sierra hotel four zero zero..."), so spoken phone numbers, postal codes, health cards, member and donor codes, and street numbers ("eighteen forty two west cermak road") are masked. Canadian and US cities and towns over 15,000 people (from [GeoNames](https://www.geonames.org/), CC BY 4.0) are masked after a location cue ("I live in Sudbury", "j'habite à Laval", "mieszkam w Toronto"); names that are also common words, such as Normal or Mobile, must be capitalized. Code-shaped identifiers without a keyword ("SL-4471920-03", "W123456789", any bare number of 7+ digits) are masked as `ID`. Machine-shaped text is read by its field names: JSON keys (`"last_name"`, `"patientName"`, `"zip"`), `key: value` dumps (`preferred_name: Ana`, `Nom : Tremblay`), CSV columns under a header row (`last,first,dob,member_id`), and HL7 v2 PID, NK1, GT1 and IN1 segments; each value must still look like what its field says, so `Phone: press 1` or `Last name: TBD` are left alone. Emails written to dodge filters ("ana [at] example [dot] org") or spoken in five languages, and social handles and usernames (as `ID`), are masked. A clinic address on the allow list also matches its common spellings (Ave and Avenue, Suite and #), and a name found once is masked on its later mentions in the same message. Phone numbers given in pieces across lines or turns ("area code 404", then "555", then "0182"), a patient's initials after a patient cue ("pt KJ"), payment handles and bank numbers (Venmo, Cash App, transit and routing numbers), and rural routes, GPS coordinates, counties and reserves are masked too. Invisible characters (zero-width spaces, bidi marks) are ignored when matching. ### Optional local model @@ -154,31 +154,31 @@ Presidio is also supported: `pip install phiproxy[presidio]` and add `PresidioDe ## Benchmark -`benchmark/` holds eleven synthetic **patient communications** sets: SMS, web chat, call transcripts and voicemails, emails, referral letters, insurance letters and intake text, the kind of text clinics actually send to LLMs. Most existing de-identification work targets clinical notes instead. All people and numbers are invented. +`benchmark/` holds twelve synthetic **patient communications** sets: SMS, web chat, call transcripts and voicemails, emails, referral letters, insurance letters and intake text, the kind of text clinics actually send to LLMs. Most existing de-identification work targets clinical notes instead. All people and numbers are invented. - **v0** (288 messages, English): template-based, written by the detector authors. -- **blind v1 to v10** (420, 400, 360, 400, 400, 400, 400, 400, 400 and 400 messages): English, French, Spanish, Polish, Hebrew and mixed, each written by an AI model (Opus, Sonnet, Fable, then Opus, Fable, Opus, Opus, and four Sonnet authors for v8, v9 and v10, each set with a new brief) that never saw the detector code, each with about 30% of messages containing no identifiers but full of lookalikes (drug doses, embryo grades, billing codes). v3 is US-heavy and mentions people without cue words ("Can Omar come in with me?"). v4 comes from a British Columbia clinic with international patients, and has spoken and corrected numbers, scanned faxes, internal staff notes, the clinic's own staff roster, and patients who share a staff member's name. v5 comes from a New Jersey clinic, with conversations with the clinic's AI assistant, names from many backgrounds and US insurance paperwork. v6 comes from an Arizona clinic with a Winnipeg office: a quarter calls, first names with no cue word, staff handoffs and internal chat, cross-border surrogacy; its author generated messages from templates, so it is less varied than the others. v7, written by hand, comes from a Houston clinic with a Montreal office: email threads, intake forms, male factor and LGBTQ+ families, specialty-pharmacy calls. v8, written by hand by four authors, comes from a Miami clinic with a Toronto office: phone typing and autocorrect, pasted screenshots, group texts on shared phones, relatives over 89, military and student coverage. v9, also written by four authors, comes from a Denver clinic with a Calgary office: record-system dumps, CSV, JSON and HL7 text, long legal and clinical documents, names that look like words or places, and unusual identifier formats. v10, also written by four authors, comes from a Minneapolis clinic with a Winnipeg office: calls through phone interpreters, numbers and emails spoken as words, and identifiers people half-hide or obfuscate ("ana [at] example [dot] org", "SSN ends in 4417", social handles). A second annotator, also blind to the code, corrected the labels. +- **blind v1 to v11** (420, 400, 360, 400, 400, 400, 400, 400, 400, 400 and 400 messages): English, French, Spanish, Polish, Hebrew and mixed, each written by an AI model (Opus, Sonnet, Fable, then Opus, Fable, Opus, Opus, and four Sonnet authors for v8 to v11, each set with a new brief) that never saw the detector code, each with about 30% of messages containing no identifiers but full of lookalikes (drug doses, embryo grades, billing codes). v3 is US-heavy and mentions people without cue words ("Can Omar come in with me?"). v4 comes from a British Columbia clinic with international patients, and has spoken and corrected numbers, scanned faxes, internal staff notes, the clinic's own staff roster, and patients who share a staff member's name. v5 comes from a New Jersey clinic, with conversations with the clinic's AI assistant, names from many backgrounds and US insurance paperwork. v6 comes from an Arizona clinic with a Winnipeg office: a quarter calls, first names with no cue word, staff handoffs and internal chat, cross-border surrogacy; its author generated messages from templates, so it is less varied than the others. v7, written by hand, comes from a Houston clinic with a Montreal office: email threads, intake forms, male factor and LGBTQ+ families, specialty-pharmacy calls. v8, written by hand by four authors, comes from a Miami clinic with a Toronto office: phone typing and autocorrect, pasted screenshots, group texts on shared phones, relatives over 89, military and student coverage. v9, also written by four authors, comes from a Denver clinic with a Calgary office: record-system dumps, CSV, JSON and HL7 text, long legal and clinical documents, names that look like words or places, and unusual identifier formats. v10, also written by four authors, comes from a Minneapolis clinic with a Winnipeg office: calls through phone interpreters, numbers and emails spoken as words, and identifiers people half-hide or obfuscate ("ana [at] example [dot] org", "SSN ends in 4417", social handles). v11, also written by four authors, comes from an Atlanta clinic with a Halifax office: long threads where a phone number or address comes in pieces and is corrected, staff shorthand with patient initials ("pt KJ 34yo"), rural and hard addresses, and payment and bank details. A second annotator, also blind to the code, corrected the labels. Each blind set was scored once with the detectors frozen, then used to find gaps. So each set's first score is a test of the fixes made on the sets before it: -| recall, first score on unseen text | v1 | v2 | v3 | v4 | v5 | v6 | v7 | v8 | v9 | v10 | -|---|---|---|---|---|---|---|---|---|---|---| -| regex | 36.0% | 57.3% | 58.4% | 66.1% | 73.7% | 80.2% | 75.7% | 77.0% | 73.7% | 70.0% | -| regex + known entities | 54.1% | 80.2% | 68.3% | 73.8% | 80.9% | 88.8% | 84.9% | 87.2% | 84.4% | 81.3% | -| regex + local model | 77.3% | 87.9% | 84.2% | 86.5% | 91.2% | 96.8% | 93.1% | 93.4% | 91.6% | 86.6% | -| regex + known + local model | 79.2% | 92.3% | 88.1% | 88.4% | 93.1% | 97.5% | 94.7% | 95.4% | 93.4% | **89.7%** | +| recall, first score on unseen text | v1 | v2 | v3 | v4 | v5 | v6 | v7 | v8 | v9 | v10 | v11 | +|---|---|---|---|---|---|---|---|---|---|---|---| +| regex | 36.0% | 57.3% | 58.4% | 66.1% | 73.7% | 80.2% | 75.7% | 77.0% | 73.7% | 70.0% | 69.9% | +| regex + known entities | 54.1% | 80.2% | 68.3% | 73.8% | 80.9% | 88.8% | 84.9% | 87.2% | 84.4% | 81.3% | 75.7% | +| regex + local model | 77.3% | 87.9% | 84.2% | 86.5% | 91.2% | 96.8% | 93.1% | 93.4% | 91.6% | 86.6% | 87.1% | +| regex + known + local model | 79.2% | 92.3% | 88.1% | 88.4% | 93.1% | 97.5% | 94.7% | 95.4% | 93.4% | 89.7% | **88.4%** | -| first score, regex + known + local model | v8 | v9 | v10 | +| first score, regex + known + local model | v9 | v10 | v11 | |---|---|---|---| -| by channel | SMS 96%, chat 97%, email 96%, notes 94%, calls 94% | SMS 95%, chat 93%, email 94%, notes 93%, calls 92% | SMS 93%, chat 91%, email 89%, notes 93%, calls 86% | -| by language | en 96%, fr 97%, es 96%, pl 92%, he 84%, mixed 97% | en 94%, fr 95%, es 95%, pl 92%, he 85%, mixed 93% | en 90%, fr 95%, es 93%, pl 87%, he 81%, mixed 85% | -| precision (default / clinic details allowed / plus staff list) | 74.9% / 86.1% / 88.3% | 73.0% / 82.2% / 85.2% | 72.4% / 80.8% / 83.8% | -| messages without identifiers where something was masked | 54% / 30% / 30% | 60% / 37% / 36% | 68% / 47% / 45% | +| by channel | SMS 95%, chat 93%, email 94%, notes 93%, calls 92% | SMS 93%, chat 91%, email 89%, notes 93%, calls 86% | SMS 90%, chat 82%, email 94%, notes 90%, calls 87% | +| by language | en 94%, fr 95%, es 95%, pl 92%, he 85%, mixed 93% | en 90%, fr 95%, es 93%, pl 87%, he 81%, mixed 85% | en 89%, fr 88%, es 88%, pl 87%, he 88%, mixed 87% | +| precision (default / clinic details allowed / plus staff list) | 73.0% / 82.2% / 85.2% | 72.4% / 80.8% / 83.8% | 72.0% / 80.9% / 84.0% | +| messages without identifiers where something was masked | 60% / 37% / 36% | 68% / 47% / 45% | 61% / 39% / 39% | **How to read this honestly:** - Expect real traffic to score lower: these sets are AI-written, not written by clinic staff. v0 overstated recall by about 30 points. - Without the local model, names not in your records are the main gap. On v3, where names often come with no cue, the pattern rules alone found 43% of names. -- After the gaps found on each set were fixed, the current code scores 96% to 99% with the local model on the ten blind sets. Those numbers are optimistic, which is why the table above shows first scores. v4 showed how much: the code that scored 95% to 97% on v1 to v3 scored 88% on v4. After the Hebrew, call and date work, the next unseen set (v5) scored 93%, v6 then scored 97.5%, but it was built from templates and is probably easier; v7, written by hand, scored 94.7%, v8 95.4%, v9 93.4%, and v10 89.7%: its brief aimed at text the rules had never seen (JSON, CSV and HL7 dumps, court and case numbers, Alberta health numbers, nicknames), and v10's went after spoken, obfuscated and half-hidden forms (emails written "ana [at] example [dot] org" or read out loud, numbers read one digit at a time, "SSN ends in 4417", social handles). Each set's brief differs, so expect roughly 90% to 95% on new text of this kind, and less on real traffic. +- After the gaps found on each set were fixed, the current code scores 96% to 99% with the local model on the eleven blind sets. Those numbers are optimistic, which is why the table above shows first scores. v4 showed how much: the code that scored 95% to 97% on v1 to v3 scored 88% on v4. After the Hebrew, call and date work, the next unseen set (v5) scored 93%, v6 then scored 97.5%, but it was built from templates and is probably easier; v7, written by hand, scored 94.7%, v8 95.4%, v9 93.4%, v10 89.7%, and v11 88.4%. v9's brief aimed at text the rules had never seen (JSON, CSV and HL7 dumps, court and case numbers, Alberta health numbers, nicknames), and v10's went after spoken, obfuscated and half-hidden forms (emails written "ana [at] example [dot] org" or read out loud, numbers read one digit at a time, "SSN ends in 4417", social handles). v11 scored lowest of the recent sets because its brief went after numbers given in pieces over long threads ("the area code is 404", then "555", then "0182"), staff shorthand with patient initials, rural and hard addresses (rural routes, GPS coordinates, counties, reserves), and payment and bank details. Each set's brief differs, so expect roughly 88% to 95% on new text of this kind, and less on real traffic. - Over-masking is real: v6, full of staff talking about staff, had 55% of its clean messages masked with the clinic and staff lists at first; the staff-list cues added after it bring that to 34%. Most of it is the clinic's own contact details (pass them in `Policy(allow=...)`), staff names (pass them in `Policy(staff=...)`), and holiday dates, which stay masked on purpose. - Details, label rules, the corrections and full tables are in [`benchmark/README.md`](https://github.com/DecisionTreeTechnology/phiproxy/blob/main/benchmark/README.md). diff --git a/benchmark/README.md b/benchmark/README.md index 5068fa4..cd3a6a3 100644 --- a/benchmark/README.md +++ b/benchmark/README.md @@ -17,38 +17,42 @@ Labelled sets of the kind of text clinics send to LLMs: patient SMS, web chat, p | `patient_comms_blind_v8.jsonl` | 400 (125 with no identifiers) | 1,140 + 173 staff and clinician names | en, fr, es, pl, he, mixed | four blind AI authors (Claude Sonnet), each writing 100 messages by hand from one brief: a Miami clinic with a Toronto office, phone typing and autocorrect, OCR of pasted screenshots, group texts on shared phones, relatives over 89, military, Medicaid and student coverage, AI hand-offs and agent-assist summaries | | `patient_comms_blind_v9.jsonl` | 400 (122 with no identifiers) | 1,160 + 183 staff and clinician names | en, fr, es, pl, he, mixed | four blind AI authors (Claude Sonnet), each writing 100 messages by hand from one brief: a Denver clinic with a Calgary office, system text (record field dumps, CSV rows, JSON and HL7 integration logs, web forms with IP addresses, calendar invites, mail merges with a missing field), long documents (retrieval reports, consent forms, gestational-carrier agreements, pre-birth orders, records releases), names that look like words, places or months, multi-part and non-English names, unusual identifier formats (Alberta health numbers, Colorado licences, plates, routing numbers, device serials), two-mom and two-dad families, known donors, embryo disputes in a divorce | | `patient_comms_blind_v10.jsonl` | 400 (121 with no identifiers) | 1,232 + 224 staff and clinician names | en, fr, es, pl, he, mixed | four blind AI authors (Claude Sonnet), each writing 100 messages by hand from one brief: a Minneapolis clinic with a Winnipeg office, calls through phone interpreters, numbers and emails spoken as words, spelled names ("F as in Foxtrot"), identifiers people half-hide or obfuscate ("SSN ends in 4417", "DOB 03/xx/1988", "ana [at] example [dot] org", social handles, usernames, numbers split across lines, a letter O typed for zero), quoted, forwarded and replied email, attachment names with a patient's name in them, hard date forms (ranges, ordinals in five languages, Hebrew calendar dates, day-month against month-day), names in odd places and forms (possessives, "the Vang-Lees", Hmong clan names, Somali three-part names, Ojibwe and Métis names, nicknames), and who is a provider (outside OBs, pharmacists, patients who are themselves doctors) | +| `patient_comms_blind_v11.jsonl` | 400 (137 with no identifiers) | 1,408 + 277 staff and clinician names | en, fr, es, pl, he, mixed | four blind AI authors (Claude Sonnet), each writing 100 messages by hand from one brief: an Atlanta clinic with a Halifax office, long threads with the clinic's AI assistant or staff (10 to 40 turns) where identifiers come far from their cue, are given in pieces over several turns ("the area code is 404", "then 555", "0182"), corrected ("sorry, 0128") and read back, staff shorthand (Teams and Slack handoffs, huddle and triage notes such as "pt KJ 34yo G2P1", "Mrs. O rm 3", "re: AB's FET") where a patient's initials alone are a name and staff initials are a provider, rural and hard addresses (rural routes, counties, First Nation communities, GPS coordinates, directions to a home, military and campus addresses, Mexican colonias), payment handles and bank details (Venmo, Cash App, Interac, transit and routing numbers, cheques), photo and attachment names and devices, and foster care, adoption and caseworkers | -**How the blind sets were made.** Each was written by a separate AI agent that had only a brief: the label rules, channels, languages, realistic mess, and a list of things that look like identifiers but are not. It was told not to read the detector code, the tests or the other sets, and it wrote every message from scratch. The v4 to v10 authors also wrote the clinic's own details (`blind/clinic_v4.json` to `blind/clinic_v10.json`) and a 25- or 26-person staff roster (`blind/staff_v4.json` to `blind/staff_v10.json`) before writing any message, as a clinic would configure them. The v6 author wrote small generator scripts with message templates and filled them with different names, numbers and dates, so v6 is less varied than the other sets: 378 of its 400 messages start differently, and 48 messages (12%) are close pairs. The v7 brief then forbade generator scripts; all 400 v7 messages start differently and none are close pairs, though some French and Spanish emails retell English situations. v8 was written by four authors in parallel (English SMS and chat; English calls, email and notes; Spanish and French; Polish, Hebrew and mixed), after a fifth agent wrote the clinic and staff files; none are close pairs. v9 was made the same way from a new brief; none are close pairs. v10 was made the same way from a new brief, after a fifth agent wrote the clinic and staff files; none are close pairs. The sets are independent of the detector code, but they are AI-written, not written by clinic staff. +**How the blind sets were made.** Each was written by a separate AI agent that had only a brief: the label rules, channels, languages, realistic mess, and a list of things that look like identifiers but are not. It was told not to read the detector code, the tests or the other sets, and it wrote every message from scratch. The v4 to v11 authors also wrote the clinic's own details (`blind/clinic_v4.json` to `blind/clinic_v11.json`) and a 25- or 26-person staff roster (`blind/staff_v4.json` to `blind/staff_v11.json`) before writing any message, as a clinic would configure them. The v6 author wrote small generator scripts with message templates and filled them with different names, numbers and dates, so v6 is less varied than the other sets: 378 of its 400 messages start differently, and 48 messages (12%) are close pairs. The v7 brief then forbade generator scripts; all 400 v7 messages start differently and none are close pairs, though some French and Spanish emails retell English situations. v8 was written by four authors in parallel (English SMS and chat; English calls, email and notes; Spanish and French; Polish, Hebrew and mixed), after a fifth agent wrote the clinic and staff files; none are close pairs. v9 was made the same way from a new brief; none are close pairs. v10 was made the same way from a new brief, after a fifth agent wrote the clinic and staff files; none are close pairs. v11 was made the same way from a new brief, and the fifth agent also wrote a file of staff initials (`blind/staff_initials_v11.json`), so the staff list can tell a staff member's initials from a patient's; none are close pairs. The sets are independent of the detector code, but they are AI-written, not written by clinic staff. -**Second annotator.** A third agent, also without access to code or detector output, reviewed each blind set against the written label rules and listed missing and wrong labels (`blind/audit_v1.jsonl` to `blind/audit_v10.jsonl`; 45, 149, 2, 50, 6, 11, 62, 16, 47 and 63 corrections; v8, v9 and v10 had two independent annotators per 100 messages and an adjudicator that kept only clearly correct findings, mostly unlabelled repeat mentions of names, staff names, spoken dates and numbers read back by the agent). `blind/convert.py` applies them. All scores below use the corrected labels. +**Second annotator.** A third agent, also without access to code or detector output, reviewed each blind set against the written label rules and listed missing and wrong labels (`blind/audit_v1.jsonl` to `blind/audit_v11.jsonl`; 45, 149, 2, 50, 6, 11, 62, 16, 47, 63 and 68 corrections; v8 to v11 had two independent annotators per 100 messages and an adjudicator that kept only clearly correct findings, mostly unlabelled repeat mentions of names, staff names, spoken dates and numbers read back by the agent). `blind/convert.py` applies them. All scores below use the corrected labels. -**Frozen scoring.** Before each blind set was scored, the detectors were committed and not changed: v1 against commit 082c2e1, v2 against ab99dc9, v3 against 1dd13f2, v4 against 1f548b0, v5 against b1e794b, v6 against dc33528 (0.1.0a8), v7 against f0c957d (0.1.0a9), v8 against 2a9104e (0.1.0a10), v9 against 3aaa537 (0.1.0a11), v10 against 8db92f4 (0.1.0a12). Those first scores are the fair ones (`results_blind_*_frozen.json`). After a set was scored it was used to find and fix gaps, so its later scores are optimistic. Each set is the re-test of the fixes made on the sets before it. v4 was also scored against 5762fb9, a spoken-date change committed before v4 was seen: it caught one more identifier (88.5% instead of 88.4%) and masked two more non-identifiers, so the spoken-date forms fixed from v1 to v3 were not the ones v4 used. +**Frozen scoring.** Before each blind set was scored, the detectors were committed and not changed: v1 against commit 082c2e1, v2 against ab99dc9, v3 against 1dd13f2, v4 against 1f548b0, v5 against b1e794b, v6 against dc33528 (0.1.0a8), v7 against f0c957d (0.1.0a9), v8 against 2a9104e (0.1.0a10), v9 against 3aaa537 (0.1.0a11), v10 against 8db92f4 (0.1.0a12), v11 against 7fb0f01 (main after v10, not yet released). Those first scores are the fair ones (`results_blind_*_frozen.json`). After a set was scored it was used to find and fix gaps, so its later scores are optimistic. Each set is the re-test of the fixes made on the sets before it. v4 was also scored against 5762fb9, a spoken-date change committed before v4 was seen: it caught one more identifier (88.5% instead of 88.4%) and masked two more non-identifiers, so the spoken-date forms fixed from v1 to v3 were not the ones v4 used. ## Results (recall) First score of the frozen code on each set it had never seen: -| configuration | v1 | v2 | v3 | v4 | v5 | v6 | v7 | v8 | v9 | v10 | -|---|---|---|---|---|---|---|---|---|---|---| -| regex | 36.0% | 57.3% | 58.4% | 66.1% | 73.7% | 80.2% | 75.7% | 77.0% | 73.7% | 70.0% | -| regex + known entities | 54.1% | 80.2% | 68.3% | 73.8% | 80.9% | 88.8% | 84.9% | 87.2% | 84.4% | 81.3% | -| regex + local model | 77.3% | 87.9% | 84.2% | 86.5% | 91.2% | 96.8% | 93.1% | 93.4% | 91.6% | 86.6% | -| regex + known + local model | 79.2% | 92.3% | 88.1% | 88.4% | 93.1% | 97.5% | 94.7% | 95.4% | 93.4% | **89.7%** | +| configuration | v1 | v2 | v3 | v4 | v5 | v6 | v7 | v8 | v9 | v10 | v11 | +|---|---|---|---|---|---|---|---|---|---|---|---| +| regex | 36.0% | 57.3% | 58.4% | 66.1% | 73.7% | 80.2% | 75.7% | 77.0% | 73.7% | 70.0% | 69.9% | +| regex + known entities | 54.1% | 80.2% | 68.3% | 73.8% | 80.9% | 88.8% | 84.9% | 87.2% | 84.4% | 81.3% | 75.7% | +| regex + local model | 77.3% | 87.9% | 84.2% | 86.5% | 91.2% | 96.8% | 93.1% | 93.4% | 91.6% | 86.6% | 87.1% | +| regex + known + local model | 79.2% | 92.3% | 88.1% | 88.4% | 93.1% | 97.5% | 94.7% | 95.4% | 93.4% | 89.7% | **88.4%** | The current code ("now", optimistic: every set below was used to find gaps): -| configuration | v0 | v1 | v2 | v3 | v4 | v5 | v6 | v7 | v8 | v9 | v10 | -|---|---|---|---|---|---|---|---|---|---|---|---| -| regex | 88.0% | 86.4% | 86.4% | 73.5% | 79.1% | 80.6% | 84.0% | 82.7% | 85.4% | 83.9% | 83.7% | -| regex + known entities | 98.0% | 90.6% | 95.9% | 81.9% | 86.7% | 86.0% | 92.1% | 90.0% | 93.0% | 92.9% | 93.4% | -| regex + local model | 98.6% | 96.1% | 96.8% | 94.4% | 95.5% | 95.5% | 98.5% | 96.5% | 98.0% | 98.1% | 97.2% | -| regex + known + local model | 99.1% | 97.1% | 98.7% | 97.0% | 96.5% | 96.3% | 99.1% | 97.0% | 98.9% | 99.1% | 99.2% | +| configuration | v0 | v1 | v2 | v3 | v4 | v5 | v6 | v7 | v8 | v9 | v10 | v11 | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| regex | 88.0% | 86.7% | 86.9% | 74.3% | 80.5% | 81.5% | 84.5% | 83.9% | 86.4% | 85.3% | 85.2% | 86.2% | +| regex + known entities | 98.0% | 90.9% | 95.9% | 82.6% | 88.1% | 86.7% | 92.6% | 90.3% | 93.7% | 94.1% | 94.5% | 91.1% | +| regex + local model | 98.6% | 96.1% | 97.0% | 94.7% | 95.7% | 95.7% | 98.6% | 96.6% | 98.1% | 98.4% | 97.2% | 98.6% | +| regex + known + local model | 99.1% | 97.1% | 98.7% | 97.3% | 96.7% | 96.4% | 99.2% | 97.0% | 98.9% | 99.3% | 99.2% | 99.3% | - "First" is the score of the frozen code on a set it had never seen. "Now" is the current code, after fixes informed by that set, so it is optimistic. - v3 tested the name rules added after v2 (finding names from self-introductions, relatives, chart labels, sign-offs and signature blocks, without a model). On v3, before those rules, the pattern detector found 8% of names and 43.1% of all identifiers; with them, 43% of names and 58.4% overall, at the same precision. With the local model the gain is smaller (82.1% to 84.2%), because the model already finds most names. - v0 overstates recall, because it was written by the people who wrote the detectors. - On v2 the "known entities" rows are optimistic: for some messages the v2 author filled the patient record from the message itself. - Spoken identifiers: after the v3 first score, numbers read out loud are rebuilt before matching (grouped and compound number words in five languages, spelled letters, the phonetic alphabet). "Now" recall on call transcripts with the local model rose from 91% to 94% (v1), 88% to 94% (v2) and 94% to 96% (v3); without the model, from 82% to 86%, 79% to 86% and 77% to 80%. False positives did not rise on any set. +- v11 is the fair test of the code at 7fb0f01 (everything fixed through v10, main after v10, not yet released): 88.4% with the local model, 75.7% without it, lower than v10 (89.7%) because v11's brief went after numbers given in pieces over long threads, staff shorthand with patient initials, rural and hard addresses, and payment and bank details. By channel: SMS 90%, chat 82%, email 94%, notes 90%, calls 87%. By language: en 89%, fr 88%, es 88%, pl 87%, he 88%, mixed 87%. Weakest types: phones (74%: numbers given in pieces over several turns, corrected and read back), IDs (77%: usernames, device serials, court and caseworker file numbers), accounts (80%: payment handles, bank transit and routing numbers, cheque numbers), SIN (80%), SSN (80%), addresses (81%: rural routes, counties, First Nation communities, GPS coordinates, directions to a home, small places outside the town list) and postal codes (87%). With the clinic details allowed, recall was 88.4%, precision 80.9% and 39% of clean messages were masked; with the staff list too, 84.0% and 39%. Without the local model (regex + known entities), precision was 82.1% and 42% of clean messages were masked. +- Some v11 label calls were left as the annotators made them: an interpreter's ID number ("4471", two messages) is labelled `ID`, while the code leaves interpreter numbers visible on purpose (they belong to the interpreter service, not the patient); a discarded wrong digit group in a corrected phone number ("sorry, 0128 not 0182") is not labelled, while the code masks it (privacy first); dates in photo file names ("IMG_20261114_jtran.jpg") are labelled in one message and not in two others, and the code masks them. +- After the v11 first score: phones given in pieces on separate lines or turns after a phone cue (area code, then exchange, then line number, then a correction that differs in at most two digits), but not doses, times, room or extension numbers, value lists, or the clinic's own number on a "call us" or "main line" line; national numbers in groups right after a phone cue ("call 601 234 567", "Zadzwoń 48 601 234 567"); "plus" or "más" and a country code said as a word; Vietnamese spoken digits; spelled emails with commas, dashes, spaces or dotted letters; names spelled with commas after a name cue. Addresses (only after a cue): rural routes ("RR 2, Site 4, Box 12", "R.R. #2"), GPS coordinate pairs, directions to a home ("the blue house past the gas station on Hwy 20"), counties and parishes, First Nation reserves and territories, military addresses (Unit or Box with APO, FPO or PSC), campus residence rooms, Mexican colonias, spoken street numbers after an address cue, a bare street or town reply after a "where do you live?" question, mailbox numbers, a town after a postal code, and towns after residence or origin verbs in five languages; not directions to the clinic, public institutions ("Cobb County Medical Center"), continents, countries or common nouns after the cue. Accounts and IDs (only after a cue): payment handles (Venmo, PayPal and Zelle handles with or without "@", Cash App $cashtags) but not the clinic's own handle in a "pay us" sentence; Canadian transit and institution numbers, routing numbers, account numbers in groups (also Polish 26-digit accounts), cheque numbers with a first-person cue; usernames and account IDs; device serials only for personal devices; court, family-court and Hebrew court file numbers; military IDs; IDs in groups after cédula, DNI, status card or treaty cues; health cards in groups; a SIN that fails the checksum when a SIN was named; insurer contract numbers; licence plates; the last four digits given in a reply on the next line, in four languages. Dates: dates in photo file names (IMG_, PXL_, DSC_, Screenshot), and fewer false dates (pain and other scores such as "7/10", BMI and lab decimals, equipment upkeep dates). Names: a patient's initials after a patient cue ("pt KJ", "patient initials: J. T.", "Re: AB's FET", Hebrew "המטופלת: ג.ט."), with about 300 clinical and chart abbreviations excluded (IVF, FET, AMH, MII, OPU, ALT, IMC, DDR) and two-letter codes that are also common initials (DE, GA, MS) passed only when a chart word or number follows; Polish case forms of a found surname; a found handle repeated bare later; surnames after "Surname" or "Patient" cues even when they are also ordinary words ("Surname Easy"); "miss " in lowercase transcripts. Robustness: the spoken-number lookback is bounded (a 27 KB Vietnamese number string went from 48 s to under 1 s), digit runs longer than Python's int() limit no longer crash, a number word that starts the next sentence is not swallowed into a phone number, and mask-then-unmask round trips were tested on 30 varied messages. Three features were removed during review because each kept leaking patient data in new ways: allowing the clinic's street without its full allow-list entry, letting a staff member's initials pass, and leaving clinic closure and policy "effective" dates visible. All three behave as the frozen code did. Four rounds of adversarial review (four reviewers each) confirmed 87 problems (26, 14, 26 and 21), then eight final rounds (newly masked text, privacy, robustness) confirmed 48 more (12, 6, 4, 2, 4, 9, 9 and 2); a separate verifier re-ran every claim before it counted. All were fixed or are listed in the known limits, and the fixes became tests (1,685 tests). On v11 with the clinic and staff lists, recall went from 88.4% to 99.3%, precision from 84.0% to 86.2%, and clean messages masked from 39% to 35%. By type now (all detectors, clinic details allowed): ID 97%, phones 98%, addresses 98%, accounts 99%, all others 100%; by channel: chat 100%, notes 100%, calls 99%, email 99%, SMS 98%. The 10 remaining misses (with the staff list) are a phone given as "902 / 555 / 0163" in one message (3 pieces), the two interpreter IDs "4471" (label call above), four places with no residence cue ("North End", "Lagos", "Eskasoni", "Lac Mégantic") and one cheque number "#2218" with no first-person cue. Regression check against the frozen 7fb0f01 code, on v0 to v11 in four configurations (regex + known and all detectors, each with and without the staff list): no identifier it caught is missed now. With all detectors and the staff list, v3 gained 3 identifiers, v4 2, v5 2, v6 1, v8 1 and v9 3 (v1, v2, v7 and v10: 0); with regex + known and the staff list, v1 gained 2, v3 7, v4 15, v5 11, v6 5, v7 2, v8 8, v9 14 and v10 13. False positives are the same or lower on every set except v6 (159 to 160 with all detectors and the staff list; 65 to 66 with regex + known) and v7 (87 to 88 with regex + known and the staff list); v11 went from 233 to 215 (100 to 82 with regex + known). New false positives on older sets: a bank routing number written with spaces after "routing" (v6), a city in a residence sentence ("Tel Aviv", v7), and an insurer PO box now masked with its city ("PO Box 5540, Fargo", v10, an existing false positive grown wider). Mean time is 2.9 ms per message on the 4,380 blind messages (2.0 ms before), worst case 15 ms (10 ms before); a 47 KB message takes 0.6 s (same as before). The speed was measured while the machine was under other load, so only the difference between before and after is meaningful. These are "now" numbers. On the twelve sets the current code scores 96.4% to 99.3% with all detectors. - v10 is the fair test of 0.1.0a12 (everything fixed through v9): 89.7% with the local model, 81.3% without it, lower than v9 (93.4%) because v10's brief went after spoken, obfuscated and half-hidden forms. By channel: SMS 93%, chat 91%, email 89%, notes 93%, calls 86%. By language: en 90%, fr 95%, es 93%, pl 87%, he 81%, mixed 85%. Weakest types: SIN (50%: a partial "ends in"), IDs (71%: a US court file number "27-FA-26-4410", social handles "@thaolee_ttc", usernames "gwen_larue_77", Israeli ID numbers in three groups "312 555 874"), ages over 89 (71%, spoken "ninety-one"), accounts (79%: a full card number that fails the checksum, "**** **** **** 3318", "C L M dash 7 7 3 0 2 1 4 4"), health cards (79%, read letter by letter "W, 4, 4, 1, 9, 0, 0, 7, 2"), emails (82%: "ana [at] example [dot] org", "marisol_t88(at)example(dot)com", spoken "a punto beltran punto ochenta y ocho arroba example punto com"), dates (83%: ranges "Mar 3–7" and "del 3 al 7 de marzo", "03/xx/1988", dates inside file names, "7 abr 2026", "12 sty 2026", "3-go maja 1991", the Hebrew calendar date "כ"ג בתשרי", spoken day numbers). Also missed: phone numbers digit by digit ("6 5 1 5 5 5 0 1 4 4") or split across a line, spelled names, and names in file names ("Lopez_M"). With the clinic details allowed, precision was 80.8% and 47% of clean messages were masked; with the staff list too, 83.8% and 45%. - Some v10 label calls were left as the annotators made them: two bare years ("2019") are labelled as dates, which the label rules exclude; one donor ID surface is cut to "-D"; "donneur D-5513" is labelled with the word "donneur" in it (the code masks "D-5513"); "del 3 al 7 de marzo" is labelled with "del" while other v10 ranges are labelled without it; "due in July" is labelled with "due in" (the code masks "July"); a clinic order tracking number is labelled in one message and not in another, and so are some spelled-out repeats of numbers. New for v10: usernames and social handles are labelled `ID`. - After the v10 first score: emails written to dodge filters ("[at]", "(at)", "{at}", "[@]", "[dot]") and emails spoken in five languages (at, arroba, arobase, małpa, with dot, punto, point or kropka and a domain ending word); social handles after a platform cue or with a handle shape; usernames after a cue; personal sites without "https" after a personal cue (my or her blog, fundraiser), not public or clinic sites. Spoken and spaced numbers: runs of seven or more single digits (not counting sequences), shorter runs after an ID question, letter-and-digit codes read one at a time, "dash", group numbers spoken as words in Polish and Hebrew, Israeli nine-digit IDs in groups, phones split across a line or with stray dots or a hidden last digit ("01xx"), and spelled names ("F as in Foxtrot A R A H", "c comme Charles", "S de Sara", dotted letters). Dates: ranges as one span, xx-masked birth dates, ISO dates in file names, abbreviated Spanish, Polish and French months, Polish ordinals, a month and year after a cue, months tied to a person (due, born, last period), spoken day numbers after a month, Hebrew calendar dates. Not dates: fractions ("1/2 tab"), lab values ("AMH 1.2"), product and medication expiry (pen, vial, kit, lot) and billing or revision periods ("Invoice 12/2024", "Rev. 05/2023"); card and document expiry stay masked. IDs: US court file numbers, slash policy numbers, partial SSN, SIN and PESEL after "ends in" or "last 4", card numbers after a card cue even when the checksum fails, masked cards, health cards with typos, ages over 89 spoken; ACCOUNT now ranks below SSN and SIN on the same span. Names: names in file names, plural family names ("the Vang-Lees"), initials before a name ("K. Yang"), and patients who are doctors when a patient cue is present ("my name is Dr. ..."). Five changes to the masker: the clinic allow list matches common spelling variants of the clinic's own address (Ave and Avenue, St. and Street, Suite, Ste and #, W and West, optional commas, a unit or city on the next line), while the house number and street name must still match exactly and an extra apartment or unit after the clinic suite is masked; a name found once by a rule or in the record is masked on its later mentions in the same message (possessives and joined forms too), and ordinary-word names (Grant, Lake, Day, Hall) are echoed only in a person context (after a title, as a possessive, before a verb like "said" or "called", or next to the rest of the name), not as the first word of a facility, holiday or brand ("Ross Memorial Hospital", "Ann Arbor", "Johnson & Johnson"); a patient's city or ZIP next to their own street stays masked even when the clinic shares that city or ZIP; the clinic's own handle or site on the allow list is not masked. Invisible characters (zero-width spaces, bidi marks, soft hyphens) and Hebrew vowel points are ignored for matching, no-break spaces count as spaces, and offsets map back exactly. Five rounds of adversarial review (four reviewers in rounds 1 to 3, three in rounds 4 and 5; every claim re-run by a separate verifier before it counted) confirmed 81 problems in the drafts (24, 20, 19, 11 and 7), from "Day 3 of stimulation" masked after a patient named Day to 17 places where a new filter or exclusion hid something the old code masked (card and authorization expiry dates, names whose first word was newly treated as a common word, a street named "Dr. Blvd"); all were fixed and turned into tests (861 tests). On v10 with the clinic and staff lists, recall went from 89.4% to 99.2%, precision from 83.8% to 87.2%, and clean messages masked from 45% to 28%. The 10 remaining misses are three single first names with no cue ("Gerry", "Hugh", "Karin"), a clinician-titled spouse's name, and six label calls from the bullet above. Regression check against the frozen 0.1.0a12 code, on v0 to v10 in four configurations (regex + known and all detectors, each with and without the staff list): no identifier it caught is missed now. With all detectors and the staff list, v1 gained 2 identifiers, v2 3, v3 3, v4 0, v5 10, v6 2, v7 4, v8 4 and v9 5. False positives went down on every set except v7 with regex + known (84 to 87 with the staff list, 111 to 120 without; mostly staff first names repeated later in an email when no staff list is given, which the echo pass now masks again); with all detectors and the staff list v7 went from 163 to 162. New false positives on older sets are mostly existing ones grown wider: clinic holiday ranges masked as one span ("Dec 24-26" instead of "Dec 24"), known-record names that now include an initial ("I. Chen"), a Hebrew drug name echoed after it was taken for a name, one spoken extension, and "mai" in the French "en mai". Mean time is 2.0 ms per message on the 3,980 blind messages (1.5 ms before), worst case 11 ms; a 47 KB message takes 0.6 s (1.2 s before). These are "now" numbers. @@ -113,6 +117,10 @@ The current code ("now", optimistic: every set below was used to find gaps): | v10 first score, clinic details allowed | 80.8% | 47% | | v10 first score, clinic details and staff list | 83.8% | 45% | | v10 now, clinic details and staff list | 87.2% | 28% | +| v11 first score, default policy | 72.0% | 61% | +| v11 first score, clinic details allowed | 80.9% | 39% | +| v11 first score, clinic details and staff list | 84.0% | 39% | +| v11 now, clinic details and staff list | 86.2% | 35% | v2 and v3 contain many email footers and letterheads with the fictional clinic's own name, phone, fax, address and email. Those are not patient data, so they are not labelled, and phiproxy masks them unless the deployment lists them in `Policy(allow=[...])`. The "clinic details allowed" rows pass `blind/clinic_v2.json` or `blind/clinic_v3.json` with `--allow`. Most of the rest is holiday and clinic-closure dates (masked on purpose: a date is never exempted, because it could be a birthday), staff first names that are also words ("Will", "Grace", "Hope"), staff names without a title, and card last-four digits the label rules did not ask for. @@ -136,9 +144,9 @@ On v6 this took false positives from 282 to 162 and clean messages masked from 5 ## Files - `generate.py`: deterministic generator (fixed seed) for `data/patient_comms_v0.jsonl`. -- `blind/blind_v*.source.jsonl`: the blind sets as written, with inline labels (`[[NAME|jess]]`). `blind/audit_v*.jsonl`: second-annotator corrections. `blind/clinic_v*.json` and `blind/staff_v*.json`: clinic details and staff rosters for `--allow` and `--staff`. `blind/convert.py v1|...|v10` builds `data/patient_comms_blind_v*.jsonl`. +- `blind/blind_v*.source.jsonl`: the blind sets as written, with inline labels (`[[NAME|jess]]`). `blind/audit_v*.jsonl`: second-annotator corrections. `blind/clinic_v*.json` and `blind/staff_v*.json`: clinic details and staff rosters for `--allow` and `--staff`. `blind/staff_initials_v11.json`: the initials of the v11 staff. `blind/convert.py v1|...|v11` builds `data/patient_comms_blind_v*.jsonl`. - `score.py`: scores every available configuration and prints recall by type, channel and language, precision, and clean-message masking. `--show-misses N`, `--show-false-positives N`, `--allow clinic.json` and `--staff staff.json` help with error analysis. The local-model configurations appear when `phiproxy[gliner]` is installed. -- `results_*.json`: scores for the built-in configurations (v2 to v10 with the clinic details allowed; the frozen first scores with the default policy). +- `results_*.json`: scores for the built-in configurations (v2 to v11 with the clinic details allowed; the frozen first scores with the default policy). ## Record format @@ -164,8 +172,8 @@ On v6 this took false positives from 282 to 162 and clean messages masked from 5 ## Known limits - The blind sets are AI-written. Real messages are messier, and a set written by people who work in clinics is still the goal. -- Call transcripts were the weakest channel (86% on v3's first score, 83% on v4's, then 92% on v5's, 97% on v6's and 86% on v10's): names and numbers spoken in fragments and corrected mid-number, voice-to-text errors ("pre may" for Priya, "for one six" for 416). Faxed notes were 84% on v3's first score and 87% on v4's. -- Hebrew is still the weakest language (77% on v3's first score, 80% on v4's, 86% on v5's, 87% on v7's, 84% on v8's, 85% on v9's, 81% on v10's; 99% on v6's template-built set): staff and clinic names transliterated into Hebrew ("קיילה", "בלובוניט") are not on the English lists. +- Call transcripts were the weakest channel (86% on v3's first score, 83% on v4's, then 92% on v5's, 97% on v6's, 86% on v10's and 87% on v11's): names and numbers spoken in fragments and corrected mid-number, voice-to-text errors ("pre may" for Priya, "for one six" for 416). Faxed notes were 84% on v3's first score and 87% on v4's. +- Hebrew is still the weakest language (77% on v3's first score, 80% on v4's, 86% on v5's, 87% on v7's, 84% on v8's, 85% on v9's, 81% on v10's, 88% on v11's; 99% on v6's template-built set): staff and clinic names transliterated into Hebrew ("קיילה", "בלובוניט") are not on the English lists. - The local model tags insurers, pharmacies and other clinics as a person's workplace ("Gulf Coast Mutual", "Prairie Rx Specialty"). The sets disagree on whether "Dr. X from " is a workplace, so these are not filtered. - Staff named with no cue at all ("Thank you Priya!!") stay masked, so internal staff traffic over-masks even with the staff list. - Bare days and months tied to a patient ("the twelfth", "until January") are often missed: a bare month is too ambiguous to mask everywhere. @@ -177,6 +185,13 @@ On v6 this took false positives from 282 to 162 and clean messages masked from 5 - "Contact Jane at gmail.com" is masked as an email. - The clinic's own social handle is masked unless it is on the allow list or follows a clear clinic cue ("follow us"). - A clinic address followed by "#N" or "unit N" is masked even when N is the clinic's own unit, unless that form is in the allow list. +- A two-letter code after "patient" or "pt" that is also a common pair of initials ("Pt NS today", "Patient MS and lupus") is masked unless a chart word or number follows. +- Company names after an origin cue ("I'm from Acme Insurance") are masked as a place; the clinic's city in a staff signature block after a sign-off is masked; some capitalised ordinary nouns after Spanish, French or Polish residence verbs are masked. +- The clinic's own street written without its full allow-list entry is masked; staff initials are masked like any initials; clinic closure and policy start dates are masked. +- A house number written after the street name ("Peachtree Park Drive NE 1184") stays partly visible. +- The same phone written in two formats in one message shares one placeholder, so unmasking restores one format. +- A spoken identifier answered more than 3,000 characters after its question on a single line is not tied to the question. +- Unaccented Vietnamese spoken digits are masked only after an unaccented phone cue ("so dien thoai"). - Over-masking costs answer quality, not privacy, but it is real: see the table above. Contributions are welcome, especially messages written by people who work in clinics (see ../CONTRIBUTING.md). All data must be synthetic. diff --git a/benchmark/results_blind_v1.json b/benchmark/results_blind_v1.json index 234bacf..0a55304 100644 --- a/benchmark/results_blind_v1.json +++ b/benchmark/results_blind_v1.json @@ -1,13 +1,13 @@ { "regex": { - "recall": 0.8640350877192983, - "precision": 0.9622950819672131, + "recall": 0.8669590643274854, + "precision": 0.9624183006535948, "spans": 684, - "missed": 93, - "leaked_char_rate": 0.11096788054570846, + "missed": 91, + "leaked_char_rate": 0.10967880545708454, "by_type": { "ACCOUNT": 0.9375, - "ADDRESS": 0.7746478873239436, + "ADDRESS": 0.8028169014084507, "AGE": 0.5, "DATE": 1.0, "DONOR_ID": 1.0, @@ -28,16 +28,16 @@ "by_channel": { "call": 0.7972972972972973, "chat": 0.8346456692913385, - "email": 0.9256198347107438, - "note": 0.8987341772151899, + "email": 0.9338842975206612, + "note": 0.9050632911392406, "sms": 0.8692307692307693 }, "by_lang": { "en": 0.8418708240534521, - "es": 0.9166666666666666, + "es": 0.9333333333333333, "fr": 0.875, "he": 1.0, - "mixed": 0.8823529411764706, + "mixed": 0.9117647058823529, "pl": 0.9090909090909091 }, "clean_messages": 128, @@ -45,14 +45,14 @@ "false_positives": 23 }, "regex+known": { - "recall": 0.9064327485380117, - "precision": 0.9626749611197511, + "recall": 0.9093567251461988, + "precision": 0.9627906976744186, "spans": 684, - "missed": 64, - "leaked_char_rate": 0.07938554087442261, + "missed": 62, + "leaked_char_rate": 0.0780964657857987, "by_type": { "ACCOUNT": 0.9375, - "ADDRESS": 0.7746478873239436, + "ADDRESS": 0.8028169014084507, "AGE": 0.5, "DATE": 1.0, "DONOR_ID": 1.0, @@ -73,16 +73,16 @@ "by_channel": { "call": 0.8986486486486487, "chat": 0.8740157480314961, - "email": 0.9338842975206612, - "note": 0.9240506329113924, + "email": 0.9421487603305785, + "note": 0.930379746835443, "sms": 0.9 }, "by_lang": { "en": 0.89086859688196, - "es": 0.9166666666666666, + "es": 0.9333333333333333, "fr": 0.9305555555555556, "he": 1.0, - "mixed": 0.9411764705882353, + "mixed": 0.9705882352941176, "pl": 0.9318181818181818 }, "clean_messages": 128, diff --git a/benchmark/results_blind_v10.json b/benchmark/results_blind_v10.json index c9205d6..a57bdf2 100644 --- a/benchmark/results_blind_v10.json +++ b/benchmark/results_blind_v10.json @@ -1,23 +1,23 @@ { "regex": { - "recall": 0.8368506493506493, - "precision": 0.910856134157105, + "recall": 0.8522727272727273, + "precision": 0.9130434782608695, "spans": 1232, - "missed": 201, - "leaked_char_rate": 0.1327952582130021, + "missed": 182, + "leaked_char_rate": 0.1196796771549278, "by_type": { "ACCOUNT": 1.0, - "ADDRESS": 0.6179775280898876, + "ADDRESS": 0.7640449438202247, "AGE": 1.0, "DATE": 0.9829787234042553, "DONOR_ID": 0.8571428571428571, "EMAIL": 1.0, "EMPLOYER": 0.8125, - "HEALTH_CARD": 0.8928571428571429, + "HEALTH_CARD": 0.9285714285714286, "ID": 1.0, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.7259528130671506, + "NAME": 0.73502722323049, "PHONE": 1.0, "POSTAL_CODE": 0.8333333333333334, "SIN": 1.0, @@ -26,33 +26,33 @@ "ZIP": 1.0 }, "by_channel": { - "call": 0.7672955974842768, - "chat": 0.8425925925925926, - "email": 0.8874172185430463, - "note": 0.848, - "sms": 0.8561643835616438 + "call": 0.789308176100629, + "chat": 0.8564814814814815, + "email": 0.9006622516556292, + "note": 0.852, + "sms": 0.8835616438356164 }, "by_lang": { - "en": 0.8909952606635071, - "es": 0.8409090909090909, - "fr": 0.7109375, + "en": 0.8925750394944708, + "es": 0.8693181818181818, + "fr": 0.7421875, "he": 0.788235294117647, - "mixed": 0.7258064516129032, - "pl": 0.8255813953488372 + "mixed": 0.7741935483870968, + "pl": 0.8604651162790697 }, "clean_messages": 121, "clean_masked_rate": 0.21487603305785125, - "false_positives": 101 + "false_positives": 100 }, "regex+known": { - "recall": 0.9342532467532467, - "precision": 0.9125295508274232, + "recall": 0.9448051948051948, + "precision": 0.9139280125195618, "spans": 1232, - "missed": 81, - "leaked_char_rate": 0.051201210669020746, + "missed": 68, + "leaked_char_rate": 0.04319313954221578, "by_type": { "ACCOUNT": 1.0, - "ADDRESS": 0.6179775280898876, + "ADDRESS": 0.7640449438202247, "AGE": 1.0, "DATE": 0.9829787234042553, "DONOR_ID": 0.8571428571428571, @@ -71,30 +71,30 @@ "ZIP": 1.0 }, "by_channel": { - "call": 0.9308176100628931, - "chat": 0.9305555555555556, - "email": 0.9370860927152318, + "call": 0.9433962264150944, + "chat": 0.9444444444444444, + "email": 0.9470198675496688, "note": 0.936, - "sms": 0.9383561643835616 + "sms": 0.958904109589041 }, "by_lang": { "en": 0.9620853080568721, - "es": 0.9318181818181818, - "fr": 0.8671875, + "es": 0.9488636363636364, + "fr": 0.8828125, "he": 0.9764705882352941, - "mixed": 0.8387096774193549, - "pl": 0.9302325581395349 + "mixed": 0.8870967741935484, + "pl": 0.9534883720930233 }, "clean_messages": 121, "clean_masked_rate": 0.21487603305785125, - "false_positives": 111 + "false_positives": 110 }, "regex+gliner": { - "recall": 0.9715909090909091, + "recall": 0.9724025974025974, "precision": 0.8418740849194729, "spans": 1232, - "missed": 35, - "leaked_char_rate": 0.019862538621602876, + "missed": 34, + "leaked_char_rate": 0.01904281480547323, "by_type": { "ACCOUNT": 1.0, "ADDRESS": 1.0, @@ -103,7 +103,7 @@ "DONOR_ID": 0.8571428571428571, "EMAIL": 1.0, "EMPLOYER": 1.0, - "HEALTH_CARD": 0.8928571428571429, + "HEALTH_CARD": 0.9285714285714286, "ID": 1.0, "IP_ADDRESS": 1.0, "MRN": 1.0, @@ -120,12 +120,12 @@ "chat": 0.9722222222222222, "email": 0.9801324503311258, "note": 0.96, - "sms": 0.9794520547945206 + "sms": 0.9863013698630136 }, "by_lang": { "en": 0.9699842022116903, "es": 0.9886363636363636, - "fr": 0.9453125, + "fr": 0.953125, "he": 0.9647058823529412, "mixed": 0.9758064516129032, "pl": 0.9883720930232558 @@ -136,10 +136,10 @@ }, "regex+known+gliner": { "recall": 0.9918831168831169, - "precision": 0.8389166072701354, + "precision": 0.8388017118402282, "spans": 1232, "missed": 10, - "leaked_char_rate": 0.004918342896777855, + "leaked_char_rate": 0.004792231540450218, "by_type": { "ACCOUNT": 1.0, "ADDRESS": 1.0, diff --git a/benchmark/results_blind_v11.json b/benchmark/results_blind_v11.json new file mode 100644 index 0000000..3406e6e --- /dev/null +++ b/benchmark/results_blind_v11.json @@ -0,0 +1,182 @@ +{ + "regex": { + "recall": 0.8615056818181818, + "precision": 0.9279693486590038, + "spans": 1408, + "missed": 195, + "leaked_char_rate": 0.12175179211469533, + "by_type": { + "ACCOUNT": 0.9885057471264368, + "ADDRESS": 0.8238095238095238, + "AGE": 1.0, + "DATE": 1.0, + "DONOR_ID": 1.0, + "EMAIL": 1.0, + "EMPLOYER": 0.6176470588235294, + "HEALTH_CARD": 1.0, + "ID": 0.9666666666666667, + "IP_ADDRESS": 1.0, + "MRN": 1.0, + "NAME": 0.7574692442882249, + "PHONE": 0.9767441860465116, + "POSTAL_CODE": 1.0, + "SIN": 1.0, + "SSN": 1.0, + "URL": 1.0, + "ZIP": 0.9545454545454546 + }, + "by_channel": { + "call": 0.8136094674556213, + "chat": 0.9028213166144201, + "email": 0.8989071038251366, + "note": 0.8795180722891566, + "sms": 0.75 + }, + "by_lang": { + "en": 0.8788774002954209, + "es": 0.8414634146341463, + "fr": 0.8901098901098901, + "he": 0.7727272727272727, + "mixed": 0.8125, + "pl": 0.8850574712643678 + }, + "clean_messages": 137, + "clean_masked_rate": 0.16058394160583941, + "false_positives": 94 + }, + "regex+known": { + "recall": 0.9112215909090909, + "precision": 0.9317038102084831, + "spans": 1408, + "missed": 125, + "leaked_char_rate": 0.07146057347670251, + "by_type": { + "ACCOUNT": 0.9885057471264368, + "ADDRESS": 0.8238095238095238, + "AGE": 1.0, + "DATE": 1.0, + "DONOR_ID": 1.0, + "EMAIL": 1.0, + "EMPLOYER": 0.6176470588235294, + "HEALTH_CARD": 1.0, + "ID": 0.9666666666666667, + "IP_ADDRESS": 1.0, + "MRN": 1.0, + "NAME": 0.8804920913884007, + "PHONE": 0.9767441860465116, + "POSTAL_CODE": 1.0, + "SIN": 1.0, + "SSN": 1.0, + "URL": 1.0, + "ZIP": 0.9545454545454546 + }, + "by_channel": { + "call": 0.893491124260355, + "chat": 0.9310344827586207, + "email": 0.9289617486338798, + "note": 0.9357429718875502, + "sms": 0.8161764705882353 + }, + "by_lang": { + "en": 0.9379615952732644, + "es": 0.8861788617886179, + "fr": 0.9120879120879121, + "he": 0.8181818181818182, + "mixed": 0.875, + "pl": 0.9195402298850575 + }, + "clean_messages": 137, + "clean_masked_rate": 0.16058394160583941, + "false_positives": 95 + }, + "regex+gliner": { + "recall": 0.9857954545454546, + "precision": 0.8317757009345794, + "spans": 1408, + "missed": 20, + "leaked_char_rate": 0.007336469534050179, + "by_type": { + "ACCOUNT": 0.9885057471264368, + "ADDRESS": 0.9809523809523809, + "AGE": 1.0, + "DATE": 1.0, + "DONOR_ID": 1.0, + "EMAIL": 1.0, + "EMPLOYER": 1.0, + "HEALTH_CARD": 1.0, + "ID": 0.9666666666666667, + "IP_ADDRESS": 1.0, + "MRN": 1.0, + "NAME": 0.9824253075571178, + "PHONE": 0.9767441860465116, + "POSTAL_CODE": 1.0, + "SIN": 1.0, + "SSN": 1.0, + "URL": 1.0, + "ZIP": 1.0 + }, + "by_channel": { + "call": 0.9733727810650887, + "chat": 0.9937304075235109, + "email": 0.9890710382513661, + "note": 0.9959839357429718, + "sms": 0.9705882352941176 + }, + "by_lang": { + "en": 0.9807976366322009, + "es": 0.991869918699187, + "fr": 0.989010989010989, + "he": 0.9886363636363636, + "mixed": 0.9921875, + "pl": 0.9885057471264368 + }, + "clean_messages": 137, + "clean_masked_rate": 0.35036496350364965, + "false_positives": 270 + }, + "regex+known+gliner": { + "recall": 0.9928977272727273, + "precision": 0.8319900805951643, + "spans": 1408, + "missed": 10, + "leaked_char_rate": 0.003696236559139785, + "by_type": { + "ACCOUNT": 0.9885057471264368, + "ADDRESS": 0.9809523809523809, + "AGE": 1.0, + "DATE": 1.0, + "DONOR_ID": 1.0, + "EMAIL": 1.0, + "EMPLOYER": 1.0, + "HEALTH_CARD": 1.0, + "ID": 0.9666666666666667, + "IP_ADDRESS": 1.0, + "MRN": 1.0, + "NAME": 1.0, + "PHONE": 0.9767441860465116, + "POSTAL_CODE": 1.0, + "SIN": 1.0, + "SSN": 1.0, + "URL": 1.0, + "ZIP": 1.0 + }, + "by_channel": { + "call": 0.9911242603550295, + "chat": 0.9968652037617555, + "email": 0.994535519125683, + "note": 0.9959839357429718, + "sms": 0.9779411764705882 + }, + "by_lang": { + "en": 0.9881831610044313, + "es": 0.9959349593495935, + "fr": 0.9945054945054945, + "he": 1.0, + "mixed": 1.0, + "pl": 1.0 + }, + "clean_messages": 137, + "clean_masked_rate": 0.35036496350364965, + "false_positives": 271 + } +} diff --git a/benchmark/results_blind_v2.json b/benchmark/results_blind_v2.json index 8d0abf6..6fff14c 100644 --- a/benchmark/results_blind_v2.json +++ b/benchmark/results_blind_v2.json @@ -1,13 +1,13 @@ { "regex": { - "recall": 0.8637532133676092, - "precision": 0.8798397863818425, + "recall": 0.8688946015424165, + "precision": 0.8803191489361702, "spans": 778, - "missed": 106, - "leaked_char_rate": 0.10907481186365649, + "missed": 102, + "leaked_char_rate": 0.10641876936697654, "by_type": { - "ACCOUNT": 0.9166666666666666, - "ADDRESS": 0.7903225806451613, + "ACCOUNT": 0.9444444444444444, + "ADDRESS": 0.8064516129032258, "AGE": 1.0, "DATE": 1.0, "DONOR_ID": 1.0, @@ -16,7 +16,7 @@ "HEALTH_CARD": 0.9285714285714286, "ID": 0.9655172413793104, "MRN": 0.9230769230769231, - "NAME": 0.7620481927710844, + "NAME": 0.7680722891566265, "PHONE": 1.0, "POSTAL_CODE": 1.0, "SIN": 1.0, @@ -25,18 +25,18 @@ }, "by_channel": { "call": 0.8546255506607929, - "chat": 0.9333333333333333, - "email": 0.8685714285714285, + "chat": 0.95, + "email": 0.8857142857142857, "note": 0.8638132295719845, "sms": 0.8135593220338984 }, "by_lang": { - "en": 0.8650442477876106, - "es": 0.8133333333333334, - "fr": 0.8653846153846154, + "en": 0.8672566371681416, + "es": 0.8266666666666667, + "fr": 0.875, "he": 0.875, "mixed": 0.9117647058823529, - "pl": 0.8767123287671232 + "pl": 0.8904109589041096 }, "clean_messages": 122, "clean_masked_rate": 0.22131147540983606, @@ -86,13 +86,13 @@ "false_positives": 91 }, "regex+gliner": { - "recall": 0.967866323907455, - "precision": 0.8388952819332566, + "recall": 0.9704370179948586, + "precision": 0.8390804597701149, "spans": 778, - "missed": 25, - "leaked_char_rate": 0.02594068171757415, + "missed": 23, + "leaked_char_rate": 0.024435590969455512, "by_type": { - "ACCOUNT": 0.9166666666666666, + "ACCOUNT": 0.9444444444444444, "ADDRESS": 0.9838709677419355, "AGE": 1.0, "DATE": 1.0, @@ -102,7 +102,7 @@ "HEALTH_CARD": 0.9285714285714286, "ID": 0.9655172413793104, "MRN": 0.9230769230769231, - "NAME": 0.9548192771084337, + "NAME": 0.9578313253012049, "PHONE": 1.0, "POSTAL_CODE": 1.0, "SIN": 1.0, @@ -112,17 +112,17 @@ "by_channel": { "call": 0.960352422907489, "chat": 1.0, - "email": 0.9714285714285714, + "email": 0.9828571428571429, "note": 0.9649805447470817, "sms": 0.9661016949152542 }, "by_lang": { - "en": 0.9601769911504425, + "en": 0.9623893805309734, "es": 0.9733333333333334, "fr": 0.9903846153846154, "he": 0.95, "mixed": 1.0, - "pl": 0.9726027397260274 + "pl": 0.9863013698630136 }, "clean_messages": 122, "clean_masked_rate": 0.26229508196721313, diff --git a/benchmark/results_blind_v3.json b/benchmark/results_blind_v3.json index 4628306..9f3f1ac 100644 --- a/benchmark/results_blind_v3.json +++ b/benchmark/results_blind_v3.json @@ -1,100 +1,100 @@ { "regex": { - "recall": 0.7353556485355649, - "precision": 0.9427012278308322, + "recall": 0.7426778242677824, + "precision": 0.9431664411366711, "spans": 956, - "missed": 253, - "leaked_char_rate": 0.20779777206512426, + "missed": 246, + "leaked_char_rate": 0.200942587832048, "by_type": { "ACCOUNT": 1.0, - "ADDRESS": 0.6705882352941176, + "ADDRESS": 0.7176470588235294, "AGE": 1.0, "DATE": 0.9938650306748467, "DONOR_ID": 1.0, "EMAIL": 1.0, - "EMPLOYER": 0.6190476190476191, + "EMPLOYER": 0.6666666666666666, "HEALTH_CARD": 0.8148148148148148, "ID": 1.0, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.5011933174224343, + "NAME": 0.5035799522673031, "PHONE": 1.0, "POSTAL_CODE": 1.0, - "SIN": 0.75, + "SIN": 1.0, "SSN": 1.0, "URL": 1.0, "ZIP": 0.9411764705882353 }, "by_channel": { "call": 0.6716417910447762, - "chat": 0.7352941176470589, - "email": 0.7950310559006211, - "note": 0.7991266375545851, + "chat": 0.75, + "email": 0.8074534161490683, + "note": 0.8034934497816594, "sms": 0.5481481481481482 }, "by_lang": { - "en": 0.7790476190476191, - "es": 0.6440677966101694, - "fr": 0.7033898305084746, + "en": 0.7828571428571428, + "es": 0.6610169491525424, + "fr": 0.711864406779661, "he": 0.6785714285714286, "mixed": 0.7692307692307693, - "pl": 0.6551724137931034 + "pl": 0.6781609195402298 }, "clean_messages": 110, "clean_masked_rate": 0.08181818181818182, "false_positives": 42 }, "regex+known": { - "recall": 0.8190376569037657, - "precision": 0.9504716981132075, + "recall": 0.8263598326359832, + "precision": 0.9507620164126612, "spans": 956, - "missed": 173, - "leaked_char_rate": 0.11362467866323907, + "missed": 166, + "leaked_char_rate": 0.1075407026563839, "by_type": { "ACCOUNT": 1.0, - "ADDRESS": 0.6705882352941176, + "ADDRESS": 0.7176470588235294, "AGE": 1.0, "DATE": 0.9938650306748467, "DONOR_ID": 1.0, "EMAIL": 1.0, - "EMPLOYER": 0.6190476190476191, + "EMPLOYER": 0.6666666666666666, "HEALTH_CARD": 1.0, "ID": 1.0, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.6801909307875895, + "NAME": 0.6825775656324582, "PHONE": 1.0, "POSTAL_CODE": 1.0, - "SIN": 0.75, + "SIN": 1.0, "SSN": 1.0, "URL": 1.0, "ZIP": 0.9411764705882353 }, "by_channel": { "call": 0.8059701492537313, - "chat": 0.8088235294117647, - "email": 0.8726708074534162, - "note": 0.8602620087336245, + "chat": 0.8235294117647058, + "email": 0.8850931677018633, + "note": 0.8646288209606987, "sms": 0.6444444444444445 }, "by_lang": { - "en": 0.8647619047619047, - "es": 0.7542372881355932, - "fr": 0.7966101694915254, + "en": 0.8685714285714285, + "es": 0.7711864406779662, + "fr": 0.8050847457627118, "he": 0.7857142857142857, "mixed": 0.8653846153846154, - "pl": 0.6551724137931034 + "pl": 0.6781609195402298 }, "clean_messages": 110, "clean_masked_rate": 0.08181818181818182, "false_positives": 42 }, "regex+gliner": { - "recall": 0.9435146443514645, - "precision": 0.9188034188034188, + "recall": 0.946652719665272, + "precision": 0.919062832800852, "spans": 956, - "missed": 54, - "leaked_char_rate": 0.04858611825192802, + "missed": 51, + "leaked_char_rate": 0.04541559554413025, "by_type": { "ACCOUNT": 1.0, "ADDRESS": 0.9882352941176471, @@ -102,44 +102,44 @@ "DATE": 0.9938650306748467, "DONOR_ID": 1.0, "EMAIL": 1.0, - "EMPLOYER": 0.9523809523809523, + "EMPLOYER": 1.0, "HEALTH_CARD": 0.8148148148148148, "ID": 1.0, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.8949880668257757, + "NAME": 0.8973747016706444, "PHONE": 1.0, "POSTAL_CODE": 1.0, - "SIN": 0.75, + "SIN": 1.0, "SSN": 1.0, "URL": 1.0, "ZIP": 0.9411764705882353 }, "by_channel": { "call": 0.917910447761194, - "chat": 0.9338235294117647, - "email": 0.9440993788819876, + "chat": 0.9411764705882353, + "email": 0.9503105590062112, "note": 0.9563318777292577, "sms": 0.9555555555555556 }, "by_lang": { - "en": 0.9523809523809523, + "en": 0.9561904761904761, "es": 0.8898305084745762, "fr": 0.923728813559322, "he": 0.9642857142857143, "mixed": 0.9423076923076923, - "pl": 0.9770114942528736 + "pl": 0.9885057471264368 }, "clean_messages": 110, "clean_masked_rate": 0.10909090909090909, "false_positives": 76 }, "regex+known+gliner": { - "recall": 0.9696652719665272, - "precision": 0.9210799584631361, + "recall": 0.9728033472803347, + "precision": 0.9213250517598344, "spans": 956, - "missed": 29, - "leaked_char_rate": 0.021165381319622964, + "missed": 26, + "leaked_char_rate": 0.017994858611825194, "by_type": { "ACCOUNT": 1.0, "ADDRESS": 0.9882352941176471, @@ -147,33 +147,33 @@ "DATE": 0.9938650306748467, "DONOR_ID": 1.0, "EMAIL": 1.0, - "EMPLOYER": 0.9523809523809523, + "EMPLOYER": 1.0, "HEALTH_CARD": 1.0, "ID": 1.0, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.9427207637231504, + "NAME": 0.9451073985680191, "PHONE": 1.0, "POSTAL_CODE": 1.0, - "SIN": 0.75, + "SIN": 1.0, "SSN": 1.0, "URL": 1.0, "ZIP": 0.9411764705882353 }, "by_channel": { "call": 0.9626865671641791, - "chat": 0.9779411764705882, - "email": 0.9720496894409938, + "chat": 0.9852941176470589, + "email": 0.9782608695652174, "note": 0.9737991266375546, "sms": 0.9555555555555556 }, "by_lang": { - "en": 0.9733333333333334, + "en": 0.9771428571428571, "es": 0.940677966101695, "fr": 0.9491525423728814, "he": 1.0, "mixed": 1.0, - "pl": 0.9770114942528736 + "pl": 0.9885057471264368 }, "clean_messages": 110, "clean_masked_rate": 0.10909090909090909, diff --git a/benchmark/results_blind_v4.json b/benchmark/results_blind_v4.json index 751063c..2375962 100644 --- a/benchmark/results_blind_v4.json +++ b/benchmark/results_blind_v4.json @@ -1,13 +1,13 @@ { "regex": { - "recall": 0.7908438061041293, - "precision": 0.8773987206823027, + "recall": 0.8052064631956912, + "precision": 0.8788198103266597, "spans": 1114, - "missed": 233, - "leaked_char_rate": 0.16449963476990503, + "missed": 217, + "leaked_char_rate": 0.15609934258582908, "by_type": { "ACCOUNT": 0.9130434782608695, - "ADDRESS": 0.6495726495726496, + "ADDRESS": 0.7606837606837606, "AGE": 1.0, "DATE": 0.9414893617021277, "DONOR_ID": 1.0, @@ -17,8 +17,8 @@ "ID": 0.975, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.6591422121896162, - "PHONE": 0.9807692307692307, + "NAME": 0.6613995485327314, + "PHONE": 1.0, "POSTAL_CODE": 0.9, "SIN": 1.0, "SSN": 0.8, @@ -26,33 +26,33 @@ "ZIP": 0.8 }, "by_channel": { - "call": 0.7948717948717948, - "chat": 0.7465753424657534, - "email": 0.8285714285714286, + "call": 0.7985347985347986, + "chat": 0.7808219178082192, + "email": 0.85, "note": 0.775, - "sms": 0.7851851851851852 + "sms": 0.8148148148148148 }, "by_lang": { - "en": 0.8112903225806452, - "es": 0.6982758620689655, - "fr": 0.7739130434782608, + "en": 0.8209677419354838, + "es": 0.7413793103448276, + "fr": 0.8, "he": 0.7176470588235294, "mixed": 0.8651685393258427, - "pl": 0.7865168539325843 + "pl": 0.8089887640449438 }, "clean_messages": 152, "clean_masked_rate": 0.2894736842105263, "false_positives": 115 }, "regex+known": { - "recall": 0.8671454219030521, - "precision": 0.8731481481481481, + "recall": 0.8806104129263914, + "precision": 0.8743119266055046, "spans": 1114, - "missed": 148, - "leaked_char_rate": 0.09883126369612856, + "missed": 133, + "leaked_char_rate": 0.09086924762600439, "by_type": { "ACCOUNT": 1.0, - "ADDRESS": 0.6495726495726496, + "ADDRESS": 0.7606837606837606, "AGE": 1.0, "DATE": 0.9414893617021277, "DONOR_ID": 1.0, @@ -63,7 +63,7 @@ "IP_ADDRESS": 1.0, "MRN": 1.0, "NAME": 0.8465011286681715, - "PHONE": 0.9807692307692307, + "PHONE": 1.0, "POSTAL_CODE": 0.9, "SIN": 1.0, "SSN": 0.8, @@ -72,29 +72,29 @@ }, "by_channel": { "call": 0.9047619047619048, - "chat": 0.8287671232876712, - "email": 0.875, + "chat": 0.863013698630137, + "email": 0.8964285714285715, "note": 0.8464285714285714, - "sms": 0.8592592592592593 + "sms": 0.8888888888888888 }, "by_lang": { - "en": 0.8806451612903226, - "es": 0.8103448275862069, - "fr": 0.8434782608695652, + "en": 0.8903225806451613, + "es": 0.8448275862068966, + "fr": 0.8695652173913043, "he": 0.8705882352941177, "mixed": 0.9101123595505618, - "pl": 0.8314606741573034 + "pl": 0.8539325842696629 }, "clean_messages": 152, "clean_masked_rate": 0.2894736842105263, "false_positives": 137 }, "regex+gliner": { - "recall": 0.9551166965888689, - "precision": 0.7874276261373035, + "recall": 0.9569120287253142, + "precision": 0.7879537953795379, "spans": 1114, - "missed": 50, - "leaked_char_rate": 0.03133674214755296, + "missed": 48, + "leaked_char_rate": 0.03060628195763331, "by_type": { "ACCOUNT": 0.9130434782608695, "ADDRESS": 0.9829059829059829, @@ -108,7 +108,7 @@ "IP_ADDRESS": 1.0, "MRN": 1.0, "NAME": 0.9503386004514672, - "PHONE": 0.9807692307692307, + "PHONE": 1.0, "POSTAL_CODE": 0.9666666666666667, "SIN": 1.0, "SSN": 0.8, @@ -117,13 +117,13 @@ }, "by_channel": { "call": 0.9597069597069597, - "chat": 0.952054794520548, + "chat": 0.9657534246575342, "email": 0.95, "note": 0.9535714285714286, "sms": 0.9629629629629629 }, "by_lang": { - "en": 0.9564516129032258, + "en": 0.9596774193548387, "es": 0.9482758620689655, "fr": 0.9478260869565217, "he": 0.9411764705882353, @@ -135,11 +135,11 @@ "false_positives": 257 }, "regex+known+gliner": { - "recall": 0.9649910233393177, - "precision": 0.7798387096774193, + "recall": 0.966786355475763, + "precision": 0.7803700724054706, "spans": 1114, - "missed": 39, - "leaked_char_rate": 0.024178232286340393, + "missed": 37, + "leaked_char_rate": 0.023447772096420745, "by_type": { "ACCOUNT": 1.0, "ADDRESS": 0.9829059829059829, @@ -153,7 +153,7 @@ "IP_ADDRESS": 1.0, "MRN": 1.0, "NAME": 0.9706546275395034, - "PHONE": 0.9807692307692307, + "PHONE": 1.0, "POSTAL_CODE": 0.9666666666666667, "SIN": 1.0, "SSN": 0.8, @@ -162,13 +162,13 @@ }, "by_channel": { "call": 0.967032967032967, - "chat": 0.9657534246575342, + "chat": 0.9794520547945206, "email": 0.9678571428571429, "note": 0.9571428571428572, "sms": 0.9703703703703703 }, "by_lang": { - "en": 0.964516129032258, + "en": 0.967741935483871, "es": 0.9568965517241379, "fr": 0.9565217391304348, "he": 0.9647058823529412, diff --git a/benchmark/results_blind_v5.json b/benchmark/results_blind_v5.json index bc57408..4bcbb2b 100644 --- a/benchmark/results_blind_v5.json +++ b/benchmark/results_blind_v5.json @@ -1,13 +1,13 @@ { "regex": { - "recall": 0.8057218895542249, - "precision": 0.926737160120846, + "recall": 0.8150365934797072, + "precision": 0.9280359820089955, "spans": 1503, - "missed": 292, - "leaked_char_rate": 0.1615807380266946, + "missed": 278, + "leaked_char_rate": 0.15440984035592778, "by_type": { "ACCOUNT": 0.9344262295081968, - "ADDRESS": 0.7227722772277227, + "ADDRESS": 0.8316831683168316, "AGE": 1.0, "DATE": 0.9448529411764706, "DONOR_ID": 0.8571428571428571, @@ -17,7 +17,7 @@ "ID": 0.9285714285714286, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.6902404526166902, + "NAME": 0.6944837340876945, "PHONE": 1.0, "POSTAL_CODE": 1.0, "SIN": 1.0, @@ -26,33 +26,33 @@ "ZIP": 0.875 }, "by_channel": { - "call": 0.796, - "chat": 0.811704834605598, - "email": 0.8387850467289719, - "note": 0.8093525179856115, - "sms": 0.7077922077922078 + "call": 0.808, + "chat": 0.8142493638676844, + "email": 0.852803738317757, + "note": 0.8165467625899281, + "sms": 0.7207792207792207 }, "by_lang": { - "en": 0.8345679012345679, - "es": 0.7954545454545454, - "fr": 0.8159509202453987, - "he": 0.6984126984126984, + "en": 0.8358024691358025, + "es": 0.8125, + "fr": 0.8343558282208589, + "he": 0.7222222222222222, "mixed": 0.7333333333333333, - "pl": 0.7886178861788617 + "pl": 0.8211382113821138 }, "clean_messages": 128, - "clean_masked_rate": 0.1328125, - "false_positives": 97 + "clean_masked_rate": 0.125, + "false_positives": 96 }, "regex+known": { - "recall": 0.8596141051230871, - "precision": 0.9294199860237596, + "recall": 0.8669328010645376, + "precision": 0.930410577592206, "spans": 1503, - "missed": 211, - "leaked_char_rate": 0.10567914158597226, + "missed": 200, + "leaked_char_rate": 0.10028788275320596, "by_type": { "ACCOUNT": 0.9344262295081968, - "ADDRESS": 0.7227722772277227, + "ADDRESS": 0.8316831683168316, "AGE": 1.0, "DATE": 0.9448529411764706, "DONOR_ID": 0.8571428571428571, @@ -72,32 +72,32 @@ }, "by_channel": { "call": 0.896, - "chat": 0.8702290076335878, - "email": 0.8574766355140186, - "note": 0.8525179856115108, - "sms": 0.7922077922077922 + "chat": 0.8727735368956743, + "email": 0.8714953271028038, + "note": 0.8597122302158273, + "sms": 0.8051948051948052 }, "by_lang": { - "en": 0.8790123456790123, + "en": 0.8802469135802469, "es": 0.875, - "fr": 0.8650306748466258, - "he": 0.8015873015873016, + "fr": 0.8834355828220859, + "he": 0.8253968253968254, "mixed": 0.780952380952381, - "pl": 0.8292682926829268 + "pl": 0.8617886178861789 }, "clean_messages": 128, - "clean_masked_rate": 0.1328125, - "false_positives": 101 + "clean_masked_rate": 0.125, + "false_positives": 100 }, "regex+gliner": { - "recall": 0.9547571523619428, - "precision": 0.8789607097591888, + "recall": 0.957418496340652, + "precision": 0.879746835443038, "spans": 1503, - "missed": 68, - "leaked_char_rate": 0.031457733577597485, + "missed": 64, + "leaked_char_rate": 0.02983512169589113, "by_type": { "ACCOUNT": 0.9344262295081968, - "ADDRESS": 0.9504950495049505, + "ADDRESS": 0.9702970297029703, "AGE": 1.0, "DATE": 0.9448529411764706, "DONOR_ID": 0.8571428571428571, @@ -107,7 +107,7 @@ "ID": 0.9523809523809523, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.9504950495049505, + "NAME": 0.9533239038189534, "PHONE": 1.0, "POSTAL_CODE": 1.0, "SIN": 1.0, @@ -116,33 +116,33 @@ "ZIP": 1.0 }, "by_channel": { - "call": 0.948, - "chat": 0.9541984732824428, + "call": 0.956, + "chat": 0.9567430025445293, "email": 0.9485981308411215, - "note": 0.9568345323741008, + "note": 0.960431654676259, "sms": 0.9805194805194806 }, "by_lang": { "en": 0.9641975308641976, - "es": 0.9375, + "es": 0.9488636363636364, "fr": 0.9631901840490797, - "he": 0.9047619047619048, + "he": 0.9206349206349206, "mixed": 0.9428571428571428, "pl": 0.967479674796748 }, "clean_messages": 128, - "clean_masked_rate": 0.203125, - "false_positives": 191 + "clean_masked_rate": 0.1953125, + "false_positives": 190 }, "regex+known+gliner": { - "recall": 0.9627411842980705, - "precision": 0.8774355751099937, + "recall": 0.9640718562874252, + "precision": 0.8780641106222502, "spans": 1503, - "missed": 56, - "leaked_char_rate": 0.026328186338654802, + "missed": 54, + "leaked_char_rate": 0.025595393875948703, "by_type": { "ACCOUNT": 0.9344262295081968, - "ADDRESS": 0.9504950495049505, + "ADDRESS": 0.9702970297029703, "AGE": 1.0, "DATE": 0.9448529411764706, "DONOR_ID": 0.8571428571428571, @@ -162,21 +162,21 @@ }, "by_channel": { "call": 0.956, - "chat": 0.9720101781170484, + "chat": 0.9745547073791349, "email": 0.955607476635514, - "note": 0.9568345323741008, + "note": 0.960431654676259, "sms": 0.9805194805194806 }, "by_lang": { "en": 0.9703703703703703, "es": 0.9602272727272727, "fr": 0.9693251533742331, - "he": 0.9126984126984127, + "he": 0.9285714285714286, "mixed": 0.9523809523809523, "pl": 0.967479674796748 }, "clean_messages": 128, - "clean_masked_rate": 0.203125, - "false_positives": 195 + "clean_masked_rate": 0.1953125, + "false_positives": 194 } } diff --git a/benchmark/results_blind_v6.json b/benchmark/results_blind_v6.json index f7f8169..d1add33 100644 --- a/benchmark/results_blind_v6.json +++ b/benchmark/results_blind_v6.json @@ -1,13 +1,13 @@ { "regex": { - "recall": 0.8404966571155683, - "precision": 0.9143167028199566, + "recall": 0.8452722063037249, + "precision": 0.9137931034482759, "spans": 1047, - "missed": 167, - "leaked_char_rate": 0.13315926892950392, + "missed": 162, + "leaked_char_rate": 0.12959886066935675, "by_type": { "ACCOUNT": 1.0, - "ADDRESS": 0.8, + "ADDRESS": 0.8444444444444444, "AGE": 1.0, "DATE": 0.9948186528497409, "DONOR_ID": 1.0, @@ -20,39 +20,39 @@ "NAME": 0.7133891213389121, "PHONE": 0.9891304347826086, "POSTAL_CODE": 1.0, - "SIN": 0.5, + "SIN": 1.0, "SSN": 1.0, "URL": 1.0, "ZIP": 1.0 }, "by_channel": { - "call": 0.8287037037037037, - "chat": 0.8407643312101911, + "call": 0.8379629629629629, + "chat": 0.8598726114649682, "email": 0.8869047619047619, "note": 0.8468468468468469, "sms": 0.7155172413793104 }, "by_lang": { - "en": 0.8164948453608247, - "es": 0.8837209302325582, - "fr": 0.8698630136986302, + "en": 0.8185567010309278, + "es": 0.8895348837209303, + "fr": 0.8767123287671232, "he": 0.821917808219178, - "mixed": 0.8172043010752689, + "mixed": 0.8387096774193549, "pl": 0.8846153846153846 }, "clean_messages": 130, "clean_masked_rate": 0.17692307692307693, - "false_positives": 79 + "false_positives": 80 }, "regex+known": { - "recall": 0.9207258834765998, - "precision": 0.9223968565815324, + "recall": 0.9255014326647565, + "precision": 0.921875, "spans": 1047, - "missed": 83, - "leaked_char_rate": 0.06361262758129599, + "missed": 78, + "leaked_char_rate": 0.06005221932114883, "by_type": { "ACCOUNT": 1.0, - "ADDRESS": 0.8333333333333334, + "ADDRESS": 0.8777777777777778, "AGE": 1.0, "DATE": 0.9948186528497409, "DONOR_ID": 1.0, @@ -65,36 +65,36 @@ "NAME": 0.8828451882845189, "PHONE": 0.9891304347826086, "POSTAL_CODE": 1.0, - "SIN": 0.5, + "SIN": 1.0, "SSN": 1.0, "URL": 1.0, "ZIP": 1.0 }, "by_channel": { - "call": 0.9351851851851852, - "chat": 0.9235668789808917, + "call": 0.9444444444444444, + "chat": 0.9426751592356688, "email": 0.9226190476190477, "note": 0.9369369369369369, "sms": 0.853448275862069 }, "by_lang": { - "en": 0.911340206185567, - "es": 0.9418604651162791, - "fr": 0.9178082191780822, + "en": 0.9134020618556701, + "es": 0.9476744186046512, + "fr": 0.9246575342465754, "he": 0.9178082191780822, - "mixed": 0.946236559139785, + "mixed": 0.967741935483871, "pl": 0.9102564102564102 }, "clean_messages": 130, "clean_masked_rate": 0.17692307692307693, - "false_positives": 79 + "false_positives": 80 }, "regex+gliner": { - "recall": 0.9847182425978988, - "precision": 0.8046166529266282, + "recall": 0.9856733524355301, + "precision": 0.8041152263374486, "spans": 1047, - "missed": 16, - "leaked_char_rate": 0.01028562386264736, + "missed": 15, + "leaked_char_rate": 0.009415301843500277, "by_type": { "ACCOUNT": 1.0, "ADDRESS": 1.0, @@ -110,13 +110,13 @@ "NAME": 0.9748953974895398, "PHONE": 0.9891304347826086, "POSTAL_CODE": 1.0, - "SIN": 0.5, + "SIN": 1.0, "SSN": 1.0, "URL": 1.0, "ZIP": 1.0 }, "by_channel": { - "call": 0.9907407407407407, + "call": 0.9953703703703703, "chat": 1.0, "email": 0.9791666666666666, "note": 0.9864864864864865, @@ -125,21 +125,21 @@ "by_lang": { "en": 0.9814432989690721, "es": 0.9941860465116279, - "fr": 0.9863013698630136, + "fr": 0.9931506849315068, "he": 0.9863013698630136, "mixed": 0.978494623655914, "pl": 0.9871794871794872 }, "clean_messages": 130, "clean_masked_rate": 0.3769230769230769, - "false_positives": 237 + "false_positives": 238 }, "regex+known+gliner": { - "recall": 0.9914040114613181, - "precision": 0.8057377049180328, + "recall": 0.9923591212989494, + "precision": 0.8052373158756138, "spans": 1047, - "missed": 9, - "leaked_char_rate": 0.006804335786059023, + "missed": 8, + "leaked_char_rate": 0.0059340137669119395, "by_type": { "ACCOUNT": 1.0, "ADDRESS": 1.0, @@ -155,13 +155,13 @@ "NAME": 0.9895397489539749, "PHONE": 0.9891304347826086, "POSTAL_CODE": 1.0, - "SIN": 0.5, + "SIN": 1.0, "SSN": 1.0, "URL": 1.0, "ZIP": 1.0 }, "by_channel": { - "call": 0.9907407407407407, + "call": 0.9953703703703703, "chat": 1.0, "email": 0.9880952380952381, "note": 0.9954954954954955, @@ -170,13 +170,13 @@ "by_lang": { "en": 0.9896907216494846, "es": 0.9941860465116279, - "fr": 0.9863013698630136, + "fr": 0.9931506849315068, "he": 1.0, "mixed": 0.989247311827957, "pl": 1.0 }, "clean_messages": 130, "clean_masked_rate": 0.3769230769230769, - "false_positives": 237 + "false_positives": 238 } } diff --git a/benchmark/results_blind_v7.json b/benchmark/results_blind_v7.json index 4ac41fc..b10933b 100644 --- a/benchmark/results_blind_v7.json +++ b/benchmark/results_blind_v7.json @@ -1,13 +1,13 @@ { "regex": { - "recall": 0.8269230769230769, - "precision": 0.8498727735368957, + "recall": 0.8389423076923077, + "precision": 0.8506900878293601, "spans": 832, - "missed": 144, - "leaked_char_rate": 0.1470527829123023, + "missed": 134, + "leaked_char_rate": 0.13914561511604026, "by_type": { "ACCOUNT": 1.0, - "ADDRESS": 0.8714285714285714, + "ADDRESS": 0.9, "DATE": 0.9487179487179487, "DONOR_ID": 0.75, "EMAIL": 1.0, @@ -16,7 +16,7 @@ "ID": 1.0, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.728310502283105, + "NAME": 0.7465753424657534, "PHONE": 1.0, "POSTAL_CODE": 1.0, "SIN": 1.0, @@ -25,33 +25,33 @@ "ZIP": 0.9090909090909091 }, "by_channel": { - "call": 0.8220858895705522, - "chat": 0.8217054263565892, - "email": 0.8457142857142858, - "note": 0.8392857142857143, - "sms": 0.7435897435897436 + "call": 0.8343558282208589, + "chat": 0.8294573643410853, + "email": 0.8571428571428571, + "note": 0.8482142857142857, + "sms": 0.7692307692307693 }, "by_lang": { "en": 0.839622641509434, - "es": 0.816, - "fr": 0.803030303030303, - "he": 0.6956521739130435, + "es": 0.864, + "fr": 0.8181818181818182, + "he": 0.7391304347826086, "mixed": 0.8936170212765957, "pl": 0.8620689655172413 }, "clean_messages": 146, "clean_masked_rate": 0.14383561643835616, - "false_positives": 118 + "false_positives": 119 }, "regex+known": { - "recall": 0.9002403846153846, - "precision": 0.8586572438162544, + "recall": 0.9026442307692307, + "precision": 0.8581477139507621, "spans": 832, - "missed": 83, - "leaked_char_rate": 0.07157527212980078, + "missed": 81, + "leaked_char_rate": 0.06931608133086876, "by_type": { "ACCOUNT": 1.0, - "ADDRESS": 0.8714285714285714, + "ADDRESS": 0.9, "DATE": 0.9487179487179487, "DONOR_ID": 0.75, "EMAIL": 1.0, @@ -70,8 +70,8 @@ }, "by_channel": { "call": 0.9447852760736196, - "chat": 0.875968992248062, - "email": 0.8857142857142857, + "chat": 0.8837209302325582, + "email": 0.8885714285714286, "note": 0.9107142857142857, "sms": 0.8974358974358975 }, @@ -79,20 +79,20 @@ "en": 0.9056603773584906, "es": 0.928, "fr": 0.8863636363636364, - "he": 0.7608695652173914, + "he": 0.8043478260869565, "mixed": 0.9574468085106383, "pl": 0.896551724137931 }, "clean_messages": 146, "clean_masked_rate": 0.14383561643835616, - "false_positives": 120 + "false_positives": 121 }, "regex+gliner": { - "recall": 0.9651442307692307, - "precision": 0.7522299306243806, + "recall": 0.9663461538461539, + "precision": 0.7527200791295747, "spans": 832, - "missed": 29, - "leaked_char_rate": 0.020538098172109262, + "missed": 28, + "leaked_char_rate": 0.01868966933661943, "by_type": { "ACCOUNT": 1.0, "ADDRESS": 0.9428571428571428, @@ -104,7 +104,7 @@ "ID": 1.0, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.9703196347031964, + "NAME": 0.9726027397260274, "PHONE": 1.0, "POSTAL_CODE": 1.0, "SIN": 1.0, @@ -115,13 +115,13 @@ "by_channel": { "call": 0.9815950920245399, "chat": 0.9534883720930233, - "email": 0.9542857142857143, + "email": 0.9571428571428572, "note": 0.9642857142857143, "sms": 1.0 }, "by_lang": { "en": 0.9622641509433962, - "es": 0.976, + "es": 0.984, "fr": 0.9696969696969697, "he": 0.9130434782608695, "mixed": 0.9787234042553191, @@ -133,10 +133,10 @@ }, "regex+known+gliner": { "recall": 0.9699519230769231, - "precision": 0.7517241379310344, + "precision": 0.7519685039370079, "spans": 832, "missed": 25, - "leaked_char_rate": 0.017457383446292874, + "leaked_char_rate": 0.016327788046826865, "by_type": { "ACCOUNT": 1.0, "ADDRESS": 0.9428571428571428, diff --git a/benchmark/results_blind_v8.json b/benchmark/results_blind_v8.json index abeb254..8b06c05 100644 --- a/benchmark/results_blind_v8.json +++ b/benchmark/results_blind_v8.json @@ -1,15 +1,15 @@ { "regex": { - "recall": 0.8535087719298246, - "precision": 0.9198113207547169, + "recall": 0.8640350877192983, + "precision": 0.9207089552238806, "spans": 1140, - "missed": 167, - "leaked_char_rate": 0.13562335538012943, + "missed": 155, + "leaked_char_rate": 0.12758694260721143, "by_type": { "ACCOUNT": 1.0, - "ADDRESS": 0.735632183908046, + "ADDRESS": 0.8160919540229885, "AGE": 1.0, - "DATE": 0.9767441860465116, + "DATE": 0.9825581395348837, "DONOR_ID": 1.0, "EMAIL": 1.0, "EMPLOYER": 0.5, @@ -17,7 +17,7 @@ "ID": 1.0, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.7597535934291582, + "NAME": 0.7679671457905544, "PHONE": 1.0, "POSTAL_CODE": 1.0, "SIN": 1.0, @@ -26,35 +26,35 @@ "ZIP": 0.9411764705882353 }, "by_channel": { - "call": 0.8207547169811321, - "chat": 0.8705357142857143, - "email": 0.910828025477707, - "note": 0.8353413654618473, - "sms": 0.7801418439716312 + "call": 0.839622641509434, + "chat": 0.875, + "email": 0.9235668789808917, + "note": 0.8393574297188755, + "sms": 0.7943262411347518 }, "by_lang": { - "en": 0.8931552587646077, - "es": 0.8176470588235294, - "fr": 0.853448275862069, + "en": 0.9015025041736227, + "es": 0.8235294117647058, + "fr": 0.8706896551724138, "he": 0.7162162162162162, - "mixed": 0.8217821782178217, - "pl": 0.8 + "mixed": 0.8316831683168316, + "pl": 0.8375 }, "clean_messages": 125, "clean_masked_rate": 0.224, "false_positives": 85 }, "regex+known": { - "recall": 0.9298245614035088, - "precision": 0.9223468507333908, + "recall": 0.9368421052631579, + "precision": 0.922879177377892, "spans": 1140, - "missed": 80, - "leaked_char_rate": 0.0652158452457151, + "missed": 72, + "leaked_char_rate": 0.06066424863096508, "by_type": { "ACCOUNT": 1.0, - "ADDRESS": 0.7471264367816092, + "ADDRESS": 0.8160919540229885, "AGE": 1.0, - "DATE": 0.9767441860465116, + "DATE": 0.9825581395348837, "DONOR_ID": 1.0, "EMAIL": 1.0, "EMPLOYER": 0.5, @@ -62,7 +62,7 @@ "ID": 1.0, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.9301848049281314, + "NAME": 0.9322381930184805, "PHONE": 1.0, "POSTAL_CODE": 1.0, "SIN": 1.0, @@ -71,35 +71,35 @@ "ZIP": 0.9411764705882353 }, "by_channel": { - "call": 0.9386792452830188, - "chat": 0.9508928571428571, - "email": 0.9426751592356688, - "note": 0.8875502008032129, - "sms": 0.9290780141843972 + "call": 0.9481132075471698, + "chat": 0.9553571428571429, + "email": 0.9522292993630573, + "note": 0.891566265060241, + "sms": 0.9361702127659575 }, "by_lang": { - "en": 0.9499165275459098, + "en": 0.9549248747913188, "es": 0.9235294117647059, - "fr": 0.9137931034482759, + "fr": 0.9310344827586207, "he": 0.8648648648648649, - "mixed": 0.9405940594059405, - "pl": 0.8625 + "mixed": 0.9504950495049505, + "pl": 0.8875 }, "clean_messages": 125, "clean_masked_rate": 0.224, "false_positives": 90 }, "regex+gliner": { - "recall": 0.9798245614035088, - "precision": 0.8714859437751004, + "recall": 0.980701754385965, + "precision": 0.871692060946271, "spans": 1140, - "missed": 23, - "leaked_char_rate": 0.012872484176089894, + "missed": 22, + "leaked_char_rate": 0.012303534599246142, "by_type": { "ACCOUNT": 1.0, "ADDRESS": 0.9540229885057471, "AGE": 1.0, - "DATE": 0.9767441860465116, + "DATE": 0.9825581395348837, "DONOR_ID": 1.0, "EMAIL": 1.0, "EMPLOYER": 1.0, @@ -117,7 +117,7 @@ }, "by_channel": { "call": 0.9716981132075472, - "chat": 0.9866071428571429, + "chat": 0.9910714285714286, "email": 0.9808917197452229, "note": 0.9799196787148594, "sms": 0.9787234042553191 @@ -128,23 +128,23 @@ "fr": 0.9913793103448276, "he": 0.972972972972973, "mixed": 0.9603960396039604, - "pl": 0.9625 + "pl": 0.975 }, "clean_messages": 125, "clean_masked_rate": 0.28, "false_positives": 160 }, "regex+known+gliner": { - "recall": 0.9885964912280701, - "precision": 0.8682539682539683, + "recall": 0.9894736842105263, + "precision": 0.8684627575277337, "spans": 1140, - "missed": 13, - "leaked_char_rate": 0.007396344498968779, + "missed": 12, + "leaked_char_rate": 0.006827394922125027, "by_type": { "ACCOUNT": 1.0, "ADDRESS": 0.9540229885057471, "AGE": 1.0, - "DATE": 0.9767441860465116, + "DATE": 0.9825581395348837, "DONOR_ID": 1.0, "EMAIL": 1.0, "EMPLOYER": 1.0, @@ -162,7 +162,7 @@ }, "by_channel": { "call": 0.9952830188679245, - "chat": 0.9955357142857143, + "chat": 1.0, "email": 0.9840764331210191, "note": 0.9879518072289156, "sms": 0.9787234042553191 @@ -173,7 +173,7 @@ "fr": 1.0, "he": 0.9864864864864865, "mixed": 0.9801980198019802, - "pl": 0.9625 + "pl": 0.975 }, "clean_messages": 125, "clean_masked_rate": 0.28, diff --git a/benchmark/results_blind_v9.json b/benchmark/results_blind_v9.json index e780b6d..aadadfa 100644 --- a/benchmark/results_blind_v9.json +++ b/benchmark/results_blind_v9.json @@ -1,23 +1,23 @@ { "regex": { - "recall": 0.8387931034482758, - "precision": 0.9009174311926605, + "recall": 0.853448275862069, + "precision": 0.903254972875226, "spans": 1160, - "missed": 187, - "leaked_char_rate": 0.15741853396479819, + "missed": 170, + "leaked_char_rate": 0.14540185198275252, "by_type": { - "ACCOUNT": 0.9411764705882353, - "ADDRESS": 0.7419354838709677, + "ACCOUNT": 1.0, + "ADDRESS": 0.8279569892473119, "AGE": 1.0, "DATE": 0.9840425531914894, "DONOR_ID": 1.0, "EMAIL": 1.0, - "EMPLOYER": 0.5, + "EMPLOYER": 0.5416666666666666, "HEALTH_CARD": 1.0, "ID": 1.0, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.7040816326530612, + "NAME": 0.7142857142857143, "PHONE": 1.0, "POSTAL_CODE": 1.0, "SIN": 1.0, @@ -26,43 +26,43 @@ "ZIP": 1.0 }, "by_channel": { - "call": 0.8025751072961373, - "chat": 0.8230088495575221, - "email": 0.8769716088328076, - "note": 0.8553719008264463, - "sms": 0.8098591549295775 + "call": 0.8197424892703863, + "chat": 0.8407079646017699, + "email": 0.8927444794952681, + "note": 0.859504132231405, + "sms": 0.8309859154929577 }, "by_lang": { - "en": 0.8714499252615845, - "es": 0.7763157894736842, - "fr": 0.79, + "en": 0.8789237668161435, + "es": 0.8223684210526315, + "fr": 0.8, "he": 0.7567567567567568, - "mixed": 0.8461538461538461, - "pl": 0.8108108108108109 + "mixed": 0.8571428571428571, + "pl": 0.8513513513513513 }, "clean_messages": 122, - "clean_masked_rate": 0.19672131147540983, - "false_positives": 108 + "clean_masked_rate": 0.1885245901639344, + "false_positives": 107 }, "regex+known": { - "recall": 0.9293103448275862, - "precision": 0.9058333333333334, + "recall": 0.9413793103448276, + "precision": 0.9075907590759076, "spans": 1160, - "missed": 82, - "leaked_char_rate": 0.06792959638085813, + "missed": 68, + "leaked_char_rate": 0.05838693715982187, "by_type": { - "ACCOUNT": 0.9411764705882353, - "ADDRESS": 0.7419354838709677, + "ACCOUNT": 1.0, + "ADDRESS": 0.8279569892473119, "AGE": 1.0, "DATE": 0.9840425531914894, "DONOR_ID": 1.0, "EMAIL": 1.0, - "EMPLOYER": 0.5, + "EMPLOYER": 0.5416666666666666, "HEALTH_CARD": 1.0, "ID": 1.0, "IP_ADDRESS": 1.0, "MRN": 1.0, - "NAME": 0.9183673469387755, + "NAME": 0.9224489795918367, "PHONE": 1.0, "POSTAL_CODE": 1.0, "SIN": 1.0, @@ -71,32 +71,32 @@ "ZIP": 1.0 }, "by_channel": { - "call": 0.9055793991416309, - "chat": 0.9070796460176991, - "email": 0.9337539432176656, - "note": 0.9545454545454546, - "sms": 0.9507042253521126 + "call": 0.9141630901287554, + "chat": 0.9247787610619469, + "email": 0.9463722397476341, + "note": 0.9586776859504132, + "sms": 0.971830985915493 }, "by_lang": { - "en": 0.9491778774289985, - "es": 0.8486842105263158, - "fr": 0.95, + "en": 0.953662182361734, + "es": 0.8881578947368421, + "fr": 0.96, "he": 0.9324324324324325, - "mixed": 0.9340659340659341, - "pl": 0.8783783783783784 + "mixed": 0.945054945054945, + "pl": 0.918918918918919 }, "clean_messages": 122, - "clean_masked_rate": 0.19672131147540983, - "false_positives": 113 + "clean_masked_rate": 0.1885245901639344, + "false_positives": 112 }, "regex+gliner": { - "recall": 0.9810344827586207, - "precision": 0.8365164247517188, + "recall": 0.9836206896551725, + "precision": 0.8375286041189931, "spans": 1160, - "missed": 22, - "leaked_char_rate": 0.012935604721849155, + "missed": 19, + "leaked_char_rate": 0.011027072877641902, "by_type": { - "ACCOUNT": 0.9411764705882353, + "ACCOUNT": 1.0, "ADDRESS": 0.978494623655914, "AGE": 1.0, "DATE": 0.9840425531914894, @@ -117,31 +117,31 @@ }, "by_channel": { "call": 0.9785407725321889, - "chat": 0.9690265486725663, - "email": 0.9810725552050473, + "chat": 0.9734513274336283, + "email": 0.9873817034700315, "note": 0.9917355371900827, "sms": 0.9859154929577465 }, "by_lang": { - "en": 0.9745889387144993, + "en": 0.9775784753363229, "es": 1.0, "fr": 0.99, "he": 0.972972972972973, - "mixed": 0.978021978021978, + "mixed": 0.989010989010989, "pl": 1.0 }, "clean_messages": 122, - "clean_masked_rate": 0.32786885245901637, - "false_positives": 214 + "clean_masked_rate": 0.319672131147541, + "false_positives": 213 }, "regex+known+gliner": { - "recall": 0.9905172413793103, - "precision": 0.8359788359788359, + "recall": 0.993103448275862, + "precision": 0.8369811320754716, "spans": 1160, - "missed": 11, - "leaked_char_rate": 0.007280695553827666, + "missed": 8, + "leaked_char_rate": 0.005372163709620415, "by_type": { - "ACCOUNT": 0.9411764705882353, + "ACCOUNT": 1.0, "ADDRESS": 0.978494623655914, "AGE": 1.0, "DATE": 0.9840425531914894, @@ -162,21 +162,21 @@ }, "by_channel": { "call": 0.9914163090128756, - "chat": 0.9823008849557522, - "email": 0.9873817034700315, + "chat": 0.9867256637168141, + "email": 0.9936908517350158, "note": 0.9958677685950413, "sms": 1.0 }, "by_lang": { - "en": 0.9865470852017937, + "en": 0.9895366218236173, "es": 1.0, "fr": 1.0, "he": 0.9864864864864865, - "mixed": 0.989010989010989, + "mixed": 1.0, "pl": 1.0 }, "clean_messages": 122, - "clean_masked_rate": 0.32786885245901637, - "false_positives": 217 + "clean_masked_rate": 0.319672131147541, + "false_positives": 216 } } diff --git a/src/phiproxy/detectors/_accounts.py b/src/phiproxy/detectors/_accounts.py new file mode 100644 index 0000000..fbea1c9 --- /dev/null +++ b/src/phiproxy/detectors/_accounts.py @@ -0,0 +1,511 @@ +"""Payment handles, bank and cheque numbers, device serials, file numbers and ID numbers in groups. + +Each rule needs its own cue (a payment word, a bank word, "serial", "court file", ...) or a shape +that cannot be anything else. The rules return the same tuples as ``_geo.rules``. +""" + +from __future__ import annotations + +import re +from typing import Callable, Optional + +from ..entities import EntityType + +Rule = tuple[EntityType, str, int, "int | str", Optional[Callable[[re.Match[str]], bool]]] + +I = re.IGNORECASE + +# Words that say money is going to or from a handle or an account. +_PAY_CUE = re.compile( + r"(?i:\b(?:venmo|zelle|paypal|pay\s*pal|cash\s*app|cashapp|cash\s*tag|cashtag|apple\s*pay|google\s*pay|pay\s*me|" + r"send(?:\s+(?:it|money|payment|the\s+\w+))?\s+(?:to|via|through)|payable\s+to|e-?transfer\s+to|handle|" + r"mand[ae]r?(?:\s+\w+){0,2}\s+(?:a|por)|enviar(?:\s+\w+){0,2}\s+(?:a|por)|pagar\s+(?:con|por)|pago\s+(?:con|por)|" + r"payer\s+(?:avec|par)|virement|paiement)\b)" +) + + +def _digits(s: str) -> str: + return re.sub(r"\D", "", s) + + +def _pay_before(text: str, start: int) -> bool: + line = text.rfind("\n", 0, start) + 1 + return bool(_PAY_CUE.search(text[max(line, start - 90) : start])) + + +_CLINIC_PAY_ASK = re.compile( + r"(?i:\b(?:pay(?:ing|ment|ments)?|send|sending|e-?transfer|transfer|deposit|remit|etransfer)\b[^.!?\n]{0,40}?\b(?:to\s+us|us|the\s+clinic|our\s+clinic)\b" + r"|\bour\s+(?:venmo|paypal|zelle|cash\s*app|cashapp|handle|e-?transfer)\b" + r"|\bfor\s+(?:the\s+)?(?:deposits?|clinic\s+fees?|fees?)\b|\bclinic\s+(?:fees?|venmo|paypal|zelle|handle|payments?)\b" + r"|\be-?transfer\s+to\s+the\s+clinic\b|\buse\s+@\S+\s+to\s+pay\b|\b(?:is\s+)?accepted\b|\bwe\s+accept\b" + r"|\btag\s+@\S+\s+in\s+your\b|\bfollow\s+us\b|\bfor\s+the\s+[\w\s]{0,20}fee\b)" +) +_PATIENT_OWN_PAY = re.compile( + r"(?i:\b(?:my|mine|mi|mon|ma)\s+(?:\w+\s+){0,2}(?:venmo|paypal|zelle|cash\s*app|cashapp|handle|username|account)\b)" +) + + +def _clinic_payment_ask(text: str, start: int, end: int) -> bool: + """The sentence is the clinic asking to be paid ("pay us via PayPal @x", "for deposits"): the handle is the + clinic's, not the patient's. A patient's own handle in the same sentence ("my venmo is @x") stays.""" + a = max(text.rfind(c, 0, start) for c in ".!?\n") + 1 + ends = [i for i in (text.find(c, end) for c in ".!?\n") if i >= 0] + sentence = text[a : min(ends) if ends else len(text)] + if _PATIENT_OWN_PAY.search(sentence): + return False + return bool(_CLINIC_PAY_ASK.search(sentence)) + + +def _clinic_owned(m: re.Match[str]) -> bool: + from .regex import _clinic_owned as owned + + return owned(m.string, m.start(), m.end()) or _clinic_payment_ask(m.string, m.start(), m.end()) + + +def _pay_handle(m: re.Match[str]) -> bool: + if _clinic_owned(m): + return False + word = m.group(0)[1:] + # A hyphenated or digit-bearing handle is one on its own; a plain word needs the payment cue. + return _pay_before(m.string, m.start()) or ("-" in word and bool(re.search(r"\d", word))) + + +def _cashtag(m: re.Match[str]) -> bool: + return _pay_before(m.string, m.start()) and not _clinic_payment_ask(m.string, m.start(), m.end()) + + +_BARE_STOP = frozenset( + """the a an not fine down working ok okay broken blocked set ready linked verified same different here there this that it + just still also being no yes under on off locked declined pending acting weird so very too now new old can cant + only mine yours his hers their our your""".split() +) + + +def _bare_handle(m: re.Match[str]) -> bool: + """A handle with no "@" right after a payment word: "venmo: jane-doe-12", "my paypal is janedoe".""" + from .regex import _clinic_owned as owned + + h = m.group("h") + if owned(m.string, m.start("h"), m.end("h")) or _clinic_payment_ask(m.string, m.start("h"), m.end("h")): + return False + marked = bool(re.search(r"[\d\-_.]", h)) + if marked: + return True + return bool(m.group("my")) and h.lower() not in _BARE_STOP and len(h) >= 4 + + +_SIN_CUE = re.compile(r"(?-i:\b(?:SIN|NAS)\b)|(?i:\bsocial\s+insurance|\bassurance\s+sociale)") + + +def _sin_cued(m: re.Match[str]) -> bool: + """Nine digits in threes with a SIN named earlier in the same message: no checksum needed.""" + d = _digits(m.group(0)) + if len(d) != 9: + return False + return bool(_SIN_CUE.search(m.string[max(0, m.start() - 300) : m.start()])) + + +_HEALTH_CUE = re.compile( + r"(?i:assurance[\s\-]maladie|\bramq\b|carte\s+(?:sant[ée]|medicare|soleil)|health\s*card|\bmedicare\b|\bmsi\b|\bohip\b)" +) + + +def _health_before(m: re.Match[str]) -> bool: + return bool(_HEALTH_CUE.search(m.string[max(0, m.start() - 300) : m.start()])) + + +def _health_digits(m: re.Match[str]) -> bool: + v = m.group(1) + d = _digits(v) + if not 8 <= len(d) <= 12: + return False + return not re.fullmatch(r"(?:19|20)\d\d[\- ]\d\d[\- ]\d\d", v) + + +def _aba_valid(d: str) -> bool: + n = [int(c) for c in d] + return len(n) == 9 and (3 * (n[0] + n[3] + n[6]) + 7 * (n[1] + n[4] + n[7]) + (n[2] + n[5] + n[8])) % 10 == 0 + + +_FILE_EXT = re.compile(r"\.(?:pdf|jpe?g|png|docx?|csv|txt|xlsx?|com|org|net|ca|html?|gif|zip)$", re.IGNORECASE) + + +# A serial number is a patient's device identifier only when the device is theirs or worn: not the lab's printer. +_PERSONAL_DEVICE = re.compile( + r"(?i:\b(?:my|his|her|their|patient['’]?s|home|wearable|wrist(?:band)?|pump|cgm|glucometer|glucose\s+monitor|" + r"(?:heart(?:\s+rate)?|blood\s+pressure|baby|sleep|bp)\s+monitor|meter|thermometer|(?:fitness|activity|sleep)\s+(?:tracker|band)|" + r"(?:smart|oura)\s+ring|watch|phone|implant|pacemaker|dexcom|oura|fitbit|garmin|whoop|apple\s+watch|mi|mon|ma|su|moje?)\b)" +) + + +def _personal_device(m: re.Match[str]) -> bool: + line = m.string.rfind("\n", 0, m.start()) + 1 + window = m.string[max(line, m.start() - 90) : m.start()] + window = re.split(r"[.!?]\s", window)[-1] + return bool(_PERSONAL_DEVICE.search(window)) + + +# The patient is the one writing: first person in the sentence ("my cheque", "I mailed", "from me"), or a patient word. +_FIRST_PERSON = re.compile( + r"(?i:\b(?:i|i['’]?(?:m|ve|ll|d)|me|my|mine|myself|your|his|her|su|tu|votre|ton|tw[óo]j|we|we['’]?(?:ve|ll)|our|ours|us|mon|ma|mes|je|j['’]|moi|nous|notre|nos|" + r"yo|mi|mis|m[íi]o|pagu[ée]|envi[ée]|mand[ée]|escrib[íi]|firm[ée]|nuestro|nuestra|nosotros|ja|m[óo]j|moja|moje|moim|moj[ąa]|nasz\w*|wys[łl]a[łl]\w*|" + r"patient|patiente|paciente|pacjent\w*)\b)|(? bool: + text = m.string + a = max(text.rfind(c, 0, m.start()) for c in ".!?\n") + 1 + ends = [i for i in (text.find(c, m.end()) for c in ".!?\n") if i >= 0] + z = min(ends) if ends else len(text) + return bool(_FIRST_PERSON.search(text[a : z])) + + +def _user_value(m: re.Match[str]) -> bool: + v = m.group("v") + if _FILE_EXT.search(v): + return False + cue = m.group(0)[: m.start("v") - m.start(0)].lower() + if "." in v and not re.search(r"account|screen|nick|profile|display|login", cue): + return False + return True + + +def rules() -> list[Rule]: + R: list[Rule] = [] + + def add(t: EntityType, pat: str, flags: int = 0, group: "int | str" = 0, check=None) -> None: + R.append((t, pat, flags, group, check)) + + A, ID = EntityType.ACCOUNT, EntityType.ID + + # Payment handles with hyphens or dots: "@jlopez-ATL88", "@cassidy-moreau-4", or any "@handle" after a payment word. + # (Typed ID like other handles, so the clinic's own and staff handles stay allowed.) + add(ID, r"(?\b(?:my|mi|mon|ma|our)[ \t]+)?\b(?:venmo|paypal|pay[ \t]*pal|zelle|cash[ \t]*app|cashapp|cash[ \t]*tag|cashtag)" + r"(?:[ \t]+(?:handle|username|user[ \t]*name|id|name|account|tag))?[ \t]*(?:is|=|:|-|es|est|jest)[ \t]+)" + r"(?P(?-i:[A-Za-z][\w.]{1,28}(?:-[\w.]{1,20}){0,3}(? bool: + lo, hi = max(0, m.start() - 120), m.end() + 120 + a = max(lo, m.string.rfind("\n", lo, m.start()) + 1) + b = m.string.find("\n", m.end(), hi) + line = m.string[a : b if b >= 0 else hi] + other = "institution" if m.group(0).lower().startswith("transit") else "transit" + return other in line.lower() or bool(re.search(r"(?i)\b(?:bank|banking|branch|cheque|deposit)\b", line)) + + add(A, r"\btransit(?:[ \t]+(?:number|no\.?|#|num[ée]ro))[ \t]*[:#]?[ \t]*(\d{5})(?![\d\-])", I, 1, _bank_ctx) + add(A, r"\binstitution(?:[ \t]+(?:number|no\.?|#|num[ée]ro))[ \t]*[:#]?[ \t]*(\d{3})(?![\d\-])", I, 1, _bank_ctx) + # A routing number said as separate digits: "routing 0 2 1 0 0 0 0 2 1". + add( + A, + r"\b(?:routing|aba)(?:[ \t]+(?:number|no\.?|#))?[ \t]*[:#]?[ \t]*(?:is[ \t]+)?(\d(?:[ \-]\d){8})(?![\d\-]|[ ]\d)", + I, + 1, + ) + # A payment link: "cash.app/$janedoe", "paypal.me/jane-doe". + add( + ID, + r"(?i:\b(?:cash\.app|venmo\.com/(?:u|code)|paypal\.me)/)(\$?[A-Za-z0-9][\w.\-]{2,28}[A-Za-z0-9])(?![\w@])", + 0, + 1, + ) + # "venmo me at jane_doe_ivf": a handle with a digit, underscore or hyphen after the payment word and "me at". + add( + ID, + r"(?i:\b(?:venmo|zelle|paypal|pay\s*pal|cash\s*app|cashapp)[ \t]+(?:me|us)[ \t]+(?:at|on|via|@)[ \t]+)@?((?=[A-Za-z0-9_\-]*[\d_\-])[A-Za-z][A-Za-z0-9_\-]{2,28}[A-Za-z0-9])(?![\w@.]|\.\w)", + 0, + 1, + lambda m: not _clinic_owned(m), + ) + + # Cheque numbers: "cheque #2218", "check number 1042", "cheque número 1042", "chèque n° 8841". + # Only a patient's own cheque ("my cheque #2218", "I mailed cheque number 1042"): the clinic's deposit + # confirmations are not the patient's account. + add(A, r"\b(?:che(?:ck|que)|ch[èe]que)[ \t]*(#[ \t]?\d{3,8})(?!\d)", I, 1, _own_cheque) + add( + A, + r"\b(?:che(?:ck|que)|ch[èe]que)s?,?[ \t]+(?:(?:number|no\.?|num\.?|n[úu]mero|num[ée]ro|n[°º])[ \t]*:?[ \t]*)(\d{3,8})(?!\d)", + I, + 1, + _own_cheque, + ) + + # "numéro de chèque : 1045", "número de cheque 1045", "numero de cheque: 1045". + add( + A, + r"\b(?:num[ée]ro|n[úu]mero|n[°º])[ \t]+de[ \t]+ch[èe]que[ \t]*:?[ \t]*#?[ \t]*(\d{3,8})(?!\d)", + I, + 1, + _own_cheque, + ) + # A bare "chèque 1045" / "cheque 1045" (not the English verb "check"): only a patient's own, and not an amount. + add( + A, + r"(?(?=[A-Za-z0-9._]*[A-Za-z])(?=[A-Za-z0-9._]*[_.\d])" + r"(?:[A-Za-z][A-Za-z0-9]{0,20}[._][A-Za-z0-9._]{1,20}|[A-Za-z]{2,20}\d{2,8}|[A-Za-z0-9]{1,20}_[A-Za-z0-9_]{1,20})[A-Za-z0-9])" + ) + add( + ID, + r"\b(?:usr|uid|user|usuario|(?:app\s+|portal\s+|online\s+)?account\s+name|screen\s*name|nick\s*name|profile\s+name|display\s+name)" + r"(?:[ \t]*[=:][ \t]*|[ \t]+(?:is|es|est|was)[ \t]*:?[ \t]*|[ \t]+)[\"“'‘]?" + _uv + r"(?![\w@\-]|\.\w)", + I, + "v", + _user_value, + ) + + # Device serials: "serial is SN 3MH0041AB7"; "SN" stays inside the span. + add( + ID, + r"(? bool: + v = m.group(1) + # not a month and year or a day and month + return not re.fullmatch(r"(?:19|20)\d\d[\-/](?:0?[1-9]|1[0-2])|(?:0?[1-9]|[12]\d|3[01])[\-/](?:0?[1-9]|1[0-2])", v) + + add( + ID, + r"\b(?:court|docket|case|cause|matter|file|tribunal)(?:[ \t]+(?:file|case))?[ \t]+(?:number|no\.?|num\.?|#)[ \t]*:?[ \t]*" + _file_no, + I, + 1, + _file_ok, + ) + add( + ID, + r"\b(?:(?:n[úu]mero|num[ée]ro|nro\.?|n[°º])[ \t]+de[ \t]+(?:causa|expediente|autos|dossier)|causa|autos)[ \t]*:?[ \t]*(?:n[°º.]|no\.?|#)?[ \t]*" + _file_no, + I, + 1, + _file_ok, + ) + add( + ID, + r"\bexpediente(?:[ \t]+de[ \t]+[a-z\u00e1\u00e9\u00ed\u00f3\u00fa\u00f1]+)?[ \t]*(?:es|:|=|es[ \t]+el)[ \t]*" + _file_no, + I, + 1, + _file_ok, + ) + # A court prefix and a short file number only after a court word: "case SC 1234/26". + add( + ID, + r"(?(?:[A-Z]{2,4}[ \-]\d{2,4}|\d{1,2}[ \-]?[A-Z]{2,4}[ \-]?\d{1,4})\b))", + 0, + "p", + lambda m: True, + ) + return R diff --git a/src/phiproxy/detectors/_geo.py b/src/phiproxy/detectors/_geo.py new file mode 100644 index 0000000..32124ec --- /dev/null +++ b/src/phiproxy/detectors/_geo.py @@ -0,0 +1,866 @@ +"""Where someone lives or can be found, beyond street addresses and the big-city list. + +Rural routes, GPS coordinates, directions to a home, counties, First Nations, +small towns behind a strong "I live in" cue, military and campus addresses, +colonias, mailbox numbers and the schools of a patient's children. + +Every rule needs its own cue or shape; a capitalised word alone is never a place. +""" + +from __future__ import annotations + +import re +from typing import Callable, Optional + +from ..entities import EntityType + +Rule = tuple[EntityType, str, int, "int | str", Optional[Callable[[re.Match[str]], bool]]] + +I = re.IGNORECASE + +# Capitalised words after a cue that are not a town: sentence words, titles, calendar words, +# stages of treatment, countries, states and provinces (not identifying under Safe Harbor). +NOT_PLACES = frozenset( + """ + casa fase cuarto urgencias consulta espera tratamiento tipo piel trabajar trabajo hacerme viaje camino clase cama reposo ciclo + semana mes control cita oficina escuela vacaciones licencia baja estimulación estimulacion transferencia descanso proceso duda + dolor centro cerca lejos aquí aqui allí alli + proximité proximite route chemin cours traitement attente consultation vacances repos maison travail congé conge arrêt arret + bureau hôpital hopital ville phase cycle proche près pres loin ici + pobliżu poblizu trakcie mężem mezem żoną zona mamą mama domu pracy szpitalu klinice drodze centrum wizycie leczeniu urlopie + blisko daleko tutaj tam + downtown uptown close near nearby far here there suburbs coffee + the a an my our your his her their it this that there here these those who what when where how why + i we you he she they me us not no yes ok okay hi hello hey thanks thank please also then and but so or if + dr dre dra mr mrs ms mx miss sr sra sir madam nurse doctor doctora docteur docteure prof professor + monday tuesday wednesday thursday friday saturday sunday today tomorrow tonight yesterday + january february march april may june july august september october november december + janvier février mars avril mai juin juillet août septembre octobre novembre décembre + enero febrero marzo abril mayo junio julio agosto septiembre octubre noviembre diciembre + lunes martes miércoles jueves viernes sábado domingo lundi mardi mercredi jeudi vendredi samedi dimanche + regards best cheers sincerely warmly bye + day week month year cycle round phase stage step trimester room bed ward floor line page + home work school clinic hospital office lab pharmacy church mosque temple hotel airport + ivf icsi iui fet pgt er or icu nicu pacu rn np md + waiting stims stimulation transfer retrieval trigger monitoring + canada usa us america states united mexico méxico mexique france spain españa espagne poland polska polsce pologne + israel israël izrael haiti haïti nigeria india china japan korea vietnam philippines brazil colombia peru cuba + jamaica ukraine russia germany italy portugal ireland england scotland wales uk britain australia egypt iran + iraq syria lebanon liban jordan turkey pakistan bangladesh ethiopia somalia kenya ghana senegal morocco maroc + algeria algérie tunisia tunisie argentina chile venezuela ecuador guatemala honduras nicaragua panama + canadá francia kanada kanadzie europe asia africa + ontario québec quebec alberta manitoba saskatchewan georgia florida texas alabama tennessee california + carolina virginia ohio + english french spanish polish hebrew arabic canadian american haitian + alaska arizona arkansas colorado connecticut delaware hawaii idaho illinois indiana iowa kansas kentucky louisiana + maine maryland massachusetts michigan minnesota mississippi missouri montana nebraska nevada oklahoma oregon + pennsylvania tennessee utah vermont wisconsin wyoming + newfoundland labrador nunavut yukon + cameroun cameroon congo rwanda uganda tanzania sudan libya angola mozambique zimbabwe zambia + afghanistan nepal sri indonesia thailand malaysia singapore taiwan mongolia kazakhstan uzbekistan armenia georgia + belgium belgique netherlands switzerland suisse austria sweden norway denmark finland greece romania bulgaria + hungary serbia croatia albania ukraine belarus lithuania latvia estonia + bolivia uruguay paraguay brasil costa rica salvador cuba dominicana + allemagne italie portugal irlande angleterre écosse chine japon corée vietnam inde iran irak syrie égypte + turquie russie pays colombie pérou brésil argentine chili venezuela équateur bolivie + alemania italia portugal irlanda inglaterra escocia china japón corea india irán irak siria egipto turquía rusia + niemcy włochy francji hiszpanii anglii chinach indiach ukrainie rosji + europy azji afryki ameryki australii oceanii europa asia africa america américa amérique afrique asie áfrica + polski ukrainy niemiec kanady meksyku izraela wietnamu indii chin rosji włoch anglii szwecji norwegii holandii belgii + grecji turcji filipin jamajki nigerii pakistanu iranu iraku egiptu libanu brazylii kolumbii peru kuby litwy białorusi + czech słowacji rumunii węgier portugalii irlandii australii + """.split() +) | frozenset( + { + "nova scotia", "new brunswick", "british columbia", "prince edward island", "newfoundland and labrador", + "north carolina", "south carolina", "west virginia", "united states", "estados unidos", "états-unis", + "etats-unis", "ee.uu", "new mexico", "north america", "south america", "cape breton island", + } +) + +# The clinic giving directions to itself ("Find us in the red house past ..."): not a patient's home. +_CLINIC_SPEAKING = re.compile( + r"(?i:(?:\b(?:find[ \t]+us|come[ \t]+(?:to|by)|visit[ \t]+us|we[ \t]+are[ \t]+located|we['’]re[ \t]+located)[ \t]+(?:in|at|on|to)?[ \t]*" + r"|\bdirections?[ \t]+to[ \t]+(?:the|our)[ \t]+(?:clinic|office|centre|center|lab|building|parking)[ \t]*[:\-][ \t]*" + r"|\b(?:agent|staff|clinic|reception|front[ \t]+desk|bot|assistant)[ \t]*:[ \t]*))$" +) +_CAP = r"[A-ZÀ-ÝŁŚŻŹĆ][\w'’\-]+" +_STATE_NAMES = ( + "Alabama|Alaska|Arizona|Arkansas|California|Colorado|Connecticut|Delaware|Florida|Georgia|Hawaii|Idaho|Illinois|Indiana|Iowa|" + "Kansas|Kentucky|Louisiana|Maine|Maryland|Massachusetts|Michigan|Minnesota|Mississippi|Missouri|Montana|Nebraska|Nevada|" + "New[ \t]+Hampshire|New[ \t]+Jersey|New[ \t]+Mexico|New[ \t]+York|North[ \t]+Carolina|North[ \t]+Dakota|Ohio|Oklahoma|Oregon|" + "Pennsylvania|Rhode[ \t]+Island|South[ \t]+Carolina|South[ \t]+Dakota|Tennessee|Texas|Utah|Vermont|Virginia|Washington|" + "West[ \t]+Virginia|Wisconsin|Wyoming|Ontario|Quebec|Québec|Alberta|Manitoba|Saskatchewan|British[ \t]+Columbia|Nova[ \t]+Scotia|" + "New[ \t]+Brunswick|Newfoundland|Prince[ \t]+Edward[ \t]+Island" +) +_CAP1 = r"[A-ZÀ-ÝŁŚŻŹĆ][\w'’&\-]*" +# "St.", "Ste." or "Mt." in front of a place name belongs to the span: "St. Louis County". +_SAINT = r"(?:(?-i:(?:St|Ste|Mt)\.?[ \t]+))?" +_CAP3 = rf"{_CAP}(?:[ \t]+(?:(?i:de|du|des|del|de\s+la|la|le|of|the|d['’]|l['’])[ \t]*)?{_CAP}){{0,3}}" +# A town: up to four capitalised words, "Pointe-de-l'Église", "Lac Mégantic". +_PLACE = rf"(?-i:{_CAP3})" + + +def _grp(m: re.Match[str]) -> str: + d = m.groupdict() + return d.get("place") or d.get("pl") or "" + + +# A fertility drug after "moved to" / "switched from" is not a town. +_DRUG = re.compile( + r"(?i)(?:gonal|menopur|ovitrelle?|ovidrel|cetrotide|orgalutran|ganirelix|fyremadel|pregnyl|novarel|follistim|puregon|" + r"lupron|crinone|endometrin|prometrium|progesterone|estradiol|estrace|letrozole|femara|clomi|cabergoline|dostinex|metformin|" + r"lovenox|clexane|heparin|aspirin|bravelle|luveris|rekovelle|elonva|suprefact|decapeptyl|buserelin|synarel|ovaleap|bemfola|" + r"delestrogen|provera|medrol|prednisone|doxycycline|dexamethasone|synthroid|levothyroxine|hcg|fsh|lh\b)" +) +_GROUP_AFTER = re.compile(r"[ \t]+(?:community|people|family|families|church|mosque|temple|clinic|office|team|hospital|group|men|women|food|culture)\b") + + +_STREET_WORDS = frozenset( + "st street ave avenue road rd dr drive unit units mg iu ml lane ln blvd boulevard court ct way suite apt".split() +) + +# Departments, wards, institutions and insurers are never a home town ("I'm from Sick Kids", "moved to Recovery"). +_INSTITUTION_WORDS = frozenset( + """reception billing recovery gate triage admitting lab labs pharmacy radiology ultrasound hospital clinic clinics centre center + health life insurance sinai sick fertility associates practice services department dept unit program institute university + college school care medical cycle treatment emergency registration admissions outpatient inpatient surgery ward parking lobby entrance waiting""".split() +) + + +def _residence_ok(m: re.Match[str]) -> bool: + return not (set(_grp(m).lower().replace("-", " ").split()) & _INSTITUTION_WORDS) + + +def place_ok(m: re.Match[str]) -> bool: + """The captured place is not a sentence word, calendar word, country or province, nor a group + ("from the Nigerian community").""" + p = _grp(m).lower().rstrip(".,") + if _GROUP_AFTER.match(m.string, m.end()): + return False + return p not in NOT_PLACES and p.split()[0] not in NOT_PLACES and len(p) >= 3 and not _DRUG.match(p) + + +_HE_STOP = frozenset( + """ + בית דירה עיר יישוב ישוב צפון דרום מרכז קיבוץ מושב רחוב שכונה כפר אזור ארץ בניין קומה מקום אותו אותה הבית הדירה + העיר הכפר הארץ חו״ל חוץ ישראל קנדה ארהב אמריקה אנגליה צרפת פולין מקסיקו רוסיה אירופה אסיה אפריקה + שם כאן פה עכשיו היום מחר אנחנו אני הוא היא הם עם של כי לא גם אבל כבר + """.split() +) +_HE_RESIDENCE_VERBS = frozenset("גר גרה גרים גרות גרנו גרתי מתגורר מתגוררת מתגוררים עברנו עברתי עוברים עוברת תושב תושבת תושבי".split()) +_HE_FUNCTION = frozenset("אני אנחנו הוא היא הם הן עם של כי לא גם אבל כבר עכשיו מאז כל כמעט בערך כרגע ליד קרוב רחוק את או אם".split()) + + +def he_place_ok(m: re.Match[str]) -> bool: + words = m.group("place").split() + return words[0] not in _HE_STOP and not (len(words) > 1 and (words[1] in _HE_FUNCTION or words[1][0] in "ובלמהש")) + + +# A letter name said aloud, for a postal code read out ("bee three ell, two cee four"). +_LETTER_NAMES = r"(?:ay|bee|cee|see|ee|gee|aitch|jay|kay|ell|em|en|pee|are|ess|tee|vee|ex|why)" +_DIGIT_WORD = r"(?:zero|oh|one|two|three|four|five|six|seven|eight|nine|\d)" + + +def _coords_ok(m: re.Match[str]) -> bool: + lat = float(m.group("lat")) + lon = float(m.group("lon")) + if abs(lat) > 90 or abs(lon) > 180: + return False + signed = m.group("lat")[0] == "-" or bool(m.group("lonsign")) + if signed: + return True + before = m.string[max(0, m.start() - 60) : m.start()] + return bool(_COORD_CUE.search(before)) + + +def _hemisphere_ok(m: re.Match[str]) -> bool: + lat = float(re.match(r"\d+(?:\.\d+)?", m.group("lat")).group(0)) # type: ignore[union-attr] + lon = float(re.match(r"\d+(?:\.\d+)?", m.group("lon")).group(0)) # type: ignore[union-attr] + if lat > 90 or lon > 180: + return False + return bool(_COORD_CUE.search(m.string[max(0, m.start() - 60) : m.start()])) + + +_RURAL_CUE = re.compile( + r"(?i)\b(?:live|lives|living|lived|reside\w*|address|adresse|habite|habitons|direcci[o\u00f3]n|domicilio|adres|mieszkam|mailing|mail|ship\w*|send|deliver\w*|moved|farm)\b[^.!?\n]*$" +) +_COORD_CUE = re.compile( + r"(?i)\b(?:coordinates?|coords?|gps|lat(?:itude)?|lon(?:gitude)?|location|pin|coordenadas|coordonn[ée]es|" + r"wsp[óo][łl]rz[ęe]dne|maps?)\b" +) + +_COURT_BEFORE = re.compile( + r"(?i)\b(?:court|tribunal|juzgado|corte|cour|sheriff|jury|trial|docket|expediente|chancery|probate|v\.|petition|custody)\b[^.\n]{0,90}$" +) +# A county that names an agency or court ("Fulton County Family Services"), not a home. +_ORG_AFTER = ( + r"[ \t]+(?:[A-Z]\w+[ \t]+){0,2}(?:Family|Child|Social|Sheriff|Court|Department|Dept|Health|Schools?|District|Jail|Police|" + r"Services?|Government|Clerk|Board|Library|Hospital|Superior|Probate|Juvenile|DFCS|Public)\b" +) + + +# A county, reserve, colonia or base named as a public place or route, not a home: "Visit Cobb County office", +# "Take Mission Road Reserve exit", "Colonia Roma Norte clinic". A residence cue before it keeps it masked. +_INST_AFTER = re.compile( + r"(?i)[ \t]+(?:(?:[a-z]+[ \t]+){0,1}(?:offices?|exits?|clinics?|hospitals?|courts?|courthouse|librar(?:y|ies)|schools?|" + r"government|building|health[ \t]+(?:department|centre|center|unit|system)|(?:medical|health|regional|community)[ \t]+(?:centre|center)|" + r"medical|regional[ \t]+hospital|jail|sheriff|fair(?:grounds)?|airport|department|dept|oficina|hospital|cl[ií]nica|" + r"clinique|bureau|urz[aą]d|szpital)\b)" +) +_INST_BEFORE = re.compile(r"(?i)\b(?:visit|visiting|take|taking|exit)[ \t]+(?:the[ \t]+)?$") +_RESIDENCE_NEAR = re.compile( + r"(?i)\b(?:live|lives|living|lived|home|house|address|reside|resides|residing|resident|moved|moving|vivo|vive|" + r"domicile|habite|mieszkam|my[ \t]+place|apartment|apt)\b" +) + + +def _public_place(m: re.Match[str]) -> bool: + """True when the place is a public institution or route (not a residence).""" + s = m.string + if _RESIDENCE_NEAR.search(s[max(0, m.start() - 60) : m.start()]) or _RESIDENCE_NEAR.search(s[m.end() : m.end() + 30]): + return False + return bool(_INST_AFTER.match(s, m.end()) or _INST_BEFORE.search(s[max(0, m.start() - 20) : m.start()])) + + +def _not_public(inner=None): + def check(m: re.Match[str]) -> bool: + return (inner is None or inner(m)) and not _public_place(m) + + return check + + +def rules() -> list[Rule]: + R: list[Rule] = [] + + def add(t: EntityType, pat: str, flags: int = 0, group: "int | str" = 0, check=None) -> None: + R.append((t, pat, flags, group, check)) + + A = EntityType.ADDRESS + _CAPL = r"[A-ZÀ-ÝŁŚŻŹĆ][a-zà-ÿł'’]+(?:-[A-ZÀ-ÝŁŚŻŹĆ]?[a-zà-ÿł'’]+)*" + town_after = rf"(?:,[^\S\n]*(?P(?-i:{_CAPL}(?:[ \t]+{_CAPL})?)))?" + + # Rural routes: "RR 2, Site 4, Box 12, Shubenacadie", "Rural Route 3, Truro". + _rr_tail = r"(?:,?[^\S\n]*(?i:site|box|comp(?:artment)?|lot|concession)[^\S\n]*\d{1,4}\b){0,3}" + add( + A, + rf"\b(?:(?i:rural[^\S\n]+(?:route|rte\.?)|route[^\S\n]+rurale)[^\S\n]*#?\d{{1,3}}\b{_rr_tail}" + rf"|(?-i:RR|R\.R\.)[^\S\n]*#?\d{{1,3}}\b(?=,?[^\S\n]*(?i:site|box|comp)\b){_rr_tail}){town_after}", + 0, + 0, + lambda m: not m.group("city") or m.group("city").lower() not in NOT_PLACES, + ) + # Short rural routes with the town after them: "RR 2, Smithville", "R.R.#2 Smithville ON", "RR#2, Lacombe AB", + # "RR2 Smithville". Plain "RR" is also a medical ratio, so it needs a "#", a comma before the town or an address word. + _rr_town = rf"(?P(?-i:(?!(?:Patients?|Results?|Women|Men|Group|Groups|Trial|Study|Studies|CI|Cohort|Data|Table|Figure|Total|Overall)\b){_CAPL}(?:[ \t]+{_CAPL})?))" + add( + A, + rf"(?(?-i:{_CAPL}(?:[ \t]+{_CAPL})?)))", + I, + 0, + lambda m: m.group("city").split()[0].lower() not in NOT_PLACES, + ) + # A Canadian box at a station: "PO Box 12, Station A", "PO Box 12 Stn B, Toronto". + add( + A, + rf"\b(?:P\.?[^\S\n]?O\.?[^\S\n]*Box|Postal[^\S\n]+Box|C\.?P\.?)[^\S\n]*\d{{1,6}},?[^\S\n]*(?i:station|stn\.?|succ(?:ursale)?\.?|rpo)[^\S\n]+(?-i:[A-Z]\b(?:[^\S\n]+(?:Main|Centre|Center))?)" + rf"(?:,[^\S\n]*(?P(?-i:{_CAPL}(?:[ \t]+{_CAPL})?)))?", + I, + 0, + lambda m: m.group("city") is None or m.group("city").split()[0].lower() not in NOT_PLACES, + ) + + # A GPS pair: signed, or after a cue ("the drop location is at 34.0522, -84.2980"). + add( + A, + r"(?-?\d{1,2}\.\d{4,8})[^\S\n]*[,;][^\S\n]*(?P-|(?i:menos|minus|moins)[^\S\n]+)?(?P\d{1,3}\.\d{4,8})(?!\d|\.\d)", + 0, + 0, + _coords_ok, + ) + + # Rural lines after an address cue: "Route rurale no 2, Saint-Jean", "Rang 3", "Concession 5 Lot 12, Elgin", + # "Lot 12 Concession 4, Perth", "rr 1 site 5 comp 3". Each needs a cue that says someone lives or mails there. + _rural_el = r"(?i:(?:route[ \t]+rurale|rural[ \t]+route|rang|concession|lot|rr|r\.r\.|site|comp(?:artment)?|box)[ \t]*(?:no\.?|n\u00b0|#)?[ \t]*\d{1,4}[A-Z]?\b)" + add( + A, + rf"(?{_dms})[^\S\n]*(?-i:[NS])\b[^\S\n]*[,;]?[^\S\n]*(?P{_dms})[^\S\n]*(?-i:[EWO])\b", + 0, + 0, + _hemisphere_ok, + ) + # Degrees and decimal minutes with spaces, after a cue: "my GPS is 44 39.5 N 63 34.2 W". + add( + A, + r"(?\d{1,2}[^\S\n]+\d{1,2}(?:\.\d+)?)[^\S\n]*(?-i:[NS])\b[^\S\n]*[,;]?[^\S\n]*(?P\d{1,3}[^\S\n]+\d{1,2}(?:\.\d+)?)[^\S\n]*(?-i:[EWO])\b", + 0, + 0, + lambda m: _hemisphere_ok(m) and int(m.group("lat").split()[1].split(".")[0]) < 60 and int(m.group("lon").split()[1].split(".")[0]) < 60, + ) + # The hemisphere letter first, after a cue: "GPS: N 44.65 W 63.57". + add( + A, + r"(?\d{1,2}\.\d{2,8})[^\S\n]*[,;]?[^\S\n]*(?-i:[EWO])[^\S\n]*(?P\d{1,3}\.\d{2,8})(?![\d.])", + 0, + 0, + _hemisphere_ok, + ) + # Labelled latitude and longitude: "lat 44.6488 lon -63.5752", "latitude: 44.65, longitude: -63.57". + add( + A, + r"\b(?i:lat(?:itude)?)\b\.?[^\S\n]*[:=]?[^\S\n]*-?(?P\d{1,2}\.\d{2,8})[^\S\n]*[,;]?[^\S\n]*(?i:lon(?:g(?:itude)?)?|lng)\b\.?[^\S\n]*[:=]?[^\S\n]*-?(?P\d{1,3}\.\d{2,8})(?![\d.])", + 0, + 0, + lambda m: float(m.group("lat")) <= 90 and float(m.group("lon")) <= 180, + ) + add( + A, + r"(?i:\b(?:gps|coords?|coordinates?|coordenadas|coordonn[ée]es)\b)[^\S\n]*[:=\-]?[^\S\n]*(?:is|es|est|are|at)?[^\S\n]*(?P-?\d{1,2}\.\d{1,8}[^\S\n]*[,;][^\S\n]*-?\d{1,3}\.\d{1,8})(?![\d.])", + 0, + "c", + lambda m: abs(float(re.split(r"[,;]", m.group("c"))[0])) <= 90 and abs(float(re.split(r"[,;]", m.group("c"))[1])) <= 180, + ) + + # Directions to a home: "the blue house past the Circle K on Hwy 20, and then the second gravel drive on the left". + _home = r"(?:house|home|cabin|trailer|cottage|bungalow|farmhouse|farm|barn|chalet|mobile[ \t]+home)" + _rel = r"(?:just[ \t]+)?(?:past|after|before|behind|beyond|next[ \t]+to|across[ \t]+from|opposite|off|near|down[ \t]+from|up[ \t]+from|at[ \t]+the[ \t]+end[ \t]+of)" + _street_w = r"(?:street|st|road|rd|avenue|ave|lane|ln|drive|dr|court|ct|crescent|cres|way|boulevard|blvd|trail|line)" + _land_noun = r"(?:church|school|store|station|bridge|barn|silo|mailbox|gate|tower|sign|crossroads|intersection|hall|lake|creek|pond|farm|market|diner|pub|mill)" + _road_head = r"(?:Hwy|Highway|Route|Rte|Rd|Road|CR|County[ \t]+Road|Trunk|Exit)" + _land = ( + rf"(?:(?-i:{_CAP1}(?:(?![ \t]+{_road_head}\b)[ \t]+{_CAP1}){{0,3}})(?:[ \t]+{_land_noun}\b)?|(?:[a-z]+[ \t]+){{0,2}}{_land_noun})" + ) + _dir_end = r"(?-i:(?:[ \t]+(?:North|South|East|West|[NSEW])\b)?)" + _on_road = ( + rf"(?:[ \t]+(?:on|off|at)[ \t]+(?:the[ \t]+)?(?:(?-i:{_road_head}\.?[ \t]*\w{{1,4}}\b){_dir_end}" + rf"|(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}})[ \t]+(?i:{_street_w})\b)" + rf"|[ \t]+(?-i:(?:Hwy|Highway|Route|Rte|CR|County[ \t]+Road)\.?[ \t]*\d{{1,4}}\b){_dir_end})?" + ) + _tail = ( + r"(?:,?[ \t]*(?:and[ \t]+)?(?:then[ \t]+)?(?:take[ \t]+)?the[ \t]+(?:first|second|third|fourth|next|last)[ \t]+" + r"(?:[a-z]+[ \t]+){0,2}(?:drive|driveway|road|lane|turn|turnoff|left|right|gate|mailbox|house)(?:[ \t]+on[ \t]+the[ \t]+(?:left|right))?)?" + ) + add( + A, + rf"\b(?i:(?:the|our|my)[ \t]+(?:[a-z]+[ \t]+){{0,2}}{_home}[ \t]+{_rel}[ \t]+(?:the[ \t]+)?{_land}{_on_road}{_tail})", + 0, + 0, + lambda m: not m.group(0).lower().startswith("the ") + or not _CLINIC_SPEAKING.search(m.string[max(0, m.start() - 40) : m.start()]), + ) + # The same in French: "notre maison est après le Tim Hortons sur la route 7". + _fr_rel = r"(?:apr[èe]s|avant|derri[èe]re|pr[èe]s[ \t]+d(?:u|e|e[ \t]+la|['’])|en[ \t]+face[ \t]+d(?:u|e|e[ \t]+la|['’])|[àa][ \t]+c[ôo]t[ée][ \t]+d(?:u|e|e[ \t]+la|['’]))" + add( + A, + rf"\b(?i:(?:notre|ma)[ \t]+(?:[a-zé]+[ \t]+){{0,2}}(?:maison|chalet|ferme|roulotte)[ \t]+(?:est[ \t]+)?(?:juste[ \t]+)?{_fr_rel}[ \t]*(?:le|la|l['’]|les)?[ \t]*)" + rf"(?-i:{_CAP1}(?:[ \t]+{_CAP1}){{0,3}})(?:[ \t]+(?i:sur|dans)[ \t]+(?:la[ \t]+|le[ \t]+)?(?i:route|rue|chemin|rang|autoroute|boulevard|montée)[ \t]+(?:\w{{1,4}}\b|(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}})))?", + ) + # A bare reply on the line after an address question: "Where do you live?" / "Sudbury". + _ask_where = ( + r"(?i:(?:where|which[ \t]+(?:town|city|street|neighbou?rhood))[ \t]+(?:do|are|did)[ \t]+you[ \t]+(?:live|stay|from|in)\b[^\n?]{0,20}" + r"|what(?:['’]s|[ \t]+is)[ \t]+your[ \t]+(?:town|city|street|neighbou?rhood)[^\n?]{0,10}" + r"|[¿]?(?:en[ \t]+)?(?:qu[ée]|cu[áa]l)[ \t]+(?:calle|ciudad|colonia|pueblo|barrio)[^\n?]{0,25}" + r"|[¿]?d[óo]nde[ \t]+vive[ns]?[^\n?]{0,20}" + r"|o[ùu][ \t]+habitez-vous[^\n?]{0,15}|dans[ \t]+quelle[ \t]+(?:ville|rue)[^\n?]{0,25}" + r"|gdzie[ \t]+mieszkasz[^\n?]{0,15}|w[ \t]+jakim[ \t]+mie[śs]cie[^\n?]{0,25}|na[ \t]+jakiej[ \t]+ulicy[^\n?]{0,25})" + ) + _capw = r"[A-ZÀ-ÝŁŚŻŹĆŃ][^\W\d_]*(?:['’\-][^\W\d_]+)?" + add( + A, + rf"{_ask_where}\?[ \t]*\n(?:[ \t]*\n)?[ \t]*(?:[A-Za-z][\w ]{{0,20}}:[ \t]*)?(?P(?-i:{_capw}(?:[ \t]+(?:(?i:de|del|la|las|los|du|of|le|y)[ \t]+)?{_capw}){{0,3}}))[ \t]*[.!]?[ \t]*(?:\n|$)", + 0, + "r", + lambda m: all(w.lower().strip(".,!") not in NOT_PLACES for w in m.group("r").split()), + ) + + # Counties and parishes. + add( + A, + rf"\b(?P{_SAINT}(?-i:(?:Lac|Lake|Fort|Port|Mount|Cape|Rio|San|Santa|Los|Las|El)[ \t]{_CAP}[ \t]{_CAP}|{_CAP}(?:[ \t\-]{_CAP})?))[ \t]+(?:County|Parish|(?-i:county))\b(?!{_ORG_AFTER})", + 0, + 0, + _not_public(lambda m: place_ok_first(m) and not _COURT_BEFORE.search(m.string[max(0, m.start() - 110) : m.start()])), + ) + add( + A, + rf"\b(?i:condado|parroquia|hrabstwo|hrabstwa|hrabstwie)[ \t]+(?i:de[ \t]+|del[ \t]+)?(?P(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}}))", + 0, + 0, + lambda m: place_ok(m) and not _COURT_BEFORE.search(m.string[max(0, m.start() - 110) : m.start()]), + ) + add( + A, + rf"\b(?i:comt[ée])[ \t]+(?i:de|du|d['’])[ \t]*(?P(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}}))", + 0, + 0, + lambda m: place_ok(m) and not _COURT_BEFORE.search(m.string[max(0, m.start() - 110) : m.start()]), + ) + # Polish districts: "powiat wielicki", "w powiecie krakowskim" (the adjective names the district). + add( + A, + r"\b(?i:powiat(?:u|em|owi)?|powiecie)[ \t]+(?P(?i:[a-ząćęłńóśźż]{3,}(?:sk|ck|dzk|[sc]z)(?:i|ie|iego|im|iemu|a|iej|ą|ich|imi))\b)", + 0, + 0, + lambda m: not _COURT_BEFORE.search(m.string[max(0, m.start() - 110) : m.start()]), + ) + add(A, r"(?קאונטי[^\S\n]+[א-ת][א-ת'׳\-]{2,}|[א-ת][א-ת'׳\-]{2,}[^\S\n]+קאונטי)(?![א-ת])", 0, "a") + + # Residence cue required for these variants: "I live in the county of Simcoe", "vivo en el municipio de Zapopan", + # "mieszkam w gminie Lesznowola", "I live on Tyendinaga Mohawk Territory". + def _lives_before(m: re.Match[str]) -> bool: + return bool(_LIVES.search(m.string[max(0, m.start() - 80) : m.start()])) + + add( + A, + rf"\b(?i:(?:county|parish)[ \t]+of)[ \t]+(?P(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}}))", + 0, + 0, + lambda m: place_ok(m) and _lives_before(m) and not _COURT_BEFORE.search(m.string[max(0, m.start() - 110) : m.start()]), + ) + add( + A, + rf"\b(?i:municipio|ayuntamiento|alcald[íi]a)[ \t]+(?i:de|del)[ \t]+(?P(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}}))", + 0, + 0, + lambda m: place_ok(m) and _lives_before(m), + ) + add( + A, + rf"\b(?i:gmin(?:a|ie|y))[ \t]+(?P(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,1}}))", + 0, + 0, + lambda m: place_ok(m) and _lives_before(m), + ) + add( + A, + rf"\b(?P{_SAINT}(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}}[ \t]+(?:Mohawk|Unceded|Indian)[ \t]+Territory))\b", + 0, + 0, + lambda m: place_ok_first(m) and _lives_before(m), + ) + + # First Nations and reserves: "Millbrook First Nation", "Première Nation de Kahnawake". + add( + A, + rf"\b(?P{_SAINT}(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}}))[ \t]+(?:First[ \t]+Nation|Indian[ \t]+(?:Reserve|Band)|Band[ \t]+Council)\b", + 0, + 0, + _not_public(place_ok_first), + ) + # "Six Nations Reserve", "Wikwemikong Unceded Reserve", "Reserve No. 40", "Curve Lake IR 35", "réserve de Kahnawake". + # Not a nature, bank or military reserve. + _res_stop = frozenset( + "federal nature marine wildlife game forest biosphere army air naval navy national military bird conservation " + "ecological wilderness animal tiger strategic gold central the bank".split() + ) + add( + A, + rf"\b(?P{_SAINT}(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}}))[ \t]+(?:Unceded[ \t]+|Indian[ \t]+)?(?-i:Reserve)\b(?:[ \t]+(?:No\.?|Number|#)[ \t]*\d{{1,3}}[A-Z]?\b)?", + 0, + 0, + _not_public(lambda m: place_ok_first(m) and not (set(m.group("pl").lower().replace("-", " ").split()) & _res_stop)), + ) + add(A, r"\b(?-i:Reserve)[ \t]+(?:No\.?|Number|#)[ \t]*\d{1,3}[A-Z]?\b") + add( + A, + rf"\b(?P(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}}))[ \t]+(?-i:IR)[ \t]*#?[ \t]*\d{{1,3}}[A-Z]?\b", + 0, + 0, + place_ok_first, + ) + add( + A, + rf"\b(?i:r[ée]serve)[ \t]+(?i:de|du|d['’])[ \t]*(?P(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}}))", + 0, + 0, + place_ok, + ) + add(A, rf"\b(?i:premi[èe]res?[ \t]+nations?)[ \t]+(?i:de|du|d['’]|des)[ \t]*(?P(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}}))", 0, 0, place_ok) + + # Small towns behind a cue that says a person lives, moved or comes from there. Only true residence or origin + # cues with a person subject: "come to Reception", "reach out to Billing", "stay in Fasting mode" are not. + _subj = ( + r"(?:i|we|they|she|he|(?:i|we|they)['’](?:ve|d)|(?:my|our)[ \t]+[a-z]+(?:[ \t]+and[ \t]+[a-z]+)?|[a-z]+[ \t]+and[ \t]+i)" + ) + _adv = r"(?:(?:out|up|down|over|back|just|now|right|currently|originally|still|also|all)[ \t]+)*" + _live_verb = r"(?:live|lives|living|lived|reside|resides|resided|residing|grew[ \t]+up|grow[ \t]+up)" + _move_verb = r"(?:moved|moving|relocated|relocating|immigrated|migrated|(?:have|had)[ \t]+moved)" + _the = r"(?:the[ \t]+)?" + # a place of up to four words that stops before a state or province written right after "County" + _CAP3S = ( + rf"{_CAP}(?:(?!(?<=County)[ \t]+(?-i:{_STATE_NAMES})\b)[ \t]+(?:(?i:de|du|des|del|de\s+la|la|le|of|the|d['’]|l['’])[ \t]*)?{_CAP}){{0,3}}" + ) + add( + A, + rf"\b(?i:(?:{_live_verb}[ \t]+{_adv}(?:in|at|to|from|near|outside(?:[ \t]+of)?|out[ \t]+of)" + rf"|{_subj}[ \t]+{_adv}{_move_verb}[ \t]+{_adv}(?:to|from|in)" + rf"|(?:{_subj}|(?:i|we|she|he|they)['’](?:m|re|s))[ \t]+{_adv}(?:(?:am|are|is|was|were)[ \t]+)?(?:(?:come|comes|came|arrived|immigrated|migrated)[ \t]+)?from" + rf"|(?:i|we|she|he|they)['’](?:m|re|s)[ \t]+{_adv}(?:past|outside(?:[ \t]+of)?)" + rf"|originally[ \t]+from)[ \t]+{_the})(?P(?-i:{_CAP3S}))", + 0, + 0, + lambda m: place_ok(m) and _residence_ok(m), + ) + # "we are now in the Harbourview area": a person and the name of a neighbourhood right before "area". + add( + A, + rf"\b(?i:(?:i|we)(?:['’]m|['’]re|[ \t]+am|[ \t]+are)[ \t]+{_adv}in[ \t]+the[ \t]+)(?P(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}}))(?=[ \t]+(?i:area|neighbou?rhood)\b)", + 0, + 0, + lambda m: place_ok(m) and _residence_ok(m), + ) + # A landmark whose name ends in a single capital letter, with the road after it: "We live past the Circle K on Hwy 20". + add( + A, + rf"\b(?i:(?:{_live_verb}|{_move_verb}|(?:i['’]m|i[ \t]+am|we['’]re|we[ \t]+are)[ \t]+{_adv}(?:just[ \t]+)?)[ \t]+{_adv}" + rf"(?:past|near|beyond|behind|after|next[ \t]+to|across[ \t]+from)[ \t]+{_the})" + rf"(?P(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}}[ \t]+[A-Z]\b){_on_road})", + 0, + 0, + place_ok, + ) + # "c'est Stéphanie d'Entremont de Pubnico" (not English "this is Dana from Acme": that is a caller's employer). + add( + A, + rf"\b(?i:c['’]est|je[ \t]+m['’]appelle|me[ \t]+llamo|soy)[ \t]+(?-i:{_CAP}(?:[ \t]+(?:(?i:de|d['’])[ \t]*)?{_CAP}){{0,2}})" + rf"[ \t]+(?i:de|d['’]|desde)[ \t]*(?P(?-i:{_CAP3}))", + 0, + 0, + place_ok, + ) + # French, Spanish and Polish residence cues. + add( + A, + rf"\b(?i:(?:j['’]habite|nous[ \t]+habitons|on[ \t]+habite|j['’]ai[ \t]+d[ée]m[ée]nag[ée]|on[ \t]+a[ \t]+d[ée]m[ée]nag[ée]|" + rf"nous[ \t]+vivons|on[ \t]+vit|je[ \t]+vis|je[ \t]+viens|nous[ \t]+venons|on[ \t]+vient|originaires?|" + rf"patiente?|famille|habitons|r[ée]sidons|r[ée]sidente?|demeure|demeurons)[ \t]+(?:(?:maintenant|actuellement|encore|toujours)[ \t]+)?" + rf"(?:(?-i:[àa])[ \t]+|(?:au|aux|en|dans|de|du|des|sur|pr[èe]s[ \t]+de)[ \t]+|d['’][ \t]*)(?:(?:la|le)[ \t]+|l['’][ \t]*)?)(?P(?-i:{_CAP3}))", + 0, + 0, + lambda m: place_ok(m) and _residence_ok(m), + ) + add( + A, + rf"\b(?i:(?:vivo|vivimos|vive|viven|resido|residimos|soy|somos|vengo|venimos|mud[ée]|mudamos|nac[ií]|nacimos|" + rf"estoy|estamos|paciente)[ \t]+(?:(?:ahora|actualmente|todav[ií]a)[ \t]+)?(?:en|de|desde|por|cerca[ \t]+de)[ \t]+(?:(?:la|el)[ \t]+)?)(?P(?-i:{_CAP3}))", + 0, + 0, + lambda m: place_ok(m) and _residence_ok(m), + ) + add( + A, + rf"\b(?i:(?:mieszkam|mieszkamy|mieszka|mieszkaj[ąa]|mieszka[łl]am|mieszka[łl]em|pochodz[ęe]|pochodzimy)[ \t]+(?:(?:teraz|obecnie)[ \t]+)?" + rf"(?:w|we|z|ze|do|pod|ko[łl]o|niedaleko|blisko)[ \t]+|(?:jestem|jeste[śs]my|pacjentka|pacjent)[ \t]+(?:z|ze)[ \t]+)(?P(?-i:{_CAP3}))", + 0, + 0, + lambda m: place_ok(m) and _residence_ok(m), + ) + # A town and its province: "de Wolfville, N.-É.", "Chéticamp, Nova Scotia". + add( + A, + rf"(?(?-i:{_CAPL}(?:[ \t]+{_CAPL}){{0,2}})),[ \t]*(?-i:N\.-[ÉB]\.|Î\.-P\.-É\.|T\.-N\.-L\.|(?:NS|NB|NL|PE|PEI|QC|MB|SK|AB|BC)(?=[ \t]+[A-Z]\d[A-Z]|[ \t]*(?:[.;,)\n]|$))|" + r"Nova[ \t]+Scotia|New[ \t]+Brunswick|Newfoundland|Prince[ \t]+Edward[ \t]+Island|Nouvelle-[ÉE]cosse|Nouveau-Brunswick|Québec|Quebec|Manitoba|Saskatchewan|" + r"Alberta|British[ \t]+Columbia|Colombie-Britannique)(?![\w])", + 0, + 0, + place_ok, + ) + # A town before a Korean "lives in" or "moved to": "저희 Suwanee로 이사했어요", "저희는 Duluth 살아요". + add( + A, + r"(?[A-Z][A-Za-z'’\-]{2,}(?:[ \t][A-Z][a-z]+)?)(?=(?:은|는|이|가|으로|로|에서|에)?[^\S\n]*(?:이사|살|거주|삽니다))", + 0, + 0, + place_ok, + ) + # Haitian Creole and Arabic residence cues: "Nou rete nan Clarkston", "Nou nan Stone Mountain", "أنا أسكن في Bedford". + add( + A, + rf"\b(?i:(?:nou|mwen)[ \t]+(?:rete|abite|ap[ \t]+viv|viv)?[ \t]*nan|(?:rete|abite|viv)[ \t]+nan|ap[ \t]+viv)[ \t]+(?P(?-i:{_CAP3}))", + 0, + 0, + place_ok, + ) + add( + A, + rf"(?(?-i:{_CAP3}))", + 0, + 0, + place_ok, + ) + # A relative or patient introduced with a name and a town: "my niece Tiffany Marshall from Membertou". + add( + A, + rf"\b(?i:niece|nephew|sister|brother|daughter|son|wife|husband|mother|father|friend|cousin|patient|aunt|uncle|grandmother|grandfather)[ \t]+" + rf"(?-i:{_CAP}(?:[ \t]+{_CAP}){{1,2}})[ \t]+(?i:from)[ \t]+(?P(?-i:{_CAP3}))", + 0, + 0, + place_ok, + ) + # A town after a reserve or county that was just named: "Millbrook First Nation near Truro". + add( + A, + rf"\b(?:First[ \t]+Nation|Reserve|County|Parish)[ \t]+(?i:near|outside(?:[ \t]+of)?|by|close[ \t]+to)[ \t]+(?P(?-i:{_CAP3}))", + 0, + 0, + place_ok, + ) + # A town on a signature or address line before a state code: "Roswell, GA", "רוזוול, GA". + # without the codes that are also credentials or words (MD, PA, MA, MS, ID, IN, OR, OK, ME, HI, AL, LA, DE, CO, NE) + _states = "AK|AZ|AR|CA|CT|FL|GA|IL|IA|KS|KY|MI|MN|MO|MT|NV|NH|NJ|NM|NY|NC|ND|OH|RI|SC|SD|TN|TX|UT|VT|VA|WA|WV|WI|WY|DC" + add( + A, + rf"(?m:^[^\S\n]*)(?P(?-i:{_CAPL}(?:[ \t]+{_CAPL}){{0,2}})),[ \t]*(?-i:{_states})[ \t]*$", + re.M, + 0, + place_ok, + ) + # (a residence verb first on the line is not part of the town: "גרה באלפרטה, GA" is caught by the verb rule) + add( + A, + rf"(?m:^[^\S\n]*)(?P[א-ת]{{3,}}(?:[^\S\n][א-ת]{{3,}})?),[ \t]*(?-i:{_states})[ \t]*$", + re.M, + 0, + lambda m: place_ok(m) and m.group("place").split()[0] not in _HE_RESIDENCE_VERBS, + ) + # The town after a Polish or French postal code: "31-120 Kraków", ", 46004 Valencia". + add(A, r"(?:,|^|\n)[^\S\n]*\d{2}-\d{3}[ \t]+(?P[A-ZŁŚŻŹĆ][\wąćęłńóśźż\-]+)", 0, 0, place_ok) + add( + A, + r"(?:,|^|\n)[^\S\n]*\d{5}[^\S\n]+(?P[A-ZÀ-Ý][\wà-ÿ'\-]+(?:[ \t]+(?!(?i:please|thanks?|thank|and|call|my|is|the|i|we|our|can|it|if|so|or|but|then|also|hi|dr|mr|mrs|ms|on|in|at)\b)[A-ZÀ-Ý][a-zà-ÿ'\-]+){0,2})(?!\s+(?i:st|street|ave|road|rd|dr|units?|mg|iu|ml)\b)", + 0, + 0, + lambda m: place_ok(m) and not (set(m.group("place").lower().split()[1:]) & _STREET_WORDS), + ) + # A Canadian postal code and then the town, which may be two or three words: "M5V 2T6 Niagara Falls ON". + add( + A, + r"(?:,|^|\n)[^\S\n]*[ABCEGHJ-NPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][ \-]?\d[ABCEGHJ-NPRSTV-Z]\d[^\S\n]+(?P[A-ZÀ-Ý][a-zà-ÿ'\-]+(?:[ \t]+(?!(?i:please|thanks?|thank|and|call|my|is|the|i|we|our|can|it|if|so|or|but|then|also|hi|dr|mr|mrs|ms|on|in|at)\b)[A-ZÀ-Ý][a-zà-ÿ'\-]+){0,2})", + 0, + 0, + lambda m: place_ok(m) and not (set(m.group("place").lower().split()) & _STREET_WORDS), + ) + # Hebrew: "גרה באלפרטה", "גרים בסנדי ספרינגס", "גרה בAlpharetta" (a transliterated town is not in the city list). + add( + A, + r"(?[א-ת][א-ת'׳\-]{2,}(?:[^\S\n]+[א-ת][א-ת'׳\-]{2,})?|[A-Z][A-Za-z'’\-]{2,}(?:[ \t][A-Z][a-z]+)?)(?![א-ת\w])", + 0, + "place", + he_place_ok, + ) + + # Military and campus addresses. + _elem = ( + r"(?:(?i:unit|bldg\.?|building|barracks|rm|room|apt|box)[ \t]+[A-Z]?\d{1,5}[A-Z]?" + r"|(?-i:[A-Z][\w'’]*[ \t]+){1,2}(?i:row|hall|barracks|loop)[ \t]+\d{1,4}[A-Z]?)" + ) + _base = r"(?:(?i:fort|ft\.?|camp|cfb|base|nas|naval|mcas|mcb|afb)[ \t]+(?-i:[A-Z][\w'’\-]+(?:[ \t]+[A-Z][\w'’\-]+)?))" + add(A, rf"\b{_elem}(?:,[ \t]*{_elem}){{0,3}},[ \t]*{_base}", 0, 0, _not_public()) + add(EntityType.ZIP, rf"\b{_base},[ \t]*(?:[A-Z]{{2}}[ \t]+)?(\d{{5}}(?:-\d{{4}})?)\b", 0, 1) + add(A, r"(?-i:\b(?:PSC|CMR|UNIT)[ \t]+\d{3,5}(?:,?[ \t]*(?:Box|BOX)[ \t]+\d{1,5})?)(?=,?[ \t]*(?:APO|FPO|DPO)\b)", 0) + add(EntityType.ZIP, r"\b(?:APO|FPO|DPO),?[ \t]+(?:AE|AP|AA)[ \t]+(\d{5}(?:-\d{4})?)\b", 0, 1) + # The whole military mailing line, on one line or two: "Unit 2050 Box 4190, APO AP", "PSC 802 Box 74\nFPO AE". + add( + A, + r"(?-i:\b(?:PSC|CMR|[Uu]nit|UNIT)[ \t]+\d{1,5}(?:,?[ \t]*(?:Box|BOX)[ \t]+\d{1,5})?(?:,[ \t]*|[ \t]*\n[ \t]*|[ \t]+)(?:APO|FPO|DPO),?[ \t]+(?:AE|AP|AA)\b)", + 0, + ) + add( + A, + r"(?-i:\b[A-Z][\w'’\-]*(?:[ \t]+[A-Z][\w'’\-]*){0,2})[ \t]+(?i:residence(?:[ \t]+hall)?|hall|dorm(?:itory)?)\b,?[ \t]*(?i:room|rm|apt|suite)\.?[ \t]*#?\w{1,5}\b", + 0, + ) + + # A colonia: "Colonia del Valle, San Pedro Garza García", "colonia Santa María la Ribera", ", Col. Arcos Vallarta". + _colname = rf"(?-i:{_CAP})(?:[ \t]+(?:(?i:de|del|la|las|los|y)[ \t]+)*(?-i:{_CAP})){{0,4}}" + add( + A, + rf"(?:\b(?i:colonia)|(?<=,[ \t])Col\.)[ \t]+(?:(?i:del|de[ \t]+la|de[ \t]+los|de)[ \t]+)?{_colname}" + rf"(?:,[ \t]*(?-i:{_CAP})(?:[ \t]+(?:(?i:de|del|la|los|las)[ \t]+)?(?-i:{_CAP})){{0,3}})?", + 0, + 0, + _not_public(), + ) + + # Post boxes and neighbourhoods after an address cue: "mailing address is mailbox 123, Sudbury", + # "mi dirección es casilla 123", "I live at skrytka pocztowa 123", "col. Del Valle", "fraccionamiento Las Palmas", + # "osiedle Słoneczne 12", "kibbutz Ein Gedi". + def _cued(m: re.Match[str]) -> bool: + return _RURAL_CUE.search(m.string[max(m.string.rfind("\n", max(0, m.start() - 80), m.start()) + 1, m.start() - 80) : m.start()]) is not None + + add( + A, + rf"(?\d{2,5}[A-Za-z]?)\b", + 0, + "n", + ) + + # A house number said on its own after an address question; the street comes next. + _spoken_n = ( + r"(?:(?:twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety)(?:[ \t\-](?:one|two|three|four|five|six|seven|eight|nine))?" + r"|(?:one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen)" + r"(?:[ \t\-]hundred(?:[ \t]+(?:and[ \t]+)?(?:(?:twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety)(?:[ \t\-](?:one|two|three|four|five|six|seven|eight|nine))?|" + r"(?:one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen)))?)?)" + ) + add( + A, + rf"\b(?i:(?:the|house|street|building)[ \t]+number[ \t]+is[ \t]+)(?P(?i:{_spoken_n}))(?![\w\-])", + 0, + "n", + lambda m: _address_asked(m.string, m.start()), + ) + # The street itself, alone, in an answer after an address question: "Oak Hollow Lane." + add( + A, + rf"(?m:^[^\S\n]*(?:[A-Za-z][\w ]{{0,20}}:[^\S\n]*)?)(?P(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}})[ \t]+(?i:street|road|avenue|lane|drive|court|crescent|way|boulevard|trail|cove|place|loop|row|terrace|circle|ave|rd|blvd)\b(?-i:(?:[ \t]+(?:North|South|East|West|[NSEW]|NE|NW|SE|SW)\b\.?)?))(?=\.?[^\S\n]*(?:$|[A-Z]))", + re.M, + "s", + lambda m: _address_asked(m.string, m.start("s")) and not _asks_about_clinic(m.string, m.start("s")), + ) + # A street named after "on", "off", "sur" in a sentence about where someone lives: "We live in Duluth, off Pleasant + # Hill Road", "J'habite sur Quinpool Road". A lot, a lab or a pharmacy "on Main Street" is not a home. + add( + A, + rf"\b(?i:on|off|sur|sobre|przy)[ \t]+(?P(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,2}})[ \t]+(?i:{_street_w}|cove|loop|row|terrace)\b" + rf"(?:(?<=oad)[ \t]+\d{{1,3}}\b(?![ \t]*(?i:min|hr|hour|km|mile|mg|ml|day|week|month|year|time|%|am|pm)))?)", + 0, + "s", + lambda m: m.group("s").split()[0].lower() not in NOT_PLACES and bool(_LIVES.search(m.string[max(0, m.start() - 80) : m.start()])), + ) + + # A postal code read out with letter names: "bee three ell, two cee four". + add( + EntityType.POSTAL_CODE, + rf"(?(?-i:{_CAP}(?:[ \t]+{_CAP}){{0,3}})[ \t]+{_school_w})\b", + 0, + "org", + lambda m: m.group("org").split()[0].lower() not in NOT_PLACES and m.group("org").split()[0].lower() not in _SCHOOL_STOP, + ) + # A Hebrew workplace with no designator word: two words after "עובד ב". + add( + EntityType.EMPLOYER, + r"(?[א-ת][א-ת'׳\"״\-]{2,}[^\S\n]+[א-ת][א-ת'׳\-]{2,})(?![א-ת])", + 0, + "place", + lambda m: he_org_ok(m), + ) + return R + + +_SCHOOL_STOP = frozenset( + "her his their our my your elementary middle high junior secondary primary senior grade the in at to from for with of".split() +) + +_HE_ORG_STOP = frozenset( + """ + בית משרד בנק חברה מפעל בניין מקום עבודה תחום משמרות משמרת שעות משרה יום ימים לילה לילות בוקר ערב + ראשון שני שלישי רביעי חמישי שישי שבת ימי ימים ערבי סופי עיר אחרת אחר חצי מלאה מלא חלקית עם של כי לא גם אבל כבר עכשיו מאז כל כמעט בערך כרגע ליד קרוב רחוק מאוד קשה הרבה + """.split() +) + + +def he_org_ok(m: re.Match[str]) -> bool: + words = m.group("place").split() + if any(w in _HE_ORG_STOP or w in _HE_FUNCTION for w in words): + return False + return words[1][0] not in "ובלמהש" and not words[0].startswith("ה") + + +def place_ok_first(m: re.Match[str]) -> bool: + return _grp(m).split()[0].lower() not in NOT_PLACES + + +_LIVES = re.compile( + r"(?i)\b(?:live|lives|living|lived|reside|resides|residing|home|habite|habitons|habitait|vivo|vivimos|vive|mieszkam|mieszkamy)\b[^.!?\n]*$" +) + +_ADDRESS_ASK = re.compile( + r"(?i)\b(?:address|street|mailing|deliver\w*|ship\w*|courier|direcci[óo]n|domicilio|adresse|livraison|adres|dostaw\w*|rue|calle)\b" +) + + +_CLINIC_WORD = re.compile( + r"(?i)\b(?:clinic|clinique|cl[íi]nica|klinik\w*|office|cabinet|consultorio|gabinet\w*|pharmacy|pharmacie|farmacia|apteka|apteki|" + r"hospital|h[ôo]pital|szpital\w*|labs?|laborator\w+|centre|center|centro|dentist|dentiste|" + r"which[ \t]+(?:address|location|site|branch)|closest|nearest|pick[ \t\-]?up|drop[ \t\-]?off|works[ \t]+(?:best|for))\b" +) +_HOME_ASK = re.compile( + r"(?i)\byou[ \t]+(?:live|stay|reside)|\byour[ \t]+(?:home|mailing|billing|street|address|residence|house)\b|" + r"\b(?:vive|vives|viven|vivez|habitez|mieszkasz|tu[ \t]+casa|su[ \t]+casa|votre[ \t]+domicile)\b" +) + + +def _asks_about_clinic(text: str, pos: int) -> bool: + """The street question is about the clinic, a pharmacy or a lab, not where the patient lives.""" + window = text[max(0, pos - 240) : pos] + hits = list(_ADDRESS_ASK.finditer(window)) + if not hits: + return False + a = hits[-1].start() + # the whole line (every sentence of the question), not only the sentence that holds the address word + start = window.rfind("\n", 0, a) + 1 + end = window.find("\n", a) + sentence = window[start : end if end >= 0 else len(window)] + return bool(_CLINIC_WORD.search(sentence)) and not _HOME_ASK.search(sentence) + + +def _address_asked(text: str, pos: int) -> bool: + return bool(_ADDRESS_ASK.search(text[max(0, pos - 240) : pos])) diff --git a/src/phiproxy/detectors/_names.py b/src/phiproxy/detectors/_names.py index 6fa4051..ea12f45 100644 --- a/src/phiproxy/detectors/_names.py +++ b/src/phiproxy/detectors/_names.py @@ -75,25 +75,48 @@ passed died dead away deceased lives lived works worked moved left stays stayed siempre nunca también se médica médico medica enfermera enfermero asistente paciente zawsze nigdy też już + hard easy difficult impossible ready busy correct important possible + fait hecho oraz lub albo czyli """.split() ) +# Words added to STOP_WORDS late: ordinary words that are also rare surnames. A courtesy title or an +# explicit name cue right before a capitalized one ("Mrs. Hard", "My last name is Hard") is stronger evidence. +_LATE_STOP = frozenset("hard easy difficult impossible ready busy correct important possible fait hecho oraz lub albo czyli".split()) +_TITLE_CUE_BEFORE = re.compile( + r"(?i:\b(?:mr|mrs|ms|miss|mx|mme|mlle|sr|sra|srta|pan|pani|pana|panu|panie|se[ñn]or(?:a|ita)?|do[ñn]a|madame|monsieur)\b)\.?[ \t]*$" +) +_NAME_CUE_BEFORE = re.compile( + r"(?i:\b(?:mr|mrs|ms|miss|mx|mme|mlle|sr|sra|srta|pan|pani|pana|panu|panie|se[ñn]or(?:a|ita)?|do[ñn]a|madame|monsieur|" + r"(?:(?:last|first|full|sur|family)[ \t]+)?name(?:[ \t]+(?:is|was))?|surname(?:[ \t]+(?:is|was))?|patient|pt|apellido(?:[ \t]+es)?|nombre(?:[ \t]+es)?|nazwisko(?:[ \t]+to)?|" + r"imi[eę]|nom(?:[ \t]+de[ \t]+famille)?|je[ \t]+m['’]appelle|me[ \t]+llamo|this[ \t]+is|it['’]?s|i[ \t]+am|i['’]m|soy|nazywam[ \t]+si[eę]|mon[ \t]+nom[ \t]+est)\b)" + r"\.?[ \t]*[:,\-]?[ \t]*$" +) _HE_STOP = frozenset( """ אני אתה את הוא היא אנחנו הם הן זה זאת זו של עם על אל לא כן שלום היי תודה בעלה אשתו בעלי אשתי מתקשר מתקשרת רוצה רציתי יש אין גם רק מה מי איך למה כי אבל או אם עוד כבר היום מחר אתמול בבקשה ילידת יליד תאריך לידה טלפון מספר מבקשת מבקש מדבר מדברת רבה - בוקר טוב ערב מהמרפאה מטופלת מטופל שם משפחה פרטי ד״ר ד"ר לד״ר לד"ר דר גב׳ גב' לך לכם + קידומת אחר כך ואז אז שוב בוקר טוב ערב מהמרפאה מטופלת מטופל שם משפחה פרטי ד״ר ד"ר לד״ר לד"ר דר גב׳ גב' לך לכם שלי שלה שלו שלנו שלכם שלהם קיבלתי קיבלנו מראש ביי להתראות בסדר סבבה אוקיי אוקי סליחה """.split() ) +def _late_stop_cued(m: re.Match[str]) -> bool: + before = m.string[max(0, m.start("name") - 30) : m.start("name")] + if _TITLE_CUE_BEFORE.search(before): + return True + return m.group("name")[:1].isupper() and bool(_NAME_CUE_BEFORE.search(before)) + + def _alt(words) -> str: return "|".join(re.escape(w) for w in sorted(words, key=len, reverse=True)) _NOT_STOP = rf"(?!(?:{_alt(STOP_WORDS)}){_END})" _LWORD = rf"{_NOT_STOP}[{_LO}][{_LO}'’]*(?:-[{_LO}]+)*{_END}" +# After a courtesy title the late stop words still name a person: "mrs hard called". +_LWORD_TITLED = rf"(?!(?:{_alt(STOP_WORDS - _LATE_STOP)}){_END})[{_LO}][{_LO}'’]*(?:-[{_LO}]+)*{_END}" # Lowercase name, up to three words: "jess", "chen wei", "leah cohen katz". LOWER_NAME = rf"{_LWORD}(?:{_SP}{_LWORD}){{0,2}}" _HWORD = rf"(?!(?:{_alt(_HE_STOP)})(?![{_HE}]))[{_HE}][{_HE}'׳״\"]*" @@ -403,7 +426,9 @@ def _ok(m: re.Match[str], caps: bool, intro: bool = False) -> bool: first = _first(m) if not first: return False - if first in blocked: + if first in _LATE_STOP and _late_stop_cued(m): + pass # "Mrs. Hard", "My last name is Hard": the cue outweighs the ordinary word + elif first in blocked: # A newly blocked first word ("Se Park", "Hindi Patel") after a strong cue: drop only that word's # veto when a capitalized, unblocked surname follows, and mask the whole name. rest = [w for w in re.findall(r"[^\W\d_]+(?:['’][^\W\d_]+)?", m.group("name"))] @@ -657,22 +682,52 @@ def check_contact(m: re.Match[str]) -> bool: ] +_MISS_VERB_BEFORE = re.compile( + r"(?i:\b(?:i|we|you|they|to|will|would|can|can['’]?t|don['’]?t|didn['’]?t|did|do|might|not|always|really|still|also|just|never|" + r"so|much|please|and|ll|'ll|’ll|'d|’d|may|could|should|shall|must|he|she)[ \t]+)$" +) + + +# After "to/and/so much/please" the word "miss" is a title when a surname-like word follows; the verb +# reading wins only when what follows is clearly not a name. +_MISS_AMBIG_BEFORE = re.compile(r"(?i:\b(?:to|and|so|much|please)[ \t]+)$") +_MISS_NOT_NAME_AFTER = frozenset( + """the my your his her our their its a an it you him them us me this that these those out on in at for with from + work school class classes appointment appointments period periods dose doses shot shots call calls any some more + all one another each every home flight bus train meeting meetings visit visits deadline days time + text texts message messages email it's no not too so very much many anything something everything someone + again about because but if when while as of off up""".split() +) + + def courtesy_rules( not_names: frozenset[str] | set[str], ) -> list[tuple[str, int, Optional[Callable[[re.Match[str]], bool]]]]: """Courtesy titles name patients and relatives, not clinicians.""" check, *_ = make_checks(not_names) + + def check_miss(m: re.Match[str]) -> bool: + # "I miss texts", "we'll miss you": the verb, not the title. + if m.group(0).lower().startswith("miss"): + before = m.string[max(0, m.start() - 14) : m.start()] + # Even after a verb cue ("did not miss garcia") a surname-like word is kept masked; the + # verb reading wins only when what follows is clearly not a name. + if _MISS_VERB_BEFORE.search(before) and m.group("name").lower() in _MISS_NOT_NAME_AFTER: + return False + return check(m) + # Courtesy titles and military ranks (a service member is a private person). titles = ( - r"Mr|Mrs|Ms|Miss|Mx|Mme|Mlle|Me|Sr|Sra|Srta|Pan|Pani|Panią|Panu|" + r"Mr|Mrs|Ms|Miss|Mx|Mme|Mlle|Me|Sr|Sra|Srta|Pan|Pani|Panią|Panu|[Ss]e[ñn]or(?:a|ita)?|[Dd]o[ñn]a|Madame|Monsieur|" # "Col." is a Mexican neighbourhood (colonia) and "Cabo" a place, so they are left out; # "Cap." and "Maj." need their dot. r"Capt|Cap(?=\.)|Sgt|SSgt|SFC|Lt|LTC|Cpl|CPL|Maj(?=\.)|Pvt|PFC|Spc|SPC|Sgto|Teniente|Sargento|Capit[aá]n" ) return [ - (rf"\b(?:{titles})\.?\s+(?P{NAME})", 0, check), + # "Señora Doctora Lee", "Madame la Docteure Roy": a clinician, not a courtesy-titled patient. + (rf"\b(?:{titles})\.?\s+(?!(?i:doctora?|docteure?|doktor|dra?\.?|dre?\.?|la\s+docteure?|lekarz)\b)(?P{NAME})", 0, check), # Transcripts: "a mrs ostrowski". - (rf"\b(?:mr|mrs|ms|miss)\.?\s+(?P{_LWORD})", 0, check), + (rf"\b(?:mr|mrs|ms|miss)\.?\s+(?P{_LWORD_TITLED})", 0, check_miss), ] @@ -681,7 +736,7 @@ def courtesy_rules( # "K as in kilo O W A L C H U K", "H A, N G U Y E N" # The key word may be capitalised ("F as in Foxtrot") or French ("c comme Charles"). rf"(? list[tuple[int, int]]: if g in pat.groupindex and m.group(g): out.append(m.span(g)) return out + + +# Abbreviations a clinic writes in capitals: never a patient's initials. +CLINICAL_ABBREVIATIONS = frozenset( + """ + FET IVF ICSI IUI IUD ET ER OHSS HSG AMH PGT PGTA PGTM PGTSR LMP US UK EU UAE USA OB OBGYN GYN RN NP MD DO PA PT OT + MA CNA LPN RM DOB MRN HCG BHCG E2 P4 LH FSH TSH DHEA BMI BP HR IM IV SC PO PRN BID TID QD QID HX DX TX RX FU PCP GP + ED OR PACU NPO NICU AM PM TV TVUS NST CBC CT MRI IVM OI STI HIV HPV UTI PCOS AFC FMLA ID OHIP RAMQ SMS PHI DM HTN + FIV PMA AMP DPI TEC IIU IAC DPN RE FW FWD AW TR RV ASAP FYI TBD NA NB PS CC BCC OK IT HR AI AIH COVID PRP ERA NIPT PGS DNA RNA ICU OTC FDA CVS + CMV PCR DVT GBS BV SA AFP HCV HBV VTE ASA IBS BRCA CF SMA MTHFR APS NK MFI TTC DOR POI TESE MESA PESA ART SET DET ASRM CDC WHO NHS USG EKG ECG ENT PCO STD OHS EMR EHR IMG + TB PGD PRL HSV POF TVS OCP SIS SHG PIO QHS STAT ETA ACK + HRT LOR TESA IMSI PICSI EMMA ALICE LPD LUF POR BFP BFN DPO + MII OPU ICM LPS NGS AZF DFI TNF APA PAI SIN SSN NAS + LDN VTO AUB PPI MTX SOB LBP DUB IBD BCP PMS PMH HPI EPT TFMR ZIFT GIFT OCD LAH HTN PTSD GAD MDD ADHD + IMC DDR FUM CCA ATCD SOPK FCS GEU IVG IMG HTA RCIU TRA RHA OMS + FAI HLA PTO DPT YOB LOS + VMX NSR NKA IGF CCT COC REI DOS DOT EOB EOP PMD LOA WFL ROM ROS PSH EDC PIH AFI BPP FHT LIS MSP TRT SSG PET CVA TIA HLD CAD PAD BPD OSA WHR LDH ALT AST ALP GGT BUN + WNL TBA NAD LDL HDL SLE CKD COS SAB POC DNR AMA LWBS BMP CMP UPT HPT TAB EAB DNC LLQ RLQ RUQ LUQ MFM SCH IUP TWW LBR + EF LV LVEF EDD CRL FHR RPL RIF COPD CHF AFIB EEG EMG CXR LFT LFTS CRP ESR INR PTT HGB WBC RBC GFR EGFR A1C HBA1C OGTT GTT GDM SVT TSI TPO SHBG PSA CA125 OPK BBT FT3 FT4 T3 T4 DHT + """.split() +) +# Two-letter clinic abbreviations that are also common initials ("DE" donor egg, "DI" donor insemination, +# "CD" cycle day): not initials only when a clinical noun follows ("patient DE cycle"); otherwise masked. +AMBIGUOUS_ABBREVIATIONS = frozenset("DE DI DC CD TI FP LP GS YS HA HH AF NT BT TE PN GV MI ANA PE NO UA AH PB SM CP RF GI MC MS UC RA SO VM LM NS ZP SQ PR PV FH SH FM DS GC SI YI NG GA TA NR".split()) +# Embryology / ultrasound / lab abbreviations that are also initials: a clinical number or noun must follow. +_AMBIG_COUNT_NEXT = frozenset("AF NT BT TE PN GV MI".split()) +_AMBIG_NEW = _AMBIG_COUNT_NEXT | {"ANA", "PE", "NO", "UA", "AH", "PB", "SM", "GS"} +_AMBIG_CLINICAL_NEXT = re.compile( + r"[ \t]+(?i:cycles?|transfers?|retrievals?|donors?|eggs?|embryos?|sperm|insemination|protocol|iui|ivf|fet|icsi|day|scan|labs?|" + r"flares?|relapse|diagnosis|dx|history|hx|meds?|medications?|treatment|on[ \t]+\w+(?:ate|ine|ide|one|mab|cin)|with[ \t]+[A-Z]{2,}|" + r"grade|bleeding|full|results?|thickness|level|levels|count|score|normal|abnormal|positive|negative|pos|neg|scheduled|" + r"at[ \t]+\d+|\d+(?:[.,]\d+)?(?:[ \t]*(?:mm|cm|ml|%|weeks?|wks?|w|d|days?|u/l|iu))?)(?![\w])|[ \t]*[+\-](?![\w])" +) +_AMBIG_CLINICAL_NEXT_EXTRA = re.compile( + r"[ \t]+(?i:oocytes?|follicles?|count|measurements?|translucency|screen(?:ing)?|biops(?:y|ies)|blastocysts?|titers?|panel|tests?|results?|positive|negative|show|shows|seen|pain|referral|normal|exam|bleeding|stable|culture|cultures|sac|dip|biopsy)\b" +) +_AMBIG_NUM_NEXT = re.compile(r"[ \t]+\d") +# US state and Canadian province codes: not initials after "re:" ("Re: NY trip"); after "pt"/"patient" they stay. +PLACE_CODES = frozenset( + """AL AK AZ AR CA CO CT DE FL GA HI ID IL IN IA KS KY LA ME MD MA MI MN MS MO MT NE NV NH NJ NM NY NC ND OH OK OR PA RI + SC SD TN TX UT VT VA WA WV WI WY DC AB BC MB NB NL NS NT NU ON PE QC PQ SK YT""".split() +) +_ABBR_ALT = "|".join(sorted(CLINICAL_ABBREVIATIONS, key=len, reverse=True)) +_NOT_ABBR = rf"(?!(?:{_ABBR_ALT})(?![\w]))" +_INITIALS_TAIL = r"(?![\w\-])(?!['’](?!s\b))(?!\.[A-Za-z0-9])" +# Patient cues for initials: "pt KJ", "patient: A.B.", "re: AB", "Mrs. O". +_PT_CUE = ( + r"(?i:\b(?:pts?|patient|patiente|paciente|pacjent(?:ka|ki|a|owi)?|inicja[łl]y(?:[ \t]+pacjent(?:ka|ki|a))?|re|mrs?|ms|miss|mme|mlle|sra|srta|pani)(?![\w]))" +) +_TITLE_CUE = r"(?i:\b(?:mr|mrs|ms|miss|mx|mme|mlle|sra|srta|sr|pani|pan)\b)" +# Clinical nouns that take a patient: "AB's FET", "FET de AB", "AMH de HG". +_CLIN_NOUN = ( + rf"{_ABBR_ALT}|cycle|retrieval|transfer|consent|labs?|results?|beta|chart|appt|appointment|file|embryos?|scan|" + rf"ultrasound|bloodwork|protocol|lining|trigger|stims?|ciclo|punci[óo]n|transferencia|endometrio|ecograf[íi]a|" + rf"protocolo|caso|resultados|an[áa]lisis|dossier|r[ée]sultats|dossier|wyniki|cykl" +) +_HANGUL = "\uac00-\ud7a3" +_KO_CUE = ( + r"(?i:\b(?:emergency\s+contact|contact|name|spouse|husband|wife|partner|mother|father|guardian|" + r"next\s+of\s+kin|caregiver|interpreter|parent)\b)|이름|성함|남편|아내|배우자|보호자|어머니|아버지|연락처" +) + + +_KO_NOT_NAMES = frozenset( + "생년월일 전화번호 주소 이메일 이름 성함 환자 보호자 연락처 병원 의사 간호사 예약 남편 아내 배우자 어머니 아버지 비밀번호 번호".split() +) + + +def _initials_ok(letters: str) -> bool: + return letters.replace(".", "") not in CLINICAL_ABBREVIATIONS + + +def initial_rules( + not_names: frozenset[str] | set[str], +) -> list[tuple[str, int, Optional[Callable[[re.Match[str]], bool]]]]: + """NAME rules for a patient written by initials or a bare name, each gated by a cue. + + A patient is often "pt KJ", "re: AB's FET", "Mrs. O" or "M.R. G3P0" in a clinic's own notes. Capital + letters alone are never a name: a clinical abbreviation ("FET", "OHSS", "ER") is skipped, and the + masker leaves the initials of the clinic's staff alone.""" + check, *_ = make_checks(not_names) + + def check_initials(m: re.Match[str]) -> bool: + if m.group("name") in PLACE_CODES and re.match(r"(?i:re)(?![\w])", m.string[m.start() : m.start("name")]): + return False + n = m.group("name") + if n in AMBIGUOUS_ABBREVIATIONS and ( + _AMBIG_CLINICAL_NEXT.match(m.string, m.end("name")) + or (n in _AMBIG_NEW and _AMBIG_CLINICAL_NEXT_EXTRA.match(m.string, m.end("name"))) + or (n in _AMBIG_COUNT_NEXT and _AMBIG_NUM_NEXT.match(m.string, m.end("name"))) + ): + return False + return _initials_ok(m.group("name")) + + def check_baby(m: re.Match[str]) -> bool: + n = m.group("name") + last = n.split()[-1] + return last[-1] == "." or last.lower() not in (set(not_names) | _NOT_NAME_EXTRA | STOP_WORDS) + + def check_file_name(m: re.Match[str]) -> bool: + return m.group("name").split(",")[0].lower() not in _FILE_WORDS and check(m) + + def check_korean(m: re.Match[str]) -> bool: + # Not a form label or a verb/adjective ("생년월일", "전화번호", "좋아요"). + n = m.group("name") + return n not in _KO_NOT_NAMES and n[-1] not in "요다까죠네요함됨" + + def check_caller(m: re.Match[str]) -> bool: + # "Caller: Ibrahim Yousef, husband of the patient": a summary line, not "Caller: Thank you, ...". + return check(m) and not m.group("name").isupper() + + return [ + # "pt KJ", "patient: AB", "re: AB's FET", "Pt A.B.", "Mrs. O.R." (2-3 capitals, or dotted initials). + ( + rf"{_PT_CUE}(?i:(?:['’]s)?[ \t]+initials?(?:[ \t]+(?:are|is))?)?[ \t]*[:.]?[ \t]*{_NOT_ABBR}(?P[A-Z]{{2,3}}|[A-Z](?:\.[A-Z]){{1,2}}\.?|[A-Z]\.(?:[ \t][A-Z]\.){{1,2}}|[A-Z]\.){_INITIALS_TAIL}", + 0, + check_initials, + ), + # Dotted initials after a patient word, with the surname that follows: "patient J.R. Smith called", + # "patient A. B. C." (two or three initials; one initial and a surname is handled elsewhere). + ( + rf"(?i:\b(?:pts?|patient|paciente|patiente)(?:['’]s)?)[ \t]*:?[ \t]*{_NOT_ABBR}" + rf"(?P[A-Z]\.(?:[ \t]?[A-Z]\.){{1,2}}(?:[ \t]+[A-Z][a-z]+(?:['’\-][A-Z]?[a-z]+)?)?)(?![\w\-])", + 0, + lambda m: check_baby(m) and _initials_ok(m.group("name").split()[0]), + ), + # Spaced initials after "pt" or "patient": "Pt: J T", "patient initials J T" (two or three single capitals). + ( + rf"(?i:\b(?:pts?|patient)(?:['’]s)?(?:[ \t]+initials?)?)[ \t]*:?[ \t]*(?P[A-Z](?:[ \t][A-Z]){{1,2}}){_INITIALS_TAIL}", + 0, + lambda m: _initials_ok(re.sub(r"\s", "", m.group("name"))) and m.group("name").replace(" ", "") not in PLACE_CODES, + ), + # Hebrew initials after the patient word: "הפציינטית: ג.ט.", "המטופלת: ג״ט". + ( + r"(?[א-ת](?:\.[ \t]?[א-ת]){1,2}\.?|[א-ת][\"״׳'][א-ת])(?![א-ת\w])", + 0, + lambda m: re.sub(r"[\"״׳'.]", "", m.group("name")) not in {"דר", "מר", "גב", "גבר", "עו"}, + ), + # A courtesy title and one letter: "Mrs. O in rm 5", "Sra. A llamó". + # The title must not be all capitals ("MS" is multiple sclerosis or a degree), and "I" or "A" starting + # a sentence is the pronoun ("I have MS. I am tired"). + (rf"(?[A-Z]\.?)(?![\w'’\-])(?[A-Z]{{2,3}})(?=['’]s[ \t]+(?i:{_CLIN_NOUN})\b){_INITIALS_TAIL}", 0, check_initials), + # "FET de AB", "AMH de HG", "endometrio de AB": initials after a clinical noun and "of". + ( + rf"(?i:\b(?:{_CLIN_NOUN})[ \t]+(?:de|del|d['’]|du|dla)[ \t]+(?:la[ \t]+)?){_NOT_ABBR}(?P[A-Z]{{2,3}}){_INITIALS_TAIL}", + 0, + check_initials, + ), + # A note line that opens with dotted initials and a chart detail: "M.R. G3P0 - ecografía", "M.O. (2nd call) - ...". + ( + rf"(?[A-Z]\.[A-Z]\.(?:[A-Z]\.)?)(?=[ \t]+(?:\(|[-–—](?:[ \t]|$)|G\d+[ \t]?P\d+|\d{{2}}[ \t]?(?i:y/?o|a|ans|l\.?)\b|c/o\b|rm\b|room\b|hab\b))", + 0, + check_initials, + ), + # A relative given by an initial: "Esposo J. contesta", "husband R.". + (rf"(?i:\b(?:{_LOWER_RELATIONS}))[ \t]+(?P[A-Z]\.)(?=[ \t]+[a-z]|[ \t]*[,;:]|\s*$)", 0, None), + # A baby named for the adoption or birth record: "Baby Girl M.", "Baby Boy Okafor". + (rf"(?P(?i:\bbaby[ \t]+(?:girl|boy))[ \t]+(?:[A-Z]\.|{_CW}))", 0, check_baby), + # A parent or guardian of a named child: "foster parents to Kiara, who is nine". + ( + rf"(?i:\b(?:parents?|guardians?|mother|father|mom|dad|caregivers?|carers?|grandparents?|grandmother|grandfather)[ \t]+(?:to|of))[ \t]+" + rf"(?P{_CW})(?=[ \t]*[,.;)]|[ \t]+(?i:who|is|was|has|had|and|age[d]?)\b)", + 0, + check, + ), + # A nickname told in passing: "elle a Espé comme surnom", "con Pepa como apodo". + ( + rf"(?{_CW})[ \t]+(?i:comme[ \t]+(?:surnom|petit[ \t]+nom)|como[ \t]+apodo|jako[ \t]+(?:przydomek|przezwisko)|as[ \t]+(?:a[ \t]+|her[ \t]+|his[ \t]+)?nick\s*name)\b", + 0, + check, + ), + # "Last, First" in a file name: "Scan - Okafor, Ngozi.pdf". + (rf"(?{_CW},[ \t]?{_CW})(?=\.{_FILE_EXT}\b)", 0, check_file_name), + # A caller named on a summary line: "Caller: Ibrahim Yousef, husband of ...". + ( + rf"(?m:^)[ \t]*(?i:caller|called[ \t]+by|appelant|llamante)(?:[ \t]+name)?[ \t]*:[ \t]*(?P{_MULTI_NAME})(?=[ \t]*(?:,|\(|[-–—]|\n|$))", + 0, + check_caller, + ), + # A Korean name with its romanization: "정민아 (Mina Jung)". + (rf"(?[{_HANGUL}]{{2,4}})(?=[ \t]*\([ \t]*{_CW}(?:[ \t]+{_CW}){{1,2}}[ \t]*\))", 0, check_korean), + # A Korean name after a cue: "Emergency contact: 정현수 470-555-0112", "환자: 김영희". + ( + rf"(?:{_KO_CUE})[ \t]*[::]?[ \t]*(?P[{_HANGUL}]{{2,4}}?)(?=(?:님|씨|은|는|이|가|을|를|의|도|입니다|이에요|예요)?(?![{_HANGUL}]))", + 0, + check_korean, + ), + ] + + +# Spanish names for letters that are not themselves a letter: "p, e, eñe, a". +SPELLED_ES = ( + r"(? bool: + """The phone word is in the last sentence of the cue line, and no other numeric topic is named there.""" + if _OTHER_TOPIC.search(cue_line): + return False + last = re.split(r"[.!?]+[ \t]+", cue_line.strip())[-1] + return bool(_PHONE_WORD.search(last)) + + +def _extra_shape_spans(lines: list[tuple[int, str]], i: int) -> list[tuple[int, int]]: + cue_line = lines[i][1] + if not _PHONE_WORD.search(cue_line) or re.search(r"\d", cue_line) or not _cue_directly_above(cue_line): + return [] + for shape in _EXTRA_SHAPES: + spans = [] + for j, want in enumerate(shape): + k = i + 1 + j + if k >= len(lines): + break + m = _ALONE.fullmatch(lines[k][1]) + if not m or len(m.group(1)) != want or (j == 0 and shape == (3, 3, 3) and m.group(1)[0] == "1"): + break + spans.append((lines[k][0] + m.start(1), lines[k][0] + m.end(1))) + else: + nxt = i + 1 + len(shape) + # The run must end here: one more bare group is a list of values. + if nxt < len(lines) and _ALONE.fullmatch(lines[nxt][1]): + continue + return spans + return [] + + +def _hamming(a: str, b: str) -> int: + return sum(x != y for x, y in zip(a, b)) + + +_CLINIC_SIDE = re.compile( + r"(?i)\b(?:call[ \t]+us|reach[ \t]+us|our[ \t]+(?:number|line|phone|office)|main[ \t]+line|front[ \t]+desk|reception|" + r"clinic(?:['’]s)?[ \t]+(?:number|line|phone)|\(clinic\b|appelez[ \t]+-?nous|ll[aá]menos|zadzwo[ńn][ \t]+do[ \t]+nas)" +) +_FIRST_PERSON = re.compile(r"(?i)\b(?:my|me|mine|i|i['’]m|mon|ma|mi|m[óo]j|moja|moje)\b") + + +def detect(text: str) -> list[tuple[int, int]]: + """Spans of the pieces of phone numbers given group by group.""" + lines = [(m.start(), m.group(0)) for m in re.finditer(r"[^\n]+", text)] + cue_at = [bool(_CUE.search(line)) for _, line in lines] + found: set[tuple[int, int]] = set() + for i, has_cue in enumerate(cue_at): + if not has_cue: + found.update(_extra_shape_spans(lines, i)) + continue + cue_line = lines[i][1] + if _NONPHONE_NUMBER.search(cue_line) and not _CUE.search(_NONPHONE_NUMBER.sub(" ", cue_line)): + continue # "lot number?": the cue is not about a phone + if _CLINIC_SIDE.search(cue_line) and not _FIRST_PERSON.search(cue_line): + continue # "Call us: area code 416, then 555 ... (clinic main line)": the clinic's own number + pieces: list[tuple[int, int, str]] = [] # (start, end, digits) in order + stage = 0 # 0 want area, 1 want exchange, 2 want line, 3 corrections + last = "" + committed = False + for k in range(i, min(i + _WINDOW, len(lines))): + base, line = lines[k] + frags = list(_FRAG.finditer(line)) + if k > i and not frags and _OTHER_TOPIC.search(line): + break # another numeric topic comes before the pieces + if k == i and len(frags) >= 2 and not _STRONG_CUE.search(line): + continue + if not frags or len(_DIGITS.findall(line)) != len(frags) or len(line.split()) > _MAX_WORDS + 1: + continue + for f in frags: + d = f.group(1) + if _UNIT_AFTER.match(line, f.end()) or _NONPHONE_LABEL.search(line[: f.start()]): + continue + span = (base + f.start(1), base + f.end(1), d) + if stage == 0 and len(d) == 3 and d[0] in "23456789": + pieces.append(span) + stage = 1 + elif stage == 1 and len(d) == 3 and d[0] in "23456789": + pieces.append(span) + stage = 2 + elif stage == 2 and len(d) == 4: + pieces.append(span) + stage, last, committed = 3, d, True + elif stage == 3 and len(d) == 4 and _hamming(d, last) <= 2: + pieces.append(span) # the line number said again, corrected + last = d + if committed: + found.update((a, b) for a, b, _ in pieces) + else: + found.update(_extra_shape_spans(lines, i)) + return sorted(found) diff --git a/src/phiproxy/detectors/_spoken.py b/src/phiproxy/detectors/_spoken.py index 7f2efd5..1a1e8cc 100644 --- a/src/phiproxy/detectors/_spoken.py +++ b/src/phiproxy/detectors/_spoken.py @@ -14,6 +14,7 @@ from __future__ import annotations +import bisect import re from typing import Callable, Optional @@ -32,6 +33,8 @@ # pl "jeden": 1, "jedna": 1, "dwa": 2, "dwie": 2, "trzy": 3, "cztery": 4, "pięć": 5, "sześć": 6, "siedem": 7, "osiem": 8, "dziewięć": 9, + # vi + "không": 0, "một": 1, "hai": 2, "bốn": 4, "năm": 5, "sáu": 6, "bảy": 7, "tám": 8, "chín": 9, # he "אפס": 0, "אחת": 1, "אחד": 1, "שתיים": 2, "שניים": 2, "שתים": 2, "שלוש": 3, "שלושה": 3, "ארבע": 4, "ארבעה": 4, "חמש": 5, "חמישה": 5, "שש": 6, "שישה": 6, "שבע": 7, "שבעה": 7, @@ -101,7 +104,7 @@ def _number_word(w: str) -> Optional[tuple[str, int]]: if w in _REPEAT: return "repeat", _REPEAT[w] if w.isdigit(): - return "digits", int(w) + return "digits", 0 # the raw digits are kept; the value is never used if len(w) > 2 and _HE_PREFIX.match(w) and w[1:] in _UNITS: return "unit", _UNITS[w[1:]] return None @@ -200,10 +203,29 @@ def _scan(text: str) -> list[tuple[list[tuple[str, int, int]], int, int, int]]: out = [] run = _Run() joins = 0 # separator words since the last spoken character ("and then") + vi = 0 # Vietnamese digit words in the run + other = False # a non-Vietnamese element in the run + arab = False # an Arabic-digit token in the run + vi_comma = False # a comma inside a run of Vietnamese digit words def close() -> None: - nonlocal run, joins + nonlocal run, joins, vi, other, arab, vi_comma chars = run.finish() + # Vietnamese digit words are also ordinary words ("năm nay", "hai"): a run made of them alone + # needs three, or a Vietnamese phone cue right before it. + # With a cue, a run of Vietnamese digit words alone still needs seven (a Vietnamese phone has 9-11 + # digits): "số điện thoại không có, một hai ba ngày nữa" is a count of days. + if chars and vi and not other: + cue = bool(_VI_CUE.search(text[max(0, chars[0][1] - 24) : chars[0][1]])) + if ( + vi < 3 and not cue + or (vi < 7 and not arab and run.spoken == vi) + # No phone cue: a count or a size list ("hai, ba, năm, sáu, bảy, tám, chín", "một hai ... bảy ngày + # sau") is not a phone; only a long unbroken run with no unit word after it is. + or (not cue and not arab and (vi < 9 or vi_comma or _VI_UNIT_AFTER.match(text, chars[-1][2]))) + ): + chars = [] + vi, other, arab, vi_comma = 0, False, False, False # Identifiers written in figures are the pattern rules' job, except digits # read one at a time. if chars and (run.spoken or (run.singles >= 3 and not run.multi)): @@ -218,9 +240,12 @@ def close() -> None: raw = m.group(0) w = raw.lower() s, e = m.span() - if text[prev_end:s].strip(): + gap = text[prev_end:s] + if gap.strip(): close() # "9:30", "$350", "(": not a pause inside a spoken number prev_end = e + if raw == "," and vi and (run.chars or run.open): + vi_comma = True if raw in _PAUSES or (raw == "." and (run.chars or run.open)): run._flush() # a pause ends a number group: "eight hundred, five five five" continue @@ -229,7 +254,36 @@ def close() -> None: continue parts = w.split("-") if "-" in w and w not in _NATO else [w] kinds = [_number_word(p) for p in parts] + if raw == "ba" and _vi_neighbour(tokens, i): + kinds = [("unit", 3)] # Vietnamese "ba" (three); "BA" in a grade or lot code is not + if ( + all(kinds) + and (run.chars or run.open) + and raw[:1].isupper() + and not raw.isupper() + and sum(c[0].isdigit() for c in run.chars) >= 7 # a whole number is already said + and (("\n" in gap) or (i and tokens[i - 1].group(0) == "." and gap[:1].isspace())) + ): + close() # "416-555-0199. Two embryos": a capitalised number word after a full stop or line break starts a sentence + if all(kinds) and (run.chars or run.open) and (joins or "\n" in gap) and _before_unit(tokens, i): + close() # "... 8 2 and then 3 vials", "... 8 2\n5 vials": a count or dose after the number, not part of it if all(kinds): + is_vi = parts == [w] and (w in _VI_DIGITS or raw == "ba") + # Vietnamese digit words join only each other: "604 555 0182 năm nay" is a phone and a year. + arabic = all(k[0] == "digits" for k in kinds) + if is_vi and raw != "ba" and not _vi_neighbour(tokens, i): + pair = False # a lone Vietnamese digit word is an ordinary word ("năm", "hai") + else: + pair = True + if (run.chars or run.open) and ( + (is_vi and (arab or (other and not pair))) or (arabic and vi) or (not is_vi and vi == 1 and not other) + ): + close() + if is_vi: + vi += 1 + else: + other = True + arab = arab or arabic for (kind, v) in kinds: # type: ignore[misc] run.number(kind, v, s, e, raw if kind == "digits" else "") # A lone "o" is a zero only beside other spoken numbers (OCR: "555-O188"). @@ -246,10 +300,16 @@ def close() -> None: if i <= skip_to: continue if w in _NATO: + if vi: + close() + other = True run.letter(_NATO[w], s, e) run.spoken += 1 joins = 0 continue + if w == "h" and run.chars and re.search(r"(? None: # joins only when more of the code follows: "We spoke. I think". prev = tokens[i - 1].group(0) if i else "" weak = not ahead and (prev == "." or w in ("y", "e", "u")) + if joins and not ahead: + weak = True # "... 8 2 and I take 5 mg": a letter after a joiner needs more of the code behind it if not weak and ( (ahead and not (starts and raw in ("a", "i"))) or (not starts and (raw.isupper() or w not in ("i", "a"))) ): + if vi: + close() + other = True run.letter(w, s, e) joins = 0 continue @@ -287,6 +352,41 @@ def close() -> None: return out +_UNIT_WORDS = frozenset( + "vial vials mg mcg ml cc iu unit units tablet tablets tab tabs pill pills capsule capsules dose doses day days week weeks " + "month months year years time times minute minutes min mins hour hours hr hrs kg lb lbs".split() +) + + +def _before_unit(tokens: list[re.Match[str]], i: int) -> bool: + """True when the token after tokens[i] is a unit or count noun ("3 vials", "5 mg").""" + for t in tokens[i + 1 : i + 3]: + if t.group(0) in _PAUSES: + continue + return t.group(0).lower() in _UNIT_WORDS + return False + + +_VI_DIGITS = frozenset(w for w in _UNITS if w in ("không", "một", "hai", "bốn", "năm", "sáu", "bảy", "tám", "chín")) + + +_VI_UNIT_AFTER = re.compile( + r"[\s,]*(?:ngày|tuần|tháng|năm\s+nay|tuổi|giờ|phút|lần|quả|nang|trứng|phôi|mg|ml|iu|ui|đơn\s+vị|viên|ống|mũi|cm|mm)(?!\w)", re.IGNORECASE +) +_VI_CUE = re.compile(r"(?:điện\s+thoại|sđt|đt|di\s+động|số)\W{0,6}(?:\w{1,4}\W{1,3}){0,3}$", re.IGNORECASE) + + +def _vi_neighbour(tokens: list[re.Match[str]], i: int) -> bool: + """True when "ba" stands beside another Vietnamese digit word (pauses skipped).""" + for step in (-1, 1): + j = i + step + while 0 <= j < len(tokens) and tokens[j].group(0) in _PAUSES: + j += step + if 0 <= j < len(tokens) and tokens[j].group(0) in _VI_DIGITS: + return True + return False + + def _span(chars: list[tuple[str, int, int]]) -> tuple[int, int]: return chars[0][1], chars[-1][2] @@ -367,10 +467,10 @@ def _counting(s: str) -> bool: r"postal\s+code|\bzip\b|זיפ|code\s+postal|c[óo]digo\s+postal|kod\s+pocztowy|מיקוד", re.IGNORECASE)), (EntityType.PHONE, re.compile( r"phone|call\s*back|\bcell\b|reach\s+(?:you|me)|call\s+me\s+(?:at|on)|my\s+number|t[ée]l[ée]phone|mon\s+num[ée]ro|" - r"tel[ée]fono|celular|mi\s+n[úu]mero|telefon|kom[óo]rk|טלפון|נייד", re.IGNORECASE)), + r"tel[ée]fono|celular|mi\s+n[úu]mero|telefon|kom[óo]rk|טלפון|נייד|điện\s+thoại|전화", re.IGNORECASE)), (EntityType.ID, re.compile( r"health\s+(?:card\s+)?number|member\s+(?:id|number)|rx\s+number|prescription\s+number|" - r"social\s+(?:security|insurance)|\bsin\b|\bssn\b|s[ée]curit[ée]\s+sociale|seguro\s+social|" + r"social\s+(?:security|insurance)|(?-i:\bSIN\b)|\bsin\s+(?:number|no\b)|\bssn\b|s[ée]curit[ée]\s+sociale|seguro\s+social|" r"\bpesel\b|תעודת\s+זהות|ת\.ז|מספר\s+חבר|account|policy|claim|chart\s+number|\bmrn\b|medical\s+record|record\s+number|" r"group\s+(?:number|no\b|id)|\bgrup[ao]\b|\bgroupe\b|קבוצה|" r"num[ée]ro\s+de\s+dossier|n[úu]mero\s+de\s+(?:expediente|tarjeta|socio)|numer\s+(?:karty|polisy)", re.IGNORECASE)), @@ -398,21 +498,33 @@ def _counting(s: str) -> bool: ) +_ASKED_CACHE: list = [None, [], []] # text, match ends (sorted), (start, type) by end + + +def _asked_matches(text: str) -> tuple[list[int], list[tuple[int, EntityType]]]: + """Every "asked for" cue in the text, found once (so a long line stays linear), by end.""" + if _ASKED_CACHE[0] is not text: + found = sorted((m.end(), m.start(), t) for t, pat in _ASKED for m in pat.finditer(text)) + _ASKED_CACHE[:] = [text, [f[0] for f in found], [(f[1], f[2]) for f in found]] + return _ASKED_CACHE[1], _ASKED_CACHE[2] + + def _asked(text: str, pos: int) -> Optional[EntityType]: """The identifier asked for in the last three lines before ``pos``, if any.""" + floor = max(0, pos - 3000) # bounded so one long line stays linear start = pos for _ in range(4): - start = text.rfind("\n", 0, max(start - 1, 0)) + start = text.rfind("\n", floor, max(start - 1, floor)) if start < 0: - start = 0 + start = floor break - window = text[start:pos] - best: Optional[tuple[int, EntityType]] = None - for t, pat in _ASKED: - for m in pat.finditer(window): - if best is None or m.end() > best[0]: - best = (m.end(), t) - return best[1] if best else None + ends, info = _asked_matches(text) + k = bisect.bisect_right(ends, pos) - 1 + while k >= 0 and ends[k] > start: + if info[k][0] >= start: + return info[k][1] + k -= 1 + return None def detect(text: str) -> list[Entity]: @@ -450,7 +562,7 @@ def detect(text: str) -> list[Entity]: continue if ( _TIME_AFTER.match(text[end:]) - or _TIME_BEFORE.search(text[:start]) + or _TIME_BEFORE.search(text[max(0, start - 200) : start]) or (time_end >= 0 and _TIME_LINK.match(text[time_end:start])) ): time_end = end @@ -460,7 +572,7 @@ def detect(text: str) -> list[Entity]: if t is None or digits < (2 if t is EntityType.POSTAL_CODE and len(s) >= 3 else 3): continue if t is EntityType.DATE and ( - re.fullmatch(r"(?:19|20)\d\d", s) or re.search(r"(?:mil|mille|thousand|tysi[ąa]c)\s*$", text[:start], re.I) + re.fullmatch(r"(?:19|20)\d\d", s) or re.search(r"(?:mil|mille|thousand|tysi[ąa]c)\s*$", text[max(0, start - 200) : start], re.I) ): continue # a year alone ("mil novecientos ochenta y siete") is not a date element if t is EntityType.DATE: diff --git a/src/phiproxy/detectors/regex.py b/src/phiproxy/detectors/regex.py index f63aee5..025e146 100644 --- a/src/phiproxy/detectors/regex.py +++ b/src/phiproxy/detectors/regex.py @@ -13,7 +13,7 @@ from typing import Callable, Optional from ..entities import Entity, EntityType -from . import _hebrew, _names, _spoken, _structured +from . import _accounts, _geo, _hebrew, _pieces, _names, _spoken, _structured _MONTHS = ( "jan(?:uary)?|feb(?:ruary)?|mar(?:ch)?|apr(?:il)?|may|june?|july?|aug(?:ust)?|" @@ -29,7 +29,7 @@ _STREET_SUFFIX = ( "street|st|avenue|ave|road|rd|boulevard|blvd|drive|dr|lane|ln|court|ct|crescent|cres|" - "way|place|pl|terrace|ter|circle|cir|parkway|pkwy|highway|hwy|trail|trl|square|sq" + "way|place|pl|terrace|ter|circle|cir|parkway|pkwy|highway|hwy|trail|trl|square|sq|cove|loop|grove|ridge|hollow|path|row" ) # Capitalized words that follow "this is", "Dr." etc. but are not names. @@ -155,6 +155,25 @@ class _Rule: _CARD_EXPIRY_AFTER = re.compile(r"[ \t,;]*(?:exp\w*|valid\w*|cvv2?|cvc2?|security\s+code)\b", re.IGNORECASE) +# A lot, batch or serial number "ends in 0457": the product's, not a card. +# Only a product-number shape counts ("lot #", "lot no", "lot A1234", "batch 77", "NDC", "serial no", "kit lot"); +# "a lot", "lots of", "thanks a lot" and a plain "kit" do not. A card word right before the digits always wins. +_PRODUCT_NEAR = re.compile( + r"(?i:\b(?:lot|lote|batch)[ \t]*(?:#|no\b|num\b|number|n[uú]mero|:)|\b(?:lot|lote)[ \t\-]+(?=[A-Za-z0-9\-]*\d)[A-Za-z0-9\-]+|" + r"\bbatch[ \t]+(?=[A-Za-z0-9\-]*\d)[A-Za-z0-9\-]+|\bndc\b|\bserial[ \t]*(?:#|no\b|num\b|number)|\bserial[ \t,:\-]*$|\bkit[ \t]*(?:#|no\b|num\b|number|lot\b))" +) +_CARD_GOVERNS = re.compile( + r"(?i:\b(?:cards?|visa|mastercard|master\s*card|amex|credit|debit|carte|tarjeta|karta|kart[ąy])\b[^.;!?\n\d]{0,25}$)" +) + + +def _not_product_last4(m: re.Match[str]) -> bool: + before = m.string[max(m.string.rfind("\n", 0, m.start()) + 1, m.start() - 60) : m.start()] + if _CARD_GOVERNS.search(before): + return True + return not _PRODUCT_NEAR.search(before) + + def _card_context(m: re.Match[str]) -> bool: """A 16-digit group is a card when the text around it talks about cards or gives an expiry.""" text = m.string @@ -166,6 +185,22 @@ def _card_context(m: re.Match[str]) -> bool: def _digits(s: str) -> str: return re.sub(r"\D", "", s) +_UNIT_AFTER = re.compile(r"[ \t]*(?:units?|iu|mg|mcg|ml|cc|%|x\b|times|veces|fois|razy)", re.IGNORECASE) + + +def _spoken_plus_phone(m: re.Match[str]) -> bool: + """"plus 48 555 010 203" is a phone; "plus 5 10 15 20 25" or "más 1 2 3 4 5" (a count or a + dose list) and "plus 20 100 200 300 units" are not.""" + if not 10 <= len(_digits(m.group(0))) <= 14 or _UNIT_AFTER.match(m.string, m.end()): + return False + groups = re.findall(r"\d+", m.group(0))[1:] + # A count or dose list goes up in even steps ("5 10 15 20", "1 2 3 4"); a phone does not, + # whatever its grouping ("plus 33 6 12 34 56 78", "plus 48 555 010 203"). + vals = [int(g) for g in groups if len(g) <= 6] + steps = {b - a for a, b in zip(vals, vals[1:])} + return not (len(vals) >= 3 and len(steps) == 1 and steps != {0}) + + def _sin_check(m: re.Match[str]) -> bool: d = _digits(m.group(0)) @@ -399,6 +434,28 @@ def _not_alphabet_run(m: re.Match[str]) -> bool: return True +# A name cue right before spelled letters: a list of options ("a, b, c, d") is not a name. +_SPELL_CUE_BEFORE = re.compile( + r"(?i:(?:apellido|nombre|last[ \t]+name|surname|first[ \t]+name|\bname|pr[ée]nom|nom(?:[ \t]+de[ \t]+famille)?|nazwisko|imi[ęe]|" + r"spell(?:ed|ing|s)?|spelt|deletre\w*|[eé]pelle\w*|se[ \t]+escribe|escribe|pisze[ \t]+si[ęe]|letters?)" + r"(?:[ \t]+(?:it|that))?(?:[ \t]+(?:is|es|est|to|c['’]est|it['’]?s))?[ \t:,\-–]{0,4}" + r"|(?:שם(?:[ \t]+משפחה)?|פרטי)[ \t:,\-–]{0,4})$" +) + + +def _alphabet_sequence(letters: str) -> bool: + letters = letters.lower() + return len(letters) >= 3 and any(letters in abc for abc in ("abcdefghijklmnopqrstuvwxyz", _HE_ALEPHBET)) + + +def _spelled_es_check(m: re.Match[str]) -> bool: + """Comma-spelled letters need a name or spelling cue before them and are not an alphabet run.""" + if not _SPELL_CUE_BEFORE.search(m.string[max(0, m.start() - 40) : m.start()]): + return False + singles = "".join(x.strip() for x in m.group(0).split(",") if len(x.strip()) == 1) + return not _alphabet_sequence(singles) + + # Three-letter abbreviations a clinic writes with hyphens or reads out letter by letter. _ACRONYMS_3 = { "IVF", "IUI", "FSH", "TSH", "HCG", "AMH", "LH", "ICSI", "PGT", "DNA", "BMI", "LMP", "PCO", "PCP", "HSG", @@ -444,12 +501,12 @@ def _month_check(m: re.Match[str]) -> bool: # A lab analyte right before a decimal ("FSH 18.4", "AMH level 1.2"): not a day.month date. _LAB_BEFORE = re.compile( r"(?i:\b(?:fsh|lh|amh|tsh|hcg|bhcg|e2|p4|prl|psa|a1c|hba1c|hgb|wbc|rbc|ferritin|estradiol|progesterone|" - r"testosterone|inhibin|t3|t4)\b(?:\s+(?:level|levels|value|result|results))?\W{0,3})$" + r"testosterone|inhibin|t3|t4|bmi|imc)\b(?:\s+(?:level|levels|value|result|results|was|is|of|de|es|fue))?\W{0,3})$" ) _FRACTION_DOSE = re.compile( r"(?i)\s*(?:tab(?:s|lets?)?\b|cups?\b|doses?\b|vials?\b|amps?\b|pens?\b|mg\b|ml\b|tsp\b|tbsp\b|teaspoons?\b|cc\b|inch(?:es)?\b|%)" ) -_FRACTION_TIME = re.compile(r"(?i)\s*(?:of\s+an?\s+)?(?:hours?\b|days?\b|weeks?\b|cups?\b|tab(?:s|lets?)?\b)") +_FRACTION_TIME = re.compile(r"(?i)\s*(?:of\s+an?\s+)?(?:hours?\b|days?\b|weeks?\b|cups?\b|tab(?:s|lets?)?\b|(?:full|empty)\b)") def _is_fraction(m: re.Match[str]) -> bool: @@ -548,12 +605,45 @@ def _not_doc_period(m: re.Match[str]) -> bool: return not _DOC_PERIOD_BEFORE.search(before) +# "pain 4/10", "pain >7/10", "rated 8/10", and equipment upkeep ("recalibrated 11/12") are not a person's date. +_SCORE_BEFORE = re.compile( + r"(?i)\b(?:pain|score[ds]?|scale|rated?|rating|severity|nausea|discomfort|cramps?|cramping|bloating|distress)\b" + r"(?:[^\S\n]+(?:level|score|scale|rating|is|was|of|at|about|around|rated|a|an))?[^\S\n]*\W{0,3}$" +) +_UPKEEP_BEFORE = re.compile(r"(?i)\b(?:re)?(?:calibrated|serviced|cleaned|validated|replaced)\W{0,3}$") + + +_EQUIPMENT_NOUN = re.compile( + r"(?i:\b(?:freezers?|incubators?|tanks?|dewars?|filters?|hoods?|microscopes?|machines?|equipment|alarms?|sensors?|batter(?:y|ies)|" + r"co2|nitrogen|ln2|fridges?|refrigerators?|centrifuges?)\b)" +) +_PATIENT_PROCEDURE_WORD = re.compile( + r"(?i:\b(?:embryos?|my|transfers?|retrievals?|beta|me|mine|patient|pt)\b)|(?-i:\bI(?:['’](?:m|ll|ve|d))?\b)" +) + + +_SCORE_LIST_TAIL = re.compile(r"(?:\b\d{1,2}/10[ \t]*(?:,|;|and|&|y|et)[ \t]*)+$") +_DECIMAL_LIST_TAIL = re.compile(r"(?:\b\d{1,3}\.\d{1,2}[ \t]*(?:,|;|and|&|y|et)[ \t]*)+$") + + +def _score_or_equipment(m: re.Match[str]) -> bool: + before = m.string[max(0, m.start() - 40) : m.start()] + if m.group(0).endswith("/10") and (_SCORE_BEFORE.search(before) or _SCORE_BEFORE.search(_SCORE_LIST_TAIL.sub("", before))): + # a list of scores: "Scores 7/10, 8/10" (the later items have the shape of the first) + return True + if not _UPKEEP_BEFORE.search(before): + return False + window = m.string[max(0, m.start() - 80) : m.start()] + clause = re.split(r"[.;!?\n]", window)[-1] + return bool(_EQUIPMENT_NOUN.search(clause)) and not _PATIENT_PROCEDURE_WORD.search(clause) + + def _short_date_check(m: re.Match[str]) -> bool: """A short numeric date, not an expiry, a page number ("p. 1/3") or a fraction ("1/2 tablet").""" before = m.string[max(0, m.start() - 24) : m.start()] if _is_product_expiry(m) or _PAGE_BEFORE.search(before): return False - if _FRACTION_DOSE.match(m.string, m.end()): + if _FRACTION_DOSE.match(m.string, m.end()) or _score_or_equipment(m): return False return not (_is_fraction(m) and _FRACTION_TIME.match(m.string, m.end())) @@ -562,7 +652,9 @@ def _not_lab_value(m: re.Match[str], dot_only: bool = True) -> bool: """Not a result like "FSH 18.4". For a day-first date only a decimal point can be a result; a slash is a date.""" if dot_only and "." not in m.group(0): return True - return not _LAB_BEFORE.search(m.string[max(0, m.start() - 32) : m.start()]) + before = m.string[max(0, m.start() - 32) : m.start()] + # a list of decimals after the analyte: "BMI 24.5, 26.1" + return not (_LAB_BEFORE.search(before) or _LAB_BEFORE.search(_DECIMAL_LIST_TAIL.sub("", before))) _SPELLING_WORD = re.compile(r"(?i)\b[a-z][ \t]+(?:as[ \t]+in|comme|como|for)[ \t]+$") @@ -604,7 +696,7 @@ def _name_check(m: re.Match[str]) -> bool: r"un|deux|trois|quatre|cinq|six|sept|huit|neuf|onze|douze|treize|quatorze|quinze|seize|" r"tysi[ąa]c\w*|dwa|jeden|trzy|cztery|pi[ęe][ćc]|sze[śs][ćc]|siedem|osiem|dziewi[ęe][ćc]|dziewi[ęe][ćc]set|osiemset|\w+dziesi[ąa]t\w*|\w+na[śs]cie|" r"(?:pierwsz|drug|trzec|czwart|pi[ąa]t|sz[óo]st|si[óo]dm|[óo]sm|dziewi[ąa]t)\w*|roku|" - r"אלף|מאות|תשע|שמונה|תשעים|שמונים|ו?אחת|ו?אחד|ו?שתיים|ו?שלוש|ו?ארבע|ו?חמש|ו?שש|ו?שבע|ו?שמונה|ו?תשע" + r"אלף|מאות|תשע|שמונה|תשעים|שמונים|שבעים|שישים|חמישים|ארבעים|ו?אחת|ו?אחד|ו?שתיים|ו?שלוש|ו?ארבע|ו?חמש|ו?שש|ו?שבע|ו?שמונה|ו?תשע" ) @@ -640,10 +732,10 @@ def _places() -> tuple[dict[str, bool], re.Pattern[str]]: _STREET = ( - rf"\b\d{{1,6}}[^\S\n]{{1,2}}(?:[A-Za-z0-9'\-]+[^\S\n]{{1,2}}){{0,3}}(?:{_STREET_SUFFIX})\b\.?" + rf"\b(?:\d{{1,4}}[A-Za-z]?-)?\d{{1,6}}[^\S\n]{{1,2}}(?:[A-Za-z0-9'\-]+[^\S\n]{{1,2}}){{0,3}}(?:{_STREET_SUFFIX})\b\.?" # A direction after the street word: "Lyndale Ave S", "58 Dupont Ave N". r"(?:[^\S\n]+(?-i:[NSEW]|NE|NW|SE|SW)\b\.?(?![\w\-]))?" - r"(?:,?\s*(?:apt|apartment|unit|suite|ste|#)\.?\s*[A-Za-z0-9\-]+)?" + r"(?:,?\s*(?:apt|apartment|unit|suite|ste|#|mieszkanie|lokal|apto|apartamento|depto|appartement|appt|app)\.?\s*[A-Za-z0-9\-]+)?" # The city right after: "22 Pine Ridge Dr, Whitby", "2240 Maryland Ave E, St. Paul". r"(?:,[^\S\n]*(?-i:[A-Z][\w'\-]+(?:(?:(?<=\bSt)|(?<=\bMt)|(?<=\bFt)|(?<=\bSte))\.(?=[^\S\n][A-Z]))?(?:[^\S\n][A-Z][\w'\-]+)?)(?![^\S\n]*(?:\(|\d{3}\b)))?" ) @@ -972,6 +1064,16 @@ def add(t: EntityType, pat: str, flags: int = 0, group: int = 0, check=None) -> rf"terminada\s+en)\s*:?\s*(\d{{4}}|{_ANY_DIGIT_WORD}(?:\s+{_ANY_DIGIT_WORD}){{3}})\b", I, group=1, + check=_not_product_last4, + ) + # The same "last four" cue in Spanish, French and Polish, with the same product-number guard. + add( + EntityType.ACCOUNT, + r"(? # International numbers written with a leading +. add(EntityType.PHONE, r"(?:(? r"(?:com|org|net|ca|edu|gov|io|co|uk|fr|es|pl|il)\b", I, ) + # A local part spelled letter by letter, with commas: "k, e, l, l, i, s, o, n, eight eight, at example dot com", + # "c, tremblay, tiret, roy, arobase example point org". It starts at a single letter and ends at the at-word + # and a spoken domain. + _sp_item = rf"(?:[^\W\d_]{{1,20}}|(?:{_SPOKEN_NUMBER}|{_SPOKEN_NUMBER_ML}|\d{{1,4}})(?:[ \t]+(?:{_SPOKEN_NUMBER}|{_SPOKEN_NUMBER_ML}|\d{{1,4}})){{0,3}})" + add( + EntityType.EMAIL, + rf"(?[A-Za-z0-9](?:-[A-Za-z0-9]{{1,20}}){{2,24}}-(?i:at|arobase|arroba)(?:-[A-Za-z0-9]{{1,20}}){{1,6}}-(?i:dot|point|punto)-(?i:{_tld_all})\b)", + 0, + "e", + ) + # The same in Hebrew words ("שטרודל" for at, "נקודה" for dot) after an email word, with a Latin address. + add( + EntityType.EMAIL, + r"(?:אימייל|מייל|דוא[\"״]ל|דואל)[^\n]{0,30}?[ \t:](?P[A-Za-z0-9][\w.\-]{0,40}[ \t]+שטרודל[ \t]+[A-Za-z0-9\-]{1,40}" + rf"(?:[ \t]+נקודה[ \t]+[A-Za-z0-9\-]{{1,40}}){{0,3}}[ \t]+נקודה[ \t]+(?i:{_tld_all})\b)", + 0, + "e", + ) + # A local part spelled letter by letter with spaces, dashes or dotted letters: "k e l l i at gmail dot com", + # "k - e - l - l - i at gmail dot com", "k. e. l. l. i at gmail dot com", "k e l l i 8 8 at ...", "k e l l i@gmail.com". + _sp_one = rf"(?:[^\W\d_](?![\w'’])|\d{{1,4}}(?!\d)|(?:{_SPOKEN_NUMBER}|{_SPOKEN_NUMBER_ML})(?![\w]))" + _sp_sep = r"(?:[ \t]*[\-.][ \t]*|[ \t]+)" + # The run starts at its first letter: a start right after another one-letter item would rescan the same run. + _sp_first = ( + r"(? check=_plain_at_check, ) # Spelled-out words ("k o w a l c z y k", "W-O-J-C-I-K") are almost always names. + # Vietnamese typed without diacritics: seven or more digit words right after a phone cue + # ("so dien thoai cua toi la khong mot hai ba bon nam sau bay"). The words are also English or + # Spanish words, so the cue and the length are both required. + _vw = r"(?:khong|mot|hai|ba|bon|nam|sau|bay|tam|chin)" + add( + EntityType.PHONE, + rf"(?{_vw}(?:[ \t]*[,.\-]?[ \t]*{_vw}\b){{6,10}})(?![\w])", + I, + "p", + ) add(EntityType.NAME, _names.SPELLED, check=_not_alphabet_run) + add(EntityType.NAME, _names.SPELLED_ES, I, check=_spelled_es_check) # Letters each given a key word ("c comme Charles o comme Oscar h comme Hotel", "A as in Alpha N as in # November"): three of them, or two after a spelling cue. The word must start with its letter. _kw = r"[A-Za-z][ \t]+(?:as[ \t]+in|comme|como|for|de)[ \t]+[^\W\d_]+" @@ -1217,6 +1401,18 @@ def add(t: EntityType, pat: str, flags: int = 0, group: int = 0, check=None) -> I, check=_kw_ok, ) + # Letters said one by one with commas after a name word: "el apellido p, e, eñe, a". Three or more, after + # the cue, so a list of options ("type A, B, O") stays. + _letter_name = r"(?:(?![yY][ \t]+[^\W\d_])[^\W\d_]|e[ñn]e|ene|ele|ese|equis|ye|zeta|hache|jota|erre|efe|doble[ \t]+ve|i[ \t]+griega|ge|ce|be|eme|pe|cu|uve|ve|te|de|ka|ache|ere|i[ \t]+latina)" + _es_first = r"(?:ge|ce|be|de|te|ve|efe|eme|ele|ene|ese|erre|pe|cu|uve|ka|hache|ache|jota|equis|zeta)" + add( + EntityType.NAME, + r"\b(?:apellido|nombre|se\s+llama|se\s+escribe|deletre\w+|last\s+name|surname|first\s+name|pr[ée]nom|nom\s+de\s+famille|" + r"nazwisko|imi[ęe]|spell(?:ed|ing|s)?|(?:three|four|3|4|tres|cuatro|trois|quatre|trzy|cztery)[ \t]+(?:letters|letras|lettres|litery))[ \t:,]{1,3}(?:(?:es|is|c['’]est|to|it['’]?s)[ \t]+)?" + rf"(?P(? _day_alone = ( rf"(?:{_ORDINAL_WORDS.replace(')|first|', ')|', 1)})(?=\s*(?:[.,?!;)/\n]|$|instead|right|then|works|and|" rf"i\s+think|so|at\s+(?:\d|one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|noon)|or|okay|" - rf"ok|please|correct|is|was|with\s+(?:dr|doctor|the)|of\s+(?:this|next|the)\s+month))" + rf"ok|please|correct|still|yet|again|too|also|now|anyway|is|was|with\s+(?:dr|doctor|the)|of\s+(?:this|next|the)\s+month))" ) add(EntityType.DATE, rf"\bthe\s+{_day_alone}", I) add(EntityType.DATE, rf"(?:^|\n|:)[^\S\n]*({_day_alone})", I | re.M, group=1) @@ -1389,7 +1585,8 @@ def add(t: EntityType, pat: str, flags: int = 0, group: int = 0, check=None) -> r"\b(?:en|depuis|jusqu['’]en|d['’]ici|desde|hasta|para|w|od|do)\s+" r"(janvier|f[ée]vrier|mars|mai|avril|juin|mayo|juillet|ao[uû]t|septembre|octobre|novembre|d[ée]cembre|enero|febrero|marzo|" r"abril|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|styczniu|lutym|marcu|kwietniu|maju|czerwcu|" - r"lipcu|sierpniu|wrze[śs]niu|pa[źz]dzierniku|listopadzie|grudniu)\b(?!\s+\d)", + r"lipcu|sierpniu|wrze[śs]niu|pa[źz]dzierniku|listopadzie|grudniu|" + r"stycznia|lutego|marca|kwietnia|maja|czerwca|lipca|sierpnia|wrze[śs]nia|pa[źz]dziernika|listopada|grudnia)\b(?!\s+\d)", I, group=1, ) @@ -1512,6 +1709,57 @@ def add(t: EntityType, pat: str, flags: int = 0, group: int = 0, check=None) -> add(EntityType.DATE, rf"\b(?i:early|mid|late)[\s\-]+{_mon_cap}\b(?!\s+\d)") add(EntityType.DATE, rf"\b(?i:probably|maybe|perhaps|hopefully|sometime\s+in)\s+({_mon_cap})\b(?!\s+\d)", group=1) + # A compact date inside a camera or phone photo name: "IMG_20260314_name.jpg", "PXL_20261114_1.jpg". + # Names a clinic generates ("scan_", "consent_form_", "Form_") carry the form's date and stay. + add( + EntityType.DATE, + r"(? # "1205 Calle Mayor", "ul. Kościuszki 12/4", "רחוב הרצל 14", then the city if any. add( EntityType.ADDRESS, - r"(? # Cities written in Hebrew ("גרה בפתח תקווה", "עוברים לטורונטו"); the prefix stays outside. R.append(_Rule(EntityType.ADDRESS, _hebrew.PLACE_RE)) + for t, pat, flags, grp, chk in _geo.rules(): + add(t, pat, flags, grp, chk) + for t, pat, flags, grp, chk in _accounts.rules(): + add(t, pat, flags, grp, chk) + # Canadian postal code. add( EntityType.POSTAL_CODE, @@ -1758,7 +2011,7 @@ def add(t: EntityType, pat: str, flags: int = 0, group: int = 0, check=None) -> # Names introduced by context (see _names.py). The local model or the # known-entity list catch names with no cue. - for pat, flags, check in [*_names.rules(_NOT_NAMES), *_names.courtesy_rules(_NOT_NAMES)]: + for pat, flags, check in [*_names.rules(_NOT_NAMES), *_names.courtesy_rules(_NOT_NAMES), *_names.initial_rules(_NOT_NAMES)]: add(EntityType.NAME, pat, flags, check=check) # A person who gives a title as their own name and says they are a patient ("my name is Dr. Sarah # Cohen", "patient Dr. Sarah Cohen", "I'm Dr. Sarah Cohen and I'm a patient") is a patient, not a @@ -1856,6 +2109,8 @@ def _detect(self, text: str) -> list[Entity]: continue if rule.type in _NAME_GROUP_TYPES and "name" in m.groupdict(): start, end = m.span("name") + if re.fullmatch(r"[A-Z]{2,3}['\u2019][sS]", text[start:end]): + end -= 2 # initials before a possessive: "pt MJ's chart" masks "MJ" elif "place" in m.groupdict(): start, end = m.span("place") else: @@ -1865,6 +2120,8 @@ def _detect(self, text: str) -> list[Entity]: out.append(Entity(rule.type, start, end, text[start:end], self.name)) # Identifiers read out loud: "four one six... five five five...", "T three A". spoken = [*_spoken.detect(text), *_spoken.street_numbers(text, _street_spans)] + if self.enabled is None or EntityType.PHONE in self.enabled: + spoken.extend(Entity(EntityType.PHONE, a, b, text[a:b], self.name) for a, b in _pieces.detect(text)) # A field value the rules above already found whole is left to them. found = [(e.start, e.end) for e in out] spoken.extend( @@ -1888,7 +2145,13 @@ def _detect(self, text: str) -> list[Entity]: e for e in out if not ( e.type in _CLINIC_NUMBER_TYPES - and (_CLINIC_NUMBER_CUE.search(text[max(0, e.start - 40) : e.start]) or _CLINIC_CODE_PREFIX.match(e.text)) + and not ((len(e.text) in (9, 17) or (len(e.text) == 11 and e.type is EntityType.ACCOUNT)) and re.sub(r"[ \-]", "", e.text).isdigit() and len(re.sub(r"[ \-]", "", e.text)) == 9 and _ROUTING_NUMBER.search(text[max(0, e.start - 40) : e.start])) + and ( + _CLINIC_NUMBER_CUE.search(text[max(0, e.start - 40) : e.start]) + or _CLINIC_CODE_PREFIX.match(e.text) + # The digits after the prefix of a clinic code the other rules took whole: "TRK-90044172". + or _CLINIC_CODE_PREFIX.search(text[max(0, e.start - 6) : e.start]) + ) ) ] @@ -1930,6 +2193,15 @@ def _dedupe(entities: list[Entity]) -> list[Entity]: drop.add(i) else: reach = max(reach, out[i].end) + # A shorter EMAIL or a NAME inside a longer EMAIL ("smith at gmail dot com" in "kelli dash smith at gmail dot com"). + emails = [e for e in out if e.type is EntityType.EMAIL] + if len(emails) > 1 or (emails and any(e.type is EntityType.NAME for e in out)): + for i, e in enumerate(out): + if e.type in (EntityType.EMAIL, EntityType.NAME) and any( + o is not e and o.type is EntityType.EMAIL and o.start <= e.start and e.end <= o.end and (o.end - o.start) > (e.end - e.start) + for o in emails + ): + drop.add(i) return [e for i, e in enumerate(out) if i not in drop] @@ -1959,7 +2231,9 @@ def _trimmed(e: Entity, text: str) -> Optional[Entity]: ) # Codes that name their own kind: a helpdesk ticket, SOP, purchase order, quote or tracking number. -_CLINIC_CODE_PREFIX = re.compile(r"(?:TKT|TICKET|SOP|PO|QUOTE|TRK|RMA)-", re.IGNORECASE) +_CLINIC_CODE_PREFIX = re.compile(r"(?:TKT|TICKET|SOP|PO|QUOTE|TRK|RMA|LOTE?|BATCH)-", re.IGNORECASE) +# A bank routing number (nine digits) is the patient's account detail, not the clinic's call routing. +_ROUTING_NUMBER = re.compile(r"(?i:\b(?:routing|aba|rtn)\b[^\n\d]{0,25})$") _STREET_RE = re.compile(_STREET, re.IGNORECASE) _STREET_SUFFIX_AFTER = re.compile(rf"(?:[ \t]+[A-Za-z'’\-]+){{1,3}}[ \t]+(?:{_STREET_SUFFIX})\b", re.IGNORECASE) diff --git a/src/phiproxy/masker.py b/src/phiproxy/masker.py index c04c57e..9c9b7cf 100644 --- a/src/phiproxy/masker.py +++ b/src/phiproxy/masker.py @@ -195,9 +195,33 @@ def _ordinal_number(word: str, nxt: str) -> Optional[int]: _INITIAL_BEFORE = re.compile(r"(?[A-ZĄĆĘŁŃÓŚŹŻ][a-ząćęłńóśźż]+)\b") +_PL_ENDINGS = frozenset({"a", "owi", "em", "u", "e", "ie", "ą", "iem"}) +_PL_ADJ_SURNAME = re.compile(r"(?:sk|ck|dzk|zk)[ia]$") +_PL_ADJ_ENDINGS = ("i", "a", "iego", "iemu", "im", "ą", "iej") +# A personal handle that can come back bare: "@kellison88", "luna_cycle_88" (four letters in a row, and an +# at-sign, an underscore or trailing digits that make it a handle rather than a word). +_HANDLE_FULL = re.compile(r"@?(?=[A-Za-z0-9._\-]*[A-Za-z]{4})[A-Za-z][A-Za-z0-9._\-]{4,38}[A-Za-z0-9]") +# Titles the courtesy-title rules read; a surname after one comes back in its own case only (the vault keeps +# one value per lower-case name, so a case variant would not restore). +_NEW_TITLE_BEFORE = re.compile(r"(?i:\b(?:se[\u00f1n]or(?:a|ita)?|do[\u00f1n]a|madame)\.?)[ \t]*$") +# Ordinary and clinical words that are also handle stems ("estradiol88@", "@eggs-2026"): never a name echo. +_HANDLE_STEM_COMMON = frozenset( + """estradiol egg eggs embryo embryos ivf iui icsi fertility baby babies mom mommy mama momma dad daddy love loves hope + hopes hopeful faith grace joy angel blessed blessing miracle miracles wish wishes dream dreams sunshine rainbow stork + cycle cycles trying ttc journey warrior sperm sperms donor follicle follicles uterus ovary ovaries pregnant pregnancy + transfer retrieval frozen fresh blast blasts test tester testing patient mother father family clinic doctor nurse health + healthy happy lucky pray prayer prayers birth born little twin twins bump bean sprout + pcos endo endometriosis ovulation ovulating period periods bloodwork blood labs lab scan scans ultrasound beta betas hcg amh + fsh progesterone estrogen trigger triggers needle needles shots meds infertility infertile ttc ttcing tww bfp bfn + pregnancy pregnant mama mum mummy mamma papa wife husband""".split() +) + + _ECHO_SKIP = ( - _names.STOP_WORDS | _names._NOT_NAME_EXTRA | _names._ORG_NAME_WORDS | _names._ORG_TAIL_WORDS | COMMON_WORD_NAMES - | {"dr", "mr", "mrs", "ms", "miss", "mme", "baby"} + (_names.STOP_WORDS - _names._LATE_STOP) | _names._NOT_NAME_EXTRA | _names._ORG_NAME_WORDS | _names._ORG_TAIL_WORDS | COMMON_WORD_NAMES + | {"dr", "mr", "mrs", "ms", "miss", "mme", "baby", "madame", "monsieur", "señor", "señora", "senor", "senora", "doña"} ) # Last words of a facility, organisation, holiday or document title ("Ross Memorial Hospital", @@ -390,6 +414,7 @@ def detect(self, text: str, known: Optional[KnownEntities] = None) -> list[Entit or not ( (_covered(e, allowed) and not (e.type is EntityType.ADDRESS and _UNIT_AFTER.match(text, e.end))) or self._allowed_spoken_phone(e) + or self._allowed_plus_phone(e) ) ] found = found + [e for e in patient_place if e not in found] @@ -413,7 +438,7 @@ def detect(self, text: str, known: Optional[KnownEntities] = None) -> list[Entit def _own_site(self, e: Entity) -> bool: """A scheme-less site after a visit/website cue whose host is the clinic's: a domain on the - allow list, or the domain of an email on it ("info@mfc.ca" allows "portal.mfc.ca").""" + allow list, or the domain of an email on it ("info@maple-fertility.example" allows "portal.maple-fertility.example").""" if e.type is not EntityType.URL or e.source != "regex" or "://" in e.text or re.search(r"[?#@]", e.text): return False host = e.text.split("/", 1)[0].lower().removeprefix("www.") @@ -521,6 +546,10 @@ def _echoed_names( initialed: set[str] = set() # surnames found with a file initial: "Lopez_M" surnames: set[str] = set() # last words of a multi-word name that are never its first word firsts: set[str] = set() + title_lw: set[str] = set() # surnames found after a señora / doña / madame title + other_lw: set[str] = set() # words found in any other way + title_ref: dict[str, str] = {} + handle_lw: set[str] = set() # words that exist only as the stem of a handle for e in found: if e.type is EntityType.NAME and e.source in ("regex", "known"): initialed.update(x.lower() for x in re.findall(r"([^\W\d_]+)_[A-Z](?![^\W_])", e.text)) @@ -530,12 +559,52 @@ def _echoed_names( firsts.update(x.lower() for x in toks[:-1]) surnames.add(toks[-1].lower()) for w in toks: + (title_lw if _NEW_TITLE_BEFORE.search(text, max(0, e.start - 12), e.start) and w == toks[-1] else other_lw).add(w.lower()) + if _NEW_TITLE_BEFORE.search(text, max(0, e.start - 12), e.start) and w == toks[-1]: + title_ref.setdefault(w.lower(), w) if len(w) >= (4 if w[0].islower() else 3) and not (w.isupper() and len(w) <= 4) and w.lower() not in _ECHO_SKIP and not _ROLE_WORD.fullmatch(w): words.setdefault(w.lower(), w) - if not words: + # Polish genitive: "Oli Szymanskiej" is Ola Szymanska; the first name returns as "Ola". + if len(toks) >= 2 and re.search(r"(?:iej|ej)$", toks[-1].lower()): + for t in toks[:-1]: + v = t[:-1] + "a" + if len(t) >= 3 and t.endswith("i") and v[0].isupper() and v.lower() not in _ECHO_SKIP: + words.setdefault(v.lower(), v) + elif (e.type in (EntityType.EMAIL, EntityType.ACCOUNT) or (e.type is EntityType.ID and e.text[:1] == "@")) and e.source in ("regex", "known"): + # A personal handle is built from a name: "jtran-1985", "kellison88@" -> the name returns in + # file names and spelled back ("Kellison"). + hm = _HANDLE_STEM.match(e.text) + if ( + hm and hm.group(1).lower() not in _ECHO_SKIP and hm.group(1).lower() not in _HANDLE_STEM_COMMON and hm.group(1).upper() not in _names.CLINICAL_ABBREVIATIONS + and hm.group(1).lower() not in _names._FILE_WORDS and not _ROLE_WORD.fullmatch(hm.group(1)) + ): + if hm.group(1).lower() not in words: + handle_lw.add(hm.group(1).lower()) + words.setdefault(hm.group(1).lower(), hm.group(1)) + handles: dict[str, Entity] = {} # bare handle (lower case) -> the found handle it repeats + for e in found: + if e.type in (EntityType.ID, EntityType.ACCOUNT) and e.source in ("regex", "known") and _HANDLE_FULL.fullmatch(e.text): + bare = e.text.lstrip("@") + if e.text.startswith("@") or "_" in bare or re.search(r"[A-Za-z]{4}[._\-]?\d{2,}$", bare): + handles.setdefault(bare.lower(), e) + # The first word of an underscore handle is a name when it comes back capitalised: "Luna". + head = bare.split("_")[0] + if "_" in bare and head.isalpha() and len(head) >= 4 and head.lower() not in _ECHO_SKIP and head.lower() not in _HANDLE_STEM_COMMON and head.upper() not in _names.CLINICAL_ABBREVIATIONS and not _ROLE_WORD.fullmatch(head): + words.setdefault(head.lower(), head) + if not words and not handles: return [] surnames -= firsts taken = [(e.start, e.end) for e in found] + # A bare repeat of a handle that was found once ("@kellison88 ... kellison88"): masked too, with + # its own placeholder, so each placeholder restores exactly the text it replaced. + hout: list[Entity] = [] + for hl, he in handles.items(): + for m in re.finditer(r"(?= 3] + if bases: + # Adjective surnames (Kowalski, Kowalska) decline in every case: any capitalised form counts. + forms: dict[str, str] = {} + for bw in bases: + if len(bw) >= 5 and _PL_ADJ_SURNAME.search(bw): + for end in _PL_ADJ_ENDINGS: + forms.setdefault(bw[:-1] + end, bw) + if forms: + for m in re.finditer(r"(? bool: d = _spoken.digits(e.text) return len(d) >= 7 and d[-10:] in self._allow_phones + _PLUS_PHONE = re.compile(r"(?i)(?:plus|m[áa]s|\+)[ \t]*(\d{1,3})(?:[ \t.\-()]*\d)+") + + def _allowed_plus_phone(self, e: Entity) -> bool: + """The clinic's own number written with a leading plus word or sign and a country code: + "plus 1 613 555 0100", "+1 613 555 0100", "más 1 ...". The last ten digits must be the allowed number.""" + if e.type is not EntityType.PHONE or not self._allow_phones: + return False + if not self._PLUS_PHONE.fullmatch(e.text.strip()): + return False + d = re.sub(r"\D", "", e.text) + return 11 <= len(d) <= 13 and d[-10:] in self._allow_phones + def _staff_at_clinic(self, text: str, e: Entity, allowed: list[tuple[int, int]]) -> bool: """A staff name followed by the clinic's own name: "Aaliyah here from Bluebonnet".""" m = _AT_CLINIC.match(text, e.end) diff --git a/tests/test_masker.py b/tests/test_masker.py index 27c613e..9f9b68c 100644 --- a/tests/test_masker.py +++ b/tests/test_masker.py @@ -324,7 +324,7 @@ def test_v10_review1_shift_skips_expiry_and_pain_score(): from phiproxy import Policy m = Masker(policy=Policy(date_mode="shift")) - out = m.mask("exp 03/25 and pain 5/10", "s").text + out = m.mask("exp 03/25 and pain started 5/10", "s").text assert "03/25" not in out and "5/10" not in out assert "04/02" not in out shifted = m.mask("seen on 03/14/1990", "s").text @@ -418,7 +418,7 @@ def test_v10_review3_lowercase_month_with_birth_cue(): def test_v10_review3_clinic_owned_handle_and_site(): from phiproxy import Masker, Policy - for t in ("Follow the clinic on Twitter: @MFCfertility", "Instagram: @mfc_fertility is our page", + for t in ("Follow the clinic on Twitter: @XYZfertility", "Instagram: @xyz_fertility is our page", "follow us on ig: clinic_official", "See our website at example.com", "Visit healthcanada.gc.ca for details", "Visit ontario.ca for details"): assert Masker().mask(t, "s").text == t, t @@ -426,9 +426,9 @@ def test_v10_review3_clinic_owned_handle_and_site(): "her fundraiser at gofundme.com/amy"): out = Masker().mask(t, "s").text assert "[ID_1]" in out or "[URL_1]" in out, t - p = Policy(allow=["info@mfc.ca"]) - assert Masker(policy=p).mask("Visit portal.mfc.ca for the patient portal", "s").text == "Visit portal.mfc.ca for the patient portal" - assert "[URL_1]" in Masker().mask("Visit portal.mfc.ca for the patient portal", "s").text + p = Policy(allow=["info@xyz.ca"]) + assert Masker(policy=p).mask("Visit portal.xyz.ca for the patient portal", "s").text == "Visit portal.xyz.ca for the patient portal" + assert "[URL_1]" in Masker().mask("Visit portal.xyz.ca for the patient portal", "s").text def test_v10_review4_clinic_address_after_patient_street(): @@ -526,3 +526,817 @@ def test_v10_review5_blocked_first_word_keeps_surname_masked(): ("Hi I'm Cell Rivera", "Rivera"), ("I'm Zoom Lee", "Lee"), ("my name is Zawsze Kowalski", "Kowalski")]: out = _r5(t, staff=["Dr. Smith"]) assert last not in out and "[NAME_1]" in out + + +def test_v11_staff_initials_stay_patient_initials_masked(): + m = Masker(policy=Policy(staff=["Anjali Deshmukh", "Min-jun Park", "Paris Jean-Baptiste"])) + out = m.mask("AD: pt KJ 34yo. MJP on call, PJB too. re: QX's FET, M.R. G3P0", "s").text + assert "AD:" in out and "MJP on call" in out and "PJB too" in out + assert "KJ" not in out and "QX" not in out and "M.R." not in out + # Without a staff list the same letters are masked wherever a patient cue gives them a slot. + plain = Masker().mask("pt MJP 34yo", "s").text + assert "MJP" not in plain + + +def test_v11_name_echo_handle_and_polish_forms(): + m = Masker() + out = m.mask("paid from @ztester-1985\nfile IMG_20261114_ztester.jpg", "s").text + assert "ztester" not in out + out = m.mask("Czesc, tu Marek, maz Oli Szymanskiej. Ola jest po punkcji", "s").text + assert "Ola" not in out + out = Masker().mask("Pacjent: Roman Gil, ur. 1980.\nProszę poprosić pana Gila o datę", "s").text + assert "Gila" not in out + # a lowercase word that merely resembles nothing in the record stays + assert "pana" in out + + +def _m(text, **kw): + from phiproxy import Masker, Policy + + return Masker(policy=Policy(**kw)).mask(text, "s").text + + +def test_v11_review1_card_last4_not_lot_or_kit_noun(): + for t in [ + "Thanks a lot! Please charge the card ending in 4417", + "I paid a lot for the cycle, my card ending in 4417", + "I paid for the medication kit with my visa ending in 4417", + "It's a lot to take in, but the credit card ending 4417 is the right one", + ]: + assert "4417" not in _m(t), t + # product shapes keep the old behaviour + assert "0457" in _m("the lot number on the box ends in 0457") + assert "0457" in _m("lot 5512 ends in 0457") + assert "0457" in _m("batch is stamped, serial ends in 0457") + + +def test_v11_review1_lowercase_miss_title_after_to_and(): + for t in [ + "i spoke to miss chen yesterday about the results", + "please give this to miss garcia", + "yes and miss rivera too", + "thanks so much miss patel", + ]: + out = _m(t) + assert not any(n in out for n in ("chen", "garcia", "rivera", "patel")), out + for t in ["to miss work", "to miss the appointment", "i miss texts", "we'll miss you"]: + assert _m(t) == t + + +def test_v11_review1_dona_first_name_echoed(): + assert "Dona" not in _m("Hi, I'm Dona Ramirez. Dona again.") + assert "Dona" not in _m("Please add my wife, Dona Smith, to the file. Dona's DOB is 1/2/1990") + + +def test_v11_review1_closure_word_with_personal_date(): + assert "Nov 4" not in _m("Clinic closed Friday so I rescheduled the HSG, now Nov 4") + assert "November 4" not in _m("Since the clinic closed early, I'm booking the IUI for November 4 instead") + assert "Nov 4" not in _m("It was closed, Tuesday Nov 4 is when I had the HSG") + assert "February 3" not in _m("Office closed for lunch - Sarah Kim, February 3 1990") + assert "Nov 4" not in _m("Closed on Nov 4 for my appointment") + # notices stay readable + + +def test_v11_review1_upkeep_not_embryo_dates(): + assert "11/12" not in _m("The lab said my embryos were replaced 11/12") + assert "11/12" not in _m("Lab: embryo replaced 11/12, beta 11/24") + assert "11/12" not in _m("The lab validated 11/12 as the day of the retrieval") + assert _m("The freezer was serviced 11/12") == "The freezer was serviced 11/12" + assert _m("Lab incubator replaced 11/12") == "Lab incubator replaced 11/12" + + +def test_v11_review1_patient_cue_initials_not_staff(): + import re + + from phiproxy import Masker, Policy + from phiproxy.detectors.regex import RegexDetector + from phiproxy.entities import Entity, EntityType + + class Stub: + def detect(self, text): + return [Entity(EntityType.NAME, m.start(), m.end(), m.group(), 0.9, "gliner") for m in re.finditer(r"\b(?:DM|MA|PA)\b", text)] + + def run(t): + return Masker(detectors=[RegexDetector(), Stub()], policy=Policy(staff=["Maria Jensen"])).mask(t, "s").text + + assert "DM" not in run("Patient DM called, DOB 03/14/1988") + assert "MA," not in run("Hi this is MA, I need to move my transfer") + assert "PA" not in run("Please call pt PA at 416-555-0192") + assert "MJ" not in _m("pt MJ, 34yo, G2P0, here for FET", staff=["Maria Jensen"]) + for t in ["MJ: called pt", "-MJ", "per MJ", "pt called, MJ RN"]: + assert _m(t, staff=["Maria Jensen"]) == t + + +@pytest.mark.parametrize( + "text", + ["call the clinic at 613-555-0100 or plus 1 613 555 0100", "Clinic line plus 1 613 555 0100", "más 1 613 555 0100 ok", "+1 613 555 0100 ok"], +) +def test_v11_review1_allowed_clinic_phone_with_plus_word(text): + out = Masker(policy=Policy(allow=["613-555-0100"])).mask(text, "s").text + assert out == text + + +@pytest.mark.parametrize("text", ["plus 1 613 555 0199", "más 1 416 555 0100", "my number is plus 1 416 555 0100"]) +def test_v11_review1_patient_phone_with_plus_word_masked(text): + out = Masker(policy=Policy(allow=["613-555-0100"])).mask(text, "s").text + assert "[PHONE_" in out and "555" not in out + + +def test_v11_review1_spanish_y_stays_outside_spelled_name(): + out = Masker().mask("mi apellido es p, e, eñe, a, y mi nombre es Ana", "s").text + assert " y mi nombre" in out and "p, e" not in out and "Ana" not in out + + +def test_v11_review1_polish_surname_case_forms_echoed(): + m = Masker() + out = m.mask("Moje nazwisko Kowalski. Zadzwoń do pana Kowalskiego. Z panem Kowalskim, panią Kowalską, Kowalskiemu", "pl1").text + for form in ("Kowalskiego", "Kowalskim", "Kowalską", "Kowalskiemu"): + assert form not in out + out = m.mask("Moje nazwisko Kowalska. Pani Kowalskiej wynik", "pl2").text + assert "Kowalskiej" not in out + + +def test_v11_review1_polish_case_forms_lookalikes_stay(): + m = Masker() + # no base surname was found: a lone form after "pana" is not guessed, and unrelated words stay + assert "Kowalskie" in m.mask("Moje nazwisko Kowalski. Kowalskie jest daleko.", "pl3").text + assert "Kowalewo" in m.mask("Moje nazwisko Kowalski. Kowalewo jest daleko.", "pl4").text + + +def test_v11_review1_personal_handle_repeat_masked(): + m = Masker() + r = m.mask("pay me at @kellison88. kellison88 said. Kellison hi", "h1").text + assert "kellison88" not in r.lower().replace("@kellison88", "") + assert r.count("[ID_") == 2 # the bare repeat has its own placeholder (round-trips exactly) + r = m.mask("my username is luna_cycle_88 and Luna is me. luna_cycle_88 again", "h2").text + assert "luna" not in r.lower() + + +def test_v11_review1_handle_repeat_lookalikes_stay(): + m = Masker() + r = m.mask("pay me at @kellison88. kellison88x is a different word and kellison8 too", "h3").text + assert "kellison88x" in r and "kellison8 " in r + # a word that merely starts like the handle's first token is not masked when it is lower case and ordinary + r = m.mask("my username is luna_cycle_88. the lunar cycle is 28 days", "h4").text + assert "lunar cycle" in r + + +_STREET_ALLOW = ["100 Main Street, Suite 200, Toronto, ON M5V 1A1"] + + +@pytest.mark.parametrize( + "text", + [ + "I live at 100 Main Street, Ottawa", + "I live at 100 Main St, Mississauga", + "my address is 100 Main Street", + "mi dirección es 100 Main Street", + "j'habite au 100 Main Street", + ], +) +def test_v11_review2_street_head_is_masked_for_patient_address(text): + out = Masker(policy=Policy(allow=_STREET_ALLOW)).mask(text, "s").text + assert "100 Main" not in out and "[ADDRESS_1]" in out + + +def test_v11_review2_street_head_other_state_masked(): + m = Masker(policy=Policy(allow=["1180 Peachtree Park Drive, Atlanta, GA 30309"])) + out = m.mask("I live at 1180 Peachtree Park Drive, Smyrna, GA 30080", "s").text + assert "1180" not in out and "Peachtree" not in out + + +def test_v11_review2_handle_echo_round_trip(): + for text in [ + "pay me at @kellison88. kellison88 said. Kellison hi", + "send to @kellison88 then kellison88 again", + "my handle luna_cycle_88, luna_cycle_88 again and @luna_cycle_88", + "Oli Szymanskiej was seen. Ola came with pana Gila. Roman Gil and pana Gila", + ]: + m = Masker() + r = m.mask(text, "s") + assert m.unmask(r.text, "s") == text + r = Masker().mask("send to @kellison88 then kellison88 again", "s") + assert "kellison88" not in r.text + + +@pytest.mark.parametrize( + "text,hidden", + [ + ("Mrs. Hard called", "Hard"), + ("My last name is Hard", "Hard"), + ("this is Mr Ready", "Ready"), + ("Mme Fait", "Fait"), + ("Sra. Hecho", "Hecho"), + ("Mi apellido es Hecho", "Hecho"), + ("Nazwisko Czyli", "Czyli"), + ("Ms. Easy", "Easy"), + ("Mr. Possible", "Possible"), + ], +) +def test_v11_review2_late_stop_words_masked_after_title_or_cue(text, hidden): + out = Masker(policy=Policy(allow=["Cedar Clinic"], staff=["Jon Smith"])).mask(text, "s").text + assert hidden not in out and "[NAME_1]" in out + + +@pytest.mark.parametrize("text", ["it is hard to say", "I am ready", "that was easy for me", "Is that possible?"]) +def test_v11_review2_late_stop_words_lookalikes_stay(text): + assert Masker().mask(text, "s").text == text + + +@pytest.mark.parametrize( + "text,out", + [ + ("số điện thoại 604 555 0182 năm nay em 30 tuổi", "số điện thoại [PHONE_1] năm nay em 30 tuổi"), + ("ref 55512345 hai and x", "ref [ID_1] hai and x"), + ("phone 604 555 0182 hai", "phone [PHONE_1] hai"), + ("số điện thoại của tôi là không một hai ba bốn năm sáu bảy tám chín", "số điện thoại của tôi là [PHONE_1]"), + ("năm nay em 30 tuổi", "năm nay em 30 tuổi"), + ], +) +def test_v11_review2_vietnamese_digit_words_do_not_extend_digit_runs(text, out): + assert Masker().mask(text, "s").text == out + + +@pytest.mark.parametrize( + "text,out", + [ + ("Phone number mismatch? Room 204\nRoom 305\nExt 4521", "Phone number mismatch? Room 204\nRoom 305\nExt 4521"), + ("Agent: lot number?\nPatient: 300\nPatient: 400\nPatient: 5000", None), + ("my phone number\n604\n555\n0182", "my phone number\n[PHONE_1]"), + ("the area code is 604\nthen 555\n0182", "the area code is [PHONE_1]\nthen [PHONE_2]\n[PHONE_3]"), + ], +) +def test_v11_review2_phone_pieces_after_non_phone_labels(text, out): + got = Masker().mask(text, "s").text + assert got == (out if out is not None else text) + + +@pytest.mark.parametrize( + "text,allow,out", + [ + ("Patient EF at 12 weeks", [], "Patient EF at 12 weeks"), + ("Patient LV function, patient TSH", [], "Patient LV function, patient TSH"), + ("patient HRC referral", ["HRC"], "patient HRC referral"), + ("patient HRC referral", [], "patient [NAME_1] referral"), + ("Patient KJ, 34 y/o, called", [], "Patient [NAME_1], 34 y/o, called"), + ], +) +def test_v11_review2_initials_after_patient_cue(text, allow, out): + assert Masker(policy=Policy(allow=allow)).mask(text, "s").text == out + + +@pytest.mark.parametrize( + "text,out", + [ + ("Visit Cobb County office", "Visit Cobb County office"), + ("Take Mission Road Reserve exit", "Take Mission Road Reserve exit"), + ("Colonia Roma Norte clinic has an office", "Colonia Roma Norte clinic has an office"), + ("Unit 5, Fort Street clinic", "Unit 5, Fort Street clinic"), + ("I live in Cobb County", "I live in [ADDRESS_1]"), + ("We live in Cobb County near the office", "We live in [ADDRESS_1] near the office"), + ("We drive from Cobb County to you", "We drive from [ADDRESS_1] to you"), + ], +) +def test_v11_review2_public_place_cues_not_addresses(text, out): + assert Masker().mask(text, "s").text == out + + +@pytest.mark.parametrize( + "text,out", + [ + ("my venmo is jane-doe-12", "my venmo is [ID_1]"), + ("my paypal is janedoe", "my paypal is [ID_1]"), + ("venmo: jane-doe-12", "venmo: [ID_1]"), + ("my paypal is down", "my paypal is down"), + ("paypal is working", "paypal is working"), + ], +) +def test_v11_review2_bare_payment_handles(text, out): + assert Masker().mask(text, "s").text == out + + +def test_v11_review2_possessive_abbreviation_is_a_person(): + import re + + from phiproxy.entities import Entity, EntityType + + class Stub: + def detect(self, text): + return [Entity(EntityType.NAME, m.start(), m.end(), m.group(), 0.9, "gliner") for m in re.finditer(r"\bTB\b", text)] + + def run(t): + return Masker(detectors=[RegexDetector(), Stub()], policy=Policy(staff=["Maria Jensen"])).mask(t, "s").text + + assert "TB" not in run("Also re: TB's IUI, trigger 2130h") + + +def test_v11_review2_closed_needs_clinic_subject(): + assert "Dec 5" not in Masker().mask("Case closed Dec 5 2019", "s").text + assert "March 3" not in Masker().mask("Account closed March 3 2024", "s").text + + +def test_v11_review2_late_stop_surname_echoed(): + assert Masker().mask("Mrs. Hard called. Hard again", "s").text == "Mrs. [NAME_1] called. [NAME_1] again" + assert Masker().mask("it is hard to say", "s").text == "it is hard to say" + + +def _stub_initials_masker(staff): + import re as _re + + from phiproxy.detectors.regex import RegexDetector + from phiproxy.entities import Entity, EntityType + + class Stub: + def detect(self, text): + return [Entity(EntityType.NAME, m.start(), m.end(), m.group(), 0.9, "gliner") for m in _re.finditer(r"\b[A-Z]{2,3}\b", text)] + + return Masker(detectors=[RegexDetector(), Stub()], policy=Policy(staff=staff)) + + +@pytest.mark.parametrize( + "text", + [ + "Patient name: MJ", "Nombre: MJ", "Apellido: MJ", "Imię i nazwisko: MJ", "Nazwisko: MJ", "Last name: MJ", + "Surname: MJ", "Full name: MJ", "Emergency contact: MJ", "Cardholder name: MJ", "Patient name: AD", + "for MJ", "re: MJ, 34yo", "MJ is pregnant", "MJ, 34yo", "Please call MJ about the results", + ], +) +def test_v11_review3_staff_initials_masked_outside_signatures(text): + staff = ["Maria Jones", "Dr. Alan Smith", "Anna Dawson"] + out = _stub_initials_masker(staff).mask(text, "s").text + assert "MJ" not in out and "AD" not in out + + +def test_v11_review3_spoken_answer_after_long_chatter(): + from phiproxy.detectors.regex import RegexDetector + + filler = "Sorry, my kids are being loud, and the nurse said last week the results would be back soon, " * 5 + t = f"Agent: What is your chart number? {filler} Ok here it is: four five six seven" + assert [(e.type.name, e.text) for e in RegexDetector().detect(t)] == [("ID", "four five six seven")] + t = f"Agent: What's the best phone number to reach you? {filler} Ok here it is: six one three five five five" + assert [(e.type.name, e.text) for e in RegexDetector().detect(t)] == [("PHONE", "six one three five five five")] + # no question: nothing to type the digits with + assert RegexDetector().detect(f"Ok {filler} here it is: four five six seven") == [] + + +@pytest.mark.parametrize( + "text,masked", + [ + ("Wound closure Nov 14", True), + ("Incision closure Nov 14, staples out Nov 28", True), + ("Cervical closure Dec 5", True), + ("Our adoption closure Nov 14", True), + ("Clinic closed Nov 14 (Emma's birth)", True), + ("Clinic closure Nov 14", True), + ("Office closure Dec 24", True), + ("Closure: Nov 11", True), + ("Holiday closure Dec 24", True), + ("Policy for Sarah effective Jan 1", True), + ("Insurance policy effective Jan 1 2027", True), + ("Policy effective Nov 14 2026 for Sarah Mitchell, DOB Nov 14 1990", True), + ("Schedule effective Dec 5", True), + ("Updates effective Nov 14 — IVF cycle begins", True), + ("Fee schedule effective Jan 1", True), + ("Updated prices effective March 1, 2027", True), + ("Version 7, effective January 1", True), + ], +) +def test_v11_review3_closure_and_effective_dates(text, masked): + out = Masker().mask(text, "s").text + assert ("[DATE_" in out) is masked + + +_R3_STREET_ALLOW = ["1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309"] + + +@pytest.mark.parametrize( + "text", + [ + "Pt lives on Peachtree Park Drive NE #1204", + "Peachtree Park Drive NE #1204, Atlanta", + "It's Peachtree Park Drive NE apt 1204, near the clinic", + "Lives on Peachtree Park Drive NE", + "She lives on Peachtree Park Drive NE", + "Home: Peachtree Park Drive NE", + "Pt's address: Peachtree Park Drive NE apt 12", + "Patient address: Peachtree Park Drive NE", + "ship to Peachtree Park Drive NE apt 12 Atlanta GA 30309", + ], +) +def test_v11_review3_bare_clinic_street_of_a_patient_masked(text): + out = Masker(policy=Policy(allow=_R3_STREET_ALLOW)).mask(text, "s").text + assert "Peachtree" not in out + + +def test_v11_review3_clinic_street_before_other_town_masked(): + p = Policy(allow=["100 Park Drive, Suite 210, Halifax, NS B3J 1H2"]) + assert "100 Park Drive" not in Masker(policy=p).mask("I live at 100 Park Drive Springfield", "s").text + assert "Park Drive" not in Masker(policy=p).mask("at 100 Park Drive, Toronto", "s").text + + +@pytest.mark.parametrize( + "text", + ["Dona Garcia. garcia", "señora Garcia\ngarcia", "madame tremblay. Madame Tremblay", "Dona Garcia. Garcia", + "email estradiol88@gmail.com Estradiol 350 pg/mL, estradiol", "Venmo @eggs-2026. Eggs retrieved: 12, eggs", + "Venmo @jtran-1985, jtran, Jtran", "Jtran, hello. Venmo @jtran-1985. My handle jtran-1985 again", + "Venmo @jtran-1985, jtran-1985", "email kellison88@example.com then Kellison wrote, kellison88@example.com"], +) +def test_v11_review3_echo_round_trips(text): + m = Masker() + r = m.mask(text, "s") + back = m.unmask(r.text, "s") + assert (back if isinstance(back, str) else back.text) == text + + +def test_v11_review3_handle_echo_details(): + out = Masker().mask("Venmo @jtran-1985, jtran-1985", "s").text + assert "1985" not in out and out.count("[ID_") == 2 + out = Masker().mask("email estradiol88@gmail.com Estradiol 350 pg/mL, estradiol", "s").text + assert out == "email [EMAIL_1] Estradiol 350 pg/mL, estradiol" + out = Masker().mask("Venmo @eggs-2026. Eggs retrieved: 12, eggs", "s").text + assert "Eggs retrieved: 12, eggs" in out + # a name-built handle still echoes its stem + assert "jtran" not in Masker().mask("Venmo @jtran-1985 and jtran", "s").text + + +def test_v11_review3_clinic_street_with_name_prefix_patient_address_masked(): + m = Masker(policy=Policy(allow=["Toronto Fertility, 123 Main Street, Suite 400, Toronto ON M5V 1A1"])) + for text in ["I live at 123 Main Street", "my address is 123 Main Street, Ottawa", "I live at 123 Main Street, Toronto"]: + out = m.mask(text, "s").text + assert "123 Main" not in out, text + + +def test_v11_review3_lists_of_values_pass(): + for text in ["Scores 7/10, 8/10", "BMI 24.5, 26.1"]: + assert Masker().mask(text, "s").text == text + assert "[DATE_" in Masker().mask("Embryos 4/6", "s").text # kept as before + assert "[DATE_" in Masker().mask("visit 24.5, 26.1", "s").text + + +def test_v11_review3_new_spans_round_trip(): + for text in [ + "my email is kelli dash smith at gmail dot com", + "email k, e, l, l, i, 8, 8 at gmail dot com", + "I live in Ste. Anne Reserve No. 4", + "Where do you live?\nSudbury", + "Unit 2050 Box 4190, APO AP 96278", + "90210 Beverly Hills CA and my phone", + ]: + m = Masker() + r = m.mask(text, "s") + assert r.text != text + assert m.unmask(r.text, "s") == text + + +@pytest.mark.parametrize( + "text", + [ + "Sa mère habite au 1180 Peachtree Park Drive NE", + "Ella vive en 1180 Peachtree Park Drive NE", + "Ona mieszka przy 1180 Peachtree Park Drive NE", + "Mailing address: 1180 Peachtree Park Drive NE", + "Billing: 1180 Peachtree Park Drive NE, Atlanta", + ], +) +def test_v11_review3_other_language_residence_cue_masks_clinic_street(text): + out = Masker(policy=Policy(allow=["1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309"])).mask(text, "s").text + assert "Peachtree" not in out + + +def test_v11_review3_full_name_label_initials_not_staff(): + m = Masker(policy=Policy(staff=["Maria Jones"])) + assert "MJ" not in m.mask("Nombre completo: MJ", "s").text + assert m.mask("MJ: called pt", "s").text == "MJ: called pt" + + +def test_v11_review3_clinical_handle_head_not_echoed(): + assert Masker().mask("login: embryo_2026 embryo", "s").text == "login: [ID_1] embryo" + + +_R4_ALLOW = ["1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309"] + + +@pytest.mark.parametrize( + "text", + [ + "Je demeure au 1182, Peachtree Park Drive NE", + "Estoy en Peachtree Park Drive NE número 1182", + "My street is Peachtree Park Drive NE, house number 1182", + "Street: Peachtree Park Drive NE\nHouse no: 1182\nCity: Marietta", + "Address on file: Peachtree Park Drive NE", + "Come to 1182 Peachtree Park Drive NE", + ], +) +def test_v11_review4_patient_street_on_clinic_street_masked(text): + out = Masker(policy=Policy(staff=["Maria Jones"], allow=_R4_ALLOW)).mask(text, "s").text + assert "Peachtree" not in out, out + + +def test_v11_review4_patient_initials_beat_staff_initials(): + m = Masker(policy=Policy(staff=["Maria Jones", "Dr. Kevin Lee"])) + assert "MJ" not in m.mask("Pt initials MJ", "s").text + assert "MJ" not in m.mask("patient initials MJ", "s").text + assert m.mask("MJ: called pt", "s").text == "MJ: called pt" + assert m.mask("Thanks, MJ", "s").text == "Thanks, MJ" + + +def test_v11_review4_geo_spans_complete(): + class _M: + @staticmethod + def mask(t, sid): + return Masker().mask(t, sid) + + m = _M() + assert m.mask("We live past the Circle K on Hwy 20", "s").text == "We live past the [ADDRESS_1]" + assert m.mask("I live on County Road 12 near Truro", "s").text.startswith("I live on [ADDRESS_1] near") + assert m.mask("the house past the Circle K Hwy 20", "s").text == "[ADDRESS_1]" + assert m.mask("the blue house past the Circle K on Highway 20 East", "s").text == "[ADDRESS_1]" + assert m.mask("Lac La Biche County Alberta", "s").text == "[ADDRESS_1] Alberta" + assert m.mask("I live in Cobb County Georgia", "s").text == "I live in [ADDRESS_1] Georgia" + assert m.mask("We moved to Wake County North Carolina last year", "s").text == "We moved to [ADDRESS_1] North Carolina last year" + assert "גרה" in m.mask("גרה באלפרטה, GA", "s").text + # lookalikes keep their old behaviour + assert m.mask("I live on Main Road 5 minutes from here", "s").text.endswith("5 minutes from here") + assert "Main" not in m.mask("I live on Main Road 5 minutes from here", "s").text + + +def test_v11_review4_spoken_digits_stop_at_count(): + class _M: + @staticmethod + def mask(t, sid): + return Masker().mask(t, sid) + + m = _M() + assert m.mask("plus 1 4 1 6 5 5 5 0 1 8 2 and then 3 vials", "s").text in ("plus [PHONE_1] and then 3 vials", "[PHONE_1] and then 3 vials") + assert m.mask("my phone is 4 1 6 5 5 5 0 1 8 2 and I take 5 mg", "s").text == "my phone is [PHONE_1] and I take 5 mg" + assert m.mask("plus 1 4 1 6 5 5 5 0 1 8 2\n5 vials", "s").text in ("plus [PHONE_1]\n5 vials", "[PHONE_1]\n5 vials") + assert m.mask("four one six five five five and then oh one one seven", "s").text == "[PHONE_1]" + + +def test_v11_review4_county_institutions_and_sin_not_names(): + for t in ["Hennepin County Medical Center", "Fulton County Airport", "patient SIN"]: + assert Masker().mask(t, "s").text == t + assert "Cobb" not in Masker().mask("I live in Cobb County", "s").text + + +# ---- v11 final round (r5 #8-#12). The clinic street with no house number is no longer allowed (it is +# masked as in the frozen code); the earlier tests that kept it visible were narrowed to numbered forms: +# test_v11_review3_bare_clinic_street_still_allowed (4 bare cases dropped), test_v11_review3_clinic_street_with_name_prefix +# ("Come to Main Street, Suite 400" dropped), test_v11_review4_clinic_street_still_allowed (4 bare cases dropped). +_FINAL_ALLOW = ["1180 Peachtree Park Drive NE, Suite 400, Atlanta, GA 30309"] + + +@pytest.mark.parametrize( + "text", + [ + "Peachtree Park Drive NE, Atlanta", + "Jane Roe\nPeachtree Park Drive NE\nAtlanta", + "We bought a house on Peachtree Park Drive NE, close to your clinic", + "Jane Roe, Peachtree Park Drive NE, see you at the office", + "We're renting on Peachtree Park Drive NE", + "I'm coming from Peachtree Park Drive NE so I'll need parking", + "We are on Peachtree Park Drive NE", + ], +) +def test_v11_final_bare_clinic_street_masked(text): + out = Masker(policy=Policy(allow=_FINAL_ALLOW)).mask(text, "s").text + assert "Peachtree" not in out, out + assert "1184" not in out and " 12" not in out and "1182" not in out, out + + +def test_v11_final_other_number_on_clinic_street_masked(): + out = Masker(policy=Policy(allow=_FINAL_ALLOW)).mask("I live at 1184 Peachtree Park Drive NE", "s").text + assert "1184" not in out and "Peachtree" not in out + + +@pytest.mark.parametrize( + "text", + [ + "Call 416-555-0199. Two embryos transferred, Three more frozen.", + "My number is 416 555 0199. One embryo was transferred.", + "Phone: (416) 555-0199. Five days after transfer I had spotting", + "Call 416-555-0199.\nTrois jours", + ], +) +def test_v11_final_number_word_after_sentence_not_swallowed(text): + out = Masker().mask(text, "s").text + assert "embryo" in out or "days" in out or "jours" in out + for w in ("Two", "One", "Five", "Trois"): + if w in text: + assert w in out, out + + +def test_v11_final_spoken_digit_runs_still_join(): + for t in ["call me at four one six five five five zero one nine nine", "four one six five five five zero one one nine. two embryos"]: + assert "four one six" not in Masker().mask(t, "s").text + assert "five five five" not in Masker().mask("four one six. Five five five. One two three four", "s").text + + +def test_v11_final_plus_phone_round_trip(): + m = Masker(policy=Policy()) + for t in [ + "Call plus 44 7700 900123. Six Nations Reserve, Main Street. plus 44 7700 900123 ok", + "Call plus 44 7700 900123. Six weeks ago I had a transfer. plus 44 7700 900123 ok", + "I live on Six Nations Reserve. My phone is plus 44 7700 900123. Six Nations Reserve again. plus 44 7700 900123", + ]: + r = m.mask(t, "c") + assert m.unmask(r.text, "c") == t, r.text + + +_ROUND_TRIP_MESSAGES = [ + "Hi, this is Jane Roe, my email is jane.roe@example.com and my phone is 416-555-0142.", + "Please call 416-555-0142 or email jane.roe@example.com. Thanks, jane.roe@example.com", + "My DOB is 03/14/1988.\r\nMy health card is 1234-567-890-AB.\r\nCall 416-555-0142.", + "I live at 25 Elm Street, Toronto ON M5V 1A1. Same address: 25 Elm Street, Toronto ON M5V 1A1.", + "Call 416-555-0199. Two embryos transferred, Three more frozen. Call 416-555-0199.", + "Phone: (416) 555-0199. Five days after transfer I had spotting. (416) 555-0199", + "Call plus 44 7700 900123. Six Nations Reserve, Main Street. plus 44 7700 900123 ok", + "four one six five five five zero one nine nine, again four one six five five five zero one nine nine", + "Email a@example.org,b@example.org;c@example.org\nd@example.net", + "Visit www.example.org/portal or www.example.org/portal today.", + "SSN 123-45-6789 and again 123-45-6789.", + "Appointment on March 3, 2027 at 9:30. Then March 3, 2027 again.", + "Dr. Lee said Maria Gomez should call 613-555-0100.\r\n\r\nMaria Gomez agrees. 613-555-0100", + "Card 4111 1111 1111 1111 expires 12/28; 4111 1111 1111 1111.", + "I'm Anna Kowalska, mieszkam przy Kwiatowa 5, Warszawa. Anna Kowalska", + "Mi teléfono es 416-555-0101 y mi correo ana@example.com.", + "Mon numéro: 514-555-0123. Trois embryons. 514-555-0123", + "416-555-0142416-555-0142", + "a@example.com\nb@example.com\r\na@example.com", + "Zip 90210 and 90210-1234 and 90210.", + "Order #AB-12345, Order #AB-12345.", + "My MRN is 77412 (MRN 77412).", + "From 416-555-0142 to 416-555-0143 to 416-555-0142.", + "Call me at 416 555 0142, 416 555 0142!", + "Jane Roe (jane.roe@example.com)/416-555-0142", + "\n\n416-555-0142\n\n", + "Her number is plus 1 416 555 0142. plus 1 416 555 0142.", + "Text 647-555-0177 or call 647-555-0177. One more thing.", + "My name is Priya Shah. Priya Shah, born 1990-05-04, 1990-05-04.", + "Send to 25 Elm Street, Apt 4\r\nToronto ON M5V 1A1\r\n25 Elm Street, Apt 4", +] + + +def test_v11_final_mask_unmask_round_trip_property(): + for i, t in enumerate(_ROUND_TRIP_MESSAGES): + for policy in (Policy(), Policy(date_mode="mask") if "date_mode" in Policy.__dataclass_fields__ else Policy()): + m = Masker(policy=policy) + r = m.mask(t, f"rt{i}") + assert m.unmask(r.text, f"rt{i}") == t, (t, r.text) + + +@pytest.mark.parametrize( + "text", + [ + "I have MS. I am tired.", + "She has MS. A neurologist referred her.", + "Re: LDN. Please advise.", + "Patient SOB noted at follow-up visit.", + "Pochodzę z Europy.", + "Directions to the clinic: the white house past the Esso on Highway 7.", + ], +) +def test_v11_final2_ordinary_text_not_masked(text): + assert Masker().mask(text, "s").text == text + + +@pytest.mark.parametrize( + "text, gone", + [ + ("Sra. A llamó", "Sra. A "), + ("Mrs. O in rm 5", "Mrs. O "), + ("Pochodzę z Krakowa.", "Krakowa"), + ("My place is the blue house past the Circle K on Hwy 20.", "Circle K"), + ("call 601 234 567. Two embryos", "601 234 567"), + ("Zadzwoń 48 601 234 567. Dwa zarodki", "601 234 567"), + ("my phone is 52 55 1234 5678. Three days ago", "1234 5678"), + ], +) +def test_v11_final2_identifiers_still_masked(text, gone): + assert gone not in Masker().mask(text, "s").text + + +def test_v11_final2_nanp_number_stops_at_sentence(): + assert Masker().mask("Call 416-555-0199. Two embryos.", "s").text == "Call [PHONE_1]. Two embryos." + + +@pytest.mark.parametrize( + "text, gone", + [ + ("Surname Easy", "Easy"), + ("Patient Ready, Anna", "Ready"), + ("My surname is Hard, spelled H, A, R, D", "Hard"), + ("my phone, area code 416, then 555, then 0182", "0182"), + ("What is your home address?\nMarkham Road", "Markham"), + ], +) +def test_v11_final3_identifiers_masked(text, gone): + assert gone not in Masker().mask(text, "s").text + + +@pytest.mark.parametrize( + "text", + [ + "it is hard to say", + "Patient UC flare", + "patient RA on methotrexate", + "patient OCD", + "patient LAH", + "Which address is closest for you?\nMarkham Road", + "Which address works for pickup?\nQueen Street", + "Call-back: area code 416, then 555, then 0100 (clinic main line)", + "Call us: area code\n416\nthen 555\nthen 0100", + ], +) +def test_v11_final3_ordinary_text_not_masked(text): + assert Masker().mask(text, "s").text == text + + +@pytest.mark.parametrize( + "text, gone", + [ + ("yes this is she i spoke to miss day yesterday", "miss day"), + ("and miss chance called back", "chance"), + ("Vivo en Toronto", "Toronto"), + ("Mieszkam w Krakowie", "Krakowie"), + ("Where do you live?\nSudbury", "Sudbury"), + ("Patient KM, 34yo", "KM"), + ], +) +def test_v11_final5_identifiers_masked(text, gone): + assert gone not in Masker().mask(text, "s").text + + +@pytest.mark.parametrize( + "text", + [ + "i will miss work tomorrow", + "Hola, estoy en Fase 3 y tengo dolor", + "Soy de Tipo O positivo", + "Mieszkam w Pobliżu kliniki", + "Jestem z Mężem na wizycie", + "Patient ALT 45 and AST 30, both normal", + "Pt VM full, could not leave message", + "Re: PET scan results", + "Dónde vive?\nCentro", + "Where do you live?\nDowntown", + ], +) +def test_v11_final5_ordinary_text_not_masked(text): + assert Masker().mask(text, "s").text == text + + +def _stub_masker(staff): + import re + + from phiproxy.entities import Entity, EntityType + + class Stub: + def detect(self, text): + return [Entity(EntityType.NAME, m.start(), m.end(), m.group(), 0.9, "gliner") for m in re.finditer(r"\b(?:TB|MJ|TN)\b", text)] + + return Masker(detectors=[RegexDetector(), Stub()], policy=Policy(staff=staff)) + + +@pytest.mark.parametrize( + "text, gone", + [ + ("Husband: TB", "TB"), + ("my husband MJ", "MJ"), + ("Please call MJ", "MJ"), + ("Husband MJ NP", "MJ"), + ("MJ and TN", "MJ"), + ], +) +def test_v11_final6_patient_initials_not_staff(text, gone): + assert gone not in _stub_masker(["Maria Jones", "Tina Nguyen"]).mask(text, "s").text + + +@pytest.mark.parametrize( + "text, gone", + [ + ("Are you closed Nov 14? I have a retrieval that day.", "Nov 14"), + ("We are closed Nov 14. I have my transfer then", "Nov 14"), + ("We are closed Nov 14 and Nov 15. Sarah's retrieval is Nov 14.", "Nov 14"), + ], +) +def test_v11_final6_personal_date_after_closure_masked(text, gone): + assert gone not in Masker().mask(text, "s").text + + +@pytest.mark.parametrize( + "text", + [ + "@pcos_mom1 PCOS is common.", + "Follow @endo_warrior1 on IG. Endo pain is bad", + "Señora Doctora Lee la atenderá.", + "pt GA 8w", + "pt ANA neg", + "Cash App $northside accepted.", + ], +) +def test_v11_final6_ordinary_text_kept(text): + out = Masker(policy=Policy(staff=["Dr. Sarah Lee"])).mask(text, "s").text + for w in ("PCOS", "Endo", "Doctora Lee", "GA", "ANA", "$northside", "December 24"): + if w in text: + assert w in out, (text, out) diff --git a/tests/test_regex.py b/tests/test_regex.py index 2ba7557..c7d0138 100644 --- a/tests/test_regex.py +++ b/tests/test_regex.py @@ -1434,3 +1434,1467 @@ def test_v10_review4_unicode_spaces_in_name_cues(): for t in ("My name is Sarah Cohen.", "My name is Sarah Cohen.", "My name is Sarah Cohen."): out = Masker().mask(t, "s").text assert "Cohen" not in out and "Sarah" not in out, (t, out) + + +@pytest.mark.parametrize( + "text,values", + [ + ( + "Patient: what is the new phone number?\nPatient: the area code is 212\nPatient: then 555\nPatient: 0147\n" + "Assistant: Just to confirm: 212-555-0147?\nPatient: sorry, 0174 not 0147\n", + ["212", "555", "0147", "0174"], + ), + ( + "Paciente: mi numero de telefono\nPaciente: el codigo de area es 305\nPaciente: luego 555\nPaciente: termina en 0133\n" + "Paciente: perdon, es 0138\n", + ["305", "555", "0133", "0138"], + ), + ("Caller: Sure. The area code is 646, then 555, then 0119.\n", ["646", "555", "0119"]), + ("Pacjent: numer telefonu?\nPacjent: kierunkowy 312\nPacjent: potem 555\nPacjent: i 0104\n", ["312", "555", "0104"]), + ], +) +def test_v11_phone_in_pieces(text, values): + got = [e.text for e in RegexDetector().detect(text) if e.type is T.PHONE and len(e.text) <= 4] + for v in values: + assert v in got + + +@pytest.mark.parametrize( + "text", + [ + # no phone talk near the groups + "Patient: the code is 212\nPatient: then 555\nPatient: 0147\n", + # times, doses and extensions after a phone question: not a NANP sequence of pieces + "Agent: what is your phone number?\nPatient: see you at 0930\nPatient: my dose is 150 mg\nPatient: ext 4412\n", + "Agent: what is the best number to reach you?\nPatient: 0845h works\nPatient: and 0930\n", + # area code and exchange only: no line number follows + "Agent: your phone number?\nPatient: area code 212\nPatient: then 555\nPatient: let me look it up\n", + ], +) +def test_v11_phone_in_pieces_lookalikes(text): + assert not [e for e in RegexDetector().detect(text) if e.type is T.PHONE] + + +@pytest.mark.parametrize( + "text,etype,value", + [ + ("Pod numer plus 48 555 010 203. Dziękuję.", T.PHONE, "plus 48 555 010 203"), + ("me llaman al más 52 555 010 2030 gracias", T.PHONE, "más 52 555 010 2030"), + ("Caller: mi, k, e, l, l, i, s, o, n, eight eight, at example dot com", T.EMAIL, "k, e, l, l, i, s, o, n, eight eight, at example dot com"), + ("L'adresse, c, tremblay, tiret, roy, arobase example point org.", T.EMAIL, "c, tremblay, tiret, roy, arobase example point org"), + ("y el apellido p, e, eñe, a. Es la cita", T.NAME, "p, e, eñe, a"), + ("số điện thoại em là bốn không bốn, năm năm năm, không một tám hai", T.PHONE, "bốn không bốn, năm năm năm, không một tám hai"), + ], +) +def test_v11_spoken_and_spelled_pieces(text, etype, value): + assert (etype, value) in types_in(text) + + +@pytest.mark.parametrize( + "text", + [ + "Add plus 2 more vials and 100 units", + "plus 20 30 40", + "Blood type A, B, O are all fine to donate", + "yes, sure, ok, at example dot com", + "ba năm trước tôi đến đây", + ], +) +def test_v11_pieces_lookalikes(text): + got = {e.type for e in RegexDetector().detect(text)} + assert not (got & {T.PHONE, T.EMAIL}) + + +def test_v11_phone_pieces_later_number_not_a_correction(): + text = "Agent: phone number?\nPatient: 212\nPatient: 555\nPatient: 0147\nPatient: room 3300 please\nPatient: 0930\n" + got = [e.text for e in RegexDetector().detect(text) if e.type is T.PHONE] + assert got == ["212", "555", "0147"] + + +def test_v11_vietnamese_three_needs_vietnamese_neighbour(): + assert (T.PHONE, "ba không bốn, năm năm năm, không một tám hai") in types_in("số điện thoại em là ba không bốn, năm năm năm, không một tám hai") + assert not [e for e in RegexDetector().detect("Dish B: #7 5AA, #8 4BA. Lot BA06431") if e.type is T.PHONE] + + +@pytest.mark.parametrize( + "text,etype,value", + [ + ("please use RR 5, Site 2, Box 31, Greenfield NS B0X 1A0 for the courier", T.ADDRESS, "RR 5, Site 2, Box 31, Greenfield"), + ("ship to Rural Route 7, Pinecrest please", T.ADDRESS, "Rural Route 7, Pinecrest"), + ("She lives at PO Box 204, Oakvale. Thanks", T.ADDRESS, "PO Box 204, Oakvale"), + ("meet at the pull-off near 45.1234, -64.5678, bring the cooler", T.ADDRESS, "45.1234, -64.5678"), + ("coordenadas 19.1234, menos 99.5678 cerca del mercado", T.ADDRESS, "19.1234, menos 99.5678"), + ("the drop location is at 33.1234, 84.5678 near the barn", T.ADDRESS, "33.1234, 84.5678"), + ("it's the red house past the Shell on Hwy 7, then the second gravel drive on the left", T.ADDRESS, + "the red house past the Shell on Hwy 7, then the second gravel drive on the left"), + ("we're in Pinewood County so it is a drive", T.ADDRESS, "Pinewood County"), + ("vivo en el condado de Larkin y es lejos", T.ADDRESS, "condado de Larkin"), + ("אנחנו גרים בקאונטי לרקין ואני מחכה", T.ADDRESS, "קאונטי לרקין"), + ("We live in Fairhaven First Nation near the lake", T.ADDRESS, "Fairhaven First Nation"), + ("I'm from Tidewater and about three hours out", T.ADDRESS, "Tidewater"), + ("we are now in the Harbourview area", T.ADDRESS, "Harbourview"), + ("J'habite à Rivière-du-Moulin depuis un an", T.ADDRESS, "Rivière-du-Moulin"), + ("Vivimos en Villanueva del Rio desde marzo", T.ADDRESS, "Villanueva del Rio"), + ("Mieszkamy w Zielonowie od roku", T.ADDRESS, "Zielonowie"), + ("אני גרה בנווה צדק עכשיו", T.ADDRESS, "נווה צדק"), + ("referral, de Millhaven, N.-É. Diagnostic: SOPK", T.ADDRESS, "Millhaven"), + ("Unit 9, Maple Row 22, Fort Calder, 31999", T.ADDRESS, "Unit 9, Maple Row 22, Fort Calder"), + ("Unit 9, Maple Row 22, Fort Calder, 31999", T.ZIP, "31999"), + ("mail to PSC 1234, Box 55, APO AE 09999", T.ADDRESS, "PSC 1234, Box 55"), + ("mail to PSC 1234, Box 55, APO AE 09999", T.ZIP, "09999"), + ("vivo en Hartley Residence Hall, room 305", T.ADDRESS, "Hartley Residence Hall, room 305"), + ("Nuestro domicilio es Calle Sol 12, Colonia del Prado, San Marcos", T.ADDRESS, "Colonia del Prado, San Marcos"), + ("cerca del mercado en colonia Santa Clara del Sur. Mi número", T.ADDRESS, "colonia Santa Clara del Sur"), + ("hay un buzón con el número 5521. Si me llaman", T.ADDRESS, "5521"), + ("une boîte aux lettres rouge avec le 3377 écrit dessus", T.ADDRESS, "3377"), + ("My postal code is bee three ell, two cee four.", T.POSTAL_CODE, "bee three ell, two cee four"), + ("저희 Suwanee로 이사했어요. 우편번호 30099", T.POSTAL_CODE, "30099"), + ("저희 Suwanee로 이사했어요.", T.ADDRESS, "Suwanee"), + ("Nou rete nan Westfield kounye a", T.ADDRESS, "Westfield"), + ("my niece Anna Brook from Eastport", T.ADDRESS, "Eastport"), + ("we live in Duluth, off Candle Road, so we will leave early", T.ADDRESS, "Candle Road"), + ("Agent: mailing address?\nCaller: Okay. The number is forty-one.\nAgent: Forty-one what?\nCaller: Oak Row Lane. Hold on", T.ADDRESS, "forty-one"), + ("Agent: mailing address?\nCaller: Okay. The number is forty-one.\nAgent: Forty-one what?\nCaller: Oak Row Lane. Hold on", T.ADDRESS, "Oak Row Lane"), + ("My daughter goes to Hillside Elementary and I need to pick her up", T.EMPLOYER, "Hillside Elementary"), + ("our kids attend Cedar Montessori", T.EMPLOYER, "Cedar Montessori"), + ("3 Birchwood Cove, Marietta", T.ADDRESS, "3 Birchwood Cove, Marietta"), + ("send it to 4B-123 Main St", T.ADDRESS, "4B-123 Main St"), + ("2210 Briarcliff Road, mieszkanie 4B", T.ADDRESS, "2210 Briarcliff Road, mieszkanie 4B"), + ("send to 123, rue Principale, app. 4, Dieppe", T.ADDRESS, "123, rue Principale, app. 4, Dieppe"), + ], +) +def test_v11_places_and_addresses(text, etype, value): + assert (etype, value) in types_in(text) + + +@pytest.mark.parametrize( + "text", + [ + "TSH 2.4567, 3.1234 mIU/L", + "Is the lot on Dundas Street open? And the pharmacy off Bay Road?", + "Dear Dr. Lee, thank you", + "this is Dana from Garden State Mutual calling about the claim", + "the court of Marion County, docket 1234; condado de Larkin, expediente 55", + "I'm in Day 3 of stims and from Monday I am off", + "I'm from Canada originally, we speak French", + "We moved to Menopur 75 and switched from Gonal-f", + "I live in a house past the church", + "back in April we met; now in Week 8", + "the Fulton County Family Services caseworker called", + "the case is at the court of Marion County", + "Go to Hillcrest Pharmacy on Monday", + "We are from the Nigerian community in the city", + "RR 2 interval was normal", + "the blue house is nice and the other house is green", + "my number is forty-one and I'll call back", + "pick up my son's school bag, Elementary school ok", + "Hello, Mark, NS here", + ], +) +def test_v11_places_lookalikes_not_masked(text): + got = {e.text for e in RegexDetector().detect(text) if e.type in {T.ADDRESS, T.EMPLOYER, T.ZIP, T.POSTAL_CODE}} + assert not got + + +@pytest.mark.parametrize( + "text,value", + [ + ("Best regards,\nJoanna Kral\nRidgefield, GA\nblog: example.net", "Ridgefield"), + ("Pozdrawiam\nAnna\nזמני\nרידג'פילד, GA\nx", None), + ("zam. ul. Lipowa 4/2, 31-120 Wieliczka, tel. 555", "Wieliczka"), + ], +) +def test_v11_town_on_signature_or_after_postal_code(text, value): + got = [e.text for e in RegexDetector().detect(text) if e.type is T.ADDRESS] + if value: + assert value in got + + +def test_v11_signature_lookalikes(): + for text in ["Thanks, OK\nsee you", "Regards, IN\nbye", "Hello, ME\n"]: + assert not [e for e in RegexDetector().detect(text) if e.type is T.ADDRESS] + + +def _texts(text): + return {e.text for e in RegexDetector().detect(text)} + + +def _covers(text, value): + start = text.index(value) + ents = RegexDetector().detect(text) + return all(any(e.start <= i < e.end for e in ents) for i in range(start, start + len(value))) + + +@pytest.mark.parametrize( + "text,value", + [ + ("paid via Venmo @rsmith-ATL77 yesterday", "@rsmith-ATL77"), + ("my Zelle handle is @ana-gomez-4 ok", "@ana-gomez-4"), + ("I can send via Venmo @pat-lee-12 if you have one", "@pat-lee-12"), + ("Venmo @piperj", "@piperj"), + ("Cash App, it's $rsmith77.", "$rsmith77"), + ("tengo cash app $ana.m.0412 y zelle", "$ana.m.0412"), + ("su venmo es @lu-perez-12 y el mio es $luperez88", "$luperez88"), + ("בוונמו מהחשבון @dan-levi-88 תודה", "@dan-levi-88"), + ], +) +def test_v11_payment_handles(text, value): + assert _covers(text, value) + + +@pytest.mark.parametrize( + "text", + [ + "the deposit is $400 and the balance $1,200 due", + "costs $5k per cycle or $2.50 each", + "see you @ 5pm at the clinic", + "follow our page @magnolia-ra-clinic for news", + "send it to billing@example.org", + "meet me at the front-desk, not the side door", + ], +) +def test_v11_payment_handle_lookalikes(text): + got = {e.text for e in RegexDetector().detect(text) if e.type in {T.ACCOUNT, T.ID}} + assert not got + + +def test_v11_bank_numbers_after_cue(): + assert _covers("my transit and institution are 54321-004, account 1234567", "54321-004") + assert _covers("bank transit 54321 004 and", "54321 004") + assert _covers("My bank is routing 021000021 account 0012345678", "021000021") + assert _covers("el routing es 123456780 y la cuenta", "123456780") # cue present: no checksum needed + assert _covers("ABA 011401533", "011401533") + # no bank cue: a bare nine digits or a postal-like 5-3 group is not an account + assert "021000021" not in {e.text for e in RegexDetector().detect("Order 021000021 shipped") if e.type is T.ACCOUNT} + assert not [e for e in RegexDetector().detect("room 54321-004 is free") if e.type is T.ACCOUNT] + + +def test_v11_cheque_numbers(): + assert _covers("I mailed cheque #2218 for $1,500", "#2218") + assert _covers("my check number 1042 bounced", "1042") + assert _covers("su cheque número 7788 fue devuelto", "7788") + assert not [e for e in RegexDetector().detect("please check number of vials and cheque or card") if e.type is T.ACCOUNT] + assert not [e for e in RegexDetector().detect("check #1 done, cheque 2 later") if e.type is T.ACCOUNT] + + +def test_v11_last_four_answered_on_next_line(): + t = "Asistente: Los últimos cuatro del seguro social?\nPaciente: es 4417\nAsistente: Gracias." + assert _covers(t, "4417") + t = "Agent: Can you give me the last four of the card?\nCaller: it is 8821." + assert _covers(t, "8821") + # not a last-four question: the next line's number stays + assert "4417" not in _texts("Asistente: Cuándo es su cita?\nPaciente: es 4417 el cuarto piso") + + +def test_v11_card_ending_not_a_lot_number(): + assert "0457" not in _texts("the lot number on the box ends in 0457") + assert "0457" not in _texts("batch is stamped, serial ends in 0457") + assert "7702" in _texts("Card ending 7702") + + +@pytest.mark.parametrize( + "text,value", + [ + ("log: login ok user=u_55102 ip=203.0.113.9", "u_55102"), + ("app account name is moon_phase_21 on the app", "moon_phase_21"), + ("usr=jdoe_7741 download", "jdoe_7741"), + ("Account name: mtorres_2026", "mtorres_2026"), + ("my pump serial is SN 4KT0071XZ2 thanks", "SN 4KT0071XZ2"), + ("my wearable band serial, WQ-44-12345", "WQ-44-12345"), + ], +) +def test_v11_app_accounts_and_device_serials(text, value): + assert _covers(text, value) + + +@pytest.mark.parametrize( + "text", + [ + "user error occurred twice", + "the label printer serial ZX9Q-1234-5678 was replaced", + "Pipette set serial 33AB-4455 checked", + "account name changed", + ], +) +def test_v11_account_and_serial_lookalikes(text): + got = {e.text for e in RegexDetector().detect(text) if e.type in {T.ACCOUNT, T.ID}} + assert not got + + +def test_v11_court_and_military_ids(): + assert _covers("court file number 24-FC-01234, hearing in May", "24-FC-01234") + assert _covers("matter 25-DR-99871 pending", "25-DR-99871") + assert _covers("מספר ההליך תמ״ש 1234-25 בבית המשפט", "תמ״ש 1234-25") + assert _covers("I'm 1234-56-7890 for the military ID if you need it", "1234-56-7890") + assert _covers("my DoD ID number is 1234567890", "1234567890") + assert not [e for e in RegexDetector().detect("the 2026-11-03 visit, 12-34-5678 pages") if e.type is T.ID] + + +def test_v11_ids_in_digit_groups_after_cue(): + assert _covers("Mi cédula es 12 345 678 y mi pasaporte", "12 345 678") + assert _covers("her status card number is 1234 567 89 thanks", "1234 567 89") + assert not [e for e in RegexDetector().detect("Insur ID card scanned on 11 03 2026") if e.type is T.ID] + assert not [e for e in RegexDetector().detect("la cédula quedó en 12 sala") if e.type is T.ID] + + +def test_v11_health_cards_in_groups_and_pieces(): + assert _covers("CARTE MEDICARE N.-B.: 123 456 789", "123 456 789") + assert _covers("MSI card 123 456 789 expires", "123 456 789") + t = "Bot: numéro de votre carte d'assurance maladie?\nPatiente: C'est ABCD 1234\nPatiente: 5678\nBot: merci" + assert _covers(t, "ABCD 1234") and _covers(t, "5678") + # no health-card word before it: a letters+digits label is not a card + assert not [e for e in RegexDetector().detect("tube EDTA 1234\nnext: 5678") if e.type is T.HEALTH_CARD] + assert not [e for e in RegexDetector().detect("Medicare visit on 2026-11-03") if e.type is T.HEALTH_CARD] + + +def test_v11_sin_named_earlier_needs_no_checksum(): + t = "The form asks for my SIN, which is 123 456 782. His is 412 880 659. Thanks." + assert _covers(t, "412 880 659") + # no SIN named: nine digits that fail the checksum are not a SIN + assert not [e for e in RegexDetector().detect("ref 412 880 659 for the shipment") if e.type is T.SIN] + + +def test_v11_insurer_contract_and_plate(): + assert _covers("ma mutuelle est la ACME contrat 4408217.", "ACME contrat 4408217") + assert not [e for e in RegexDetector().detect("HIPAA policy 164 applies") if e.type is T.ACCOUNT] + assert _covers("a grey Subaru, plate ABC 1234, Georgia", "ABC 1234") + assert not [e for e in RegexDetector().detect("the plate was warm, 37 degrees") if e.type is T.ID] + + +def test_v11_time_and_spanish_sin_are_not_ids(): + assert not [e for e in RegexDetector().detect("first one at 0800h. Two FETs at 1030h") if e.type is T.ID] + assert not [e for e in RegexDetector().detect("esperé sin que nadie avisara, FSH de 11 y un AMH de 0.6") if e.type is T.ID] + assert not [e for e in RegexDetector().detect("Lote del medio: LOT-5503 y TRK-90044172") if e.type in {T.ID, T.ACCOUNT}] + + +def _v11d(text): + return {e.text for e in RegexDetector().detect(text) if e.type is T.DATE} + + +def _v11d_has(text, value): + return any(value in t or t in value for t in _v11d(text)) + + +@pytest.mark.parametrize( + "text,value", + [ + ("Attached: IMG_20260314_sam.jpg", "20260314"), + ("see IMG-20250102.jpg", "20250102"), + ("Assistant: Please give your date of birth.\nPatient: June\nAssistant: Which day?", "June"), + ("Paciente: julio\nAsistente: Y el año?", "julio"), + ("normal HSG last April. Seen by Dr. Lee", "last April"), + ("Is it the twenty-second still? That is what I wrote", "the twenty-second"), + ("mon rendez-vous est jeudi le 21 avec le docteur", "jeudi le 21"), + ("de mardi le 12 parce que mon mari travaille", "mardi le 12"), + ("생년월일은 1991년 8월 14일", "1991년 8월 14일"), + ("Interpreter: 1994년 2월 9일입니다.", "1994년 2월 9일"), + ("em sinh ngày mười hai tháng ba năm 1990, số điện thoại", "ngày mười hai tháng ba năm 1990"), + ("sinh 12 tháng 3 năm 1990", "12 tháng 3 năm 1990"), + ("מתורגמן: שלושה במאי שבעים ותשע.", "שלושה במאי שבעים ותשע"), + ("pacjentami od marca", "marca"), + ("my retrieval is 31.2", "31.2"), + ("pain started 5/10", "5/10"), + ("retrieval 11/12", "11/12"), + ("recalibrated 11/12 for you", "11/12"), + ("closed Dec 24, my appointment is Dec 23", "Dec 23"), + ("Coverage effective January 1", "January 1"), + ("the clinic is closed Monday. My retrieval is January 1", "January 1"), + ], +) +def test_v11_dates_masked(text, value): + assert _v11d_has(text, value), (text, _v11d(text)) + + +@pytest.mark.parametrize( + "text", + [ + "BMI 31.2 means metformin first", + "my BMI was 29.4 at the consult", + "IMC de 31.2", + "pain >7/10 go to the ER", + "pain 4/10, voided", + "rated 8/10", + "dispose when 3/4 full", + "Incubator 2 recalibrated 11/12, no embryos affected", + "Patient: may", + "hai tháng ba lần", + "the third embryo looks good", + ], +) +def test_v11_dates_lookalikes_not_masked(text): + assert not _v11d(text), (text, _v11d(text)) + + +def _v11n(text): + return {e.text for e in RegexDetector().detect(text) if e.type is T.NAME} + + +@pytest.mark.parametrize( + "text,value", + [ + ("Triage 1420h. Pt KJ 34yo G2P1 c/o cramping", "KJ"), + ("nurse huddle: also re: QX's FET, consent unsigned", "QX"), + ("RE: RE: FET de QX - protocolo", "QX"), + ("revisa el caso de la FET de QX antes del huddle", "QX"), + ("LLAMAR: lab re: AMH de ZV (0.4, repetir?)", "ZV"), + ("Mrs. Q rm 3 - retrieval today", "Q"), + ("Hab 1: Sra. Q - HSG 0830h", "Q"), + ("pt Z.Q. rm 3 wants the 1400 slot", "Z.Q."), + ("Hab 2: Z.Q. G3P0 - ecografía", "Z.Q."), + ("Z.Q. (2nd call) - bleeding after transfer", "Z.Q."), + ("the matched child, Baby Girl Z., is placed through the agency", "Baby Girl Z."), + ("Esposo Z. contesta el teléfono fijo", "Z."), + ("they are foster parents to Zadie, who is nine", "Zadie"), + ("Voici Zoé, elle a Zozo comme surnom", "Zozo"), + ("Attached: Scan - Zeller, Ngozi.pdf (the other lab)", "Zeller, Ngozi"), + ("Emergency contact: 정현수 470-555-0112", "정현수"), + ("Patient: 정민아 (Mina Zeller), DOB 1990-05-22", "정민아"), + ("Se escribe a-l-t-a, y el apellido p, e, eñe, a. Es la cita", "p, e, eñe, a"), + ("la señora Karla Zeller tiene su domicilio en Macon", "Karla Zeller"), + ("Caller: Ibrahim Zeller, husband of the patient\nSummary follows", "Ibrahim Zeller"), + ], +) +def test_v11_name_initials_and_cued_names(text, value): + assert any(value in n or n in value for n in _v11n(text)), (text, _v11n(text)) + + +@pytest.mark.parametrize( + "text", + [ + "pt FET day 5, beta Friday", + "pt ER visit, OHSS watch", + "RE: FET de IVF - protocolo", + "lab for CPT 83001 and 84702", + "bill from the lab for ICSI add-on", + "Dr. Zeller M.D. (REI) - 0830h", + "O.R. - 0830h, E.R. 4 pm", + "client IP 198.51.100.24, call dropped", + "Partner PHN: ___ (out of province)", + "DONOR EGG RESERVATION CONFIRMATION", + "Patient: 좋아요. Thank you", + "생년월일은 1991년 8월 14일, 전화번호가 바뀌었어요", + "I miss texts about the beta", + "Caller: It's hard to find, I'm up the road", + "Conjointe de fait", + "Proszę o imię i nazwisko oraz datę urodzenia.", + "Pt PT 2x/wk", + "foster parents to a boy, who is nine", + "a Scan, Results.pdf", + ], +) +def test_v11_name_initials_lookalikes_not_masked(text): + assert not _v11n(text), (text, _v11n(text)) + + +def test_v11_long_inputs_stay_fast_and_do_not_crash(): + import time + + d = RegexDetector() + d.detect("1" * 70000) # a digit run past Python's int() limit must not raise + t0 = time.time() + d.detect("ngày " + "hai mươi " * 3000) + assert time.time() - t0 < 5 + + +def _v11r1_vals(text, typ=None): + return [(e.type.name, e.text) for e in RegexDetector().detect(text) if typ is None or e.type.name == typ] + + +@pytest.mark.parametrize( + "text", + [ + "Answer a, b, c, d to the quiz", + "Opciones a, b, c, d", + "Survey answers: a, b, c, d, e", + "Questions 1-4: a, b, c, d", + "Opcje a, b, c, d", + "apellido: a, b, c, d", + ], +) +def test_v11_review1_comma_letters_need_name_cue(text): + assert _v11r1_vals(text, "NAME") == [] + + +@pytest.mark.parametrize( + "text,value", + [ + ("el apellido p, e, eñe, a", "p, e, eñe, a"), + ("mi apellido es p, e, eñe, a, y mi nombre es Ana", "p, e, eñe, a"), + ("my last name is k, o, w, a, l", "k, o, w, a, l"), + ("apellido: c, a, s, a, l, a, s y", "c, a, s, a, l, a, s"), + ("k o w a l c z y k", "k o w a l c z y k"), + ("w i l l y", "w i l l y"), + ], +) +def test_v11_review1_comma_letters_with_cue_stay_masked_without_y(text, value): + assert ("NAME", value) in _v11r1_vals(text) + + +@pytest.mark.parametrize( + "text,value", + [ + ("my cheque #2218", "#2218"), + ("I mailed cheque number 1042", "1042"), + ("cheque #2218 from me", "#2218"), + ("mon chèque n° 8841", "8841"), + ], +) +def test_v11_review1_patient_cheque_masked(text, value): + assert ("ACCOUNT", value) in _v11r1_vals(text) + + +@pytest.mark.parametrize( + "text", + ["Cheque #4521 was deposited", "Please mail the cheque to the clinic, cheque number 12345", "Cheque number 12345 has cleared"], +) +def test_v11_review1_clinic_cheque_unmasked(text): + assert _v11r1_vals(text, "ACCOUNT") == [] + + +def test_v11_review1_device_serial_needs_personal_device(): + assert _v11r1_vals("Device serial CryoTank-4421 is calibrated", "ID") == [] + assert _v11r1_vals("The monitor serial number CRYO44210 was replaced", "ID") == [] + assert ("ID", "ABC123456") in _v11r1_vals("my pump serial is ABC123456") + assert ("ID", "XY12345678") in _v11r1_vals("home glucometer serial is XY12345678") + assert ("ID", "3MH0041AB7") in _v11r1_vals("her dexcom serial 3MH0041AB7") + + +@pytest.mark.parametrize("text", ["IMG_20261114.jpg", "PXL_20261114_1.jpg", "Screenshot_20261114.png", "VID_20261114.mp4"]) +def test_v11_review1_photo_name_date_masked(text): + assert ("DATE", "20261114") in _v11r1_vals(text) + + +@pytest.mark.parametrize("text", ["scan_20261114.pdf", "consent_form_20261114.pdf", "Form_20261114.pdf", "report_20261114.pdf"]) +def test_v11_review1_clinic_file_name_date_unmasked(text): + assert _v11r1_vals(text, "DATE") == [] + + +def test_v11_review1_numbers_list_is_not_phone_pieces(): + assert _v11r1_vals("Estradiol numbers: 350, 420, 1100", "PHONE") == [] + assert _v11r1_vals("AMH numbers 250, 300, 1200", "PHONE") == [] + assert ("PHONE", "0100") in _v11r1_vals("phone numbers: 613, 555, 0100") + assert ("PHONE", "0100") in _v11r1_vals("my number is 613\n555\n0100") + assert ("PHONE", "1200") in _v11r1_vals("Here are my AMH numbers\n250\n300\n1200\nare they ok?") + + +@pytest.mark.parametrize("text", ["Re: TB test results", "Re: PGD", "Re: NY trip", "Re: BC pills", "Re: PRL", "Re: HSV", "pt POF; pt PGD; pt TVS", "Re: OCP"]) +def test_v11_review1_abbreviations_not_initials(text): + assert _v11r1_vals(text, "NAME") == [] + + +@pytest.mark.parametrize("text,value", [("pt JT, 34yo", "JT"), ("Re: JT", "JT"), ("Re: KJ's FET", "KJ"), ("pt NY", "NY")]) +def test_v11_review1_real_initials_stay(text, value): + assert ("NAME", value) in _v11r1_vals(text) + + +def test_v11_review1_three_letters_cue_keeps_member_id_letters(): + got = _v11r1_vals("empieza con tres letras, W, B, K y luego 90284715") + assert ("NAME", "W, B, K") in got + assert _v11r1_vals("tres letras, A, B, C", "NAME") == [] + + +@pytest.mark.parametrize( + "text,value", + [ + ("email: k - e - l - l - i at gmail dot com", "k - e - l - l - i at gmail dot com"), + ("my email is k e l l i at gmail dot com", "k e l l i at gmail dot com"), + ("my email is k. e. l. l. i at gmail dot com", "k. e. l. l. i at gmail dot com"), + ("email: k e l l i 8 8 at gmail dot com", "k e l l i 8 8 at gmail dot com"), + ("my email is k e l l i@gmail.com", "k e l l i@gmail.com"), + ], +) +def test_v11_review1_spelled_email_variants(text, value): + assert (T.EMAIL, value) in types_in(text) + + +@pytest.mark.parametrize("text", ["I am at the gmail dot com", "k e at home", "a b at the clinic dot com today"]) +def test_v11_review1_spelled_email_lookalikes_stay(text): + assert not any(t is T.EMAIL and len(v) > 12 for t, v in types_in(text)) + + +@pytest.mark.parametrize("text", ["my phone number is\n404-\n555-\n1234", "my cell: 404-\n555-\n1234"]) +def test_v11_review1_phone_pieces_with_trailing_dashes(text): + got = types_in(text) + assert {(T.PHONE, "404"), (T.PHONE, "555"), (T.PHONE, "1234")} <= got + + +def test_v11_review1_dashed_pieces_need_phone_cue_and_sequence(): + assert not types_in("the dose is\n250-\n500-\n750") + assert not types_in("my phone number is\n404-\n555-\n") + + +@pytest.mark.parametrize( + "text,value", + [ + ("my account number is 1234 5678 9012", "1234 5678 9012"), + ("account: 1234 5678 9012", "1234 5678 9012"), + ("bank account 1234 5678 9012 3456", "1234 5678 9012 3456"), + ], +) +def test_v11_review1_account_in_groups_of_four(text, value): + assert (T.ACCOUNT, value) in types_in(text) + + +def test_v11_review1_account_groups_lookalikes(): + assert (T.ACCOUNT, "2024 2025") not in types_in("my account 2024 2025") + assert not any(v == "1234 5678" for _, v in types_in("on page 1234 5678 there is a table")) + + +@pytest.mark.parametrize( + "text,value", + [ + ("I live on the Six Nations Reserve", "Six Nations Reserve"), + ("I live on Wikwemikong Unceded Reserve", "Wikwemikong Unceded Reserve"), + ("Six Nations Reserve No. 40", "Six Nations Reserve No. 40"), + ("Curve Lake IR 35", "Curve Lake IR 35"), + ("M'Chigeeng Reserve", "M'Chigeeng Reserve"), + ("réserve de Kahnawake", "réserve de Kahnawake"), + ("Reserve No. 40", "Reserve No. 40"), + ], +) +def test_v11_review1_first_nation_reserves(text, value): + assert (T.ADDRESS, value) in types_in(text) + + +@pytest.mark.parametrize( + "text", + ["the Federal Reserve raised rates", "Nature Reserve Park", "Reserve Bank of India", "réserve ovarienne basse", "réserve de sperme", "The Marine Reserve is closed"], +) +def test_v11_review1_reserve_lookalikes_stay(text): + assert not any(t is T.ADDRESS for t, _ in types_in(text)) + + +@pytest.mark.parametrize( + "text,value", + [ + ("I am at RR 2, Smithville", "RR 2, Smithville"), + ("R.R.#2 Smithville ON", "R.R.#2 Smithville"), + ("RR#2, Lacombe AB", "RR#2, Lacombe"), + ("I live at R.R. #2, Smithville", "R.R. #2, Smithville"), + ("RR2 Smithville", "RR2 Smithville"), + ("Route rurale 2, Saint-Jean", "Route rurale 2, Saint-Jean"), + ], +) +def test_v11_review1_rural_route_variants(text, value): + assert (T.ADDRESS, value) in types_in(text) + + +@pytest.mark.parametrize("text", ["RR 2.5 (95% CI)", "RR 2 Results show", "RR 2, Patients", "the RR 2 was low"]) +def test_v11_review1_rr_ratio_lookalikes_stay(text): + assert not any(t is T.ADDRESS for t, _ in types_in(text)) + + +@pytest.mark.parametrize( + "text,value", + [ + ("mieszkam w powiecie krakowskim", "powiecie krakowskim"), + ("powiat wielicki", "powiat wielicki"), + ("in Cobb county", "Cobb county"), + ], +) +def test_v11_review1_counties_polish_and_lowercase(text, value): + assert (T.ADDRESS, value) in types_in(text) + + +@pytest.mark.parametrize("text", ["w powiecie", "in the county hospital", "rotation of the county sheriff"]) +def test_v11_review1_county_lookalikes_stay(text): + assert not any(t is T.ADDRESS for t, _ in types_in(text)) + + +@pytest.mark.parametrize( + "text", + [ + "Voici mon numéro de chèque : 1045", + "J'ai envoyé le numero de cheque: 1045", + "Mi número de cheque 1045", + "I sent cheque 1045", + ], +) +def test_v11_review1_cheque_number_fr_es(text): + assert (T.ACCOUNT, "1045") in types_in(text) + + +@pytest.mark.parametrize( + "text", + ["cheque 1045", "The clinic sent cheque 1045", "numéro de chèque : 1045 reçu par la clinique", "I sent a cheque 500 dollars", "please check 1045 patients"], +) +def test_v11_review1_cheque_lookalikes_stay(text): + assert (T.ACCOUNT, "1045") not in types_in(text) + + +@pytest.mark.parametrize( + "text,value", + [ + ("Pt: J T", "J T"), + ("Pt initials JT", "JT"), + ("patient initials: JT", "JT"), + ("הפציינטית: ג.ט.", "ג.ט."), + ("המטופלת: ג.ט.", "ג.ט."), + ("המטופלת: ג״ט", "ג״ט"), + ], +) +def test_v11_review1_patient_initials_variants(text, value): + assert (T.NAME, value) in types_in(text) + + +@pytest.mark.parametrize("text", ["Pt: I V", "re: A B", "patient: A B", "המטופלת היא אישה"]) +def test_v11_review1_initials_lookalikes_stay(text): + assert not any(t is T.NAME for t, _ in types_in(text)) + + +def test_v11_review1_directions_with_owner_landmark_and_tail(): + got = types_in("the cabin behind the Smith barn, then the first road on the right. Please call") + assert (T.ADDRESS, "the cabin behind the Smith barn, then the first road on the right") in got + assert (T.ADDRESS, "the cabin behind the barn") in types_in("the cabin behind the barn") + + +@pytest.mark.parametrize( + "text", + [ + "last 4 of your ssn?\nPatient: it's 4417\nThanks", + "last 4 of your ssn?\n\nPatient: 4417\n", + "last four of ssn?\nPatient: 4417 and then 9\n", + "last 4 of your ssn?\nPatient: es 4417", + ], +) +def test_v11_review1_last_four_reply_variants(text): + assert (T.SSN, "4417") in types_in(text) + + +def test_v11_review1_last_four_reply_lookalikes_stay(): + assert not any(t is T.SSN for t, _ in types_in("last 4 of your ssn?\nPatient: no idea\n")) + assert not any(t is T.SSN for t, _ in types_in("last 4 of your ssn?\nPatient: 44171\n")) + + +def test_v11_review1_hebrew_doctor_abbreviation_is_not_initials(): + assert not any(t is T.NAME for t, _ in types_in('המטופל ד"ר כהן הגיע')) + assert not any(t is T.NAME for t, _ in types_in("המטופלת ד״ר")) + + +def test_v11_review1_spoken_plus_needs_phone_shape(): + d = RegexDetector() + for t in ("plus 5 10 15 20 25 30 35", "más 1 2 3 4 5 6 7 8 9 10", "plus 20 100 200 300 units"): + assert not [e for e in d.detect(t) if e.type is T.PHONE], t + for t in ("plus 48 555 010 203", "más 34 612 345 678"): + assert [e for e in d.detect(t) if e.type is T.PHONE], t + + +def test_v11_review1_miss_surname_after_verb_cue_masked(): + from phiproxy import Masker + + assert Masker().mask("did not miss garcia", "s").text == "did not miss [NAME_1]" + for t in ("I miss texts", "we'll miss you", "i will miss work tomorrow", "to miss the appointment"): + assert Masker().mask(t, "s").text == t + + +@pytest.mark.parametrize( + "text", + [ + "My insurance policy is effective January 1, 2026", + "My coverage policy was effective from March 3 2025", + "My treatment schedule effective Nov 14", + "Mi póliza de seguro vigente schedule effective March 3 2025, mis datos", + ], +) +def test_v11_review2_personal_effective_date_stays_masked(text): + assert any(t is T.DATE for t, _ in types_in(text)) + + +@pytest.mark.parametrize("text", ["My GPS is 45.4215, -75.6972.", "gps: 45.4215,-75.6972."]) +def test_v11_review2_gps_pair_before_full_stop(text): + found = RegexDetector().detect(text) + assert [e.text for e in found if e.type is T.ADDRESS] == [text.split("is ")[-1].split(": ")[-1][:-1]] + + +def test_v11_review2_gps_lookalike_keeps_old_behaviour(): + assert not any(t is T.ADDRESS for t, _ in types_in("gps 45.4215, -75.6972.5")) + + +@pytest.mark.parametrize( + "text,span", + [ + ("PO Box 12, Station A", "PO Box 12, Station A"), + ("Mail to PO Box 12 Stn B", "PO Box 12 Stn B"), + ("PO Box 118, Cartersville", "PO Box 118, Cartersville"), + ], +) +def test_v11_review2_po_box_station_span(text, span): + assert span in [e.text for e in RegexDetector().detect(text) if e.type is T.ADDRESS] + + +def test_v11_review2_plate_span_excludes_cue(): + ids = [e.text for e in RegexDetector().detect("plate ABC 123.") if e.type is T.ID] + assert ids == ["ABC 123"] + assert [e.text for e in RegexDetector().detect("the plate TFR 4418 was seen") if e.type is T.ID] == ["TFR 4418"] + + +def test_v11_review2_initials_do_not_swallow_possessive(): + names = [e.text for e in RegexDetector().detect("pt MJ's chart") if e.type is T.NAME] + assert names and all(n == "MJ" for n in names) + + +def test_v11_review2_spelled_accent_letters_keep_conjunction(): + names = [e.text for e in RegexDetector().detect("apellido: G, a, r, c, í, a, y mi nombre es Ana") if e.type is T.NAME] + assert "G, a, r, c, í, a" in names and not any(n.endswith("y") for n in names) + + +def test_v11_review2_toneless_vietnamese_phone_needs_cue(): + got = [e.text for e in RegexDetector().detect("so dien thoai cua toi la khong mot hai ba bon nam sau bay tam chin") if e.type is T.PHONE] + assert got == ["khong mot hai ba bon nam sau bay tam chin"] + assert not RegexDetector().detect("khong mot hai ba bon nam sau bay tam chin") + assert not RegexDetector().detect("sdt khong mot hai ba bon") + + +@pytest.mark.parametrize( + "text,value", + [ + ("patient J.R. Smith called", "J.R. Smith"), + ("Patient J.T. Smith, 34F", "J.T. Smith"), + ("patient A. B. C.", "A. B. C."), + ], +) +def test_v11_review3_dotted_initials_take_the_surname(text, value): + got = [e.text for e in RegexDetector().detect(text) if e.type is T.NAME] + assert value in got + + +@pytest.mark.parametrize("text", ["patient e.g. Smith", "see plan B. Then call", "the patient A.B. then called"]) +def test_v11_review3_dotted_initials_lookalikes(text): + got = [e.text for e in RegexDetector().detect(text) if e.type is T.NAME] + assert not any(len(g) > 5 for g in got) + + +# ---- v11 review round 3 (fixer b) ------------------------------------------------------------- + + +def _found(text): + return {(e.type.value, e.text) for e in RegexDetector().detect(text)} + + +@pytest.mark.parametrize( + "text,value", + [ + ("My GPS is 44.65 N, 63.57 W", "44.65 N, 63.57 W"), + ("gps: 44.65 N, 63.57 W", "44.65 N, 63.57 W"), + ("GPS: 44°39'N, 63°34'W", "44°39'N, 63°34'W"), + ("our GPS pin is 44.65°N 63.57°W", "44.65°N 63.57°W"), + ("my coords: 44.65 N 63.57 W", "44.65 N 63.57 W"), + ("my GPS is 44.65,-63.57", "44.65,-63.57"), + ], +) +def test_v11_review3_gps_hemisphere(text, value): + assert ("ADDRESS", value) in _found(text) + + +@pytest.mark.parametrize("text", ["The flight was 44.65 N then 63 W", "temp 12.5 N, 3.4 W", "dose 44.65 N, 63.57 W"]) +def test_v11_review3_gps_lookalikes_stay(text): + assert not [e for e in _found(text) if e[0] == "ADDRESS"] + + +@pytest.mark.parametrize( + "text,value", + [ + ("Mail me at Unit 2050 Box 4190, APO AP 96278", "Unit 2050 Box 4190, APO AP"), + ("my mailing address: Unit 2050 Box 4190\nAPO AP 96278", "Unit 2050 Box 4190\nAPO AP"), + ("Unit 2050 Box 4190, APO, AE 09012", "Unit 2050 Box 4190, APO, AE"), + ("send it to PSC 802 Box 74, FPO AA 34090", "PSC 802 Box 74, FPO AA"), + ], +) +def test_v11_review3_military_mail_line(text, value): + assert ("ADDRESS", value) in _found(text) + + +def test_v11_review3_military_lookalike_stays(): + assert not _found("Unit 4 is the lab, Box 12 is lunch") + + +@pytest.mark.parametrize( + "text,value", + [ + ("I live at Route rurale no 2, Saint-Jean", "Route rurale no 2, Saint-Jean"), + ("I live at Rang 3, Saint-Jean", "Rang 3, Saint-Jean"), + ("I live at Concession 5 Lot 12, Elgin", "Concession 5 Lot 12, Elgin"), + ("I live at Lot 12 Concession 4, Perth", "Lot 12 Concession 4, Perth"), + ("I live at rr 1 site 5 comp 3", "rr 1 site 5 comp 3"), + ("my address: Rang 3", "Rang 3"), + ], +) +def test_v11_review3_rural_forms(text, value): + assert ("ADDRESS", value) in _found(text) + + +@pytest.mark.parametrize("text", ["take the route 7 to the clinic", "Lot 12 of the vials", "the vial lot 12 expires soon", "send my vial lot 4471B to the lab"]) +def test_v11_review3_rural_lookalikes_stay(text): + assert not _found(text) + + +@pytest.mark.parametrize( + "text", + ["los últimos cuatro 1234", "les quatre derniers chiffres 1234", "ostatnie cztery cyfry 1234", "last four 1234"], +) +def test_v11_review3_last_four_other_languages(text): + assert ("ACCOUNT", "1234") in _found(text) + + +@pytest.mark.parametrize("text", ["the last four weeks 1234 times", "los últimos cuatro días fueron duros", "ostatnie cztery dni"]) +def test_v11_review3_last_four_lookalikes_stay(text): + assert not _found(text) + + +@pytest.mark.parametrize( + "text,etype,value", + [ + ("numer konta 12 3456 7890 1234 5678 9012 3456", "ACCOUNT", "12 3456 7890 1234 5678 9012 3456"), + ("account no: 123 456 789", "ACCOUNT", "123 456 789"), + ("transit number 12345, institution number 004", "ACCOUNT", "12345"), + ("transit number 12345, institution number 004", "ACCOUNT", "004"), + ("routing 0 2 1 0 0 0 0 2 1", "ACCOUNT", "0 2 1 0 0 0 0 2 1"), + ("cash.app/$janedoe", "ID", "$janedoe"), + ("venmo me at jane_doe_ivf", "ID", "jane_doe_ivf"), + ], +) +def test_v11_review3_payment_and_bank_forms(text, etype, value): + assert (etype, value) in _found(text) + + +@pytest.mark.parametrize( + "text", + ["venmo me at lunch", "transit number 12345 for the bus", "numer konta nieznany 12 34", "routing 0 2 1"], +) +def test_v11_review3_payment_lookalikes_stay(text): + assert ("ACCOUNT", "2026 11 20") not in _found("account no: 2026 11 20") + assert not [e for e in _found(text) if e[0] in ("ACCOUNT", "ID")] + + +@pytest.mark.parametrize( + "text,value", + [ + ("court number 2026 FC 1234", "2026 FC 1234"), + ("case number 2026 FC 1234", "2026 FC 1234"), + ("Court file no. 123-26", "123-26"), + ("numero de causa 1234-2026", "1234-2026"), + ("mi expediente de divorcio es 123/2026", "123/2026"), + ("court: SC 1234/26", "SC 1234/26"), + ], +) +def test_v11_review3_court_numbers(text, value): + assert ("ID", value) in _found(text) + + +@pytest.mark.parametrize("text", ["SC 1234/26", "the case number 5 was a twin cycle", "court number 12/03"]) +def test_v11_review3_court_lookalikes_stay(text): + assert not [e for e in _found(text) if e[0] == "ID"] + + +@pytest.mark.parametrize( + "text,value", + [ + ("Where do you live?\nElm Street", "Elm Street"), + ("¿En qué calle vive?\nHidalgo", "Hidalgo"), + ("Which town do you live in?\nSudbury", "Sudbury"), + ("Où habitez-vous?\nSudbury", "Sudbury"), + ("Gdzie mieszkasz?\nKraków", "Kraków"), + ("you'll see our blue house after the Shell station on Hwy 7", "our blue house after the Shell station on Hwy 7"), + ("notre maison est après le Tim Hortons sur la route 7", "notre maison est après le Tim Hortons sur la route 7"), + ], +) +def test_v11_review3_bare_reply_and_directions(text, value): + assert ("ADDRESS", value) in _found(text) + + +@pytest.mark.parametrize( + "text", + ["Where do you live?\nNot sure yet, maybe later today", "Where do you live?\nYes", "Where do you live?\nthanks", "my house after the transfer"], +) +def test_v11_review3_bare_reply_lookalikes_stay(text): + assert not [e for e in _found(text) if e[0] == "ADDRESS"] + + +@pytest.mark.parametrize( + "text,value", + [ + ("mailing address is mailbox 123, Sudbury", "mailbox 123, Sudbury"), + ("mi dirección es casilla 123", "casilla 123"), + ("I live at skrytka pocztowa 123", "skrytka pocztowa 123"), + ("I live at col. Del Valle", "col. Del Valle"), + ("I live at fraccionamiento Las Palmas", "fraccionamiento Las Palmas"), + ("I live at osiedle Słoneczne 12", "osiedle Słoneczne 12"), + ("I live at kibbutz Ein Gedi", "kibbutz Ein Gedi"), + ], +) +def test_v11_review3_postbox_and_neighbourhood(text, value): + assert ("ADDRESS", value) in _found(text) + + +@pytest.mark.parametrize("text", ["the mailbox 123 at the clinic", "col. Del Valle clinic opens at nine", "the kibbutz Ein Gedi trip"]) +def test_v11_review3_postbox_lookalikes_stay(text): + assert not _found(text) + + +@pytest.mark.parametrize( + "text,value", + [ + ("apellido se escribe ge, a, erre, ce, i, a", "ge, a, erre, ce, i, a"), + ("se escribe ese, i, ele, ve, a", "ese, i, ele, ve, a"), + ], +) +def test_v11_review3_spanish_letter_name_spelling(text, value): + assert ("NAME", value) in _found(text) + + +def test_v11_review3_spelled_email_is_one_span(): + assert _found("my email is kelli dash smith at gmail dot com") == {("EMAIL", "kelli dash smith at gmail dot com")} + assert _found("email k, e, l, l, i, 8, 8 at gmail dot com") == {("EMAIL", "k, e, l, l, i, 8, 8 at gmail dot com")} + + +def test_v11_review3_spanish_letters_need_cue(): + assert not _found("las opciones son ge, a, erre, ce, i, a") + + +@pytest.mark.parametrize( + "text,value", + [ + ("90210 Beverly Hills CA and my phone", "Beverly Hills"), + ("10001 New York NY", "New York"), + ("I live at 12 Oak St, 90210 Los Angeles", "Los Angeles"), + ("M5V 2T6 Niagara Falls ON", "Niagara Falls"), + ], +) +def test_v11_review3_town_after_postal_code(text, value): + assert ("ADDRESS", value) in _found(text) + + +@pytest.mark.parametrize( + "text,value", + [ + ("90210 Beverly Hills Please call me", "Beverly Hills"), + ("12 Oak St, 90210 Los Angeles. Thanks", "Los Angeles"), + ], +) +def test_v11_review3_town_after_postal_code_stops(text, value): + assert ("ADDRESS", value) in _found(text) + assert not [e for e in _found(text) if "Please" in e[1] or "Thanks" in e[1]] + + +@pytest.mark.parametrize( + "text,value", + [ + ("St. Louis County, MO", "St. Louis County"), + ("Mt. Pleasant County", "Mt. Pleasant County"), + ("my address is St. John's First Nation", "St. John's First Nation"), + ("I live in Ste. Anne Reserve No. 4", "Ste. Anne Reserve No. 4"), + ("Cobb County", "Cobb County"), + ], +) +def test_v11_review3_saint_prefix_in_span(text, value): + assert ("ADDRESS", value) in _found(text) + + +@pytest.mark.parametrize( + "text", + ["patient HRT", "patient LOR", "patient DE cycle", "patient BFP", "pt CD day 3"], +) +def test_v11_review3_clinical_abbreviations_pass(text): + assert not [e for e in _found(text) if e[0] == "NAME"] + + +@pytest.mark.parametrize("text,value", [("Re: JK", "JK"), ("Re: TL's IUI", "TL"), ("patient DE", "DE"), ("pt TI", "TI"), ("patient DC", "DC")]) +def test_v11_review3_true_initials_stay_masked(text, value): + assert ("NAME", value) in _found(text) + + +@pytest.mark.parametrize("text,value", [("inicjały pacjentki: AK", "AK"), ("patiente M. T.", "M. T."), ("inicjały: AK", "AK")]) +def test_v11_review3_patient_initials_cues(text, value): + assert ("NAME", value) in _found(text) + + +def test_v11_review3_vietnamese_digit_words_need_seven(): + assert not _found("số điện thoại không có, một hai ba ngày nữa") + assert not _found("Số điện thoại của tôi? Năm nay tôi đi hai lần") + assert _found("số điện thoại của tôi là không chín bốn một hai ba bốn năm sáu") + + +def test_v11_review3_dates_lists_of_values(): + for text in ["Scores 7/10, 8/10", "BMI 24.5, 26.1", "pain 4/10, 6/10 and 8/10"]: + assert not [e for e in _found(text) if e[0] == "DATE"], text + # not after a clinical word + assert [e for e in _found("we met 13.4, 14.5") if e[0] == "DATE"] + assert [e for e in _found("Call me 7/10, 8/10") if e[0] == "DATE"] + + +@pytest.mark.parametrize( + "text,value", + [ + ("Patient initials: J. T.", "J. T."), + ("re: J. T.", "J. T."), + ("pacjentka J. K.", "J. K."), + ("patient initials: J. T. S.", "J. T. S."), + ], +) +def test_v11_review4_spaced_dotted_initials_one_span(text, value): + assert ("NAME", value) in [(e.type.name, e.text) for e in RegexDetector().detect(text)] + assert ("NAME", "J.") not in [(e.type.name, e.text) for e in RegexDetector().detect(text)] + + +def test_v11_review4_hebrew_signature_town_without_verb(): + spans = [e.text for e in RegexDetector().detect("גרה באלפרטה, GA")] + assert "גרה באלפרטה" not in spans and "אלפרטה" in spans + assert "אלפרטה" in [e.text for e in RegexDetector().detect("אלפרטה, GA")] + + +def _kinds(text): + return [(e.type.name, e.text) for e in RegexDetector().detect(text)] + + +@pytest.mark.parametrize( + "text", + [ + "Patient AF scan done", "patient MII oocytes 8", "patient OPU done", "Patient NT scan", "patient ICM", "patient LPS", + "patient NGS", "patient AZF", "patient DFI", "patient TNF", "patient APA", "patient PAI", "paciente OPU", "Re: MII", + "Re: OPU", "pt AF 10 right", "patient AF 12 on the right", "patient TE biopsy", "pacjentka OPU", "La patiente MII", + ], +) +def test_v11_review4_embryology_abbreviations_not_initials(text): + assert not [e for e in _kinds(text) if e[0] == "NAME"] + + +def test_v11_review4_embryology_abbreviation_no_second_span(): + assert [e for e in _kinds("patient OPU Monday") if e[0] == "NAME"] == [("NAME", "OPU Monday")] + + +@pytest.mark.parametrize("text,value", [("patient AB scan", "AB"), ("pt KJ 12", "KJ"), ("patient AF", "AF"), ("patient GV", "GV"), ("pt AB called", "AB")]) +def test_v11_review4_embryology_lookalike_initials_stay(text, value): + assert ("NAME", value) in _kinds(text) + + +@pytest.mark.parametrize( + "text", + [ + "Find us in the red brick house past the Starbucks on King St", + "Come to the yellow house past the Circle K on Hwy 20", + "Visit us at the red house past the Tim Hortons on Main St", + ], +) +def test_v11_review4_clinic_directions_not_a_home(text): + assert not [e for e in _kinds(text) if e[0] == "ADDRESS"] + + +@pytest.mark.parametrize( + "text", + [ + "we live in the red brick house past the Starbucks on King St", + "my house is the red brick house past the Starbucks on King St", + "Come to my house past the Circle K on Hwy 20", + ], +) +def test_v11_review4_home_directions_stay(text): + assert [e for e in _kinds(text) if e[0] == "ADDRESS"] + + +@pytest.mark.parametrize( + "text", + [ + "Which street is the clinic on?\nMain Street", + "What's the address of the clinic?\nKing Street West", + "What street is the pharmacy on?\nBloor Street", + ], +) +def test_v11_review4_street_reply_about_clinic_not_masked(text): + assert not [e for e in _kinds(text) if e[0] == "ADDRESS"] + + +def test_v11_review4_street_reply_about_home_keeps_direction(): + assert ("ADDRESS", "King Street West") in _kinds("What street do you live on?\nKing Street West") + assert ("ADDRESS", "Elm Street E") in _kinds("your address?\nElm Street E") + assert ("ADDRESS", "Bloor Street") in _kinds("What is your street?\nBloor Street") + + +@pytest.mark.parametrize( + "text", + [ + "Nang trứng: hai, ba, năm, sáu, bảy, tám, chín, mười", + "Tiêm một hai ba bốn năm sáu bảy", + "Sau khi chuyển phôi, một hai ba bốn năm sáu bảy ngày sau thử thai", + "Kích thước nang: hai, ba, bốn, năm, sáu, bảy, tám", + ], +) +def test_v11_review4_vietnamese_counts_not_phone(text): + assert not [e for e in _kinds(text) if e[0] == "PHONE"] + + +def test_v11_review4_vietnamese_phone_with_cue_stays(): + assert [e for e in _kinds("số điện thoại của tôi là một hai ba bốn năm sáu bảy tám chín") if e[0] == "PHONE"] + assert [e for e in _kinds("số điện thoại: không chín tám bảy sáu năm bốn ba hai") if e[0] == "PHONE"] + + +@pytest.mark.parametrize( + "text", + ["Pay us via PayPal @torontofertility", "Cash App $torontofert for deposits", "Please send the deposit to our venmo @clinicpay"], +) +def test_v11_review4_clinic_payment_handle_not_masked(text): + assert not [e for e in _kinds(text) if e[0] in ("ID", "ACCOUNT")] + + +@pytest.mark.parametrize( + "text,value", + [ + ("my venmo is @jane-doe-12", "@jane-doe-12"), + ("I paid with Venmo @jane-doe-12", "@jane-doe-12"), + ("Pay us via PayPal, my venmo is @jane-doe-12", "@jane-doe-12"), + ], +) +def test_v11_review4_patient_payment_handle_stays(text, value): + assert ("ID", value) in _kinds(text) + + +def test_v11_review4_payment_handle_allow_list(): + from phiproxy import Masker, Policy + + out = Masker(policy=Policy(allow=["@clinic-2"])).mask("Venmo: @clinic-2", "s").text + assert "@clinic-2" in out + + +@pytest.mark.parametrize( + "text,pieces", + [ + ("my phone number is\n501\n234\n567", ["501", "234", "567"]), + ("mi celular es:\n55\n1234\n5678", ["55", "1234", "5678"]), + ("mój numer telefonu:\n501\n234\n567", ["501", "234", "567"]), + ("mój telefon komórkowy to\n501\n234\n567", ["501", "234", "567"]), + ("numer telefonu:\n22\n123\n45\n67", ["22", "123", "45", "67"]), + ], +) +def test_v11_review4_phone_pieces_other_shapes(text, pieces): + got = [v for t, v in _kinds(text) if t == "PHONE"] + assert all(p in got for p in pieces) + + +@pytest.mark.parametrize( + "text", + ["call me\n501\n234\n567", "Version\n501\n234\n567", "Estradiol numbers\n501\n234\n567", "my phone number is\n12\n34"], +) +def test_v11_review4_phone_pieces_lookalikes(text): + assert not [e for e in _kinds(text) if e[0] == "PHONE"] + + +@pytest.mark.parametrize( + "text,value", + [ + ("mi número de cuenta es 1234 5678 90", "1234 5678 90"), + ("account 1234 5678 90", "1234 5678 90"), + ("Account number is\n1234\n5678\n9012", "1234\n5678\n9012"), + ("numer konta 12 3456 7890", "12 3456 7890"), + ("my routing number is 021 000 021", "021 000 021"), + ("routing: 021-000-021", "021-000-021"), + ], +) +def test_v11_review4_account_and_routing_groups(text, value): + assert ("ACCOUNT", value) in _kinds(text) + + +@pytest.mark.parametrize("text", ["account 12 34", "the account\n1234\n5678", "Ticket 021 000 021", "call routing 604 555 0123"]) +def test_v11_review4_account_group_lookalikes(text): + assert not [e for e in _kinds(text) if e[0] == "ACCOUNT" and len(e[1]) > 6] + + +@pytest.mark.parametrize( + "text,value", + [ + ("my coordinates are lat 44.6488 lon -63.5752", "lat 44.6488 lon -63.5752"), + ("GPS: N 44.65 W 63.57", "N 44.65 W 63.57"), + ("my GPS is 44 39.5 N 63 34.2 W", "44 39.5 N 63 34.2 W"), + ("coordonnées GPS 45.50 N, 73.57 O", "45.50 N, 73.57 O"), + ], +) +def test_v11_review4_gps_other_forms(text, value): + assert ("ADDRESS", value) in _kinds(text) + + +@pytest.mark.parametrize("text", ["lat 44.6 lon", "N 44.65 W 63.57", "score 44 39.5 N 63 34.2 W", "Group N 5 O 6"]) +def test_v11_review4_gps_other_forms_need_cue(text): + assert not [e for e in _kinds(text) if e[0] == "ADDRESS"] + + +@pytest.mark.parametrize( + "text,value", + [ + ("my email is k-e-l-l-i-at-gmail-dot-com", "k-e-l-l-i-at-gmail-dot-com"), + ("email: k, e, l, l, i, at, gmail dot com", "k, e, l, l, i, at, gmail dot com"), + ("האימייל שלי הוא kelli שטרודל gmail נקודה com", "kelli שטרודל gmail נקודה com"), + ], +) +def test_v11_review4_spelled_email_variants(text, value): + assert ("EMAIL", value) in _kinds(text) + + +@pytest.mark.parametrize("text", ["a-b-c-at-home-dot-com", "my plan is to-do-at-noon", "ללא שטרודל gmail נקודה com"]) +def test_v11_review4_spelled_email_lookalikes(text): + assert not [e for e in _kinds(text) if e[0] == "EMAIL"] + + +@pytest.mark.parametrize( + "text,value", + [ + ("I live on Tyendinaga Mohawk Territory", "Tyendinaga Mohawk Territory"), + ("I live in the county of Simcoe", "county of Simcoe"), + ("I live on Township Road 512", "Township Road 512"), + ("vivo en el municipio de Zapopan, Jalisco", "municipio de Zapopan"), + ("mieszkam w gminie Lesznowola", "gminie Lesznowola"), + ], +) +def test_v11_review4_county_and_territory_variants(text, value): + assert ("ADDRESS", value) in _kinds(text) + + +@pytest.mark.parametrize( + "text", + ["the county of Simcoe is large", "I visited Mohawk Territory", "el municipio de Zapopan aprobó la ley", "Township Road 512 is closed"], +) +def test_v11_review4_county_variants_need_residence_cue(text): + assert not [e for e in _kinds(text) if e[0] == "ADDRESS"] + + +@pytest.mark.parametrize( + "text,value", + [ + ("pagué con el cheque #4521", "#4521"), + ("pagué con cheque 4521", "4521"), + ("I wrote you a cheque, number 4521", "4521"), + ], +) +def test_v11_review4_cheque_first_person_verbs(text, value): + assert ("ACCOUNT", value) in _kinds(text) + + +@pytest.mark.parametrize("text", ["cheque no. 4521", "chèque #4521", "the cheque number 4521", "pagó con cheque 4521"]) +def test_v11_review4_cheque_bare_stay_visible(text): + assert not [e for e in _kinds(text) if e[0] == "ACCOUNT"] + + +# ---- v11 final round 5, findings 1-7 ---- +def _fin_masker(): + from phiproxy import Masker, Policy + + return Masker(policy=Policy(staff=["Dr. Sarah Lee"], allow=["100 Main Street, Suite 200, Toronto"])) + + +@pytest.mark.parametrize( + "text", + [ + "Please come to Reception at 8 am for your scan.", + "Arrived at Mount Sinai at 8.", + "Please stay in Fasting mode.", + "I'm in Recovery now, Room 4.", + "Please come to Billing to pay.", + "Arrived at Gate B.", + "Community of Practice for Fertility.", + "City of Toronto Public Health guidelines apply.", + "We are near Fertility Centre.", + "Thanks for reaching out to Maple Fertility!", + "Please make the cheque out to Maple Fertility Clinic.", + "We reach out to Sun Life for pre-authorization.", + "Please reach out to Billing if you have questions.", + "You will need to go back to Northside Associates for records.", + "Send results back to Mount Sinai.", + "Currently in Treatment Cycle 2.", + "Come back to Maple for the scan.", + "I moved to Recovery after the procedure.", + "Jestem z Polski. Mąż z Ukrainy.", + "patient ASAP", + "Patient ENROLLED in study, patient ENDOMETRIOSIS stage 3", + "patient ACTH", + "patient ADHD", + "patient aPTT", + "patient DUPLICATE CHART", + "patient AUTOIMMUNE", + ], +) +def test_v11_final_ordinary_text_not_masked(text): + assert _fin_masker().mask(text, "s").text == text + + +@pytest.mark.parametrize( + "text,value", + [ + ("We live in Oakville now.", "Oakville"), + ("I grew up in Pickering.", "Pickering"), + ("We moved to Wolfville last year.", "Wolfville"), + ("I'm from Truro.", "Truro"), + ("She's originally from Sackville.", "Sackville"), + ("My husband and I live near Oakville.", "Oakville"), + ("Pochodzę z Krakowa.", "Krakowa"), + ("Mieszkam w Gdyni.", "Gdyni"), + ("J'habite à Wolfville.", "Wolfville"), + ("patiente à Wolfville", "Wolfville"), + ("My husband and I arrived from Aleppo.", "Aleppo"), + ("We're out past Indian Brook.", "Indian Brook"), + ], +) +def test_v11_final_real_residence_cues_still_masked(text, value): + assert value not in _fin_masker().mask(text, "s").text + + +@pytest.mark.parametrize( + "text", + [ + "patient WNL", "patient TBA", "patient NAD", "patient LDL", "patient SLE", "patient CKD", "patient COS", + "patient SAB", "patient NO show", "patient POC results", "patient LLQ pain", "patient CMP normal", + "patient MFM referral", "patient GS seen", "patient SCH", "patient IUP", "patient TWW", "patient PE exam", + "patient UA results", "patient PB biopsy", "patient SM results", "patient AH exam", "patient LBR", + ], +) +def test_v11_final_chart_abbreviations_not_initials(text): + assert _fin_masker().mask(text, "s").text == text + + +@pytest.mark.parametrize("text", ["Pt AB called re: IUI", "patient KJ called", "patient PE called"]) +def test_v11_final_initials_lookalikes_still_masked(text): + out = _fin_masker().mask(text, "s").text + assert "[NAME_1]" in out + + +@pytest.mark.parametrize( + "text", + [ + "Cell count\n250\n300\n150", + "Cell culture\n250\n300\n450", + "Phone number confirmed. Doses today:\n150\n225\n300", + "Número de teléfono\n150\n225\n300", + "Phone number confirmed. Doses today:\n225\n300\n150", + ], +) +def test_v11_final_pieces_not_phone(text): + assert _fin_masker().mask(text, "s").text == text + + +@pytest.mark.parametrize( + "text", + ["Phone number\n604\n555\n0199", "My cell\n604\n555\n0199", "Numer telefonu\n600\n123\n456"], +) +def test_v11_final_pieces_real_phone_still_masked(text): + out = _fin_masker().mask(text, "s").text + assert "[PHONE_1]" in out and "0199" not in out and "123" not in out.replace("[PHONE_1]", "") + + +def test_v11_final_street_reply_after_clinic_question(): + m = _fin_masker() + t = "Which clinic location? Yonge Street or Main Street?\nMain Street" + assert m.mask(t, "s").text == t + # a home-address question still masks the bare street reply + assert "Oak Hollow" not in m.mask("What is your home address?\nOak Hollow Lane", "s").text + + +def test_v11_final_spoken_plus_pair_grouped_phone(): + d = RegexDetector() + for t in ("Appelez plus 33 6 12 34 56 78. Trois jours.", "plus 1 4 1 6 5 5 5 0 1 8 2 and then 3 vials", "más 34 612 345 678"): + assert [e for e in d.detect(t) if e.type is T.PHONE], t + for t in ("plus 5 10 15 20 25 30 35", "más 1 2 3 4 5 6 7 8 9 10", "plus 20 100 200 300 units", "plus 2 4 6 8 10 12 14"): + assert not [e for e in d.detect(t) if e.type is T.PHONE], t + + +@pytest.mark.parametrize( + "text", + ["Patiente IMC 24.", "Patiente: CCA ok", "Pacjent IMC 24.", "Paciente FUM 3 de octubre."], +) +def test_v11_final4_non_english_chart_abbreviations_not_initials(text): + assert not [e for e in RegexDetector().detect(text) if e.type is T.NAME], text