Integration of legacy healthcare systems with new HL7 standard systems is an area of utmost importance in the overall eHealth strategy of the provincial and federal governments of Canada and several other countries. A large body of researchers from across Canada are engaged in delivering solutions such as shared Electronic Health Record, Ontario Laboratory Information System and Ontario Pharmacy System based on HL7 v3 standard. However, due to inherent complexity of HL7 v3 standard and the healthcare domain at large, successful completion of such projects is a difficult task. In this paper, we propose a well-defined framework for designing message workflow during HL7 v3 based system integration. The framework provides a behavior based classification technique for HL7 v3 Interactions that conform well with real-life healthcare transactions. The framework is assisted by a semantic web tool for extracting HL7 v3 messages from healthcare scenarios. Consequently, the proposed approach drastically reduces domaindependant and expert-dependent complexities for software professionals who perform healthcare system integration using HL7 v3 standard. HL7 v3 was a complete overhaul of its predecessor and was designed with consistency and comprehensive coverage in mind. While it has been hailed over v2 for being a "true" standard offering precision and unambiguity, the worldwide healthcare community has so far been reluctant to adopt it due to its overwhelming complexity. HL7 v3 is sufficiently comprehensive to cover the breadth and depth of healthcare domain information. It supports a wide range of areas such as patient care, patient administration, laboratory, pharmacy, diagnostic imaging, surgical procedures, insurance, accounting and clinical decision support systems. Acknowledge the receipt of a message indicate if the requested command/notification is accepted for processing.