{
  "pharmacies": [
    {
      "externalKey": "ERP-PH-NW",
      "name": "Northwind Community Pharmacy",
      "code": "NW-001",
      "city": "Lakewood"
    },
    {
      "externalKey": "ERP-PH-HV",
      "name": "Harborview Dispensary",
      "code": "HV-001",
      "city": "Harborview"
    }
  ],
  "products": [
    { "externalKey": "ERP-PR-AMOX-500", "name": "Amoxicillin", "strength": "500 mg", "form": "Capsule" },
    { "externalKey": "ERP-PR-LIS-10", "name": "Lisinopril", "strength": "10 mg", "form": "Tablet" },
    { "externalKey": "ERP-PR-ATOR-20", "name": "Atorvastatin", "strength": "20 mg", "form": "Tablet" },
    { "externalKey": "ERP-PR-MET-500", "name": "Metformin", "strength": "500 mg", "form": "Tablet" }
  ],
  "inventory": [
    { "externalKey": "ERP-INV-NW-AMOX", "pharmacyCode": "NW-001", "productKey": "ERP-PR-AMOX-500", "onHand": 240 },
    { "externalKey": "ERP-INV-NW-LIS", "pharmacyCode": "NW-001", "productKey": "ERP-PR-LIS-10", "onHand": 180 },
    { "externalKey": "ERP-INV-NW-ATOR", "pharmacyCode": "NW-001", "productKey": "ERP-PR-ATOR-20", "onHand": 96 },
    { "externalKey": "ERP-INV-HV-MET", "pharmacyCode": "HV-001", "productKey": "ERP-PR-MET-500", "onHand": 40 }
  ],
  "orders": [
    { "externalKey": "ERP-ORD-1001", "pharmacyCode": "NW-001", "productKey": "ERP-PR-AMOX-500", "quantity": 100, "status": "Received" },
    { "externalKey": "ERP-ORD-1002", "pharmacyCode": "HV-001", "productKey": "ERP-PR-MET-500", "quantity": 60, "status": "Backordered" }
  ],
  "billing": [
    { "externalKey": "ERP-BILL-1001", "patientReference": "PT-1001", "pharmacyCode": "NW-001", "drug": "Amoxicillin", "strength": "500 mg", "quantity": "21", "directions": "Take one capsule three times daily", "daysSupply": "7", "refills": "0" },
    { "externalKey": "ERP-BILL-1002", "patientReference": "PT-1002", "pharmacyCode": "NW-001", "drug": "Lisinopril", "strength": "10 mg", "quantity": "30", "directions": "Take one tablet twice daily", "daysSupply": "30", "refills": "0" },
    { "externalKey": "ERP-BILL-1003", "patientReference": "PT-1003", "pharmacyCode": "NW-001", "drug": "Atorvastatin", "strength": "20 mg", "quantity": "90", "directions": "Take one tablet at night", "daysSupply": "30", "refills": "2" },
    { "externalKey": "ERP-BILL-1004", "patientReference": "PT-1004", "pharmacyCode": "NW-001", "drug": "Metformin", "strength": "250 mg", "quantity": "14", "directions": "Take one tablet once daily", "daysSupply": "14", "refills": "1" }
  ]
}
