{
  "_license": "This file is part of Medication Tracker. tests/fixtures/sample-household.json. Author(s): Gabriel Mongefranco. Created: 2026-10-05. Last Modified: 2026-10-05. Summary: An invented household for tests and documentation screenshots. Notes: See README file for documentation and full license information. Copyright © 2026 Gabriel Mongefranco. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.",
  "_about": "Test data only. Every person, prescriber, pharmacy, plan and number here is invented. Do not import this file into a real household: it is not a Privatium seed, and it lives outside apps/meds so Privatium never offers it. tests/screenshots/take-screenshots.mjs loads it through the data API of a temporary node. Products are named by their fixed ids in apps/meds/lib/starter_catalog.lua, so the starter catalog must be loaded first. A date written as {\"days_from_today\": N} is turned into a calendar date when the file is loaded, so the Refills page shows every group on any day.",
  "records": [
    {"table": "plan", "id": "01J9SAMPXE0000000000000001", "fields": {"name": "Example Health Plan", "early_fill_percent": null, "supply_frame_days": null}},
    {"table": "plan", "id": "01J9SAMPXE0000000000000002", "fields": {"name": "Cash", "early_fill_percent": 0, "supply_frame_days": null}},

    {"table": "person", "id": "01J9SAMPXE0000000000000003", "fields": {"display_name": "Alex Example", "birth_date": "1980-04-15", "plan_id": "01J9SAMPXE0000000000000001"}},
    {"table": "person", "id": "01J9SAMPXE0000000000000004", "fields": {"display_name": "Sam Example", "birth_date": "1982-09-02", "plan_id": "01J9SAMPXE0000000000000001"}},
    {"table": "person", "id": "01J9SAMPXE0000000000000005", "fields": {"display_name": "Jamie Example", "birth_date": "2016-06-20", "plan_id": "01J9SAMPXE0000000000000001"}},

    {"table": "prescriber", "id": "01J9SAMPXE0000000000000006", "fields": {"name": "Dr. Casey Sample", "clinic": "Example Family Clinic", "phone": "(555) 555-0100", "mobile_phone": null, "fax": "(555) 555-0101", "email": null, "address": "1 Example Street, Anytown", "website": null, "npi": null}},
    {"table": "prescriber", "id": "01J9SAMPXE0000000000000007", "fields": {"name": "Dr. Riley Placeholder", "clinic": "Example Children's Clinic", "phone": "(555) 555-0110", "mobile_phone": null, "fax": null, "email": null, "address": "2 Example Avenue, Anytown", "website": null, "npi": null}},
    {"table": "prescriber", "id": "01J9SAMPXE0000000000000008", "fields": {"name": "Dr. Jordan Specimen", "clinic": "Example Skin and Allergy Center", "phone": "(555) 555-0120", "mobile_phone": null, "fax": null, "email": null, "address": "3 Example Road, Anytown", "website": null, "npi": null}},

    {"table": "pharmacy", "id": "01J9SAMPXE0000000000000009", "fields": {"name": "Example Pharmacy", "npi": "1234567893", "address": "1 Example Street, Anytown", "phone": "(555) 555-0130", "fax": null, "email": null, "website": "https://pharmacy.example.com"}},
    {"table": "pharmacy", "id": "01J9SAMPXE0000000000000010", "fields": {"name": "Example Specialty Pharmacy", "npi": null, "address": "4 Example Boulevard, Anytown", "phone": "(555) 555-0140", "fax": null, "email": null, "website": null}},

    {"table": "person_medication", "id": "01J9SAMPXE0000000000000011", "fields": {"person_id": "01J9SAMPXE0000000000000003", "display_name": "Lisinopril 20 mg", "medication_type": "Prescription Medication - Long Term", "status": "taking_regularly", "pharmacy_id": "01J9SAMPXE0000000000000009", "prescriber_id": "01J9SAMPXE0000000000000006", "prescribed_for": "Blood pressure", "instructions": "1 tablet by mouth", "when_to_take": "Morning", "notes": null, "refills_left": 0}},
    {"table": "person_medication", "id": "01J9SAMPXE0000000000000012", "fields": {"person_id": "01J9SAMPXE0000000000000003", "display_name": "Lipitor (Atorvastatin) 40 mg", "medication_type": "Prescription Medication - Long Term", "status": "taking_regularly", "pharmacy_id": "01J9SAMPXE0000000000000009", "prescriber_id": "01J9SAMPXE0000000000000006", "prescribed_for": "Cholesterol", "instructions": "1 tablet by mouth", "when_to_take": "Night - At Bedtime", "notes": null, "refills_left": 2}},
    {"table": "person_medication", "id": "01J9SAMPXE0000000000000013", "fields": {"person_id": "01J9SAMPXE0000000000000003", "display_name": "Metformin 1,000 mg", "medication_type": "Prescription Medication - Long Term", "status": "taking_regularly", "pharmacy_id": "01J9SAMPXE0000000000000009", "prescriber_id": "01J9SAMPXE0000000000000006", "prescribed_for": "Blood sugar", "instructions": "1 tablet by mouth with food", "when_to_take": "Morning and Evening", "notes": null, "refills_left": 4}},
    {"table": "person_medication", "id": "01J9SAMPXE0000000000000014", "fields": {"person_id": "01J9SAMPXE0000000000000003", "display_name": "Dupixent (Dupilumab) 300 mg/2 mL Auto-Injector 2 Pack", "medication_type": "Prescription Medication - Long Term", "status": "taking_regularly", "pharmacy_id": "01J9SAMPXE0000000000000010", "prescriber_id": "01J9SAMPXE0000000000000008", "prescribed_for": "Eczema", "instructions": "Inject 1 pen under the skin every 14 days", "when_to_take": "Anytime", "notes": "Keep in the refrigerator.", "refills_left": 3}},
    {"table": "person_medication", "id": "01J9SAMPXE0000000000000015", "fields": {"person_id": "01J9SAMPXE0000000000000004", "display_name": "Cozaar (Losartan) 50 mg", "medication_type": "Prescription Medication - Long Term", "status": "taking_regularly", "pharmacy_id": "01J9SAMPXE0000000000000009", "prescriber_id": "01J9SAMPXE0000000000000006", "prescribed_for": "Blood pressure", "instructions": "1 tablet by mouth", "when_to_take": "Morning", "notes": null, "refills_left": 3}},
    {"table": "person_medication", "id": "01J9SAMPXE0000000000000016", "fields": {"person_id": "01J9SAMPXE0000000000000004", "display_name": "Levothyroxine 100 mcg", "medication_type": "Prescription Medication - Long Term", "status": "taking_regularly", "pharmacy_id": "01J9SAMPXE0000000000000009", "prescriber_id": "01J9SAMPXE0000000000000006", "prescribed_for": "Thyroid", "instructions": "1 tablet by mouth on an empty stomach", "when_to_take": "Morning", "notes": null, "refills_left": 1}},
    {"table": "person_medication", "id": "01J9SAMPXE0000000000000017", "fields": {"person_id": "01J9SAMPXE0000000000000004", "display_name": "Protonix (Pantoprazole) 20 mg DR", "medication_type": "Prescription Medication - Long Term", "status": "on_hold", "pharmacy_id": "01J9SAMPXE0000000000000009", "prescriber_id": "01J9SAMPXE0000000000000006", "prescribed_for": "Heartburn", "instructions": "1 tablet by mouth before breakfast", "when_to_take": "Morning", "notes": null, "refills_left": 2}},
    {"table": "person_medication", "id": "01J9SAMPXE0000000000000018", "fields": {"person_id": "01J9SAMPXE0000000000000004", "display_name": "Amoxicillin 250 mg Cap", "medication_type": "Prescription Medication - Short Term", "status": "not_taking", "pharmacy_id": "01J9SAMPXE0000000000000009", "prescriber_id": "01J9SAMPXE0000000000000006", "prescribed_for": "Ear infection", "instructions": "1 capsule by mouth 3 times a day for 10 days", "when_to_take": "Anytime", "notes": null, "refills_left": 0}},
    {"table": "person_medication", "id": "01J9SAMPXE0000000000000019", "fields": {"person_id": "01J9SAMPXE0000000000000005", "display_name": "Singulair (Montelukast) 5 mg", "medication_type": "Prescription Medication - Long Term", "status": "taking_regularly", "pharmacy_id": "01J9SAMPXE0000000000000009", "prescriber_id": "01J9SAMPXE0000000000000007", "prescribed_for": "Asthma", "instructions": "Chew 1 tablet", "when_to_take": "Evening", "notes": null, "refills_left": 1}},
    {"table": "person_medication", "id": "01J9SAMPXE0000000000000020", "fields": {"person_id": "01J9SAMPXE0000000000000005", "display_name": "Ventolin (Albuterol) 90 mcg/puff", "medication_type": "Prescription Medication - As Needed", "status": "taking_as_needed", "pharmacy_id": "01J9SAMPXE0000000000000009", "prescriber_id": "01J9SAMPXE0000000000000007", "prescribed_for": "Asthma", "instructions": "2 puffs every 4 to 6 hours when needed", "when_to_take": "Anytime", "notes": "One inhaler stays at school.", "refills_left": 2}},
    {"table": "person_medication", "id": "01J9SAMPXE0000000000000021", "fields": {"person_id": "01J9SAMPXE0000000000000005", "display_name": "Zyrtec (Cetirizine) 10 mg Cap", "medication_type": "Over-the-Counter Medication - Long Term", "status": "taking_regularly", "pharmacy_id": null, "prescriber_id": null, "prescribed_for": "Allergies", "instructions": "1 capsule by mouth", "when_to_take": "Evening", "notes": null, "refills_left": 0}},

    {"table": "person_medication_product", "id": "01J9SAMPXE0000000000000022", "fields": {"person_medication_id": "01J9SAMPXE0000000000000011", "medication_id": "01J8MEDS0000RX000000314077"}},
    {"table": "person_medication_product", "id": "01J9SAMPXE0000000000000023", "fields": {"person_medication_id": "01J9SAMPXE0000000000000012", "medication_id": "01J8MEDS0000RX000000617311"}},
    {"table": "person_medication_product", "id": "01J9SAMPXE0000000000000024", "fields": {"person_medication_id": "01J9SAMPXE0000000000000013", "medication_id": "01J8MEDS0000RX000000861004"}},
    {"table": "person_medication_product", "id": "01J9SAMPXE0000000000000025", "fields": {"person_medication_id": "01J9SAMPXE0000000000000014", "medication_id": "01J8MEDS0000RP002375327002"}},
    {"table": "person_medication_product", "id": "01J9SAMPXE0000000000000026", "fields": {"person_medication_id": "01J9SAMPXE0000000000000015", "medication_id": "01J8MEDS0000RX000000979492"}},
    {"table": "person_medication_product", "id": "01J9SAMPXE0000000000000027", "fields": {"person_medication_id": "01J9SAMPXE0000000000000016", "medication_id": "01J8MEDS0000RX000000892246"}},
    {"table": "person_medication_product", "id": "01J9SAMPXE0000000000000028", "fields": {"person_medication_id": "01J9SAMPXE0000000000000017", "medication_id": "01J8MEDS0000RX000000251872"}},
    {"table": "person_medication_product", "id": "01J9SAMPXE0000000000000029", "fields": {"person_medication_id": "01J9SAMPXE0000000000000018", "medication_id": "01J8MEDS0000RX000000308182"}},
    {"table": "person_medication_product", "id": "01J9SAMPXE0000000000000030", "fields": {"person_medication_id": "01J9SAMPXE0000000000000019", "medication_id": "01J8MEDS0000RX000000242438"}},
    {"table": "person_medication_product", "id": "01J9SAMPXE0000000000000031", "fields": {"person_medication_id": "01J9SAMPXE0000000000000020", "medication_id": "01J8MEDS0000RX000000801092"}},
    {"table": "person_medication_product", "id": "01J9SAMPXE0000000000000032", "fields": {"person_medication_id": "01J9SAMPXE0000000000000021", "medication_id": "01J8MEDS0000RX000001014675"}},

    {"table": "fill", "id": "01J9SAMPXE0000000000000040", "fields": {"person_medication_id": "01J9SAMPXE0000000000000011", "medication_id": "01J8MEDS0000RX000000314077", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -95}, "rx_number": "100001", "quantity": "30", "days_supply": 30, "amount_paid": "5.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000041", "fields": {"person_medication_id": "01J9SAMPXE0000000000000011", "medication_id": "01J8MEDS0000RX000000314077", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -65}, "rx_number": "100001", "quantity": "30", "days_supply": 30, "amount_paid": "5.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000042", "fields": {"person_medication_id": "01J9SAMPXE0000000000000011", "medication_id": "01J8MEDS0000RX000000314077", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -35}, "rx_number": "100001", "quantity": "30", "days_supply": 30, "amount_paid": "5.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000043", "fields": {"person_medication_id": "01J9SAMPXE0000000000000012", "medication_id": "01J8MEDS0000RX000000617311", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -180}, "rx_number": "100002", "quantity": "90", "days_supply": 90, "amount_paid": "12.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000044", "fields": {"person_medication_id": "01J9SAMPXE0000000000000012", "medication_id": "01J8MEDS0000RX000000617311", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -88}, "rx_number": "100002", "quantity": "90", "days_supply": 90, "amount_paid": "12.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000045", "fields": {"person_medication_id": "01J9SAMPXE0000000000000013", "medication_id": "01J8MEDS0000RX000000861004", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -48}, "rx_number": "100003", "quantity": "60", "days_supply": 30, "amount_paid": "4.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000046", "fields": {"person_medication_id": "01J9SAMPXE0000000000000013", "medication_id": "01J8MEDS0000RX000000861004", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -18}, "rx_number": "100003", "quantity": "60", "days_supply": 30, "amount_paid": "4.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000047", "fields": {"person_medication_id": "01J9SAMPXE0000000000000014", "medication_id": "01J8MEDS0000RP002375327002", "pharmacy_id": "01J9SAMPXE0000000000000010", "filled_on": {"days_from_today": -42}, "rx_number": "200001", "quantity": "2", "days_supply": 28, "amount_paid": "25.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000048", "fields": {"person_medication_id": "01J9SAMPXE0000000000000014", "medication_id": "01J8MEDS0000RP002375327002", "pharmacy_id": "01J9SAMPXE0000000000000010", "filled_on": {"days_from_today": -14}, "rx_number": "200001", "quantity": "2", "days_supply": 28, "amount_paid": "25.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": "Delivered with an ice pack."}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000049", "fields": {"person_medication_id": "01J9SAMPXE0000000000000015", "medication_id": "01J8MEDS0000RX000000979492", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -120}, "rx_number": "100004", "quantity": "90", "days_supply": 90, "amount_paid": "10.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000050", "fields": {"person_medication_id": "01J9SAMPXE0000000000000015", "medication_id": "01J8MEDS0000RX000000979492", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -30}, "rx_number": "100004", "quantity": "90", "days_supply": 90, "amount_paid": "10.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000051", "fields": {"person_medication_id": "01J9SAMPXE0000000000000016", "medication_id": "01J8MEDS0000RX000000892246", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -150}, "rx_number": "100005", "quantity": "90", "days_supply": 90, "amount_paid": "8.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000052", "fields": {"person_medication_id": "01J9SAMPXE0000000000000016", "medication_id": "01J8MEDS0000RX000000892246", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -60}, "rx_number": "100005", "quantity": "90", "days_supply": 90, "amount_paid": "8.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000053", "fields": {"person_medication_id": "01J9SAMPXE0000000000000017", "medication_id": "01J8MEDS0000RX000000251872", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -200}, "rx_number": "100006", "quantity": "30", "days_supply": 30, "amount_paid": "6.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000054", "fields": {"person_medication_id": "01J9SAMPXE0000000000000018", "medication_id": "01J8MEDS0000RX000000308182", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -400}, "rx_number": "100007", "quantity": "30", "days_supply": 10, "amount_paid": "3.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000055", "fields": {"person_medication_id": "01J9SAMPXE0000000000000019", "medication_id": "01J8MEDS0000RX000000242438", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -56}, "rx_number": "100008", "quantity": "30", "days_supply": 30, "amount_paid": "2.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000056", "fields": {"person_medication_id": "01J9SAMPXE0000000000000019", "medication_id": "01J8MEDS0000RX000000242438", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -26}, "rx_number": "100008", "quantity": "30", "days_supply": 30, "amount_paid": "2.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000057", "fields": {"person_medication_id": "01J9SAMPXE0000000000000020", "medication_id": "01J8MEDS0000RX000000801092", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -40}, "rx_number": "100009", "quantity": "18", "days_supply": 25, "amount_paid": "15.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000072", "fields": {"person_medication_id": "01J9SAMPXE0000000000000011", "medication_id": "01J8MEDS0000RX000000314077", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -470}, "rx_number": "200072", "quantity": "30", "days_supply": 30, "amount_paid": "5.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": "Paid with the FSA card."}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000073", "fields": {"person_medication_id": "01J9SAMPXE0000000000000011", "medication_id": "01J8MEDS0000RX000000314077", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -560}, "rx_number": "200073", "quantity": "30", "days_supply": 30, "amount_paid": "5.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000074", "fields": {"person_medication_id": "01J9SAMPXE0000000000000011", "medication_id": "01J8MEDS0000RX000000314077", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -830}, "rx_number": "200074", "quantity": "30", "days_supply": 30, "amount_paid": "7.50", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000075", "fields": {"person_medication_id": "01J9SAMPXE0000000000000011", "medication_id": "01J8MEDS0000RX000000314077", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -920}, "rx_number": "200075", "quantity": "30", "days_supply": 30, "amount_paid": "7.50", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000076", "fields": {"person_medication_id": "01J9SAMPXE0000000000000011", "medication_id": "01J8MEDS0000RX000000314077", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -1190}, "rx_number": "200076", "quantity": "30", "days_supply": 30, "amount_paid": "9.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000077", "fields": {"person_medication_id": "01J9SAMPXE0000000000000012", "medication_id": "01J8MEDS0000RX000000617311", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -450}, "rx_number": "200077", "quantity": "90", "days_supply": 90, "amount_paid": "15.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000078", "fields": {"person_medication_id": "01J9SAMPXE0000000000000012", "medication_id": "01J8MEDS0000RX000000617311", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -540}, "rx_number": "200078", "quantity": "90", "days_supply": 90, "amount_paid": "15.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000079", "fields": {"person_medication_id": "01J9SAMPXE0000000000000012", "medication_id": "01J8MEDS0000RX000000617311", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -810}, "rx_number": "200079", "quantity": "90", "days_supply": 90, "amount_paid": "18.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000080", "fields": {"person_medication_id": "01J9SAMPXE0000000000000012", "medication_id": "01J8MEDS0000RX000000617311", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -1170}, "rx_number": "200080", "quantity": "90", "days_supply": 90, "amount_paid": "22.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000081", "fields": {"person_medication_id": "01J9SAMPXE0000000000000014", "medication_id": "01J8MEDS0000RP002375327002", "pharmacy_id": "01J9SAMPXE0000000000000010", "filled_on": {"days_from_today": -430}, "rx_number": "200081", "quantity": "2", "days_supply": 28, "amount_paid": "35.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000082", "fields": {"person_medication_id": "01J9SAMPXE0000000000000014", "medication_id": "01J8MEDS0000RP002375327002", "pharmacy_id": "01J9SAMPXE0000000000000010", "filled_on": {"days_from_today": -520}, "rx_number": "200082", "quantity": "2", "days_supply": 28, "amount_paid": "35.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000083", "fields": {"person_medication_id": "01J9SAMPXE0000000000000014", "medication_id": "01J8MEDS0000RP002375327002", "pharmacy_id": "01J9SAMPXE0000000000000010", "filled_on": {"days_from_today": -790}, "rx_number": "200083", "quantity": "2", "days_supply": 28, "amount_paid": "50.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000084", "fields": {"person_medication_id": "01J9SAMPXE0000000000000014", "medication_id": "01J8MEDS0000RP002375327002", "pharmacy_id": "01J9SAMPXE0000000000000010", "filled_on": {"days_from_today": -880}, "rx_number": "200084", "quantity": "2", "days_supply": 28, "amount_paid": "50.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000085", "fields": {"person_medication_id": "01J9SAMPXE0000000000000014", "medication_id": "01J8MEDS0000RP002375327002", "pharmacy_id": "01J9SAMPXE0000000000000010", "filled_on": {"days_from_today": -1150}, "rx_number": "200085", "quantity": "2", "days_supply": 28, "amount_paid": "60.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000086", "fields": {"person_medication_id": "01J9SAMPXE0000000000000014", "medication_id": "01J8MEDS0000RP002375327002", "pharmacy_id": "01J9SAMPXE0000000000000010", "filled_on": {"days_from_today": -1240}, "rx_number": "200086", "quantity": "2", "days_supply": 28, "amount_paid": "60.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000087", "fields": {"person_medication_id": "01J9SAMPXE0000000000000015", "medication_id": "01J8MEDS0000RX000000979492", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -500}, "rx_number": "200087", "quantity": "90", "days_supply": 90, "amount_paid": "10.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000088", "fields": {"person_medication_id": "01J9SAMPXE0000000000000015", "medication_id": "01J8MEDS0000RX000000979492", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -860}, "rx_number": "200088", "quantity": "90", "days_supply": 90, "amount_paid": "12.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},
    {"table": "fill", "id": "01J9SAMPXE0000000000000089", "fields": {"person_medication_id": "01J9SAMPXE0000000000000015", "medication_id": "01J8MEDS0000RX000000979492", "pharmacy_id": "01J9SAMPXE0000000000000009", "filled_on": {"days_from_today": -1220}, "rx_number": "200089", "quantity": "90", "days_supply": 90, "amount_paid": "14.00", "plan_id": "01J9SAMPXE0000000000000001", "insurance_claim_number": null, "notes": null}},

    {"table": "prior_authorization", "id": "01J9SAMPXE0000000000000070", "fields": {"person_medication_id": "01J9SAMPXE0000000000000014", "valid_from": {"days_from_today": -710}, "valid_to": {"days_from_today": -346}}},
    {"table": "prior_authorization", "id": "01J9SAMPXE0000000000000071", "fields": {"person_medication_id": "01J9SAMPXE0000000000000014", "valid_from": {"days_from_today": -345}, "valid_to": {"days_from_today": 20}}}
  ],
  "portal_sample": {
    "person_id": "01J9SAMPXE0000000000000004",
    "about": "Invented text in the layout that apps/meds/lib/portal_reader.lua reads. The first fill is already recorded; the second is new. SERVICE DATE values are written as {{days_from_today:N}} and replaced as MM/DD/YYYY when the file is loaded.",
    "text": "SERVICE DATEDRUG NAMEPHARMACYPLAN PAIDYOU PAIDCLAIM STATUS\n{{days_from_today:-30}}LOSARTAN POTASSIUM 50 MG TABLETEXAMPLE PHARMACY$ 20.00$ 10.00PaidLess Info\nEXAMPLE PHARMACY\n\n1 EXAMPLE STREET. ANYTOWN, MI 480000000\n\n555-555-0130\n\nPHARMACY ID\n1234567893\n\nRX NUMBER\n100004\n\nDAYS SUPPLY\n90\n\nQUANTITY\n90\n\nPlan Paid\n\n$20.00\nDeductible\n\n$0.00\nPatient Responsibility\n\n$10.00\n{{days_from_today:-12}}OMEPRAZOLE 20 MG DR CAPSULESAMPLE MAIL ORDER PHARMACY$ 9.00$ 3.00PaidLess Info\nSAMPLE MAIL ORDER PHARMACY\n\n9 SAMPLE WAY. ANYTOWN, MI 480000000\n\n555-555-0150\n\nPHARMACY ID\n1000000000\n\nRX NUMBER\n300001\n\nDAYS SUPPLY\n30\n\nQUANTITY\n30\n\nPlan Paid\n\n$9.00\nDeductible\n\n$0.00\nPatient Responsibility\n\n$3.00\n"
  }
}
