We present a novel method for building cloud based interoperable electronic health record (EHR) systems. All members of the healthcare ecosystem, including patients, providers, and payers, can benefit from cloud computing in a number of ways. The exchange of healthcare information among diverse stakeholders has been significantly hampered by the lack of standardised data interoperability. In order to solve this problem, semantic interoperability is used. With the use of a reference model that outlines a common set of data structures and an archetype model that details the characteristics of clinical data, we employ a general design technique. The loosely connected, asynchronously communicating components of the application are created utilising the cloud component model technique. This article discusses our methods for attaining semantic interoperability, data integration, and high-level architecture of our EHR system.