<commit_before>FlowRouter.route('/', {
  action: function() {
    BlazeLayout.render("MainLayout", {content: "PatientAuth"});
  }
});

//
FlowRouter.route('/patient/', {
  action: function() {
    BlazeLayout.render("DashboardLayout", {content: "PatientAuth"});
  }
});

//กรอกข้อมูลผู้ป่วยใหม่
FlowRouter.route('/patient/new', {
  action: function() {
    BlazeLayout.render("MainLayout", {content: "NewPatientForm"});
  }
});

//ทำการนัดหมาย
FlowRouter.route('/patient/:patientId/appointment/new', {
  action: function() {
    BlazeLayout.render("MainLayout", {content: "MakeAppointment"});
  }
});

//จัดการนัด(มีดูตารางการนัด + console ให้เลื่อนนัด + ยกเลิกนัดได้ทันที)
FlowRouter.route('/patient/:patientId/appointment/', {
  action: function() {
    BlazeLayout.render("DashboardLayout", {content: "ManageAppointment"});
  }
});

//เลื่อนนัด
FlowRouter.route('/patient/:patientId/appointment/posepone/:appointmentId', {
  action: function() {
    BlazeLayout.render("MainLayout", {content: "PoseponeAppointment"});
  }
});

//ออกบัตรนัด
FlowRouter.route('/patient/:patientId/appointment/:appointmentId/print', {
  action: function() {
    BlazeLayout.render("DashboardLayout", {content: "PrintAppointmentCard"});
  }
});


//บันทึกการตรวจสุขภาพเบื้องต้น
FlowRouter.route('/record/healthData/:patientId/:date', {
  action: function() {
    BlazeLayout.render("DashboardLayout", {content: "RecordHealthData"});
  }
});

//บันทึกการตรวจของหมอ
FlowRouter.route('/record/medData/:docId/:patientId/:date', {
  action: function() {
    BlazeLayout.render("DashboardLayout", {content: "RecordMedData"});
  }
});

//ค้นหาผู้ป่วย
FlowRouter.route('/find/patient', {
  action: function() {
    BlazeLayout.render("DashboardLayout", {content: "FindPatient"});
  }
});<commit_msg>add :staffId to healthData route<commit_after>FlowRouter.route('/', {
  action: function() {
    BlazeLayout.render("MainLayout", {content: "PatientAuth"});
  }
});

//
FlowRouter.route('/patient/', {
  action: function() {
    BlazeLayout.render("DashboardLayout", {content: "PatientAuth"});
  }
});

//กรอกข้อมูลผู้ป่วยใหม่
FlowRouter.route('/patient/new', {
  action: function() {
    BlazeLayout.render("MainLayout", {content: "NewPatientForm"});
  }
});

//ทำการนัดหมาย
FlowRouter.route('/patient/:patientId/appointment/new', {
  action: function() {
    BlazeLayout.render("MainLayout", {content: "MakeAppointment"});
  }
});

//จัดการนัด(มีดูตารางการนัด + console ให้เลื่อนนัด + ยกเลิกนัดได้ทันที)
FlowRouter.route('/patient/:patientId/appointment/', {
  action: function() {
    BlazeLayout.render("DashboardLayout", {content: "ManageAppointment"});
  }
});

//เลื่อนนัด
FlowRouter.route('/patient/:patientId/appointment/posepone/:appointmentId', {
  action: function() {
    BlazeLayout.render("MainLayout", {content: "PoseponeAppointment"});
  }
});

//ออกบัตรนัด
FlowRouter.route('/patient/:patientId/appointment/:appointmentId/print', {
  action: function() {
    BlazeLayout.render("DashboardLayout", {content: "PrintAppointmentCard"});
  }
});


//บันทึกการตรวจสุขภาพเบื้องต้น
FlowRouter.route('/record/healthData/:staffId/:patientId/:date', {
  action: function() {
    BlazeLayout.render("DashboardLayout", {content: "RecordHealthData"});
  }
});

//บันทึกการตรวจของหมอ
FlowRouter.route('/record/medData/:docId/:patientId/:date', {
  action: function() {
    BlazeLayout.render("DashboardLayout", {content: "RecordMedData"});
  }
});

//ค้นหาผู้ป่วย
FlowRouter.route('/find/patient', {
  action: function() {
    BlazeLayout.render("DashboardLayout", {content: "FindPatient"});
  }
});
{'fraction_non_alphanumeric': 0.20677112479015108, 'fraction_numerical': 0.0, 'mean_word_length': 5.429856115107913, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6378646', 'n_tokens_mistral': 1403, 'n_tokens_neox': 1443, 'n_words': 146}