{
"origin": "https://context.marmar.life",
"runAt": "2026-10-25T17:36:20.171Z",
"scope": "New author-written synthetic challenge cases. Live model, no cache. Not independent clinical validation.",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"cases": [
{
"id": "mariam-showcase-single-upload",
"checks": [
{
"name": "Fresh live model used",
"passed": true
},
{
"name": "Required facts recovered",
"passed": true,
"detail": []
},
{
"name": "Prohibited facts not accepted",
"passed": true,
"detail": []
},
{
"name": "No unexpected usable facts",
"passed": true,
"detail": []
},
{
"name": "Every quote matches original source",
"passed": true
},
{
"name": "Missing review blocked",
"passed": true
},
{
"name": "Original-note acknowledgement required",
"passed": true
},
{
"name": "Assessment completed after explicit review",
"passed": true
},
{
"name": "Expected engine result",
"passed": true,
"detail": [
"allergy-penicillin",
"lab-metformin-egfr-45"
]
},
{
"name": "Export preserves reviewed evidence",
"passed": true
},
{
"name": "Edited sources invalidate old draft",
"passed": true
}
],
"passed": true,
"sources": [
{
"id": "mariam-showcase-single-upload-0",
"title": "Synthetic source 1",
"kind": "Synthetic note",
"date": "2026-10-23",
"text": "SYNTHETIC DEMONSTRATION: All people and events in this record are fictional.\n\nMariam Adeyemi is a 67-year-old patient.\nShe is prescribed Metformin 500 mg tablets, one tablet twice daily.\nShe takes Amlodipine 5 mg tablets, one tablet once daily.\nHer current prescription also includes Amoxicillin 500 mg capsules, one capsule three times daily.\nHer conditions are Type 2 diabetes and hypertension.\n\nPatient: Mariam Adeyemi\nOn 2026-10-12, her eGFR was 38 mL/min/1.73m2.\nThis result was recorded at a separate fictional laboratory.\n\nPatient: Mariam Adeyemi\nHer previous care record documents a Penicillin allergy.\nShe reported hives after Penicillin during an earlier episode of care.\nHer daughter helps her keep a written medication list."
}
],
"extractionStatus": 200,
"draft": {
"facts": [
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:8",
"sourceId": "mariam-showcase-single-upload-0",
"quote": "Patient: Mariam Adeyemi",
"line": 9
},
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:12",
"sourceId": "mariam-showcase-single-upload-0",
"quote": "Patient: Mariam Adeyemi",
"line": 13
},
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:2:m0-0",
"quote": "Mariam Adeyemi is a 67-year-old patient.",
"line": 3,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Patient: Mariam Adeyemi"
},
{
"kind": "age",
"label": "67 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "mariam-showcase-single-upload-0:2:m1-0",
"quote": "Mariam Adeyemi is a 67-year-old patient.",
"line": 3,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Age: 67"
},
{
"kind": "medicine",
"label": "Metformin",
"detail": "500 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "mariam-showcase-single-upload-0:3:m2-0",
"quote": "She is prescribed Metformin 500 mg tablets, one tablet twice daily.",
"line": 4,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 500 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: prescribed"
},
{
"kind": "medicine",
"label": "Amlodipine",
"detail": "5 mg · 1 tablet · 1/day",
"key": "medicine:amlodipine",
"problem": null,
"id": "mariam-showcase-single-upload-0:4:m3-0",
"quote": "She takes Amlodipine 5 mg tablets, one tablet once daily.",
"line": 5,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Amlodipine; strength: 5 mg; form: tablet; dose: 1 tablet; frequency: 1/day"
},
{
"kind": "medicine",
"label": "Amoxicillin",
"detail": "500 mg · 1 capsule · 3/day",
"key": "medicine:amoxicillin",
"problem": null,
"id": "mariam-showcase-single-upload-0:5:m4-0",
"quote": "Her current prescription also includes Amoxicillin 500 mg capsules, one capsule three times daily.",
"line": 6,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Amoxicillin; strength: 500 mg; form: capsule; dose: 1 capsule; frequency: 3/day; origin: prescribed"
},
{
"kind": "condition",
"label": "Type 2 diabetes",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:type 2 diabetes",
"problem": null,
"id": "mariam-showcase-single-upload-0:6:m5-0",
"quote": "Her conditions are Type 2 diabetes and hypertension.",
"line": 7,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Condition: Type 2 diabetes"
},
{
"kind": "condition",
"label": "hypertension",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:hypertension",
"problem": null,
"id": "mariam-showcase-single-upload-0:6:m6-0",
"quote": "Her conditions are Type 2 diabetes and hypertension.",
"line": 7,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Condition: hypertension"
},
{
"kind": "lab",
"label": "eGFR 38",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "mariam-showcase-single-upload-0:9:m7-0",
"quote": "On 2026-10-12, her eGFR was 38 mL/min/1.73m2.",
"line": 10,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 38; unit: mL/min/1.73m2; date: 2026-10-12"
},
{
"kind": "allergy",
"label": "Penicillin",
"detail": "Reported allergy; reaction severity is not available",
"key": "allergy",
"problem": null,
"id": "mariam-showcase-single-upload-0:13:m8-0",
"quote": "Her previous care record documents a Penicillin allergy.",
"line": 14,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Allergies: Penicillin"
}
],
"unparsed": [
{
"sourceId": "mariam-showcase-single-upload-0",
"line": 1,
"text": "SYNTHETIC DEMONSTRATION: All people and events in this record are fictional."
},
{
"sourceId": "mariam-showcase-single-upload-0",
"line": 11,
"text": "This result was recorded at a separate fictional laboratory."
},
{
"sourceId": "mariam-showcase-single-upload-0",
"line": 15,
"text": "She reported hives after Penicillin during an earlier episode of care."
},
{
"sourceId": "mariam-showcase-single-upload-0",
"line": 16,
"text": "Her daughter helps her keep a written medication list."
}
],
"warnings": [
{
"sourceId": "mariam-showcase-single-upload-0",
"line": 5,
"reason": "Medication origin was inferred. Removed that field; it remains unknown.",
"normalizedLine": "Medication: Amlodipine; strength: 5 mg; form: tablet; dose: 1 tablet; frequency: 1/day; origin: prescribed"
}
],
"sourceReviewRequired": true,
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 4008,
"fingerprint": "97b642d9dc45037d25b2acb91e5256ce30b8ff25289ed1bfa36a22c8086ab281",
"strategy": "narrative",
"attempts": 1,
"metrics": {
"providerCalls": 1,
"inputCharacters": 758,
"outputCharacters": 559,
"inputTokens": 732,
"outputTokens": 197,
"cacheHit": false
},
"id": "df7411d0-0924-487c-b981-f05886f9ae88"
},
"initialAssessment": {
"status": 200,
"ok": true,
"data": {
"baseline": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "couldnt_check",
"headline": "We couldn't check everything",
"subline": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [],
"tests_to_ask_about": [
{
"test": "Kidney function (eGFR)",
"why": "The metformin dose depends on how well the kidneys work.",
"when": "At least once a year",
"source_id": "label-metformin",
"status": "no_result",
"last_result_at": null
},
{
"test": "Vitamin B12",
"why": "Long-term metformin can lower vitamin B12.",
"when": "From time to time, especially with tingling or numb feet",
"source_id": "ada-standards",
"status": "no_result",
"last_result_at": null
},
{
"test": "HbA1c",
"why": "Shows the average blood sugar over the last few months.",
"when": "Every 3 to 6 months",
"source_id": "nice-ng28",
"status": "no_result",
"last_result_at": null
},
{
"test": "Home blood pressure",
"why": "Shows whether the blood pressure medicine is working.",
"when": "As your doctor advises; home readings help",
"source_id": "nice-ng136",
"status": "no_result",
"last_result_at": null
}
],
"dose_check": [
{
"medicine": "Metformin",
"medicine_id": "mariam-showcase-single-upload-0:3:m2-0",
"status": "within_usual_range",
"plain": "The daily amount entered does not exceed the general adult maximum checked here. This does not confirm the right dose to take."
},
{
"medicine": "Amlodipine",
"medicine_id": "mariam-showcase-single-upload-0:4:m3-0",
"status": "within_usual_range",
"plain": "The daily amount entered does not exceed the general adult maximum checked here. This does not confirm the right dose to take."
},
{
"medicine": "Amoxicillin",
"medicine_id": "mariam-showcase-single-upload-0:5:m4-0",
"status": "not_enough_info",
"plain": "We can't check this dose automatically."
}
],
"what_we_checked": {
"medicines": [
"Metformin",
"Amlodipine",
"Amoxicillin"
],
"conditions": [],
"allergies": [],
"age": 67,
"references": [
{
"id": "label-metformin",
"name": "Metformin product label",
"url": "https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=metformin"
},
{
"id": "ada-standards",
"name": "American Diabetes Association Standards of Care",
"url": "https://diabetesjournals.org/care/issue"
},
{
"id": "nice-ng28",
"name": "NICE NG28: Type 2 diabetes in adults",
"url": "https://www.nice.org.uk/guidance/ng28"
},
{
"id": "nice-ng136",
"name": "NICE NG136: Hypertension in adults",
"url": "https://www.nice.org.uk/guidance/ng136"
}
]
},
"what_we_couldnt_check": [
{
"item": "Allergies",
"medicine_id": null,
"reason": "allergy",
"plain": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist."
},
{
"item": "Health conditions",
"medicine_id": null,
"reason": "condition",
"plain": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions. Review their health profile with their pharmacist."
}
],
"for_the_doctor": {
"summary": "3 medicines checked, age 67. Not checked: Allergies, Health conditions. Monitoring to consider: Kidney function (eGFR), Vitamin B12, HbA1c, Home blood pressure.",
"flags": []
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"contextual": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "today",
"headline": "Call their doctor or pharmacist today",
"subline": "Amoxicillin is in the same family as something Mariam Adeyemi is allergic to (Penicillin).",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [
{
"kind": "allergy",
"tier": "today",
"ruleId": "allergy-penicillin",
"medicines": [
{
"id": "mariam-showcase-single-upload-0:5:m4-0",
"name": "Amoxicillin"
}
],
"title": "Call today: Amoxicillin and their Penicillin allergy",
"why": "Amoxicillin is in the same family as something Mariam Adeyemi is allergic to (Penicillin).",
"what_to_do": [
"Before the next dose, call their doctor or pharmacist today about the Penicillin allergy."
],
"watch_for": [
"swelling of the lips, face or throat",
"trouble breathing",
"a rash with feeling faint"
],
"evidence_label": "Shown in studies",
"source_ids": [
"nhs-anaphylaxis"
],
"questions_for_doctor": [
"Is Amoxicillin OK with their Penicillin allergy?"
],
"allow_stop": false,
"clinical": "Amoxicillin with documented Penicillin allergy (same class).",
"id": "f71f1cc71b16",
"numbers": null,
"teach_back": {
"question": "What is the next step?",
"options": [
"Wait for the next check-up",
"I'm not sure",
"Before the next dose, call their doctor or pharmacist today about the Penicillin allergy."
],
"answer_index": 2
}
},
{
"kind": "lab",
"tier": "this_week",
"ruleId": "lab-metformin-egfr-45",
"lab_evidence": {
"result": {
"id": "mariam-showcase-single-upload-0:9:m7-0",
"code": "egfr",
"name": "eGFR",
"value": 38,
"valueText": "38",
"comparator": null,
"unit": "mL/min/1.73m2",
"observedAt": "2026-10-12",
"referenceRange": {
"low": null,
"high": null,
"text": null
},
"labFlag": null
},
"target": null
},
"medicines": [
{
"id": "mariam-showcase-single-upload-0:3:m2-0",
"name": "Metformin"
}
],
"title": "Metformin and the latest eGFR result",
"why": "The latest kidney result is in the range where the Metformin label says to review the dose.",
"what_to_do": [
"Ask their pharmacist or doctor about this in the next week."
],
"watch_for": [],
"evidence_label": "Shown in studies",
"source_ids": [
"label-metformin"
],
"questions_for_doctor": [
"Is my Metformin dose right for my kidney result?"
],
"allow_stop": false,
"clinical": "Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12.",
"id": "02208f02933b",
"numbers": null,
"teach_back": {
"question": "What is the next step?",
"options": [
"I'm not sure",
"Ask their pharmacist or doctor about this in the next week.",
"Wait for the next check-up"
],
"answer_index": 1
}
}
],
"tests_to_ask_about": [
{
"test": "Kidney function (eGFR)",
"why": "The metformin dose depends on how well the kidneys work.",
"when": "At least once a year",
"source_id": "label-metformin",
"status": "up_to_date",
"last_result_at": "2026-10-12"
},
{
"test": "Vitamin B12",
"why": "Long-term metformin can lower vitamin B12.",
"when": "From time to time, especially with tingling or numb feet",
"source_id": "ada-standards",
"status": "no_result",
"last_result_at": null
},
{
"test": "HbA1c",
"why": "Shows the average blood sugar over the last few months.",
"when": "Every 3 to 6 months",
"source_id": "nice-ng28",
"status": "no_result",
"last_result_at": null
},
{
"test": "Home blood pressure",
"why": "Shows whether the blood pressure medicine is working.",
"when": "As your doctor advises; home readings help",
"source_id": "nice-ng136",
"status": "no_result",
"last_result_at": null
}
],
"dose_check": [
{
"medicine": "Metformin",
"medicine_id": "mariam-showcase-single-upload-0:3:m2-0",
"status": "check_with_pharmacist",
"plain": "The usual dose may not apply with the latest kidney result. Ask their pharmacist."
},
{
"medicine": "Amlodipine",
"medicine_id": "mariam-showcase-single-upload-0:4:m3-0",
"status": "within_usual_range",
"plain": "The daily amount entered does not exceed the general adult maximum checked here. This does not confirm the right dose to take."
},
{
"medicine": "Amoxicillin",
"medicine_id": "mariam-showcase-single-upload-0:5:m4-0",
"status": "not_enough_info",
"plain": "We can't check this dose automatically."
}
],
"what_we_checked": {
"medicines": [
"Metformin",
"Amlodipine",
"Amoxicillin"
],
"conditions": [],
"allergies": [
"Penicillin"
],
"age": 67,
"references": [
{
"id": "nhs-anaphylaxis",
"name": "NHS: Anaphylaxis",
"url": "https://www.nhs.uk/conditions/anaphylaxis/"
},
{
"id": "label-metformin",
"name": "Metformin product label",
"url": "https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=metformin"
},
{
"id": "ada-standards",
"name": "American Diabetes Association Standards of Care",
"url": "https://diabetesjournals.org/care/issue"
},
{
"id": "nice-ng28",
"name": "NICE NG28: Type 2 diabetes in adults",
"url": "https://www.nice.org.uk/guidance/ng28"
},
{
"id": "nice-ng136",
"name": "NICE NG136: Hypertension in adults",
"url": "https://www.nice.org.uk/guidance/ng136"
}
]
},
"what_we_couldnt_check": [
{
"item": "Type 2 diabetes",
"medicine_id": null,
"reason": "condition",
"plain": "We don't yet check medicines against health conditions such as Type 2 diabetes. Ask their pharmacist."
},
{
"item": "hypertension",
"medicine_id": null,
"reason": "condition",
"plain": "We don't yet check medicines against health conditions such as hypertension. Ask their pharmacist."
}
],
"for_the_doctor": {
"summary": "3 medicines checked, age 67. Amoxicillin with documented Penicillin allergy (same class). Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12. Not checked: Type 2 diabetes, hypertension. Monitoring to consider: Vitamin B12, HbA1c, Home blood pressure.",
"flags": [
{
"finding_id": "f71f1cc71b16",
"reference": "NHS: Anaphylaxis",
"for_discussion": "Amoxicillin with documented Penicillin allergy (same class)."
},
{
"finding_id": "02208f02933b",
"reference": "Metformin product label",
"for_discussion": "Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12."
}
]
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"addedRuleIds": [
"allergy-penicillin",
"lab-metformin-egfr-45"
],
"includedFacts": [
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:8",
"sourceId": "mariam-showcase-single-upload-0",
"quote": "Patient: Mariam Adeyemi",
"line": 9
},
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:12",
"sourceId": "mariam-showcase-single-upload-0",
"quote": "Patient: Mariam Adeyemi",
"line": 13
},
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:2:m0-0",
"quote": "Mariam Adeyemi is a 67-year-old patient.",
"line": 3,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Patient: Mariam Adeyemi"
},
{
"kind": "age",
"label": "67 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "mariam-showcase-single-upload-0:2:m1-0",
"quote": "Mariam Adeyemi is a 67-year-old patient.",
"line": 3,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Age: 67"
},
{
"kind": "medicine",
"label": "Metformin",
"detail": "500 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "mariam-showcase-single-upload-0:3:m2-0",
"quote": "She is prescribed Metformin 500 mg tablets, one tablet twice daily.",
"line": 4,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 500 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: prescribed"
},
{
"kind": "medicine",
"label": "Amlodipine",
"detail": "5 mg · 1 tablet · 1/day",
"key": "medicine:amlodipine",
"problem": null,
"id": "mariam-showcase-single-upload-0:4:m3-0",
"quote": "She takes Amlodipine 5 mg tablets, one tablet once daily.",
"line": 5,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Amlodipine; strength: 5 mg; form: tablet; dose: 1 tablet; frequency: 1/day"
},
{
"kind": "medicine",
"label": "Amoxicillin",
"detail": "500 mg · 1 capsule · 3/day",
"key": "medicine:amoxicillin",
"problem": null,
"id": "mariam-showcase-single-upload-0:5:m4-0",
"quote": "Her current prescription also includes Amoxicillin 500 mg capsules, one capsule three times daily.",
"line": 6,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Amoxicillin; strength: 500 mg; form: capsule; dose: 1 capsule; frequency: 3/day; origin: prescribed"
},
{
"kind": "condition",
"label": "Type 2 diabetes",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:type 2 diabetes",
"problem": null,
"id": "mariam-showcase-single-upload-0:6:m5-0",
"quote": "Her conditions are Type 2 diabetes and hypertension.",
"line": 7,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Condition: Type 2 diabetes"
},
{
"kind": "condition",
"label": "hypertension",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:hypertension",
"problem": null,
"id": "mariam-showcase-single-upload-0:6:m6-0",
"quote": "Her conditions are Type 2 diabetes and hypertension.",
"line": 7,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Condition: hypertension"
},
{
"kind": "lab",
"label": "eGFR 38",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "mariam-showcase-single-upload-0:9:m7-0",
"quote": "On 2026-10-12, her eGFR was 38 mL/min/1.73m2.",
"line": 10,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 38; unit: mL/min/1.73m2; date: 2026-10-12"
},
{
"kind": "allergy",
"label": "Penicillin",
"detail": "Reported allergy; reaction severity is not available",
"key": "allergy",
"problem": null,
"id": "mariam-showcase-single-upload-0:13:m8-0",
"quote": "Her previous care record documents a Penicillin allergy.",
"line": 14,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Allergies: Penicillin"
}
],
"excludedFacts": [],
"fingerprint": "97b642d9dc45037d25b2acb91e5256ce30b8ff25289ed1bfa36a22c8086ab281",
"checkedAt": "2026-10-25T17:36:29.493Z",
"durationMs": 6,
"sourceCount": 1,
"caveats": [
"Synthetic demonstration, not a clinical decision or a verified EHR connection.",
"Fixed scenario date: 2026-10-23. Real-time deployment has not been assessed.",
"Clinical review of later engine changes is pending. Software tests do not establish clinical accuracy.",
"Condition history is carried forward but is not assessed by the existing rules. Coverage is incomplete.",
"4 source lines could not be mapped and were not clinically assessed."
],
"reportId": "62118632-a60e-45ed-a36d-0c0d3e9abca5",
"extraction": {
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 4008,
"attempts": 1,
"strategy": "narrative",
"metrics": {
"providerCalls": 1,
"inputCharacters": 758,
"outputCharacters": 559,
"inputTokens": 732,
"outputTokens": 197,
"cacheHit": false
}
}
}
},
"finalAssessment": {
"status": 200,
"ok": true,
"data": {
"baseline": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "couldnt_check",
"headline": "We couldn't check everything",
"subline": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [],
"tests_to_ask_about": [
{
"test": "Kidney function (eGFR)",
"why": "The metformin dose depends on how well the kidneys work.",
"when": "At least once a year",
"source_id": "label-metformin",
"status": "no_result",
"last_result_at": null
},
{
"test": "Vitamin B12",
"why": "Long-term metformin can lower vitamin B12.",
"when": "From time to time, especially with tingling or numb feet",
"source_id": "ada-standards",
"status": "no_result",
"last_result_at": null
},
{
"test": "HbA1c",
"why": "Shows the average blood sugar over the last few months.",
"when": "Every 3 to 6 months",
"source_id": "nice-ng28",
"status": "no_result",
"last_result_at": null
},
{
"test": "Home blood pressure",
"why": "Shows whether the blood pressure medicine is working.",
"when": "As your doctor advises; home readings help",
"source_id": "nice-ng136",
"status": "no_result",
"last_result_at": null
}
],
"dose_check": [
{
"medicine": "Metformin",
"medicine_id": "mariam-showcase-single-upload-0:3:m2-0",
"status": "within_usual_range",
"plain": "The daily amount entered does not exceed the general adult maximum checked here. This does not confirm the right dose to take."
},
{
"medicine": "Amlodipine",
"medicine_id": "mariam-showcase-single-upload-0:4:m3-0",
"status": "within_usual_range",
"plain": "The daily amount entered does not exceed the general adult maximum checked here. This does not confirm the right dose to take."
},
{
"medicine": "Amoxicillin",
"medicine_id": "mariam-showcase-single-upload-0:5:m4-0",
"status": "not_enough_info",
"plain": "We can't check this dose automatically."
}
],
"what_we_checked": {
"medicines": [
"Metformin",
"Amlodipine",
"Amoxicillin"
],
"conditions": [],
"allergies": [],
"age": 67,
"references": [
{
"id": "label-metformin",
"name": "Metformin product label",
"url": "https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=metformin"
},
{
"id": "ada-standards",
"name": "American Diabetes Association Standards of Care",
"url": "https://diabetesjournals.org/care/issue"
},
{
"id": "nice-ng28",
"name": "NICE NG28: Type 2 diabetes in adults",
"url": "https://www.nice.org.uk/guidance/ng28"
},
{
"id": "nice-ng136",
"name": "NICE NG136: Hypertension in adults",
"url": "https://www.nice.org.uk/guidance/ng136"
}
]
},
"what_we_couldnt_check": [
{
"item": "Allergies",
"medicine_id": null,
"reason": "allergy",
"plain": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist."
},
{
"item": "Health conditions",
"medicine_id": null,
"reason": "condition",
"plain": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions. Review their health profile with their pharmacist."
}
],
"for_the_doctor": {
"summary": "3 medicines checked, age 67. Not checked: Allergies, Health conditions. Monitoring to consider: Kidney function (eGFR), Vitamin B12, HbA1c, Home blood pressure.",
"flags": []
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"contextual": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "today",
"headline": "Call their doctor or pharmacist today",
"subline": "Amoxicillin is in the same family as something Mariam Adeyemi is allergic to (Penicillin).",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [
{
"kind": "allergy",
"tier": "today",
"ruleId": "allergy-penicillin",
"medicines": [
{
"id": "mariam-showcase-single-upload-0:5:m4-0",
"name": "Amoxicillin"
}
],
"title": "Call today: Amoxicillin and their Penicillin allergy",
"why": "Amoxicillin is in the same family as something Mariam Adeyemi is allergic to (Penicillin).",
"what_to_do": [
"Before the next dose, call their doctor or pharmacist today about the Penicillin allergy."
],
"watch_for": [
"swelling of the lips, face or throat",
"trouble breathing",
"a rash with feeling faint"
],
"evidence_label": "Shown in studies",
"source_ids": [
"nhs-anaphylaxis"
],
"questions_for_doctor": [
"Is Amoxicillin OK with their Penicillin allergy?"
],
"allow_stop": false,
"clinical": "Amoxicillin with documented Penicillin allergy (same class).",
"id": "f71f1cc71b16",
"numbers": null,
"teach_back": {
"question": "What is the next step?",
"options": [
"Wait for the next check-up",
"I'm not sure",
"Before the next dose, call their doctor or pharmacist today about the Penicillin allergy."
],
"answer_index": 2
}
},
{
"kind": "lab",
"tier": "this_week",
"ruleId": "lab-metformin-egfr-45",
"lab_evidence": {
"result": {
"id": "mariam-showcase-single-upload-0:9:m7-0",
"code": "egfr",
"name": "eGFR",
"value": 38,
"valueText": "38",
"comparator": null,
"unit": "mL/min/1.73m2",
"observedAt": "2026-10-12",
"referenceRange": {
"low": null,
"high": null,
"text": null
},
"labFlag": null
},
"target": null
},
"medicines": [
{
"id": "mariam-showcase-single-upload-0:3:m2-0",
"name": "Metformin"
}
],
"title": "Metformin and the latest eGFR result",
"why": "The latest kidney result is in the range where the Metformin label says to review the dose.",
"what_to_do": [
"Ask their pharmacist or doctor about this in the next week."
],
"watch_for": [],
"evidence_label": "Shown in studies",
"source_ids": [
"label-metformin"
],
"questions_for_doctor": [
"Is my Metformin dose right for my kidney result?"
],
"allow_stop": false,
"clinical": "Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12.",
"id": "02208f02933b",
"numbers": null,
"teach_back": {
"question": "What is the next step?",
"options": [
"I'm not sure",
"Ask their pharmacist or doctor about this in the next week.",
"Wait for the next check-up"
],
"answer_index": 1
}
}
],
"tests_to_ask_about": [
{
"test": "Kidney function (eGFR)",
"why": "The metformin dose depends on how well the kidneys work.",
"when": "At least once a year",
"source_id": "label-metformin",
"status": "up_to_date",
"last_result_at": "2026-10-12"
},
{
"test": "Vitamin B12",
"why": "Long-term metformin can lower vitamin B12.",
"when": "From time to time, especially with tingling or numb feet",
"source_id": "ada-standards",
"status": "no_result",
"last_result_at": null
},
{
"test": "HbA1c",
"why": "Shows the average blood sugar over the last few months.",
"when": "Every 3 to 6 months",
"source_id": "nice-ng28",
"status": "no_result",
"last_result_at": null
},
{
"test": "Home blood pressure",
"why": "Shows whether the blood pressure medicine is working.",
"when": "As your doctor advises; home readings help",
"source_id": "nice-ng136",
"status": "no_result",
"last_result_at": null
}
],
"dose_check": [
{
"medicine": "Metformin",
"medicine_id": "mariam-showcase-single-upload-0:3:m2-0",
"status": "check_with_pharmacist",
"plain": "The usual dose may not apply with the latest kidney result. Ask their pharmacist."
},
{
"medicine": "Amlodipine",
"medicine_id": "mariam-showcase-single-upload-0:4:m3-0",
"status": "within_usual_range",
"plain": "The daily amount entered does not exceed the general adult maximum checked here. This does not confirm the right dose to take."
},
{
"medicine": "Amoxicillin",
"medicine_id": "mariam-showcase-single-upload-0:5:m4-0",
"status": "not_enough_info",
"plain": "We can't check this dose automatically."
}
],
"what_we_checked": {
"medicines": [
"Metformin",
"Amlodipine",
"Amoxicillin"
],
"conditions": [],
"allergies": [
"Penicillin"
],
"age": 67,
"references": [
{
"id": "nhs-anaphylaxis",
"name": "NHS: Anaphylaxis",
"url": "https://www.nhs.uk/conditions/anaphylaxis/"
},
{
"id": "label-metformin",
"name": "Metformin product label",
"url": "https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=metformin"
},
{
"id": "ada-standards",
"name": "American Diabetes Association Standards of Care",
"url": "https://diabetesjournals.org/care/issue"
},
{
"id": "nice-ng28",
"name": "NICE NG28: Type 2 diabetes in adults",
"url": "https://www.nice.org.uk/guidance/ng28"
},
{
"id": "nice-ng136",
"name": "NICE NG136: Hypertension in adults",
"url": "https://www.nice.org.uk/guidance/ng136"
}
]
},
"what_we_couldnt_check": [
{
"item": "Type 2 diabetes",
"medicine_id": null,
"reason": "condition",
"plain": "We don't yet check medicines against health conditions such as Type 2 diabetes. Ask their pharmacist."
},
{
"item": "hypertension",
"medicine_id": null,
"reason": "condition",
"plain": "We don't yet check medicines against health conditions such as hypertension. Ask their pharmacist."
}
],
"for_the_doctor": {
"summary": "3 medicines checked, age 67. Amoxicillin with documented Penicillin allergy (same class). Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12. Not checked: Type 2 diabetes, hypertension. Monitoring to consider: Vitamin B12, HbA1c, Home blood pressure.",
"flags": [
{
"finding_id": "f71f1cc71b16",
"reference": "NHS: Anaphylaxis",
"for_discussion": "Amoxicillin with documented Penicillin allergy (same class)."
},
{
"finding_id": "02208f02933b",
"reference": "Metformin product label",
"for_discussion": "Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12."
}
]
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"addedRuleIds": [
"allergy-penicillin",
"lab-metformin-egfr-45"
],
"includedFacts": [
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:8",
"sourceId": "mariam-showcase-single-upload-0",
"quote": "Patient: Mariam Adeyemi",
"line": 9
},
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:12",
"sourceId": "mariam-showcase-single-upload-0",
"quote": "Patient: Mariam Adeyemi",
"line": 13
},
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:2:m0-0",
"quote": "Mariam Adeyemi is a 67-year-old patient.",
"line": 3,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Patient: Mariam Adeyemi"
},
{
"kind": "age",
"label": "67 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "mariam-showcase-single-upload-0:2:m1-0",
"quote": "Mariam Adeyemi is a 67-year-old patient.",
"line": 3,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Age: 67"
},
{
"kind": "medicine",
"label": "Metformin",
"detail": "500 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "mariam-showcase-single-upload-0:3:m2-0",
"quote": "She is prescribed Metformin 500 mg tablets, one tablet twice daily.",
"line": 4,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 500 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: prescribed"
},
{
"kind": "medicine",
"label": "Amlodipine",
"detail": "5 mg · 1 tablet · 1/day",
"key": "medicine:amlodipine",
"problem": null,
"id": "mariam-showcase-single-upload-0:4:m3-0",
"quote": "She takes Amlodipine 5 mg tablets, one tablet once daily.",
"line": 5,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Amlodipine; strength: 5 mg; form: tablet; dose: 1 tablet; frequency: 1/day"
},
{
"kind": "medicine",
"label": "Amoxicillin",
"detail": "500 mg · 1 capsule · 3/day",
"key": "medicine:amoxicillin",
"problem": null,
"id": "mariam-showcase-single-upload-0:5:m4-0",
"quote": "Her current prescription also includes Amoxicillin 500 mg capsules, one capsule three times daily.",
"line": 6,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Amoxicillin; strength: 500 mg; form: capsule; dose: 1 capsule; frequency: 3/day; origin: prescribed"
},
{
"kind": "condition",
"label": "Type 2 diabetes",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:type 2 diabetes",
"problem": null,
"id": "mariam-showcase-single-upload-0:6:m5-0",
"quote": "Her conditions are Type 2 diabetes and hypertension.",
"line": 7,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Condition: Type 2 diabetes"
},
{
"kind": "condition",
"label": "hypertension",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:hypertension",
"problem": null,
"id": "mariam-showcase-single-upload-0:6:m6-0",
"quote": "Her conditions are Type 2 diabetes and hypertension.",
"line": 7,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Condition: hypertension"
},
{
"kind": "lab",
"label": "eGFR 38",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "mariam-showcase-single-upload-0:9:m7-0",
"quote": "On 2026-10-12, her eGFR was 38 mL/min/1.73m2.",
"line": 10,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 38; unit: mL/min/1.73m2; date: 2026-10-12"
},
{
"kind": "allergy",
"label": "Penicillin",
"detail": "Reported allergy; reaction severity is not available",
"key": "allergy",
"problem": null,
"id": "mariam-showcase-single-upload-0:13:m8-0",
"quote": "Her previous care record documents a Penicillin allergy.",
"line": 14,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Allergies: Penicillin"
}
],
"excludedFacts": [],
"fingerprint": "97b642d9dc45037d25b2acb91e5256ce30b8ff25289ed1bfa36a22c8086ab281",
"checkedAt": "2026-10-25T17:36:29.493Z",
"durationMs": 6,
"sourceCount": 1,
"caveats": [
"Synthetic demonstration, not a clinical decision or a verified EHR connection.",
"Fixed scenario date: 2026-10-23. Real-time deployment has not been assessed.",
"Clinical review of later engine changes is pending. Software tests do not establish clinical accuracy.",
"Condition history is carried forward but is not assessed by the existing rules. Coverage is incomplete.",
"4 source lines could not be mapped and were not clinically assessed."
],
"reportId": "62118632-a60e-45ed-a36d-0c0d3e9abca5",
"extraction": {
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 4008,
"attempts": 1,
"strategy": "narrative",
"metrics": {
"providerCalls": 1,
"inputCharacters": 758,
"outputCharacters": 559,
"inputTokens": 732,
"outputTokens": 197,
"cacheHit": false
}
}
}
},
"export": {
"status": 200,
"ok": true,
"data": {
"product": "MARMAR Context",
"schemaVersion": 1,
"synthetic": true,
"sources": [
{
"id": "mariam-showcase-single-upload-0",
"title": "Synthetic source 1",
"kind": "Synthetic note",
"date": "2026-10-23",
"text": "SYNTHETIC DEMONSTRATION: All people and events in this record are fictional.\n\nMariam Adeyemi is a 67-year-old patient.\nShe is prescribed Metformin 500 mg tablets, one tablet twice daily.\nShe takes Amlodipine 5 mg tablets, one tablet once daily.\nHer current prescription also includes Amoxicillin 500 mg capsules, one capsule three times daily.\nHer conditions are Type 2 diabetes and hypertension.\n\nPatient: Mariam Adeyemi\nOn 2026-10-12, her eGFR was 38 mL/min/1.73m2.\nThis result was recorded at a separate fictional laboratory.\n\nPatient: Mariam Adeyemi\nHer previous care record documents a Penicillin allergy.\nShe reported hives after Penicillin during an earlier episode of care.\nHer daughter helps her keep a written medication list."
}
],
"extraction": {
"facts": [
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:8",
"sourceId": "mariam-showcase-single-upload-0",
"quote": "Patient: Mariam Adeyemi",
"line": 9
},
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:12",
"sourceId": "mariam-showcase-single-upload-0",
"quote": "Patient: Mariam Adeyemi",
"line": 13
},
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:2:m0-0",
"quote": "Mariam Adeyemi is a 67-year-old patient.",
"line": 3,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Patient: Mariam Adeyemi"
},
{
"kind": "age",
"label": "67 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "mariam-showcase-single-upload-0:2:m1-0",
"quote": "Mariam Adeyemi is a 67-year-old patient.",
"line": 3,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Age: 67"
},
{
"kind": "medicine",
"label": "Metformin",
"detail": "500 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "mariam-showcase-single-upload-0:3:m2-0",
"quote": "She is prescribed Metformin 500 mg tablets, one tablet twice daily.",
"line": 4,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 500 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: prescribed"
},
{
"kind": "medicine",
"label": "Amlodipine",
"detail": "5 mg · 1 tablet · 1/day",
"key": "medicine:amlodipine",
"problem": null,
"id": "mariam-showcase-single-upload-0:4:m3-0",
"quote": "She takes Amlodipine 5 mg tablets, one tablet once daily.",
"line": 5,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Amlodipine; strength: 5 mg; form: tablet; dose: 1 tablet; frequency: 1/day"
},
{
"kind": "medicine",
"label": "Amoxicillin",
"detail": "500 mg · 1 capsule · 3/day",
"key": "medicine:amoxicillin",
"problem": null,
"id": "mariam-showcase-single-upload-0:5:m4-0",
"quote": "Her current prescription also includes Amoxicillin 500 mg capsules, one capsule three times daily.",
"line": 6,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Amoxicillin; strength: 500 mg; form: capsule; dose: 1 capsule; frequency: 3/day; origin: prescribed"
},
{
"kind": "condition",
"label": "Type 2 diabetes",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:type 2 diabetes",
"problem": null,
"id": "mariam-showcase-single-upload-0:6:m5-0",
"quote": "Her conditions are Type 2 diabetes and hypertension.",
"line": 7,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Condition: Type 2 diabetes"
},
{
"kind": "condition",
"label": "hypertension",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:hypertension",
"problem": null,
"id": "mariam-showcase-single-upload-0:6:m6-0",
"quote": "Her conditions are Type 2 diabetes and hypertension.",
"line": 7,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Condition: hypertension"
},
{
"kind": "lab",
"label": "eGFR 38",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "mariam-showcase-single-upload-0:9:m7-0",
"quote": "On 2026-10-12, her eGFR was 38 mL/min/1.73m2.",
"line": 10,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 38; unit: mL/min/1.73m2; date: 2026-10-12"
},
{
"kind": "allergy",
"label": "Penicillin",
"detail": "Reported allergy; reaction severity is not available",
"key": "allergy",
"problem": null,
"id": "mariam-showcase-single-upload-0:13:m8-0",
"quote": "Her previous care record documents a Penicillin allergy.",
"line": 14,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Allergies: Penicillin"
}
],
"unparsed": [
{
"sourceId": "mariam-showcase-single-upload-0",
"line": 1,
"text": "SYNTHETIC DEMONSTRATION: All people and events in this record are fictional."
},
{
"sourceId": "mariam-showcase-single-upload-0",
"line": 11,
"text": "This result was recorded at a separate fictional laboratory."
},
{
"sourceId": "mariam-showcase-single-upload-0",
"line": 15,
"text": "She reported hives after Penicillin during an earlier episode of care."
},
{
"sourceId": "mariam-showcase-single-upload-0",
"line": 16,
"text": "Her daughter helps her keep a written medication list."
}
],
"warnings": [
{
"sourceId": "mariam-showcase-single-upload-0",
"line": 5,
"reason": "Medication origin was inferred. Removed that field; it remains unknown.",
"normalizedLine": "Medication: Amlodipine; strength: 5 mg; form: tablet; dose: 1 tablet; frequency: 1/day; origin: prescribed"
}
],
"sourceReviewRequired": true,
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 4008,
"fingerprint": "97b642d9dc45037d25b2acb91e5256ce30b8ff25289ed1bfa36a22c8086ab281",
"strategy": "narrative",
"attempts": 1,
"metrics": {
"providerCalls": 1,
"inputCharacters": 758,
"outputCharacters": 559,
"inputTokens": 732,
"outputTokens": 197,
"cacheHit": false
},
"id": "df7411d0-0924-487c-b981-f05886f9ae88"
},
"id": "62118632-a60e-45ed-a36d-0c0d3e9abca5",
"assessment": {
"baseline": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "couldnt_check",
"headline": "We couldn't check everything",
"subline": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [],
"tests_to_ask_about": [
{
"test": "Kidney function (eGFR)",
"why": "The metformin dose depends on how well the kidneys work.",
"when": "At least once a year",
"source_id": "label-metformin",
"status": "no_result",
"last_result_at": null
},
{
"test": "Vitamin B12",
"why": "Long-term metformin can lower vitamin B12.",
"when": "From time to time, especially with tingling or numb feet",
"source_id": "ada-standards",
"status": "no_result",
"last_result_at": null
},
{
"test": "HbA1c",
"why": "Shows the average blood sugar over the last few months.",
"when": "Every 3 to 6 months",
"source_id": "nice-ng28",
"status": "no_result",
"last_result_at": null
},
{
"test": "Home blood pressure",
"why": "Shows whether the blood pressure medicine is working.",
"when": "As your doctor advises; home readings help",
"source_id": "nice-ng136",
"status": "no_result",
"last_result_at": null
}
],
"dose_check": [
{
"medicine": "Metformin",
"medicine_id": "mariam-showcase-single-upload-0:3:m2-0",
"status": "within_usual_range",
"plain": "The daily amount entered does not exceed the general adult maximum checked here. This does not confirm the right dose to take."
},
{
"medicine": "Amlodipine",
"medicine_id": "mariam-showcase-single-upload-0:4:m3-0",
"status": "within_usual_range",
"plain": "The daily amount entered does not exceed the general adult maximum checked here. This does not confirm the right dose to take."
},
{
"medicine": "Amoxicillin",
"medicine_id": "mariam-showcase-single-upload-0:5:m4-0",
"status": "not_enough_info",
"plain": "We can't check this dose automatically."
}
],
"what_we_checked": {
"medicines": [
"Metformin",
"Amlodipine",
"Amoxicillin"
],
"conditions": [],
"allergies": [],
"age": 67,
"references": [
{
"id": "label-metformin",
"name": "Metformin product label",
"url": "https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=metformin"
},
{
"id": "ada-standards",
"name": "American Diabetes Association Standards of Care",
"url": "https://diabetesjournals.org/care/issue"
},
{
"id": "nice-ng28",
"name": "NICE NG28: Type 2 diabetes in adults",
"url": "https://www.nice.org.uk/guidance/ng28"
},
{
"id": "nice-ng136",
"name": "NICE NG136: Hypertension in adults",
"url": "https://www.nice.org.uk/guidance/ng136"
}
]
},
"what_we_couldnt_check": [
{
"item": "Allergies",
"medicine_id": null,
"reason": "allergy",
"plain": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist."
},
{
"item": "Health conditions",
"medicine_id": null,
"reason": "condition",
"plain": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions. Review their health profile with their pharmacist."
}
],
"for_the_doctor": {
"summary": "3 medicines checked, age 67. Not checked: Allergies, Health conditions. Monitoring to consider: Kidney function (eGFR), Vitamin B12, HbA1c, Home blood pressure.",
"flags": []
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"contextual": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "today",
"headline": "Call their doctor or pharmacist today",
"subline": "Amoxicillin is in the same family as something Mariam Adeyemi is allergic to (Penicillin).",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [
{
"kind": "allergy",
"tier": "today",
"ruleId": "allergy-penicillin",
"medicines": [
{
"id": "mariam-showcase-single-upload-0:5:m4-0",
"name": "Amoxicillin"
}
],
"title": "Call today: Amoxicillin and their Penicillin allergy",
"why": "Amoxicillin is in the same family as something Mariam Adeyemi is allergic to (Penicillin).",
"what_to_do": [
"Before the next dose, call their doctor or pharmacist today about the Penicillin allergy."
],
"watch_for": [
"swelling of the lips, face or throat",
"trouble breathing",
"a rash with feeling faint"
],
"evidence_label": "Shown in studies",
"source_ids": [
"nhs-anaphylaxis"
],
"questions_for_doctor": [
"Is Amoxicillin OK with their Penicillin allergy?"
],
"allow_stop": false,
"clinical": "Amoxicillin with documented Penicillin allergy (same class).",
"id": "f71f1cc71b16",
"numbers": null,
"teach_back": {
"question": "What is the next step?",
"options": [
"Wait for the next check-up",
"I'm not sure",
"Before the next dose, call their doctor or pharmacist today about the Penicillin allergy."
],
"answer_index": 2
}
},
{
"kind": "lab",
"tier": "this_week",
"ruleId": "lab-metformin-egfr-45",
"lab_evidence": {
"result": {
"id": "mariam-showcase-single-upload-0:9:m7-0",
"code": "egfr",
"name": "eGFR",
"value": 38,
"valueText": "38",
"comparator": null,
"unit": "mL/min/1.73m2",
"observedAt": "2026-10-12",
"referenceRange": {
"low": null,
"high": null,
"text": null
},
"labFlag": null
},
"target": null
},
"medicines": [
{
"id": "mariam-showcase-single-upload-0:3:m2-0",
"name": "Metformin"
}
],
"title": "Metformin and the latest eGFR result",
"why": "The latest kidney result is in the range where the Metformin label says to review the dose.",
"what_to_do": [
"Ask their pharmacist or doctor about this in the next week."
],
"watch_for": [],
"evidence_label": "Shown in studies",
"source_ids": [
"label-metformin"
],
"questions_for_doctor": [
"Is my Metformin dose right for my kidney result?"
],
"allow_stop": false,
"clinical": "Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12.",
"id": "02208f02933b",
"numbers": null,
"teach_back": {
"question": "What is the next step?",
"options": [
"I'm not sure",
"Ask their pharmacist or doctor about this in the next week.",
"Wait for the next check-up"
],
"answer_index": 1
}
}
],
"tests_to_ask_about": [
{
"test": "Kidney function (eGFR)",
"why": "The metformin dose depends on how well the kidneys work.",
"when": "At least once a year",
"source_id": "label-metformin",
"status": "up_to_date",
"last_result_at": "2026-10-12"
},
{
"test": "Vitamin B12",
"why": "Long-term metformin can lower vitamin B12.",
"when": "From time to time, especially with tingling or numb feet",
"source_id": "ada-standards",
"status": "no_result",
"last_result_at": null
},
{
"test": "HbA1c",
"why": "Shows the average blood sugar over the last few months.",
"when": "Every 3 to 6 months",
"source_id": "nice-ng28",
"status": "no_result",
"last_result_at": null
},
{
"test": "Home blood pressure",
"why": "Shows whether the blood pressure medicine is working.",
"when": "As your doctor advises; home readings help",
"source_id": "nice-ng136",
"status": "no_result",
"last_result_at": null
}
],
"dose_check": [
{
"medicine": "Metformin",
"medicine_id": "mariam-showcase-single-upload-0:3:m2-0",
"status": "check_with_pharmacist",
"plain": "The usual dose may not apply with the latest kidney result. Ask their pharmacist."
},
{
"medicine": "Amlodipine",
"medicine_id": "mariam-showcase-single-upload-0:4:m3-0",
"status": "within_usual_range",
"plain": "The daily amount entered does not exceed the general adult maximum checked here. This does not confirm the right dose to take."
},
{
"medicine": "Amoxicillin",
"medicine_id": "mariam-showcase-single-upload-0:5:m4-0",
"status": "not_enough_info",
"plain": "We can't check this dose automatically."
}
],
"what_we_checked": {
"medicines": [
"Metformin",
"Amlodipine",
"Amoxicillin"
],
"conditions": [],
"allergies": [
"Penicillin"
],
"age": 67,
"references": [
{
"id": "nhs-anaphylaxis",
"name": "NHS: Anaphylaxis",
"url": "https://www.nhs.uk/conditions/anaphylaxis/"
},
{
"id": "label-metformin",
"name": "Metformin product label",
"url": "https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=metformin"
},
{
"id": "ada-standards",
"name": "American Diabetes Association Standards of Care",
"url": "https://diabetesjournals.org/care/issue"
},
{
"id": "nice-ng28",
"name": "NICE NG28: Type 2 diabetes in adults",
"url": "https://www.nice.org.uk/guidance/ng28"
},
{
"id": "nice-ng136",
"name": "NICE NG136: Hypertension in adults",
"url": "https://www.nice.org.uk/guidance/ng136"
}
]
},
"what_we_couldnt_check": [
{
"item": "Type 2 diabetes",
"medicine_id": null,
"reason": "condition",
"plain": "We don't yet check medicines against health conditions such as Type 2 diabetes. Ask their pharmacist."
},
{
"item": "hypertension",
"medicine_id": null,
"reason": "condition",
"plain": "We don't yet check medicines against health conditions such as hypertension. Ask their pharmacist."
}
],
"for_the_doctor": {
"summary": "3 medicines checked, age 67. Amoxicillin with documented Penicillin allergy (same class). Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12. Not checked: Type 2 diabetes, hypertension. Monitoring to consider: Vitamin B12, HbA1c, Home blood pressure.",
"flags": [
{
"finding_id": "f71f1cc71b16",
"reference": "NHS: Anaphylaxis",
"for_discussion": "Amoxicillin with documented Penicillin allergy (same class)."
},
{
"finding_id": "02208f02933b",
"reference": "Metformin product label",
"for_discussion": "Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12."
}
]
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"addedRuleIds": [
"allergy-penicillin",
"lab-metformin-egfr-45"
],
"includedFacts": [
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:8",
"sourceId": "mariam-showcase-single-upload-0",
"quote": "Patient: Mariam Adeyemi",
"line": 9
},
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:12",
"sourceId": "mariam-showcase-single-upload-0",
"quote": "Patient: Mariam Adeyemi",
"line": 13
},
{
"kind": "patient",
"label": "Mariam Adeyemi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "mariam-showcase-single-upload-0:2:m0-0",
"quote": "Mariam Adeyemi is a 67-year-old patient.",
"line": 3,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Patient: Mariam Adeyemi"
},
{
"kind": "age",
"label": "67 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "mariam-showcase-single-upload-0:2:m1-0",
"quote": "Mariam Adeyemi is a 67-year-old patient.",
"line": 3,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Age: 67"
},
{
"kind": "medicine",
"label": "Metformin",
"detail": "500 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "mariam-showcase-single-upload-0:3:m2-0",
"quote": "She is prescribed Metformin 500 mg tablets, one tablet twice daily.",
"line": 4,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 500 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: prescribed"
},
{
"kind": "medicine",
"label": "Amlodipine",
"detail": "5 mg · 1 tablet · 1/day",
"key": "medicine:amlodipine",
"problem": null,
"id": "mariam-showcase-single-upload-0:4:m3-0",
"quote": "She takes Amlodipine 5 mg tablets, one tablet once daily.",
"line": 5,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Amlodipine; strength: 5 mg; form: tablet; dose: 1 tablet; frequency: 1/day"
},
{
"kind": "medicine",
"label": "Amoxicillin",
"detail": "500 mg · 1 capsule · 3/day",
"key": "medicine:amoxicillin",
"problem": null,
"id": "mariam-showcase-single-upload-0:5:m4-0",
"quote": "Her current prescription also includes Amoxicillin 500 mg capsules, one capsule three times daily.",
"line": 6,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Medication: Amoxicillin; strength: 500 mg; form: capsule; dose: 1 capsule; frequency: 3/day; origin: prescribed"
},
{
"kind": "condition",
"label": "Type 2 diabetes",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:type 2 diabetes",
"problem": null,
"id": "mariam-showcase-single-upload-0:6:m5-0",
"quote": "Her conditions are Type 2 diabetes and hypertension.",
"line": 7,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Condition: Type 2 diabetes"
},
{
"kind": "condition",
"label": "hypertension",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:hypertension",
"problem": null,
"id": "mariam-showcase-single-upload-0:6:m6-0",
"quote": "Her conditions are Type 2 diabetes and hypertension.",
"line": 7,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Condition: hypertension"
},
{
"kind": "lab",
"label": "eGFR 38",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "mariam-showcase-single-upload-0:9:m7-0",
"quote": "On 2026-10-12, her eGFR was 38 mL/min/1.73m2.",
"line": 10,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 38; unit: mL/min/1.73m2; date: 2026-10-12"
},
{
"kind": "allergy",
"label": "Penicillin",
"detail": "Reported allergy; reaction severity is not available",
"key": "allergy",
"problem": null,
"id": "mariam-showcase-single-upload-0:13:m8-0",
"quote": "Her previous care record documents a Penicillin allergy.",
"line": 14,
"sourceId": "mariam-showcase-single-upload-0",
"normalizedLine": "Allergies: Penicillin"
}
],
"excludedFacts": [],
"fingerprint": "97b642d9dc45037d25b2acb91e5256ce30b8ff25289ed1bfa36a22c8086ab281",
"checkedAt": "2026-10-25T17:36:29.493Z",
"durationMs": 6,
"sourceCount": 1,
"caveats": [
"Synthetic demonstration, not a clinical decision or a verified EHR connection.",
"Fixed scenario date: 2026-10-23. Real-time deployment has not been assessed.",
"Clinical review of later engine changes is pending. Software tests do not establish clinical accuracy.",
"Condition history is carried forward but is not assessed by the existing rules. Coverage is incomplete.",
"4 source lines could not be mapped and were not clinically assessed."
],
"reportId": "62118632-a60e-45ed-a36d-0c0d3e9abca5",
"extraction": {
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 4008,
"attempts": 1,
"strategy": "narrative",
"metrics": {
"providerCalls": 1,
"inputCharacters": 758,
"outputCharacters": 559,
"inputTokens": 732,
"outputTokens": 197,
"cacheHit": false
}
}
},
"review": {
"mariam-showcase-single-upload-0:8": "include",
"mariam-showcase-single-upload-0:12": "include",
"mariam-showcase-single-upload-0:2:m0-0": "include",
"mariam-showcase-single-upload-0:2:m1-0": "include",
"mariam-showcase-single-upload-0:3:m2-0": "include",
"mariam-showcase-single-upload-0:4:m3-0": "include",
"mariam-showcase-single-upload-0:5:m4-0": "include",
"mariam-showcase-single-upload-0:6:m5-0": "include",
"mariam-showcase-single-upload-0:6:m6-0": "include",
"mariam-showcase-single-upload-0:9:m7-0": "include",
"mariam-showcase-single-upload-0:13:m8-0": "include"
},
"createdAt": "2026-10-25T17:36:29.564Z"
}
},
"totalMs": 12814
},
{
"id": "eric-family-history-single-upload",
"checks": [
{
"name": "Fresh live model used",
"passed": true
},
{
"name": "Required facts recovered",
"passed": true,
"detail": []
},
{
"name": "Prohibited facts not accepted",
"passed": true,
"detail": []
},
{
"name": "No unexpected usable facts",
"passed": true,
"detail": []
},
{
"name": "Every quote matches original source",
"passed": true
},
{
"name": "Missing review blocked",
"passed": true
},
{
"name": "Original-note acknowledgement required",
"passed": true
},
{
"name": "Assessment completed after explicit review",
"passed": true
},
{
"name": "Expected engine result",
"passed": true,
"detail": []
},
{
"name": "Export preserves reviewed evidence",
"passed": true
},
{
"name": "Edited sources invalidate old draft",
"passed": true
}
],
"passed": true,
"sources": [
{
"id": "eric-family-history-single-upload-0",
"title": "Synthetic source 1",
"kind": "Synthetic note",
"date": "2026-10-23",
"text": "SYNTHETIC DEMONSTRATION: All people and events in this record are fictional.\n\nEric Niyonzima is a 34-year-old patient.\nHe is prescribed Amoxicillin 500 mg capsules, one capsule three times daily.\nHe brings a family notebook to the appointment because it contains his own notes and his mother's notes.\n\nPatient: Eric Niyonzima\nHis mother has a Penicillin allergy, but Eric himself reports no known drug allergies.\nHis mother takes Warfarin 5 mg daily.\nEric does not take Warfarin.\n\nPatient: Eric Niyonzima\nOn 2026-10-12, his eGFR was 96 mL/min/1.73m2.\nHis mother's eGFR was 38 mL/min/1.73m2 on 2026-10-12."
}
],
"extractionStatus": 200,
"draft": {
"facts": [
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:6",
"sourceId": "eric-family-history-single-upload-0",
"quote": "Patient: Eric Niyonzima",
"line": 7
},
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:11",
"sourceId": "eric-family-history-single-upload-0",
"quote": "Patient: Eric Niyonzima",
"line": 12
},
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:2:m0-0",
"quote": "Eric Niyonzima is a 34-year-old patient.",
"line": 3,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Patient: Eric Niyonzima"
},
{
"kind": "age",
"label": "34 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "eric-family-history-single-upload-0:2:m1-0",
"quote": "Eric Niyonzima is a 34-year-old patient.",
"line": 3,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Age: 34"
},
{
"kind": "medicine",
"label": "Amoxicillin",
"detail": "500 mg · 1 capsule · 3/day",
"key": "medicine:amoxicillin",
"problem": null,
"id": "eric-family-history-single-upload-0:3:m2-0",
"quote": "He is prescribed Amoxicillin 500 mg capsules, one capsule three times daily.",
"line": 4,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Amoxicillin; strength: 500 mg; form: capsule; dose: 1 capsule; frequency: 3/day; origin: prescribed"
},
{
"kind": "allergy",
"label": "No known allergies",
"detail": "Explicitly recorded as none known",
"key": "allergy",
"problem": null,
"id": "eric-family-history-single-upload-0:7:m3-0",
"quote": "His mother has a Penicillin allergy, but Eric himself reports no known drug allergies.",
"line": 8,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Allergies: No known allergies"
},
{
"kind": "medicine",
"label": "Warfarin",
"detail": "5 mg · Dose unknown · Frequency unknown",
"key": "medicine:warfarin",
"problem": "Medication status or schedule is historical, conditional, ambiguous or outside supported daily dosing. Exclude it or obtain a clarified record.",
"id": "eric-family-history-single-upload-0:8:m4-0",
"quote": "His mother takes Warfarin 5 mg daily.",
"line": 9,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Warfarin; strength: 5 mg"
},
{
"kind": "medicine",
"label": "Warfarin",
"detail": "Strength unknown · Dose unknown · Frequency unknown",
"key": "medicine:warfarin",
"problem": "Medication status or schedule is historical, conditional, ambiguous or outside supported daily dosing. Exclude it or obtain a clarified record.",
"id": "eric-family-history-single-upload-0:9:m5-0",
"quote": "Eric does not take Warfarin.",
"line": 10,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Warfarin; origin: unknown"
},
{
"kind": "lab",
"label": "eGFR 96",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "eric-family-history-single-upload-0:12:m6-0",
"quote": "On 2026-10-12, his eGFR was 96 mL/min/1.73m2.",
"line": 13,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 96; unit: mL/min/1.73m2; date: 2026-10-12"
}
],
"unparsed": [
{
"sourceId": "eric-family-history-single-upload-0",
"line": 1,
"text": "SYNTHETIC DEMONSTRATION: All people and events in this record are fictional."
},
{
"sourceId": "eric-family-history-single-upload-0",
"line": 5,
"text": "He brings a family notebook to the appointment because it contains his own notes and his mother's notes."
},
{
"sourceId": "eric-family-history-single-upload-0",
"line": 14,
"text": "His mother's eGFR was 38 mL/min/1.73m2 on 2026-10-12."
}
],
"warnings": [
{
"sourceId": "eric-family-history-single-upload-0",
"line": 9,
"reason": "Frequency was inferred. Removed that field; it remains unknown.",
"normalizedLine": "Medication: Warfarin; strength: 5 mg; frequency: 1/day; origin: prescribed"
},
{
"sourceId": "eric-family-history-single-upload-0",
"line": 9,
"reason": "Medication origin was inferred. Removed that field; it remains unknown.",
"normalizedLine": "Medication: Warfarin; strength: 5 mg; frequency: 1/day; origin: prescribed"
}
],
"sourceReviewRequired": true,
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 3085,
"fingerprint": "49f720761c01fdc9229856fa409854294cf1f6ffc20ef7068d8adbf3038edb6c",
"strategy": "narrative",
"attempts": 1,
"metrics": {
"providerCalls": 1,
"inputCharacters": 612,
"outputCharacters": 402,
"inputTokens": 718,
"outputTokens": 146,
"cacheHit": false
},
"id": "5a09abff-d667-48ec-ac65-d387faa5305c"
},
"initialAssessment": {
"status": 200,
"ok": true,
"data": {
"baseline": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "couldnt_check",
"headline": "We couldn't check everything",
"subline": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [],
"tests_to_ask_about": [],
"dose_check": [
{
"medicine": "Amoxicillin",
"medicine_id": "eric-family-history-single-upload-0:3:m2-0",
"status": "not_enough_info",
"plain": "We can't check this dose automatically."
}
],
"what_we_checked": {
"medicines": [
"Amoxicillin"
],
"conditions": [],
"allergies": [],
"age": 34,
"references": []
},
"what_we_couldnt_check": [
{
"item": "Allergies",
"medicine_id": null,
"reason": "allergy",
"plain": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist."
},
{
"item": "Health conditions",
"medicine_id": null,
"reason": "condition",
"plain": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions. Review their health profile with their pharmacist."
}
],
"for_the_doctor": {
"summary": "1 medicine checked, age 34. Not checked: Allergies, Health conditions.",
"flags": []
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"contextual": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "couldnt_check",
"headline": "We couldn't check everything",
"subline": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [],
"tests_to_ask_about": [],
"dose_check": [
{
"medicine": "Amoxicillin",
"medicine_id": "eric-family-history-single-upload-0:3:m2-0",
"status": "not_enough_info",
"plain": "We can't check this dose automatically."
}
],
"what_we_checked": {
"medicines": [
"Amoxicillin"
],
"conditions": [],
"allergies": [],
"age": 34,
"references": []
},
"what_we_couldnt_check": [
{
"item": "Health conditions",
"medicine_id": null,
"reason": "condition",
"plain": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions. Review their health profile with their pharmacist."
}
],
"for_the_doctor": {
"summary": "1 medicine checked, age 34. Not checked: Health conditions.",
"flags": []
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"addedRuleIds": [],
"includedFacts": [
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:6",
"sourceId": "eric-family-history-single-upload-0",
"quote": "Patient: Eric Niyonzima",
"line": 7
},
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:11",
"sourceId": "eric-family-history-single-upload-0",
"quote": "Patient: Eric Niyonzima",
"line": 12
},
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:2:m0-0",
"quote": "Eric Niyonzima is a 34-year-old patient.",
"line": 3,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Patient: Eric Niyonzima"
},
{
"kind": "age",
"label": "34 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "eric-family-history-single-upload-0:2:m1-0",
"quote": "Eric Niyonzima is a 34-year-old patient.",
"line": 3,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Age: 34"
},
{
"kind": "medicine",
"label": "Amoxicillin",
"detail": "500 mg · 1 capsule · 3/day",
"key": "medicine:amoxicillin",
"problem": null,
"id": "eric-family-history-single-upload-0:3:m2-0",
"quote": "He is prescribed Amoxicillin 500 mg capsules, one capsule three times daily.",
"line": 4,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Amoxicillin; strength: 500 mg; form: capsule; dose: 1 capsule; frequency: 3/day; origin: prescribed"
},
{
"kind": "allergy",
"label": "No known allergies",
"detail": "Explicitly recorded as none known",
"key": "allergy",
"problem": null,
"id": "eric-family-history-single-upload-0:7:m3-0",
"quote": "His mother has a Penicillin allergy, but Eric himself reports no known drug allergies.",
"line": 8,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Allergies: No known allergies"
},
{
"kind": "lab",
"label": "eGFR 96",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "eric-family-history-single-upload-0:12:m6-0",
"quote": "On 2026-10-12, his eGFR was 96 mL/min/1.73m2.",
"line": 13,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 96; unit: mL/min/1.73m2; date: 2026-10-12"
}
],
"excludedFacts": [
{
"kind": "medicine",
"label": "Warfarin",
"detail": "5 mg · Dose unknown · Frequency unknown",
"key": "medicine:warfarin",
"problem": "Medication status or schedule is historical, conditional, ambiguous or outside supported daily dosing. Exclude it or obtain a clarified record.",
"id": "eric-family-history-single-upload-0:8:m4-0",
"quote": "His mother takes Warfarin 5 mg daily.",
"line": 9,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Warfarin; strength: 5 mg"
},
{
"kind": "medicine",
"label": "Warfarin",
"detail": "Strength unknown · Dose unknown · Frequency unknown",
"key": "medicine:warfarin",
"problem": "Medication status or schedule is historical, conditional, ambiguous or outside supported daily dosing. Exclude it or obtain a clarified record.",
"id": "eric-family-history-single-upload-0:9:m5-0",
"quote": "Eric does not take Warfarin.",
"line": 10,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Warfarin; origin: unknown"
}
],
"fingerprint": "49f720761c01fdc9229856fa409854294cf1f6ffc20ef7068d8adbf3038edb6c",
"checkedAt": "2026-10-25T17:36:54.145Z",
"durationMs": 1,
"sourceCount": 1,
"caveats": [
"Synthetic demonstration, not a clinical decision or a verified EHR connection.",
"Fixed scenario date: 2026-10-23. Real-time deployment has not been assessed.",
"Clinical review of later engine changes is pending. Software tests do not establish clinical accuracy.",
"Condition history is carried forward but is not assessed by the existing rules. Coverage is incomplete.",
"2 extracted facts were excluded by the reviewer.",
"3 source lines could not be mapped and were not clinically assessed."
],
"reportId": "d0fdd381-e431-40af-913a-c38fc935464e",
"extraction": {
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 3085,
"attempts": 1,
"strategy": "narrative",
"metrics": {
"providerCalls": 1,
"inputCharacters": 612,
"outputCharacters": 402,
"inputTokens": 718,
"outputTokens": 146,
"cacheHit": false
}
}
}
},
"finalAssessment": {
"status": 200,
"ok": true,
"data": {
"baseline": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "couldnt_check",
"headline": "We couldn't check everything",
"subline": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [],
"tests_to_ask_about": [],
"dose_check": [
{
"medicine": "Amoxicillin",
"medicine_id": "eric-family-history-single-upload-0:3:m2-0",
"status": "not_enough_info",
"plain": "We can't check this dose automatically."
}
],
"what_we_checked": {
"medicines": [
"Amoxicillin"
],
"conditions": [],
"allergies": [],
"age": 34,
"references": []
},
"what_we_couldnt_check": [
{
"item": "Allergies",
"medicine_id": null,
"reason": "allergy",
"plain": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist."
},
{
"item": "Health conditions",
"medicine_id": null,
"reason": "condition",
"plain": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions. Review their health profile with their pharmacist."
}
],
"for_the_doctor": {
"summary": "1 medicine checked, age 34. Not checked: Allergies, Health conditions.",
"flags": []
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"contextual": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "couldnt_check",
"headline": "We couldn't check everything",
"subline": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [],
"tests_to_ask_about": [],
"dose_check": [
{
"medicine": "Amoxicillin",
"medicine_id": "eric-family-history-single-upload-0:3:m2-0",
"status": "not_enough_info",
"plain": "We can't check this dose automatically."
}
],
"what_we_checked": {
"medicines": [
"Amoxicillin"
],
"conditions": [],
"allergies": [],
"age": 34,
"references": []
},
"what_we_couldnt_check": [
{
"item": "Health conditions",
"medicine_id": null,
"reason": "condition",
"plain": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions. Review their health profile with their pharmacist."
}
],
"for_the_doctor": {
"summary": "1 medicine checked, age 34. Not checked: Health conditions.",
"flags": []
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"addedRuleIds": [],
"includedFacts": [
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:6",
"sourceId": "eric-family-history-single-upload-0",
"quote": "Patient: Eric Niyonzima",
"line": 7
},
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:11",
"sourceId": "eric-family-history-single-upload-0",
"quote": "Patient: Eric Niyonzima",
"line": 12
},
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:2:m0-0",
"quote": "Eric Niyonzima is a 34-year-old patient.",
"line": 3,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Patient: Eric Niyonzima"
},
{
"kind": "age",
"label": "34 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "eric-family-history-single-upload-0:2:m1-0",
"quote": "Eric Niyonzima is a 34-year-old patient.",
"line": 3,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Age: 34"
},
{
"kind": "medicine",
"label": "Amoxicillin",
"detail": "500 mg · 1 capsule · 3/day",
"key": "medicine:amoxicillin",
"problem": null,
"id": "eric-family-history-single-upload-0:3:m2-0",
"quote": "He is prescribed Amoxicillin 500 mg capsules, one capsule three times daily.",
"line": 4,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Amoxicillin; strength: 500 mg; form: capsule; dose: 1 capsule; frequency: 3/day; origin: prescribed"
},
{
"kind": "allergy",
"label": "No known allergies",
"detail": "Explicitly recorded as none known",
"key": "allergy",
"problem": null,
"id": "eric-family-history-single-upload-0:7:m3-0",
"quote": "His mother has a Penicillin allergy, but Eric himself reports no known drug allergies.",
"line": 8,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Allergies: No known allergies"
},
{
"kind": "lab",
"label": "eGFR 96",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "eric-family-history-single-upload-0:12:m6-0",
"quote": "On 2026-10-12, his eGFR was 96 mL/min/1.73m2.",
"line": 13,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 96; unit: mL/min/1.73m2; date: 2026-10-12"
}
],
"excludedFacts": [
{
"kind": "medicine",
"label": "Warfarin",
"detail": "5 mg · Dose unknown · Frequency unknown",
"key": "medicine:warfarin",
"problem": "Medication status or schedule is historical, conditional, ambiguous or outside supported daily dosing. Exclude it or obtain a clarified record.",
"id": "eric-family-history-single-upload-0:8:m4-0",
"quote": "His mother takes Warfarin 5 mg daily.",
"line": 9,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Warfarin; strength: 5 mg"
},
{
"kind": "medicine",
"label": "Warfarin",
"detail": "Strength unknown · Dose unknown · Frequency unknown",
"key": "medicine:warfarin",
"problem": "Medication status or schedule is historical, conditional, ambiguous or outside supported daily dosing. Exclude it or obtain a clarified record.",
"id": "eric-family-history-single-upload-0:9:m5-0",
"quote": "Eric does not take Warfarin.",
"line": 10,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Warfarin; origin: unknown"
}
],
"fingerprint": "49f720761c01fdc9229856fa409854294cf1f6ffc20ef7068d8adbf3038edb6c",
"checkedAt": "2026-10-25T17:36:54.145Z",
"durationMs": 1,
"sourceCount": 1,
"caveats": [
"Synthetic demonstration, not a clinical decision or a verified EHR connection.",
"Fixed scenario date: 2026-10-23. Real-time deployment has not been assessed.",
"Clinical review of later engine changes is pending. Software tests do not establish clinical accuracy.",
"Condition history is carried forward but is not assessed by the existing rules. Coverage is incomplete.",
"2 extracted facts were excluded by the reviewer.",
"3 source lines could not be mapped and were not clinically assessed."
],
"reportId": "d0fdd381-e431-40af-913a-c38fc935464e",
"extraction": {
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 3085,
"attempts": 1,
"strategy": "narrative",
"metrics": {
"providerCalls": 1,
"inputCharacters": 612,
"outputCharacters": 402,
"inputTokens": 718,
"outputTokens": 146,
"cacheHit": false
}
}
}
},
"export": {
"status": 200,
"ok": true,
"data": {
"product": "MARMAR Context",
"schemaVersion": 1,
"synthetic": true,
"sources": [
{
"id": "eric-family-history-single-upload-0",
"title": "Synthetic source 1",
"kind": "Synthetic note",
"date": "2026-10-23",
"text": "SYNTHETIC DEMONSTRATION: All people and events in this record are fictional.\n\nEric Niyonzima is a 34-year-old patient.\nHe is prescribed Amoxicillin 500 mg capsules, one capsule three times daily.\nHe brings a family notebook to the appointment because it contains his own notes and his mother's notes.\n\nPatient: Eric Niyonzima\nHis mother has a Penicillin allergy, but Eric himself reports no known drug allergies.\nHis mother takes Warfarin 5 mg daily.\nEric does not take Warfarin.\n\nPatient: Eric Niyonzima\nOn 2026-10-12, his eGFR was 96 mL/min/1.73m2.\nHis mother's eGFR was 38 mL/min/1.73m2 on 2026-10-12."
}
],
"extraction": {
"facts": [
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:6",
"sourceId": "eric-family-history-single-upload-0",
"quote": "Patient: Eric Niyonzima",
"line": 7
},
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:11",
"sourceId": "eric-family-history-single-upload-0",
"quote": "Patient: Eric Niyonzima",
"line": 12
},
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:2:m0-0",
"quote": "Eric Niyonzima is a 34-year-old patient.",
"line": 3,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Patient: Eric Niyonzima"
},
{
"kind": "age",
"label": "34 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "eric-family-history-single-upload-0:2:m1-0",
"quote": "Eric Niyonzima is a 34-year-old patient.",
"line": 3,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Age: 34"
},
{
"kind": "medicine",
"label": "Amoxicillin",
"detail": "500 mg · 1 capsule · 3/day",
"key": "medicine:amoxicillin",
"problem": null,
"id": "eric-family-history-single-upload-0:3:m2-0",
"quote": "He is prescribed Amoxicillin 500 mg capsules, one capsule three times daily.",
"line": 4,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Amoxicillin; strength: 500 mg; form: capsule; dose: 1 capsule; frequency: 3/day; origin: prescribed"
},
{
"kind": "allergy",
"label": "No known allergies",
"detail": "Explicitly recorded as none known",
"key": "allergy",
"problem": null,
"id": "eric-family-history-single-upload-0:7:m3-0",
"quote": "His mother has a Penicillin allergy, but Eric himself reports no known drug allergies.",
"line": 8,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Allergies: No known allergies"
},
{
"kind": "medicine",
"label": "Warfarin",
"detail": "5 mg · Dose unknown · Frequency unknown",
"key": "medicine:warfarin",
"problem": "Medication status or schedule is historical, conditional, ambiguous or outside supported daily dosing. Exclude it or obtain a clarified record.",
"id": "eric-family-history-single-upload-0:8:m4-0",
"quote": "His mother takes Warfarin 5 mg daily.",
"line": 9,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Warfarin; strength: 5 mg"
},
{
"kind": "medicine",
"label": "Warfarin",
"detail": "Strength unknown · Dose unknown · Frequency unknown",
"key": "medicine:warfarin",
"problem": "Medication status or schedule is historical, conditional, ambiguous or outside supported daily dosing. Exclude it or obtain a clarified record.",
"id": "eric-family-history-single-upload-0:9:m5-0",
"quote": "Eric does not take Warfarin.",
"line": 10,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Warfarin; origin: unknown"
},
{
"kind": "lab",
"label": "eGFR 96",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "eric-family-history-single-upload-0:12:m6-0",
"quote": "On 2026-10-12, his eGFR was 96 mL/min/1.73m2.",
"line": 13,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 96; unit: mL/min/1.73m2; date: 2026-10-12"
}
],
"unparsed": [
{
"sourceId": "eric-family-history-single-upload-0",
"line": 1,
"text": "SYNTHETIC DEMONSTRATION: All people and events in this record are fictional."
},
{
"sourceId": "eric-family-history-single-upload-0",
"line": 5,
"text": "He brings a family notebook to the appointment because it contains his own notes and his mother's notes."
},
{
"sourceId": "eric-family-history-single-upload-0",
"line": 14,
"text": "His mother's eGFR was 38 mL/min/1.73m2 on 2026-10-12."
}
],
"warnings": [
{
"sourceId": "eric-family-history-single-upload-0",
"line": 9,
"reason": "Frequency was inferred. Removed that field; it remains unknown.",
"normalizedLine": "Medication: Warfarin; strength: 5 mg; frequency: 1/day; origin: prescribed"
},
{
"sourceId": "eric-family-history-single-upload-0",
"line": 9,
"reason": "Medication origin was inferred. Removed that field; it remains unknown.",
"normalizedLine": "Medication: Warfarin; strength: 5 mg; frequency: 1/day; origin: prescribed"
}
],
"sourceReviewRequired": true,
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 3085,
"fingerprint": "49f720761c01fdc9229856fa409854294cf1f6ffc20ef7068d8adbf3038edb6c",
"strategy": "narrative",
"attempts": 1,
"metrics": {
"providerCalls": 1,
"inputCharacters": 612,
"outputCharacters": 402,
"inputTokens": 718,
"outputTokens": 146,
"cacheHit": false
},
"id": "5a09abff-d667-48ec-ac65-d387faa5305c"
},
"id": "d0fdd381-e431-40af-913a-c38fc935464e",
"assessment": {
"baseline": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "couldnt_check",
"headline": "We couldn't check everything",
"subline": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [],
"tests_to_ask_about": [],
"dose_check": [
{
"medicine": "Amoxicillin",
"medicine_id": "eric-family-history-single-upload-0:3:m2-0",
"status": "not_enough_info",
"plain": "We can't check this dose automatically."
}
],
"what_we_checked": {
"medicines": [
"Amoxicillin"
],
"conditions": [],
"allergies": [],
"age": 34,
"references": []
},
"what_we_couldnt_check": [
{
"item": "Allergies",
"medicine_id": null,
"reason": "allergy",
"plain": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist."
},
{
"item": "Health conditions",
"medicine_id": null,
"reason": "condition",
"plain": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions. Review their health profile with their pharmacist."
}
],
"for_the_doctor": {
"summary": "1 medicine checked, age 34. Not checked: Allergies, Health conditions.",
"flags": []
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"contextual": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "couldnt_check",
"headline": "We couldn't check everything",
"subline": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [],
"tests_to_ask_about": [],
"dose_check": [
{
"medicine": "Amoxicillin",
"medicine_id": "eric-family-history-single-upload-0:3:m2-0",
"status": "not_enough_info",
"plain": "We can't check this dose automatically."
}
],
"what_we_checked": {
"medicines": [
"Amoxicillin"
],
"conditions": [],
"allergies": [],
"age": 34,
"references": []
},
"what_we_couldnt_check": [
{
"item": "Health conditions",
"medicine_id": null,
"reason": "condition",
"plain": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions. Review their health profile with their pharmacist."
}
],
"for_the_doctor": {
"summary": "1 medicine checked, age 34. Not checked: Health conditions.",
"flags": []
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"addedRuleIds": [],
"includedFacts": [
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:6",
"sourceId": "eric-family-history-single-upload-0",
"quote": "Patient: Eric Niyonzima",
"line": 7
},
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:11",
"sourceId": "eric-family-history-single-upload-0",
"quote": "Patient: Eric Niyonzima",
"line": 12
},
{
"kind": "patient",
"label": "Eric Niyonzima",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "eric-family-history-single-upload-0:2:m0-0",
"quote": "Eric Niyonzima is a 34-year-old patient.",
"line": 3,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Patient: Eric Niyonzima"
},
{
"kind": "age",
"label": "34 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "eric-family-history-single-upload-0:2:m1-0",
"quote": "Eric Niyonzima is a 34-year-old patient.",
"line": 3,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Age: 34"
},
{
"kind": "medicine",
"label": "Amoxicillin",
"detail": "500 mg · 1 capsule · 3/day",
"key": "medicine:amoxicillin",
"problem": null,
"id": "eric-family-history-single-upload-0:3:m2-0",
"quote": "He is prescribed Amoxicillin 500 mg capsules, one capsule three times daily.",
"line": 4,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Amoxicillin; strength: 500 mg; form: capsule; dose: 1 capsule; frequency: 3/day; origin: prescribed"
},
{
"kind": "allergy",
"label": "No known allergies",
"detail": "Explicitly recorded as none known",
"key": "allergy",
"problem": null,
"id": "eric-family-history-single-upload-0:7:m3-0",
"quote": "His mother has a Penicillin allergy, but Eric himself reports no known drug allergies.",
"line": 8,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Allergies: No known allergies"
},
{
"kind": "lab",
"label": "eGFR 96",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "eric-family-history-single-upload-0:12:m6-0",
"quote": "On 2026-10-12, his eGFR was 96 mL/min/1.73m2.",
"line": 13,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 96; unit: mL/min/1.73m2; date: 2026-10-12"
}
],
"excludedFacts": [
{
"kind": "medicine",
"label": "Warfarin",
"detail": "5 mg · Dose unknown · Frequency unknown",
"key": "medicine:warfarin",
"problem": "Medication status or schedule is historical, conditional, ambiguous or outside supported daily dosing. Exclude it or obtain a clarified record.",
"id": "eric-family-history-single-upload-0:8:m4-0",
"quote": "His mother takes Warfarin 5 mg daily.",
"line": 9,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Warfarin; strength: 5 mg"
},
{
"kind": "medicine",
"label": "Warfarin",
"detail": "Strength unknown · Dose unknown · Frequency unknown",
"key": "medicine:warfarin",
"problem": "Medication status or schedule is historical, conditional, ambiguous or outside supported daily dosing. Exclude it or obtain a clarified record.",
"id": "eric-family-history-single-upload-0:9:m5-0",
"quote": "Eric does not take Warfarin.",
"line": 10,
"sourceId": "eric-family-history-single-upload-0",
"normalizedLine": "Medication: Warfarin; origin: unknown"
}
],
"fingerprint": "49f720761c01fdc9229856fa409854294cf1f6ffc20ef7068d8adbf3038edb6c",
"checkedAt": "2026-10-25T17:36:54.145Z",
"durationMs": 1,
"sourceCount": 1,
"caveats": [
"Synthetic demonstration, not a clinical decision or a verified EHR connection.",
"Fixed scenario date: 2026-10-23. Real-time deployment has not been assessed.",
"Clinical review of later engine changes is pending. Software tests do not establish clinical accuracy.",
"Condition history is carried forward but is not assessed by the existing rules. Coverage is incomplete.",
"2 extracted facts were excluded by the reviewer.",
"3 source lines could not be mapped and were not clinically assessed."
],
"reportId": "d0fdd381-e431-40af-913a-c38fc935464e",
"extraction": {
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 3085,
"attempts": 1,
"strategy": "narrative",
"metrics": {
"providerCalls": 1,
"inputCharacters": 612,
"outputCharacters": 402,
"inputTokens": 718,
"outputTokens": 146,
"cacheHit": false
}
}
},
"review": {
"eric-family-history-single-upload-0:6": "include",
"eric-family-history-single-upload-0:11": "include",
"eric-family-history-single-upload-0:2:m0-0": "include",
"eric-family-history-single-upload-0:2:m1-0": "include",
"eric-family-history-single-upload-0:3:m2-0": "include",
"eric-family-history-single-upload-0:7:m3-0": "include",
"eric-family-history-single-upload-0:8:m4-0": "exclude",
"eric-family-history-single-upload-0:9:m5-0": "exclude",
"eric-family-history-single-upload-0:12:m6-0": "include"
},
"createdAt": "2026-10-25T17:36:54.178Z"
}
},
"totalMs": 13871
},
{
"id": "asha-reconciliation-single-upload",
"checks": [
{
"name": "Fresh live model used",
"passed": true
},
{
"name": "Required facts recovered",
"passed": true,
"detail": []
},
{
"name": "Prohibited facts not accepted",
"passed": true,
"detail": []
},
{
"name": "No unexpected usable facts",
"passed": true,
"detail": []
},
{
"name": "Every quote matches original source",
"passed": true
},
{
"name": "Missing review blocked",
"passed": true
},
{
"name": "Original-note acknowledgement required",
"passed": true
},
{
"name": "Conflicting evidence blocked",
"passed": true
},
{
"name": "Assessment completed after explicit review",
"passed": true
},
{
"name": "Expected engine result",
"passed": true,
"detail": [
"lab-metformin-egfr-45"
]
},
{
"name": "Export preserves reviewed evidence",
"passed": true
},
{
"name": "Edited sources invalidate old draft",
"passed": true
}
],
"passed": true,
"sources": [
{
"id": "asha-reconciliation-single-upload-0",
"title": "Synthetic source 1",
"kind": "Synthetic note",
"date": "2026-10-23",
"text": "SYNTHETIC DEMONSTRATION: All people and events in this record are fictional.\n\nAsha Mwangi is a 58-year-old patient.\nThe community clinic list records Metformin 500 mg tablets, one tablet twice daily.\nShe takes Amlodipine 2,5 mg each morning.\nHer allergies are unknown.\nHer condition is Type 2 diabetes.\n\nPatient: Asha Mwangi\nThe hospital medication list records Metformin 1000 mg tablets, one tablet twice daily.\nThe clinic and hospital lists have not yet been reconciled.\n\nPatient: Asha Mwangi\nOn 2026-10-12, her eGFR was 38 mL/min/1.73m2."
}
],
"extractionStatus": 200,
"draft": {
"facts": [
{
"kind": "patient",
"label": "Asha Mwangi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "asha-reconciliation-single-upload-0:8",
"sourceId": "asha-reconciliation-single-upload-0",
"quote": "Patient: Asha Mwangi",
"line": 9
},
{
"kind": "patient",
"label": "Asha Mwangi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "asha-reconciliation-single-upload-0:12",
"sourceId": "asha-reconciliation-single-upload-0",
"quote": "Patient: Asha Mwangi",
"line": 13
},
{
"kind": "patient",
"label": "Asha Mwangi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "asha-reconciliation-single-upload-0:2:m0-0",
"quote": "Asha Mwangi is a 58-year-old patient.",
"line": 3,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Patient: Asha Mwangi"
},
{
"kind": "age",
"label": "58 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "asha-reconciliation-single-upload-0:2:m1-0",
"quote": "Asha Mwangi is a 58-year-old patient.",
"line": 3,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Age: 58"
},
{
"kind": "medicine",
"label": "Metformin",
"detail": "500 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "asha-reconciliation-single-upload-0:3:m2-0",
"quote": "The community clinic list records Metformin 500 mg tablets, one tablet twice daily.",
"line": 4,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 500 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: unknown"
},
{
"kind": "allergy",
"label": "Unknown",
"detail": "Unknown, not an absence of allergies",
"key": "allergy",
"problem": null,
"id": "asha-reconciliation-single-upload-0:5:m4-0",
"quote": "Her allergies are unknown.",
"line": 6,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Allergies: Unknown"
},
{
"kind": "condition",
"label": "Type 2 diabetes",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:type 2 diabetes",
"problem": null,
"id": "asha-reconciliation-single-upload-0:6:m5-0",
"quote": "Her condition is Type 2 diabetes.",
"line": 7,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Condition: Type 2 diabetes"
},
{
"kind": "medicine",
"label": "Metformin",
"detail": "1000 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "asha-reconciliation-single-upload-0:9:m6-0",
"quote": "The hospital medication list records Metformin 1000 mg tablets, one tablet twice daily.",
"line": 10,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 1000 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: hospital"
},
{
"kind": "lab",
"label": "eGFR 38",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "asha-reconciliation-single-upload-0:13:m7-0",
"quote": "On 2026-10-12, her eGFR was 38 mL/min/1.73m2.",
"line": 14,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 38; unit: mL/min/1.73m2; date: 2026-10-12"
}
],
"unparsed": [
{
"sourceId": "asha-reconciliation-single-upload-0",
"line": 1,
"text": "SYNTHETIC DEMONSTRATION: All people and events in this record are fictional."
},
{
"sourceId": "asha-reconciliation-single-upload-0",
"line": 5,
"text": "She takes Amlodipine 2,5 mg each morning."
},
{
"sourceId": "asha-reconciliation-single-upload-0",
"line": 11,
"text": "The clinic and hospital lists have not yet been reconciled."
}
],
"warnings": [
{
"sourceId": "asha-reconciliation-single-upload-0",
"line": 5,
"normalizedLine": "Medication: Amlodipine; strength: 2.5 mg; dose: 1; frequency: 1/day; origin: unknown",
"reason": "Medicine strength is missing or belongs to another medication."
}
],
"sourceReviewRequired": true,
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 3772,
"fingerprint": "2326c4ff049da283d922c7672ddfb308adec6634678672af17ad681b5a655ad0",
"strategy": "narrative",
"attempts": 1,
"metrics": {
"providerCalls": 1,
"inputCharacters": 554,
"outputCharacters": 493,
"inputTokens": 695,
"outputTokens": 186,
"cacheHit": false
},
"id": "927fa805-b973-41d6-ae2f-b692ca7b96c6"
},
"initialAssessment": {
"status": 400,
"ok": false,
"data": {
"error": "Conflicting facts remain. Include only the record you have chosen to use."
}
},
"finalAssessment": {
"status": 200,
"ok": true,
"data": {
"baseline": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "couldnt_check",
"headline": "We couldn't check everything",
"subline": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [],
"tests_to_ask_about": [
{
"test": "Kidney function (eGFR)",
"why": "The metformin dose depends on how well the kidneys work.",
"when": "At least once a year",
"source_id": "label-metformin",
"status": "no_result",
"last_result_at": null
},
{
"test": "Vitamin B12",
"why": "Long-term metformin can lower vitamin B12.",
"when": "From time to time, especially with tingling or numb feet",
"source_id": "ada-standards",
"status": "no_result",
"last_result_at": null
},
{
"test": "HbA1c",
"why": "Shows the average blood sugar over the last few months.",
"when": "Every 3 to 6 months",
"source_id": "nice-ng28",
"status": "no_result",
"last_result_at": null
}
],
"dose_check": [
{
"medicine": "Metformin",
"medicine_id": "asha-reconciliation-single-upload-0:9:m6-0",
"status": "within_usual_range",
"plain": "The daily amount entered does not exceed the general adult maximum checked here. This does not confirm the right dose to take."
}
],
"what_we_checked": {
"medicines": [
"Metformin"
],
"conditions": [],
"allergies": [],
"age": 58,
"references": [
{
"id": "label-metformin",
"name": "Metformin product label",
"url": "https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=metformin"
},
{
"id": "ada-standards",
"name": "American Diabetes Association Standards of Care",
"url": "https://diabetesjournals.org/care/issue"
},
{
"id": "nice-ng28",
"name": "NICE NG28: Type 2 diabetes in adults",
"url": "https://www.nice.org.uk/guidance/ng28"
}
]
},
"what_we_couldnt_check": [
{
"item": "Allergies",
"medicine_id": null,
"reason": "allergy",
"plain": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist."
},
{
"item": "Health conditions",
"medicine_id": null,
"reason": "condition",
"plain": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions. Review their health profile with their pharmacist."
}
],
"for_the_doctor": {
"summary": "1 medicine checked, age 58. Not checked: Allergies, Health conditions. Monitoring to consider: Kidney function (eGFR), Vitamin B12, HbA1c.",
"flags": []
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"contextual": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "this_week",
"headline": "Ask their pharmacist about one thing this week",
"subline": "The latest kidney result is in the range where the Metformin label says to review the dose.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [
{
"kind": "lab",
"tier": "this_week",
"ruleId": "lab-metformin-egfr-45",
"lab_evidence": {
"result": {
"id": "asha-reconciliation-single-upload-0:13:m7-0",
"code": "egfr",
"name": "eGFR",
"value": 38,
"valueText": "38",
"comparator": null,
"unit": "mL/min/1.73m2",
"observedAt": "2026-10-12",
"referenceRange": {
"low": null,
"high": null,
"text": null
},
"labFlag": null
},
"target": null
},
"medicines": [
{
"id": "asha-reconciliation-single-upload-0:9:m6-0",
"name": "Metformin"
}
],
"title": "Metformin and the latest eGFR result",
"why": "The latest kidney result is in the range where the Metformin label says to review the dose.",
"what_to_do": [
"Ask their pharmacist or doctor about this in the next week."
],
"watch_for": [],
"evidence_label": "Shown in studies",
"source_ids": [
"label-metformin"
],
"questions_for_doctor": [
"Is my Metformin dose right for my kidney result?"
],
"allow_stop": false,
"clinical": "Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12.",
"id": "8db84aab9f68",
"numbers": null,
"teach_back": {
"question": "What is the next step?",
"options": [
"Ask their pharmacist or doctor about this in the next week.",
"Wait for the next check-up",
"I'm not sure"
],
"answer_index": 0
}
}
],
"tests_to_ask_about": [
{
"test": "Kidney function (eGFR)",
"why": "The metformin dose depends on how well the kidneys work.",
"when": "At least once a year",
"source_id": "label-metformin",
"status": "up_to_date",
"last_result_at": "2026-10-12"
},
{
"test": "Vitamin B12",
"why": "Long-term metformin can lower vitamin B12.",
"when": "From time to time, especially with tingling or numb feet",
"source_id": "ada-standards",
"status": "no_result",
"last_result_at": null
},
{
"test": "HbA1c",
"why": "Shows the average blood sugar over the last few months.",
"when": "Every 3 to 6 months",
"source_id": "nice-ng28",
"status": "no_result",
"last_result_at": null
}
],
"dose_check": [
{
"medicine": "Metformin",
"medicine_id": "asha-reconciliation-single-upload-0:9:m6-0",
"status": "check_with_pharmacist",
"plain": "The usual dose may not apply with the latest kidney result. Ask their pharmacist."
}
],
"what_we_checked": {
"medicines": [
"Metformin"
],
"conditions": [],
"allergies": [],
"age": 58,
"references": [
{
"id": "label-metformin",
"name": "Metformin product label",
"url": "https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=metformin"
},
{
"id": "ada-standards",
"name": "American Diabetes Association Standards of Care",
"url": "https://diabetesjournals.org/care/issue"
},
{
"id": "nice-ng28",
"name": "NICE NG28: Type 2 diabetes in adults",
"url": "https://www.nice.org.uk/guidance/ng28"
}
]
},
"what_we_couldnt_check": [
{
"item": "Allergies",
"medicine_id": null,
"reason": "allergy",
"plain": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist."
},
{
"item": "Type 2 diabetes",
"medicine_id": null,
"reason": "condition",
"plain": "We don't yet check medicines against health conditions such as Type 2 diabetes. Ask their pharmacist."
}
],
"for_the_doctor": {
"summary": "1 medicine checked, age 58. Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12. Not checked: Allergies, Type 2 diabetes. Monitoring to consider: Vitamin B12, HbA1c.",
"flags": [
{
"finding_id": "8db84aab9f68",
"reference": "Metformin product label",
"for_discussion": "Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12."
}
]
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"addedRuleIds": [
"lab-metformin-egfr-45"
],
"includedFacts": [
{
"kind": "patient",
"label": "Asha Mwangi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "asha-reconciliation-single-upload-0:8",
"sourceId": "asha-reconciliation-single-upload-0",
"quote": "Patient: Asha Mwangi",
"line": 9
},
{
"kind": "patient",
"label": "Asha Mwangi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "asha-reconciliation-single-upload-0:12",
"sourceId": "asha-reconciliation-single-upload-0",
"quote": "Patient: Asha Mwangi",
"line": 13
},
{
"kind": "patient",
"label": "Asha Mwangi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "asha-reconciliation-single-upload-0:2:m0-0",
"quote": "Asha Mwangi is a 58-year-old patient.",
"line": 3,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Patient: Asha Mwangi"
},
{
"kind": "age",
"label": "58 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "asha-reconciliation-single-upload-0:2:m1-0",
"quote": "Asha Mwangi is a 58-year-old patient.",
"line": 3,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Age: 58"
},
{
"kind": "allergy",
"label": "Unknown",
"detail": "Unknown, not an absence of allergies",
"key": "allergy",
"problem": null,
"id": "asha-reconciliation-single-upload-0:5:m4-0",
"quote": "Her allergies are unknown.",
"line": 6,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Allergies: Unknown"
},
{
"kind": "condition",
"label": "Type 2 diabetes",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:type 2 diabetes",
"problem": null,
"id": "asha-reconciliation-single-upload-0:6:m5-0",
"quote": "Her condition is Type 2 diabetes.",
"line": 7,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Condition: Type 2 diabetes"
},
{
"kind": "medicine",
"label": "Metformin",
"detail": "1000 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "asha-reconciliation-single-upload-0:9:m6-0",
"quote": "The hospital medication list records Metformin 1000 mg tablets, one tablet twice daily.",
"line": 10,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 1000 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: hospital"
},
{
"kind": "lab",
"label": "eGFR 38",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "asha-reconciliation-single-upload-0:13:m7-0",
"quote": "On 2026-10-12, her eGFR was 38 mL/min/1.73m2.",
"line": 14,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 38; unit: mL/min/1.73m2; date: 2026-10-12"
}
],
"excludedFacts": [
{
"kind": "medicine",
"label": "Metformin",
"detail": "500 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "asha-reconciliation-single-upload-0:3:m2-0",
"quote": "The community clinic list records Metformin 500 mg tablets, one tablet twice daily.",
"line": 4,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 500 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: unknown"
}
],
"fingerprint": "2326c4ff049da283d922c7672ddfb308adec6634678672af17ad681b5a655ad0",
"checkedAt": "2026-10-25T17:37:21.394Z",
"durationMs": 1,
"sourceCount": 1,
"caveats": [
"Synthetic demonstration, not a clinical decision or a verified EHR connection.",
"Fixed scenario date: 2026-10-23. Real-time deployment has not been assessed.",
"Clinical review of later engine changes is pending. Software tests do not establish clinical accuracy.",
"Condition history is carried forward but is not assessed by the existing rules. Coverage is incomplete.",
"1 extracted facts were excluded by the reviewer.",
"3 source lines could not be mapped and were not clinically assessed."
],
"reportId": "8450b6d8-3c22-47b2-8af9-e0610d5feb54",
"extraction": {
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 3772,
"attempts": 1,
"strategy": "narrative",
"metrics": {
"providerCalls": 1,
"inputCharacters": 554,
"outputCharacters": 493,
"inputTokens": 695,
"outputTokens": 186,
"cacheHit": false
}
}
}
},
"export": {
"status": 200,
"ok": true,
"data": {
"product": "MARMAR Context",
"schemaVersion": 1,
"synthetic": true,
"sources": [
{
"id": "asha-reconciliation-single-upload-0",
"title": "Synthetic source 1",
"kind": "Synthetic note",
"date": "2026-10-23",
"text": "SYNTHETIC DEMONSTRATION: All people and events in this record are fictional.\n\nAsha Mwangi is a 58-year-old patient.\nThe community clinic list records Metformin 500 mg tablets, one tablet twice daily.\nShe takes Amlodipine 2,5 mg each morning.\nHer allergies are unknown.\nHer condition is Type 2 diabetes.\n\nPatient: Asha Mwangi\nThe hospital medication list records Metformin 1000 mg tablets, one tablet twice daily.\nThe clinic and hospital lists have not yet been reconciled.\n\nPatient: Asha Mwangi\nOn 2026-10-12, her eGFR was 38 mL/min/1.73m2."
}
],
"extraction": {
"facts": [
{
"kind": "patient",
"label": "Asha Mwangi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "asha-reconciliation-single-upload-0:8",
"sourceId": "asha-reconciliation-single-upload-0",
"quote": "Patient: Asha Mwangi",
"line": 9
},
{
"kind": "patient",
"label": "Asha Mwangi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "asha-reconciliation-single-upload-0:12",
"sourceId": "asha-reconciliation-single-upload-0",
"quote": "Patient: Asha Mwangi",
"line": 13
},
{
"kind": "patient",
"label": "Asha Mwangi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "asha-reconciliation-single-upload-0:2:m0-0",
"quote": "Asha Mwangi is a 58-year-old patient.",
"line": 3,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Patient: Asha Mwangi"
},
{
"kind": "age",
"label": "58 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "asha-reconciliation-single-upload-0:2:m1-0",
"quote": "Asha Mwangi is a 58-year-old patient.",
"line": 3,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Age: 58"
},
{
"kind": "medicine",
"label": "Metformin",
"detail": "500 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "asha-reconciliation-single-upload-0:3:m2-0",
"quote": "The community clinic list records Metformin 500 mg tablets, one tablet twice daily.",
"line": 4,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 500 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: unknown"
},
{
"kind": "allergy",
"label": "Unknown",
"detail": "Unknown, not an absence of allergies",
"key": "allergy",
"problem": null,
"id": "asha-reconciliation-single-upload-0:5:m4-0",
"quote": "Her allergies are unknown.",
"line": 6,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Allergies: Unknown"
},
{
"kind": "condition",
"label": "Type 2 diabetes",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:type 2 diabetes",
"problem": null,
"id": "asha-reconciliation-single-upload-0:6:m5-0",
"quote": "Her condition is Type 2 diabetes.",
"line": 7,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Condition: Type 2 diabetes"
},
{
"kind": "medicine",
"label": "Metformin",
"detail": "1000 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "asha-reconciliation-single-upload-0:9:m6-0",
"quote": "The hospital medication list records Metformin 1000 mg tablets, one tablet twice daily.",
"line": 10,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 1000 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: hospital"
},
{
"kind": "lab",
"label": "eGFR 38",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "asha-reconciliation-single-upload-0:13:m7-0",
"quote": "On 2026-10-12, her eGFR was 38 mL/min/1.73m2.",
"line": 14,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 38; unit: mL/min/1.73m2; date: 2026-10-12"
}
],
"unparsed": [
{
"sourceId": "asha-reconciliation-single-upload-0",
"line": 1,
"text": "SYNTHETIC DEMONSTRATION: All people and events in this record are fictional."
},
{
"sourceId": "asha-reconciliation-single-upload-0",
"line": 5,
"text": "She takes Amlodipine 2,5 mg each morning."
},
{
"sourceId": "asha-reconciliation-single-upload-0",
"line": 11,
"text": "The clinic and hospital lists have not yet been reconciled."
}
],
"warnings": [
{
"sourceId": "asha-reconciliation-single-upload-0",
"line": 5,
"normalizedLine": "Medication: Amlodipine; strength: 2.5 mg; dose: 1; frequency: 1/day; origin: unknown",
"reason": "Medicine strength is missing or belongs to another medication."
}
],
"sourceReviewRequired": true,
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 3772,
"fingerprint": "2326c4ff049da283d922c7672ddfb308adec6634678672af17ad681b5a655ad0",
"strategy": "narrative",
"attempts": 1,
"metrics": {
"providerCalls": 1,
"inputCharacters": 554,
"outputCharacters": 493,
"inputTokens": 695,
"outputTokens": 186,
"cacheHit": false
},
"id": "927fa805-b973-41d6-ae2f-b692ca7b96c6"
},
"id": "8450b6d8-3c22-47b2-8af9-e0610d5feb54",
"assessment": {
"baseline": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "couldnt_check",
"headline": "We couldn't check everything",
"subline": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [],
"tests_to_ask_about": [
{
"test": "Kidney function (eGFR)",
"why": "The metformin dose depends on how well the kidneys work.",
"when": "At least once a year",
"source_id": "label-metformin",
"status": "no_result",
"last_result_at": null
},
{
"test": "Vitamin B12",
"why": "Long-term metformin can lower vitamin B12.",
"when": "From time to time, especially with tingling or numb feet",
"source_id": "ada-standards",
"status": "no_result",
"last_result_at": null
},
{
"test": "HbA1c",
"why": "Shows the average blood sugar over the last few months.",
"when": "Every 3 to 6 months",
"source_id": "nice-ng28",
"status": "no_result",
"last_result_at": null
}
],
"dose_check": [
{
"medicine": "Metformin",
"medicine_id": "asha-reconciliation-single-upload-0:9:m6-0",
"status": "within_usual_range",
"plain": "The daily amount entered does not exceed the general adult maximum checked here. This does not confirm the right dose to take."
}
],
"what_we_checked": {
"medicines": [
"Metformin"
],
"conditions": [],
"allergies": [],
"age": 58,
"references": [
{
"id": "label-metformin",
"name": "Metformin product label",
"url": "https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=metformin"
},
{
"id": "ada-standards",
"name": "American Diabetes Association Standards of Care",
"url": "https://diabetesjournals.org/care/issue"
},
{
"id": "nice-ng28",
"name": "NICE NG28: Type 2 diabetes in adults",
"url": "https://www.nice.org.uk/guidance/ng28"
}
]
},
"what_we_couldnt_check": [
{
"item": "Allergies",
"medicine_id": null,
"reason": "allergy",
"plain": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist."
},
{
"item": "Health conditions",
"medicine_id": null,
"reason": "condition",
"plain": "We don't have a confirmed health-condition answer. We don't yet check medicines against health conditions. Review their health profile with their pharmacist."
}
],
"for_the_doctor": {
"summary": "1 medicine checked, age 58. Not checked: Allergies, Health conditions. Monitoring to consider: Kidney function (eGFR), Vitamin B12, HbA1c.",
"flags": []
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"contextual": {
"engineVersion": "2.2.2",
"rulesVersion": "2026-10-15",
"rulesReviewed": false,
"verdict": {
"tier": "this_week",
"headline": "Ask their pharmacist about one thing this week",
"subline": "The latest kidney result is in the range where the Metformin label says to review the dose.",
"keep_taking_line": null
},
"get_help_now": {
"contact": {
"number": null,
"extra": null
},
"show": false,
"signs": [],
"action": "Contact local emergency services now, or go to the nearest hospital emergency unit."
},
"findings": [
{
"kind": "lab",
"tier": "this_week",
"ruleId": "lab-metformin-egfr-45",
"lab_evidence": {
"result": {
"id": "asha-reconciliation-single-upload-0:13:m7-0",
"code": "egfr",
"name": "eGFR",
"value": 38,
"valueText": "38",
"comparator": null,
"unit": "mL/min/1.73m2",
"observedAt": "2026-10-12",
"referenceRange": {
"low": null,
"high": null,
"text": null
},
"labFlag": null
},
"target": null
},
"medicines": [
{
"id": "asha-reconciliation-single-upload-0:9:m6-0",
"name": "Metformin"
}
],
"title": "Metformin and the latest eGFR result",
"why": "The latest kidney result is in the range where the Metformin label says to review the dose.",
"what_to_do": [
"Ask their pharmacist or doctor about this in the next week."
],
"watch_for": [],
"evidence_label": "Shown in studies",
"source_ids": [
"label-metformin"
],
"questions_for_doctor": [
"Is my Metformin dose right for my kidney result?"
],
"allow_stop": false,
"clinical": "Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12.",
"id": "8db84aab9f68",
"numbers": null,
"teach_back": {
"question": "What is the next step?",
"options": [
"Ask their pharmacist or doctor about this in the next week.",
"Wait for the next check-up",
"I'm not sure"
],
"answer_index": 0
}
}
],
"tests_to_ask_about": [
{
"test": "Kidney function (eGFR)",
"why": "The metformin dose depends on how well the kidneys work.",
"when": "At least once a year",
"source_id": "label-metformin",
"status": "up_to_date",
"last_result_at": "2026-10-12"
},
{
"test": "Vitamin B12",
"why": "Long-term metformin can lower vitamin B12.",
"when": "From time to time, especially with tingling or numb feet",
"source_id": "ada-standards",
"status": "no_result",
"last_result_at": null
},
{
"test": "HbA1c",
"why": "Shows the average blood sugar over the last few months.",
"when": "Every 3 to 6 months",
"source_id": "nice-ng28",
"status": "no_result",
"last_result_at": null
}
],
"dose_check": [
{
"medicine": "Metformin",
"medicine_id": "asha-reconciliation-single-upload-0:9:m6-0",
"status": "check_with_pharmacist",
"plain": "The usual dose may not apply with the latest kidney result. Ask their pharmacist."
}
],
"what_we_checked": {
"medicines": [
"Metformin"
],
"conditions": [],
"allergies": [],
"age": 58,
"references": [
{
"id": "label-metformin",
"name": "Metformin product label",
"url": "https://dailymed.nlm.nih.gov/dailymed/search.cfm?query=metformin"
},
{
"id": "ada-standards",
"name": "American Diabetes Association Standards of Care",
"url": "https://diabetesjournals.org/care/issue"
},
{
"id": "nice-ng28",
"name": "NICE NG28: Type 2 diabetes in adults",
"url": "https://www.nice.org.uk/guidance/ng28"
}
]
},
"what_we_couldnt_check": [
{
"item": "Allergies",
"medicine_id": null,
"reason": "allergy",
"plain": "We don't have a confirmed allergy answer, so the allergy check is incomplete. Review it with their pharmacist."
},
{
"item": "Type 2 diabetes",
"medicine_id": null,
"reason": "condition",
"plain": "We don't yet check medicines against health conditions such as Type 2 diabetes. Ask their pharmacist."
}
],
"for_the_doctor": {
"summary": "1 medicine checked, age 58. Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12. Not checked: Allergies, Type 2 diabetes. Monitoring to consider: Vitamin B12, HbA1c.",
"flags": [
{
"finding_id": "8db84aab9f68",
"reference": "Metformin product label",
"for_discussion": "Metformin: reassess benefit/risk and dose at eGFR 30-45 (label). Latest egfr 38 on 2026-10-12."
}
]
},
"language": "en",
"language_fallback": false,
"wording": "template"
},
"addedRuleIds": [
"lab-metformin-egfr-45"
],
"includedFacts": [
{
"kind": "patient",
"label": "Asha Mwangi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "asha-reconciliation-single-upload-0:8",
"sourceId": "asha-reconciliation-single-upload-0",
"quote": "Patient: Asha Mwangi",
"line": 9
},
{
"kind": "patient",
"label": "Asha Mwangi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "asha-reconciliation-single-upload-0:12",
"sourceId": "asha-reconciliation-single-upload-0",
"quote": "Patient: Asha Mwangi",
"line": 13
},
{
"kind": "patient",
"label": "Asha Mwangi",
"detail": "Identity supplied by this synthetic record",
"key": "patient",
"problem": null,
"id": "asha-reconciliation-single-upload-0:2:m0-0",
"quote": "Asha Mwangi is a 58-year-old patient.",
"line": 3,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Patient: Asha Mwangi"
},
{
"kind": "age",
"label": "58 years",
"detail": "Recorded age",
"key": "age",
"problem": null,
"id": "asha-reconciliation-single-upload-0:2:m1-0",
"quote": "Asha Mwangi is a 58-year-old patient.",
"line": 3,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Age: 58"
},
{
"kind": "allergy",
"label": "Unknown",
"detail": "Unknown, not an absence of allergies",
"key": "allergy",
"problem": null,
"id": "asha-reconciliation-single-upload-0:5:m4-0",
"quote": "Her allergies are unknown.",
"line": 6,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Allergies: Unknown"
},
{
"kind": "condition",
"label": "Type 2 diabetes",
"detail": "Retained for review; condition-specific assessment is not supported",
"key": "condition:type 2 diabetes",
"problem": null,
"id": "asha-reconciliation-single-upload-0:6:m5-0",
"quote": "Her condition is Type 2 diabetes.",
"line": 7,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Condition: Type 2 diabetes"
},
{
"kind": "medicine",
"label": "Metformin",
"detail": "1000 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "asha-reconciliation-single-upload-0:9:m6-0",
"quote": "The hospital medication list records Metformin 1000 mg tablets, one tablet twice daily.",
"line": 10,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 1000 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: hospital"
},
{
"kind": "lab",
"label": "eGFR 38",
"detail": "mL/min/1.73m2 · 2026-10-12",
"key": "lab:egfr",
"problem": null,
"id": "asha-reconciliation-single-upload-0:13:m7-0",
"quote": "On 2026-10-12, her eGFR was 38 mL/min/1.73m2.",
"line": 14,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Lab: eGFR; value: 38; unit: mL/min/1.73m2; date: 2026-10-12"
}
],
"excludedFacts": [
{
"kind": "medicine",
"label": "Metformin",
"detail": "500 mg · 1 tablet · 2/day",
"key": "medicine:metformin",
"problem": null,
"id": "asha-reconciliation-single-upload-0:3:m2-0",
"quote": "The community clinic list records Metformin 500 mg tablets, one tablet twice daily.",
"line": 4,
"sourceId": "asha-reconciliation-single-upload-0",
"normalizedLine": "Medication: Metformin; strength: 500 mg; form: tablet; dose: 1 tablet; frequency: 2/day; origin: unknown"
}
],
"fingerprint": "2326c4ff049da283d922c7672ddfb308adec6634678672af17ad681b5a655ad0",
"checkedAt": "2026-10-25T17:37:21.394Z",
"durationMs": 1,
"sourceCount": 1,
"caveats": [
"Synthetic demonstration, not a clinical decision or a verified EHR connection.",
"Fixed scenario date: 2026-10-23. Real-time deployment has not been assessed.",
"Clinical review of later engine changes is pending. Software tests do not establish clinical accuracy.",
"Condition history is carried forward but is not assessed by the existing rules. Coverage is incomplete.",
"1 extracted facts were excluded by the reviewer.",
"3 source lines could not be mapped and were not clinically assessed."
],
"reportId": "8450b6d8-3c22-47b2-8af9-e0610d5feb54",
"extraction": {
"mode": "model",
"model": "MARMAR-Llama-3.3-70B-Instruct",
"durationMs": 3772,
"attempts": 1,
"strategy": "narrative",
"metrics": {
"providerCalls": 1,
"inputCharacters": 554,
"outputCharacters": 493,
"inputTokens": 695,
"outputTokens": 186,
"cacheHit": false
}
}
},
"review": {
"asha-reconciliation-single-upload-0:8": "include",
"asha-reconciliation-single-upload-0:12": "include",
"asha-reconciliation-single-upload-0:2:m0-0": "include",
"asha-reconciliation-single-upload-0:2:m1-0": "include",
"asha-reconciliation-single-upload-0:3:m2-0": "exclude",
"asha-reconciliation-single-upload-0:5:m4-0": "include",
"asha-reconciliation-single-upload-0:6:m5-0": "include",
"asha-reconciliation-single-upload-0:9:m6-0": "include",
"asha-reconciliation-single-upload-0:13:m7-0": "include"
},
"createdAt": "2026-10-25T17:37:21.433Z"
}
},
"totalMs": 14369
}
],
"passed": 3,
"total": 3,
"providerCalls": 3,
"extractionMedianMs": 3772,
"extractionP95Ms": 4008
}