Platform
Domain Examples
Pharmacy

Pharmacy

First production domain ของ PBCP — Pharmacy platform ใช้ PBCP เป็น Business Context foundation สำหรับร้านยาและคลินิก

Business problems solved

ปัญหาPBCP แก้อย่างไร
ไม่รู้ว่าคนไข้กลับมาหรือเปล่าCustomer Story → เห็น visit frequency
ไม่รู้ว่ายาตัวไหนขายดีProduct Story → ดู top SKUs จาก Business Pulse
ส่ง promotion ไม่ตรงกลุ่มIntelligence → segment ลูกค้าตาม behavior
ไม่รู้ว่าคนไข้ใช้ยาต่อเนื่องหรือหยุดChurn signal → แจ้งเตือนก่อนคนไข้หาย

Story types

Customer Story

คนไข้คนนี้เป็นใคร มาบ่อยแค่ไหน ซื้ออะไร

Order Story

order นี้มีอะไรบ้าง ชำระอย่างไร

Product Story

ยาตัวนี้ขายดีแค่ไหน ใครซื้อบ้าง

Prescription Story

ใบสั่งยานี้จ่ายครบไหม มี refill หรือเปล่า

Key events

Eventเกิดเมื่อ
customer.registeredคนไข้ลงทะเบียนใหม่
customer.visitedคนไข้มาที่ร้าน
product.searchedค้นหาชื่อยา
product.viewedดูรายละเอียดยา
cart.updatedเพิ่ม/ลบยาในตะกร้า
prescription.createdสร้างใบสั่งยา
prescription.dispensedจ่ายยาแล้ว
order.createdสร้าง order
order.completedรับยาครบ ชำระเงินแล้ว
payment.completedชำระเงินสำเร็จ
loyalty.points_earnedได้รับ points
coupon.redeemedใช้คูปอง

Intelligence use cases

Use caseSignalAction
คนไข้ยาเรื้อรังหยุดซื้อไม่มี order.completed >30 วันส่ง LINE reminder + คูปอง
คนไข้ใหม่ซื้อครั้งแรกcustomer.registered → order.completedOnboarding reward
ยาขายดีหมดเร็วProduct Story → spike ใน prescription.dispensedแจ้ง stock alert
กลุ่มผู้สูงอายุSegment by purchase patternCampaign วิตามิน/ผลิตภัณฑ์ดูแลสุขภาพ

Full event catalog →