PurposeWhile scholarly studies focus on the role of technology in digital transformation, an important direction of research still requires examining HR-related factors in this regard specifically. This study aims to analyze factors pertaining to human and organizational resources in the context of digital transformation within healthcare enterprises. The study examines the possible impacts of organizational energy (OE) and human resource flexibility (HRF) on digital transformation (DT). The study also seeks to investigate the influence of organizational inertia (OI) on the relationships being examined, according to the theory of change principles.Design/methodology/approachThe empirical study used a survey method on 355 Mansoura University Hospitals employees, Egypt. The study data were analyzed using structural equations modeling with WarpPLS V. 8.0.FindingsThe results showed that all OE dimensions directly affected DT and HRF dimensions. Through HRF, OE indirectly affected DT. The study also found that all dimensions of OI negatively moderated the OE-DT and HRF-DT relationships. Based on the study's results, theoretical and practical implications were drawn.Originality/valueThis study develops a novel model to empirically investigate the quantitative relationships between OE, HRF, OI, and DT. This study provides an addition to understanding how human resources and organizational mechanisms work in technology-based experiments such as digital transformation and adds contributions in this regard to the health sector in particular.