Harnessing Big Data in Type 2 Diabetes to Estimate Visit Duration and Associated Factors to Reduce Overcrowding in Primary Care Settings
Main Article Content
Abstract
Background: Efficient visit management in service delivery is crucial for diabetic patient care and helps reduce overcrowding in healthcare units. However, the application of big data analytics to improve visit duration in primary care settings in Thailand has not been adequately explored. To estimate visit durations for type 2 diabetic patients using big data and identify factors influencing visit durations.
Design: Cross-sectional study
Method: Data from type 2 diabetic patients treated at four primary care settings in Southern Thailand (October 2021–September 2023) were analyzed. Visit durations, from registration to completion, were recorded electronically. Descriptive statistics and multiple linear regression assessed influencing factors. Results were presented as coefficients with 95% confidence intervals, with significance set at p < 0.05.
Results: The average visit duration was 76.61 minutes (95%CI: 75.94–77.29 minutes). Session durations for physicians’ examination were 7.59 minutes (95%CI: 7.39–7.78 minutes). Significant factors influencing physician examination duration included walk-in patient status (-3.77 minutes, 95%CI: -5.96 to -1.57 minutes), number of non-antidiabetic medicines (0.43 minutes, 95%CI: 0.21–0.65 minutes), and total visits in one year (0.24 minutes, 95%CI: 0.07–0.41 minutes). Consultation with the physician owner showed no statistically significant effect (-0.18 minutes, 95%CI: -1.53 to 0.40 minutes, p = 0.208).
Conclusion: Multiple factors influence the visit duration for patients with type 2 diabetes. Adjusting these factors can reduce waiting times, alleviate overcrowding in healthcare units, and enhance service efficiency.
Keywords: diabetes mellitus type 2, primary care, visit duration, session duration
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
The content and information in articles published in the PCFM journal are solely the opinions and responsibilities of the authors. The journal's editorial board does not necessarily agree with or share any responsibility for them.
All articles, information, content, images, etc., published in the PCFM journal are the copyright of the PCFM journal. If any individual or organization wishes to reproduce, distribute, or use any part or the entirety of the content, they must obtain written permission from the PCFM journal beforehand.
References
Clinical Practice Guideline for Diabetes 2017. [Internet]. กรุงเทพฯ: สำนักงานคณะกรรมการสุขภาพแห่งชาติ (อินเทอร์เน็ต). 2017 [เข้าถึงเมื่อ 17 กุมภาพันธ์ 2566]. เข้าถึงได้จาก: https://w2.med.cmu.ac.th/nd/files/2019/11/Dm60.pdf
สุพัตรา ศรีวณิชชากร. การพัฒนาเพื่อลดความแออัดในโรงพยาบาล [อินเทอร์เน็ต]. สถาบันวิจัยระบบสาธารณสุข; 2550 [เข้าถึงเมื่อ 25 พ.ค. 2566 May 25]. เข้าถึงได้จาก: https://kb.hsri.or.th/dspace/handle/11228/92
อนันต์ชัย อัศวเมฆิน. นโยบายลดความแออัด ลดการรอคอย ในโรงพยาบาล แค่รับยาที่ร้านขายยาจริงหรือ [อินเทอร์เน็ต]. คณะที่ปรึกษารัฐมนตรีว่าการกระทรวงสาธารณสุข ภาควิชาเภสัชวิทยา คณะเภสัชศาสตร์ มหาวิทยาลัยมหิดล; 2019 [เข้าถึงเมื่อ 25 พ.ค. 2566]. เข้าถึงได้จาก: https://www.hfocus.org/content/2019/10/17865
เอกภพ สิระชัยนันท์. แนวทางลดความแออัดในโรงพยาบาลเพื่อลดการแพร่กระจาย [อินเทอร์เน็ต]. กรมการแพทย์; 2020 [เข้าถึงเมื่อ 25 พ.ค. 2566]. เข้าถึงได้จาก: https://www.thainapci.org/2021/wp-content/uploads/2020/05/%E0%B9%81%E0%B8%99%E0%B8%A7%E0%B8%97%E0%B8%B2%E0%B8%87%E0%B8%A5%E0%B8%94%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B9%81%E0%B8%AD%E0%B8%AD%E0%B8%B1%E0%B8%94%E0%B9%83%E0%B8%99%E0%B8%A3%E0%B8%9E.-edited-250363.pdf
ปิยะสกล สกลสัตยาทร. ใช้ 3 ยุทธศาสตร์ลดแออัดโรงพยาบาลใหญ่ [Internet]. สำนักสารนิเทศ สำนักงานปลัดกระทรวงสาธารณสุข; 2017 [เข้าถึงเมื่อ 25 พ.ค. 2566]. เข้าถึงได้จาก: https://pr.moph.go.th/?url=pr%2Fdetail%2F2%2F04%2F117764%2F
สุขุม ก. เปิด 5 แนวทาง ลดความแออัด “โรงพยาบาล” [Internet]. สำนักงานกองทุนสนับสนุนการสร้างเสริมสุขภาพ (สสส.); 2017 [เข้าถึงเมื่อ 25 พ.ค. 2566]. เข้าถึงได้จาก: https://www.thaihealth.or.th/%E0%B9%80%E0%B8%9B%E0%B8%B4%E0%B8%94-5-%E0%B9%81%E0%B8%99%E0%B8%A7%E0%B8%97%E0%B8%B2%E0%B8%87-%E0%B8%A5%E0%B8%94%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B9%81%E0%B8%AD%E0%B8%AD%E0%B8%B1%E0%B8%94/
Ministry of Health Singapore. Ministry of Health Singapore [Internet]. Singapore: Ministry of Health Singapore; [cited 2025 Feb 10]. Available from: https://www.moh.gov.sg/
Pala-ard W. Developing an advance appointment booking system for service recipients through the Mor Prom application at Chebilang Sub-District Health Promoting Hospital, Mueang Satun District, Satun Province. J Community Public Health. 2024; 6:21-37.
Riley RD, Snell KIE, Ensor J, Burke DL, Harrell FE Jr, Moons KGM, et al. Minimum sample size for developing a multivariable prediction model: Part I - Continuous outcomes. Stat Med. 2019;38:1262–75. Available from: http://dx.doi.org/10.1002/sim.7993
Nathan TA, Cohen AD, Vinker S. A new marker of primary care utilization - annual accumulated duration of time of visits. Isr J Health Policy Res. 2017; 6(1):35. PubMed PMID: 28793928
Charlson ME, Pompei P, Ales KL, MacKenzie CR. A new method of classifying prognostic comorbidity in longitudinal studies: development and validation. J Chronic Dis. 1987;40:373-83.
Flocke SA, Frank SH, Wenger DA. Addressing multiple problems in the family practice office visit. J Fam Pract. 2001;50:211-6.
Chen LM, Farwell WR, Jha AK. Primary care visit duration and quality: does good care take longer?: Does good care take longer? Arch Intern Med [Internet]. 2009;169:1866–72.
Abbo ED, Zhang Q, Zelder M, Huang ES. The increasing number of clinical items addressed during the time of adult primary care visits. J Gen Intern Med. 2008;23:2058–65.
Tsai AG, Abbo ED, Ogden LG. The time burden of overweight and obesity in primary care. BMC Health Serv Res. 2011;11:191. PubMed PMID: 21846407
Neprash HT, Mulcahy JF, Cross DA, Gaugler JE, Golberstein E, Ganguli I. Association of primary care visit length with potentially inappropriate prescribing. JAMA Health Forum. 2023;4(3):e230052. PubMed PMID: 36897582