marmar-context / web / context / demo-patients / validation-corpus.json
validation-corpus.json
Raw
[
  {
    "id": "mariam-showcase",
    "required": [
      [
        "patient",
        "Mariam Adeyemi"
      ],
      [
        "age",
        "67 years"
      ],
      [
        "medicine",
        "Metformin",
        "500 mg",
        "2/day"
      ],
      [
        "medicine",
        "Amlodipine",
        "5 mg",
        "1/day"
      ],
      [
        "medicine",
        "Amoxicillin",
        "500 mg",
        "3/day"
      ],
      [
        "lab",
        "eGFR 38"
      ],
      [
        "allergy",
        "Penicillin"
      ]
    ],
    "optional": [
      [
        "condition",
        "Type 2 diabetes"
      ],
      [
        "condition",
        "Hypertension"
      ]
    ],
    "rule": "lab-metformin-egfr-45",
    "notes": [
      "Mariam 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.",
      "Patient: Mariam Adeyemi\nOn 2026-10-12, her eGFR was 38 mL/min/1.73m2.\nThis result was recorded at a separate fictional laboratory.",
      "Patient: 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."
    ]
  },
  {
    "id": "eric-family-history",
    "required": [
      [
        "patient",
        "Eric Niyonzima"
      ],
      [
        "age",
        "34 years"
      ],
      [
        "medicine",
        "Amoxicillin",
        "500 mg",
        "3/day"
      ],
      [
        "allergy",
        "No known allergies"
      ],
      [
        "lab",
        "eGFR 96"
      ]
    ],
    "withheld": [
      [
        "allergy",
        "Penicillin"
      ],
      [
        "medicine",
        "Warfarin"
      ],
      [
        "lab",
        "eGFR 38"
      ]
    ],
    "absentRule": "allergy-penicillin",
    "notes": [
      "Eric 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.",
      "Patient: 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.",
      "Patient: 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."
    ]
  },
  {
    "id": "asha-reconciliation",
    "required": [
      [
        "patient",
        "Asha Mwangi"
      ],
      [
        "age",
        "58 years"
      ],
      [
        "medicine",
        "Metformin",
        "500 mg"
      ],
      [
        "medicine",
        "Metformin",
        "1000 mg"
      ],
      [
        "allergy",
        "Unknown"
      ],
      [
        "condition",
        "Type 2 diabetes"
      ],
      [
        "lab",
        "eGFR 38"
      ]
    ],
    "withheld": [
      [
        "medicine",
        "Amlodipine"
      ]
    ],
    "rule": "lab-metformin-egfr-45",
    "blocked": "Conflicting",
    "exclude": [
      {
        "source": 0,
        "kind": "medicine"
      }
    ],
    "notes": [
      "Asha 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.",
      "Patient: 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.",
      "Patient: Asha Mwangi\nOn 2026-10-12, her eGFR was 38 mL/min/1.73m2."
    ]
  }
]