ข้ามไปที่เนื้อหา

Check List Master Data

ระบบห้องตรวจแพทย์ (Examination Room System)


เอกสารเลขที่: SRS-1.2.3-MASTERDATA
เวอร์ชัน: 1.0
วันที่: 5 ตุลาคม 2568
ผู้จัดทำ: ทีมพัฒนาระบบ
การปรับปรุง: แยก Master Data จากระบบเวชระเบียนหลัก


📊 รายการข้อมูล Master Data สำหรับระบบห้องตรวจแพทย์

หมายเหตุ: Master Data การจัดการคิว (Queue Management) ได้ถูกแยกออกไปเป็นระบบแยกต่างหาก เนื่องจากไม่ได้ระบุไว้ใน TOR ฉบับเต็ม

🩺 Physical Examination Master Data (ข้อมูลการตรวจร่างกาย)

Template การตรวจร่างกาย (Physical Examination Templates)

{
  "physical_exam_templates": [
    {
      "template_id": "PE_GENERAL",
      "name_th": "การตรวจร่างกายทั่วไป",
      "name_en": "General Physical Examination",
      "department_code": "ALL",
      "template_sections": {
        "general_appearance": {
          "name_th": "ลักษณะทั่วไป (GA)",
          "name_en": "General Appearance",
          "default_template": "ผู้ป่วยรู้สึกตัวดี ไม่มีอาการเจ็บป่วยเฉียบพลัน",
          "required": true
        },
        "heent": {
          "name_th": "หัว คอ ตา หู จมูก (HEENT)",
          "name_en": "Head, Eyes, Ears, Nose, Throat",
          "default_template": "ตา: ไม่ซีด ไม่เหลือง, หู: ปกติ, จมูก: ไม่มีน้ำมูก, คอ: ไม่บวม",
          "required": true
        },
        "chest_heart": {
          "name_th": "ทรวงอก/หัวใจ",
          "name_en": "Chest/Heart",
          "default_template": "ปอด: เสียงหายใจปกติทั้งสองข้าง, หัวใจ: เสียงหัวใจปกติ ไม่มี murmur",
          "required": true
        },
        "abdomen": {
          "name_th": "ช่องท้อง",
          "name_en": "Abdomen",
          "default_template": "ท้องนิ่ม ไม่จับก้อน ไม่กดเจ็บ เสียงลำไส้ปกติ",
          "required": true
        }
      },
      "is_active": true,
      "created_by": "SYSTEM"
    },
    {
      "template_id": "PE_PEDIATRIC",
      "name_th": "การตรวจร่างกายเด็ก",
      "name_en": "Pediatric Physical Examination",
      "department_code": "PED",
      "template_sections": {
        "general_appearance": {
          "name_th": "ลักษณะทั่วไป",
          "name_en": "General Appearance",
          "default_template": "เด็กมีสติดี กระฉับกระเฉง ไม่มีอาการผิดปกติ",
          "required": true
        },
        "growth_development": {
          "name_th": "การเจริญเติบโต",
          "name_en": "Growth & Development",
          "default_template": "น้ำหนักส่วนสูงเหมาะสมกับวัย พัฒนาการตามวัย",
          "required": true
        }
      },
      "is_active": true,
      "created_by": "SYSTEM"
    }
  ]
}

รหัส ICD และการวินิจฉัย (ICD Codes & Diagnosis)

{
  "frequently_used_icd": [
    {
      "icd_code": "Z00.0",
      "disease_name_th": "ตรวจสุขภาพทั่วไป",
      "disease_name_en": "General medical examination",
      "category": "GENERAL_CHECKUP",
      "frequency_rank": 1,
      "is_screening": true
    },
    {
      "icd_code": "J06.9",
      "disease_name_th": "หวัดธรรมดา",
      "disease_name_en": "Acute upper respiratory infection",
      "category": "RESPIRATORY",
      "frequency_rank": 2,
      "is_screening": false
    },
    {
      "icd_code": "I10",
      "disease_name_th": "ความดันโลหิตสูง",
      "disease_name_en": "Essential hypertension",
      "category": "CARDIOVASCULAR",
      "frequency_rank": 3,
      "is_screening": false
    },
    {
      "icd_code": "E11.9",
      "disease_name_th": "เบาหวานชนิดที่ 2",
      "disease_name_en": "Type 2 diabetes mellitus",
      "category": "ENDOCRINE",
      "frequency_rank": 4,
      "is_screening": false
    }
  ]
}

💊 Medication & Drug Safety Master Data

Template การสั่งยา (Medication Templates)

{
  "medication_templates": [
    {
      "template_id": "MED_HYPERTENSION",
      "name_th": "ชุดยาความดันโลหิตสูง",
      "name_en": "Hypertension Medication Set",
      "disease_group": "CARDIOVASCULAR",
      "medications": [
        {
          "drug_code": "AMLODIPINE5",
          "drug_name": "Amlodipine 5mg",
          "quantity": 30,
          "frequency": "วันละ 1 ครั้ง",
          "duration_days": 30,
          "instructions": "รับประทานหลังอาหารเช้า"
        }
      ],
      "is_chronic": true,
      "requires_monitoring": true
    },
    {
      "template_id": "MED_COMMON_COLD",
      "name_th": "ชุดยาหวัดธรรมดา",
      "name_en": "Common Cold Medication Set",
      "disease_group": "RESPIRATORY",
      "medications": [
        {
          "drug_code": "PARACETAMOL500",
          "drug_name": "Paracetamol 500mg",
          "quantity": 12,
          "frequency": "วันละ 3 ครั้ง",
          "duration_days": 4,
          "instructions": "รับประทานหลังอาหาร"
        }
      ],
      "is_chronic": false,
      "requires_monitoring": false
    }
  ]
}

ข้อมูล G-6-PD และโรคพิเศษ (G-6-PD & Special Conditions)

{
  "special_conditions": [
    {
      "condition_code": "G6PD_DEFICIENCY",
      "name_th": "ภาวะขาดเอนไซม์ G-6-PD",
      "name_en": "G-6-PD Deficiency",
      "contraindicated_drugs": [
        "ASPIRIN",
        "SULFAMETHOXAZOLE",
        "NITROFURANTOIN",
        "QUINOLONES"
      ],
      "warning_level": "HIGH",
      "requires_screening": true
    },
    {
      "condition_code": "PREGNANCY",
      "name_th": "ตั้งครรภ์",
      "name_en": "Pregnancy",
      "contraindicated_drugs": [
        "WARFARIN",
        "ACE_INHIBITORS",
        "TETRACYCLINE"
      ],
      "warning_level": "HIGH",
      "requires_screening": true
    },
    {
      "condition_code": "BREASTFEEDING",
      "name_th": "ให้นมบุตร",
      "name_en": "Breastfeeding",
      "contraindicated_drugs": [
        "LITHIUM",
        "METRONIDAZOLE",
        "CHLORAMPHENICOL"
      ],
      "warning_level": "MODERATE",
      "requires_screening": true
    }
  ]
}

📋 Exam Result Master Data (ผลการตรวจและรายละเอียด)

ประเภทการตรวจ (Examination Types)

{
  "examination_types": [
    {
      "code": "GENERAL",
      "name_th": "ตรวจร่างกายทั่วไป",
      "name_en": "General Physical Examination",
      "category": "physical",
      "duration_minutes": 15,
      "requires_preparation": false,
      "cost": 100
    },
    {
      "code": "VITAL_SIGNS",
      "name_th": "ตรวจสัญญาณชีพ",
      "name_en": "Vital Signs",
      "category": "basic",
      "duration_minutes": 5,
      "requires_preparation": false,
      "cost": 50
    },
    {
      "code": "NEUROLOGICAL",
      "name_th": "ตรวจระบบประสาท",
      "name_en": "Neurological Examination",
      "category": "specialist",
      "duration_minutes": 30,
      "requires_preparation": false,
      "cost": 300
    },
    {
      "code": "CARDIOVASCULAR",
      "name_th": "ตรวจระบบหัวใจและหลอดเลือด",
      "name_en": "Cardiovascular Examination",
      "category": "specialist",
      "duration_minutes": 20,
      "requires_preparation": false,
      "cost": 250
    },
    {
      "code": "RESPIRATORY",
      "name_th": "ตรวจระบบทางเดินหายใจ",
      "name_en": "Respiratory Examination",
      "category": "specialist",
      "duration_minutes": 15,
      "requires_preparation": false,
      "cost": 200
    },
    {
      "code": "ABDOMINAL",
      "name_th": "ตรวจช่องท้อง",
      "name_en": "Abdominal Examination",
      "category": "specialist",
      "duration_minutes": 20,
      "requires_preparation": true,
      "cost": 200
    },
    {
      "code": "MUSCULOSKELETAL",
      "name_th": "ตรวจระบบกล้ามเนื้อและกระดูก",
      "name_en": "Musculoskeletal Examination",
      "category": "specialist",
      "duration_minutes": 25,
      "requires_preparation": false,
      "cost": 250
    }
  ]
}

ผลการตรวจพื้นฐาน (Basic Examination Results)

{
  "vital_signs_ranges": [
    {
      "parameter": "blood_pressure_systolic",
      "name_th": "ความดันโลหิตตัวบน",
      "name_en": "Systolic Blood Pressure",
      "unit": "mmHg",
      "normal_min": 90,
      "normal_max": 120,
      "warning_min": 121,
      "warning_max": 139,
      "critical_min": 140,
      "critical_max": 999
    },
    {
      "parameter": "blood_pressure_diastolic",
      "name_th": "ความดันโลหิตตัวล่าง",
      "name_en": "Diastolic Blood Pressure",
      "unit": "mmHg",
      "normal_min": 60,
      "normal_max": 80,
      "warning_min": 81,
      "warning_max": 89,
      "critical_min": 90,
      "critical_max": 999
    },
    {
      "parameter": "heart_rate",
      "name_th": "อัตราการเต้นของหัวใจ",
      "name_en": "Heart Rate",
      "unit": "bpm",
      "normal_min": 60,
      "normal_max": 100,
      "warning_min": 101,
      "warning_max": 120,
      "critical_min": 121,
      "critical_max": 999
    },
    {
      "parameter": "respiratory_rate",
      "name_th": "อัตราการหายใจ",
      "name_en": "Respiratory Rate",
      "unit": "breaths/min",
      "normal_min": 12,
      "normal_max": 20,
      "warning_min": 21,
      "warning_max": 24,
      "critical_min": 25,
      "critical_max": 999
    },
    {
      "parameter": "body_temperature",
      "name_th": "อุณหภูมิร่างกาย",
      "name_en": "Body Temperature",
      "unit": "°C",
      "normal_min": 36.1,
      "normal_max": 37.2,
      "warning_min": 37.3,
      "warning_max": 38.0,
      "critical_min": 38.1,
      "critical_max": 999
    },
    {
      "parameter": "oxygen_saturation",
      "name_th": "ความอิ่มตัวของออกซิเจน",
      "name_en": "Oxygen Saturation",
      "unit": "%",
      "normal_min": 95,
      "normal_max": 100,
      "warning_min": 90,
      "warning_max": 94,
      "critical_min": 0,
      "critical_max": 89
    }
  ]
}

ระดับความรุนแรงของผลตรวจ (Result Severity Levels)

{
  "result_severity": [
    {
      "level": 1,
      "code": "NORMAL",
      "name_th": "ปกติ",
      "name_en": "Normal",
      "color": "#4CAF50",
      "action_required": false,
      "auto_alert": false
    },
    {
      "level": 2,
      "code": "ABNORMAL_MILD",
      "name_th": "ผิดปกติเล็กน้อย",
      "name_en": "Mildly Abnormal",
      "color": "#FFC107",
      "action_required": true,
      "auto_alert": false
    },
    {
      "level": 3,
      "code": "ABNORMAL_MOD",
      "name_th": "ผิดปกติปานกลาง",
      "name_en": "Moderately Abnormal",
      "color": "#FF9800",
      "action_required": true,
      "auto_alert": true
    },
    {
      "level": 4,
      "code": "ABNORMAL_SEV",
      "name_th": "ผิดปกติรุนแรง",
      "name_en": "Severely Abnormal",
      "color": "#F44336",
      "action_required": true,
      "auto_alert": true
    },
    {
      "level": 5,
      "code": "CRITICAL",
      "name_th": "วิกฤต",
      "name_en": "Critical",
      "color": "#D32F2F",
      "action_required": true,
      "auto_alert": true
    }
  ]
}

การประเมินผลการตรวจ (Assessment Categories)

{
  "assessment_categories": [
    {
      "code": "APPEARANCE",
      "name_th": "ลักษณะทั่วไป",
      "name_en": "General Appearance",
      "subcategories": ["consciousness", "nutrition", "development", "distress"]
    },
    {
      "code": "HEENT",
      "name_th": "หัว คอ ตา หู จมูก",
      "name_en": "Head, Eyes, Ears, Nose, Throat",
      "subcategories": ["head", "eyes", "ears", "nose", "throat", "neck"]
    },
    {
      "code": "CHEST",
      "name_th": "ทรวงอก",
      "name_en": "Chest",
      "subcategories": ["inspection", "palpation", "percussion", "auscultation"]
    },
    {
      "code": "HEART",
      "name_th": "หัวใจ",
      "name_en": "Heart",
      "subcategories": ["rhythm", "rate", "murmur", "sounds"]
    },
    {
      "code": "LUNGS",
      "name_th": "ปอด",
      "name_en": "Lungs",
      "subcategories": ["breath_sounds", "adventitious_sounds", "expansion"]
    },
    {
      "code": "ABDOMEN",
      "name_th": "ช่องท้อง",
      "name_en": "Abdomen",
      "subcategories": ["inspection", "palpation", "percussion", "auscultation"]
    },
    {
      "code": "EXTREMITIES",
      "name_th": "แขนขา",
      "name_en": "Extremities",
      "subcategories": ["upper_limbs", "lower_limbs", "joints", "reflexes"]
    },
    {
      "code": "NEUROLOGICAL",
      "name_th": "ระบบประสาท",
      "name_en": "Neurological",
      "subcategories": ["mental_status", "cranial_nerves", "motor", "sensory", "reflexes"]
    }
  ]
}

🏥 Examination Room Master Data

ห้องตรวจ (Examination Rooms)

{
  "examination_rooms": [
    {
      "room_code": "EXAM001",
      "name_th": "ห้องตรวจอายุรกรรม 1",
      "name_en": "Internal Medicine Room 1",
      "department": "MED",
      "floor": 1,
      "capacity": 1,
      "equipment": ["bed", "bp_monitor", "stethoscope", "thermometer"],
      "is_active": true,
      "supports_telemedicine": false
    },
    {
      "room_code": "EXAM002",
      "name_th": "ห้องตรวจอายุรกรรม 2",
      "name_en": "Internal Medicine Room 2",
      "department": "MED",
      "floor": 1,
      "capacity": 1,
      "equipment": ["bed", "bp_monitor", "stethoscope", "thermometer", "ecg"],
      "is_active": true,
      "supports_telemedicine": true
    },
    {
      "room_code": "EXAM003",
      "name_th": "ห้องตรวจศัลยกรรม",
      "name_en": "Surgery Room",
      "department": "SUR",
      "floor": 1,
      "capacity": 1,
      "equipment": ["exam_table", "surgical_light", "instruments"],
      "is_active": true,
      "supports_telemedicine": false
    },
    {
      "room_code": "EXAM004",
      "name_th": "ห้องตรวจกุมารเวชกรรม",
      "name_en": "Pediatrics Room",
      "department": "PED",
      "floor": 2,
      "capacity": 1,
      "equipment": ["pediatric_bed", "infant_scale", "growth_chart"],
      "is_active": true,
      "supports_telemedicine": false
    }
  ]
}

อุปกรณ์การตรวจ (Medical Equipment)

{
  "medical_equipment": [
    {
      "code": "BP_MONITOR",
      "name_th": "เครื่องวัดความดันโลหิต",
      "name_en": "Blood Pressure Monitor",
      "category": "vital_signs",
      "calibration_required": true,
      "calibration_interval_months": 6
    },
    {
      "code": "STETHOSCOPE",
      "name_th": "หูฟัง",
      "name_en": "Stethoscope",
      "category": "diagnostic",
      "calibration_required": false,
      "calibration_interval_months": 0
    },
    {
      "code": "THERMOMETER",
      "name_th": "เครื่องวัดอุณหภูมิ",
      "name_en": "Thermometer",
      "category": "vital_signs",
      "calibration_required": true,
      "calibration_interval_months": 12
    },
    {
      "code": "PULSE_OXIMETER",
      "name_th": "เครื่องวัดออกซิเจน",
      "name_en": "Pulse Oximeter",
      "category": "vital_signs",
      "calibration_required": true,
      "calibration_interval_months": 6
    },
    {
      "code": "WEIGHING_SCALE",
      "name_th": "เครื่องชั่งน้ำหนัก",
      "name_en": "Weighing Scale",
      "category": "measurement",
      "calibration_required": true,
      "calibration_interval_months": 6
    },
    {
      "code": "HEIGHT_RULER",
      "name_th": "ไม้บรรทัดวัดส่วนสูง",
      "name_en": "Height Measuring Ruler",
      "category": "measurement",
      "calibration_required": false,
      "calibration_interval_months": 0
    }
  ]
}

🔗 Integration Points กับระบบอื่น

API Endpoints สำหรับการเชื่อมต่อ

{
  "api_endpoints": [
    {
      "system": "ระบบเวชระเบียนหลัก (1.2.1)",
      "endpoint": "/api/patient-queue",
      "method": "POST",
      "description": "สร้างคิวสำหรับผู้ป่วย"
    },
    {
      "system": "ระบบตรวจสอบสิทธิ (1.2.15)",
      "endpoint": "/api/validate-treatment-rights",
      "method": "GET",
      "description": "ตรวจสอบสิทธิ์ก่อนตรวจ"
    },
    {
      "system": "ระบบเภสัชกรรม (1.2.13)",
      "endpoint": "/api/send-prescription",
      "method": "POST",
      "description": "ส่งใบสั่งยาไปเภสัชกรรม"
    },
    {
      "system": "ระบบงานชันสูตร (1.2.7)",
      "endpoint": "/api/send-lab-order",
      "method": "POST",
      "description": "ส่งใบสั่งตรวจแล็บ"
    },
    {
      "system": "ระบบรังสีวิทยา (1.2.8)",
      "endpoint": "/api/send-radiology-order",
      "method": "POST",
      "description": "ส่งใบสั่งตรวจรังสี"
    }
  ]
}

การแจ้งเตือนทางการแพทย์ (Medical Notifications)

{
  "medical_alert_templates": [
    {
      "type": "drug_allergy_alert",
      "template_th": "⚠️ ผู้ป่วยแพ้ยา {drug_name} - ระดับความรุนแรง: {severity_level}",
      "template_en": "⚠️ Patient allergic to {drug_name} - Severity: {severity_level}",
      "priority": "HIGH",
      "requires_override": true
    },
    {
      "type": "drug_interaction_alert",
      "template_th": "⚠️ พบอันตกริยาระหว่างยา {drug1} และ {drug2} - ระดับ: {interaction_level}",
      "template_en": "⚠️ Drug interaction found between {drug1} and {drug2} - Level: {interaction_level}",
      "priority": "MEDIUM",
      "requires_override": true
    },
    {
      "type": "g6pd_warning",
      "template_th": "⚠️ ผู้ป่วยมีภาวะ G-6-PD ห้ามใช้ยา {contraindicated_drugs}",
      "template_en": "⚠️ Patient has G-6-PD deficiency - Avoid {contraindicated_drugs}",
      "priority": "HIGH",
      "requires_override": false
    },
    {
      "type": "critical_vital_signs",
      "template_th": "🚨 สัญญาณชีพผิดปกติ: {parameter} = {value} {unit} (ปกติ: {normal_range})",
      "template_en": "🚨 Critical vital sign: {parameter} = {value} {unit} (Normal: {normal_range})",
      "priority": "CRITICAL",
      "requires_immediate_action": true
    },
    {
      "type": "lab_critical_result",
      "template_th": "🚨 ผล Lab วิกฤต: {lab_name} = {result} (ปกติ: {reference_range})",
      "template_en": "🚨 Critical Lab result: {lab_name} = {result} (Reference: {reference_range})",
      "priority": "CRITICAL",
      "requires_immediate_action": true
    }
  ]
}

📋 Check List การติดตั้งระบบห้องตรวจแพทย์

Master Data Setup

  • นำเข้าข้อมูล ICD Codes ทั้งหมด (ICD-10, ICD-11)
  • ตั้งค่า Physical Examination Templates ตามแผนก
  • นำเข้าข้อมูล Medication Templates
  • กำหนดข้อมูล G-6-PD และโรคพิเศษ
  • ตั้งค่าข้อมูลห้องตรวจและอุปกรณ์การแพทย์

Physical Examination System

  • กำหนดแบบฟอร์มการตรวจร่างกายสำหรับแต่ละแผนก
  • ทดสอบระบบการถ่ายภาพและการวาดรูป
  • ตั้งค่าระบบบันทึกการตรวจร่างกายแบบละเอียด
  • ทดสอบ Template การตรวจร่างกาย
  • ตั้งค่าระบบแสดงผลการตรวจย้อนหลัง

Drug Safety & Alert System

  • ตั้งค่าระบบตรวจสอบการแพ้ยา (Drug Allergy)
  • กำหนดระบบตรวจสอบ Drug Interaction
  • ทดสอบการเตือน G-6-PD Deficiency
  • ตั้งค่าระบบเตือนผู้ป่วยตั้งครรภ์และให้นมบุตร
  • ทดสอบระบบคำนวณยาโรคเรื้อรัง

Laboratory & Radiology Integration

  • เชื่อมต่อกับระบบงานชันสูตร (1.2.7)
  • เชื่อมต่อกับระบบรังสีวิทยา (1.2.8)
  • ทดสอบการแสดงผล Lab แบบเปรียบเทียบ
  • ตั้งค่าระบบแจ้งเตือนผล Lab/X-Ray วิกฤต
  • ทดสอบการสั่ง Lab/X-Ray ล่วงหน้า

API Integration Setup

  • เชื่อมต่อกับระบบเวชระเบียน (1.2.1)
  • เชื่อมต่อกับระบบซักประวัติ (1.2.2)
  • เชื่อมต่อกับระบบเภสัชกรรม (1.2.13)
  • เชื่อมต่อกับระบบตรวจสอบสิทธิ (1.2.15)
  • เชื่อมต่อกับระบบการเงิน (1.2.14)

Certificate & Report System

  • ตั้งค่าระบบพิมพ์ใบรับรองแพทย์
  • ทดสอบการพิมพ์หนังสือรับรองยานอกบัญชี
  • ตั้งค่าระบบพิมพ์ OPD Card
  • ทดสอบระบบส่งออกข้อมูลการตรวจ
  • ตั้งค่า Digital Signature (ถ้าสามารถทำได้)

Security & Audit

  • ตั้งค่าระบบ Audit Log การเข้าถึงข้อมูลผู้ป่วย
  • กำหนดสิทธิ์การเข้าถึงตาม Role
  • ทดสอบระบบ Backup และ Recovery
  • ตั้งค่า Data Encryption สำหรับข้อมูลละเอียดอ่อน
  • ทดสอบระบบ Compliance ตาม PDPA

หมายเหตุ: เอกสารนี้จัดทำขึ้นเพื่อใช้ในการพัฒนาระบบห้องตรวจแพทย์ และต้องได้รับการอนุมัติจากฝ่ายการแพทย์ก่อนนำไปใช้งาน