Jurnal Ilmiah Teknik Elektro Komputer dan Informatika (JITEKI) Vol. 7, No. 2, August 2021, pp. 296-305 ISSN: 2338-3070, DOI: 10.26555/jiteki.v7i2.21169 296 Journal homepage : http://journal.uad.ac.id/index.php/JITEKI Email : jiteki@ee.uad.ac.id Analysis and Implementation of Microservice Architecture Related to Patient Drug Schedule Based on FHIR Standard Ariq Musyaffa Ramadhani, Andrian Rakhmatsyah, Rahmat Yasirandi School of Computing Telkom University, Bandung, Indonesia ARTICLE INFO ABSTRACT Article history: Received July 20, 2021 Revised August 07, 2021 Accepted September 01, 2021 In several previous studies, smart devices have been developed to help improve a patient's medication adherence but have problems, namely data management that is not centralized and not integrated, so that mitigation is quite vulnerable. In this study, a platform was built that can manage data centrally and apply the FHIR (Fast Healthcare Interoperability Resources) health data standard. The main components used to implement the FHIR standard are resources and REST APIs. The resource is a data model that defines the structure and data elements that are exchanged. This data exchange is carried out on top of the REST API using the HTTP protocol. Platform testing uses positive/negative testing and stress testing methods to be able to see the performance of the platform. The test results show that the platform prototype can provide a response that is in accordance with the request given and has a very tolerant error value of 0% with a latency value of 3 to 22 seconds with a total of 100 to 130 users. Keywords: Centralized System; Platform; Medical Adherence; FHIR This work is licensed under a Creative Commons Attribution-Share Alike 4.0 Ariq Musyaffa Ramadhani, School of Computing, Telkom University, Bandung, Indonesia Email: ariqramadhan@student.telkomuniversity.ac.id 1. INTRODUCTION Healing of diseases such as cancer and hypertension does not only depend on skilled medical personnel but also with adherence to drug therapy but the level of awareness to consume drugs regularly is still low [1]. WHO has reported that patients who are in the long-term therapy have adherence rates of only 50% in developed countries, even lower rates in developing countries [2]. Research in [3] showed that CML patients required adherence rates of more than 90% to be able to improve treatment in cases of Imatinib use. According to a survey conducted in research [4] From 2,546 questionnaires spread across 63 countries, it shows that there are 32.7% of people whose level of adherence to taking their medication is high, 46.5% is moderate, and 20.7% is low in cases of Chronic Myelogenous Leukemia (CML). As stated in research [5], poor medication adherence can lead to a variety of conditions, namely, significant deterioration of the disease, treatment failure, and increased health care costs. In comparison, study in [6] says that low rates of medication adherence in the United States lead to an annual expenditure of $290 billion. According to research in [2], medication adherence problems can be overcome by utilizing technological developments, especially on smartphones, considering that smartphone users are estimated to reach 2 billion users. However, relying solely on reminders is not enough to increase drug adherence rates. Research [7] said that the use of reminders is not enough. Other interventions are needed to increase the level of medication adherence. According to research [3] and [1], direct monitoring from the pharmacist or doctor greatly affects the increase in the rate of adherence to taking medication. In research [8], Smart Medicine Box has been implemented, but both device configuration data and data from using the device are stored directly on the smartphone. Similar to research [8], research [9] developed a smart pill dispenser that can be connected to a smartphone as a reminder, but in this study, compliance data is only stored on smartphones. This can result in data mitigation being quite vulnerable, considering that the data stored is only on the smartphone. In research [10] has developed an IoT-based smart medicine dispenser. The developed smart medicine dispenser is connected to the internet network to be able to store medication