REVENUE AND SEGMENT REPORTING | REVENUE AND SEGMENT REPORTINGOperating segments are the individual operations that the chief operating decision maker ("CODM"), who is our chief executive officer, reviews for purposes of assessing performance and making resource allocation decisions. The CODM currently receives the monthly management report which includes information to assess performance. The retail pharmacy services and pharmacy technology operating segments both engage in different business activities from which they earn revenues and incur expenses. The Company has the following two reportable segments: Retail Pharmacy Services Segment Retail pharmacy services segment revenue consists of products sold directly to consumers at the point of sale. MedAvail recognizes retail pharmacy sales revenue, net of taxes and expected returns, at the time it sells merchandise or dispenses prescription drugs to the customer. The Company estimates revenue based on expected reimbursements from third-party payers (e.g., pharmacy benefit managers, insurance companies and governmental agencies) for dispensing prescription drugs. The estimates are based on all available information including historical experience and are updated to actual reimbursement amounts. Pharmacy Technology Segment The pharmacy technology segment consists of sales and subscriptions of MedPlatform systems to customers. These agreements include providing the MedCenter prescription dispensing kiosk, software, and maintenance services. This generally includes either an initial lump sum payment upon installation of the MedCenter with monthly payments for software and services following, or monthly payments for the MedCenter along with monthly payments for software and maintenance services for subscription agreements. In September 2020, the Company and a significant customer agreed that MedAvail had no further obligation to the customer and therefore would have no additional deliverables related to the contract liability balance, of which $4.7 million was outstanding as of December 31, 2019. As such, the Company recognized $4.7 million of revenue related to this contract during 2020. The contract revenue recognized consisted of $1.5 million of hardware sales revenue and $3.2 million of software integration for contract obligations for software programming and hardware development that were in progress but not completed. The following table presents sales and costs of sales by segment, in thousands: Retail Pharmacy Services Pharmacy Technology Total Three Months Ended September 30, 2021 Sales: Pharmacy and hardware sales: Retail pharmacy sales $ 5,445 $ — $ 5,445 Hardware — 106 106 Subscription sales — 108 108 Total pharmacy and hardware sales 5,445 214 5,659 Service sales: Software integration — — — Software — 51 51 Maintenance and support — 44 44 Installation — 11 11 Professional services and other — 27 27 Total service sales — 133 133 Total sales 5,445 347 5,792 Cost of sales 5,366 240 5,606 Gross profit $ 79 $ 107 $ 186 Retail Pharmacy Services Pharmacy Technology (1) Total Three Months Ended September 30, 2020 Sales: Pharmacy and hardware sales: Retail pharmacy sales $ 2,186 $ — $ 2,186 Hardware — 1,625 1,625 Subscription sales — 115 115 Total pharmacy and hardware sales 2,186 1,740 3,926 Service sales: Software integration — 3,168 3,168 Software — 15 15 Maintenance and support — 17 17 Installation — — — Professional services and other — 19 19 Total service sales — 3,219 3,219 Total sales 2,186 4,959 7,145 Cost of sales 2,042 120 2,162 Gross profit $ 144 $ 4,839 $ 4,983 (1) Includes $1.5 million of hardware sales and $3.2 million of software integration sales associated with a non-recurring commercial agreement . Retail Pharmacy Services Pharmacy Technology Total Nine Months Ended September 30, 2021 Sales: Pharmacy and hardware sales: Retail pharmacy sales $ 13,357 $ — $ 13,357 Hardware — 470 470 Subscription sales — 338 338 Total pharmacy and hardware sales 13,357 808 14,165 Service sales: Software integration — — — Software — 125 125 Maintenance and support — 115 115 Installation — 39 39 Professional services and other — 405 405 Total service sales — 684 684 Total sales 13,357 1,492 14,849 Cost of sales 13,130 1,040 14,170 Gross profit $ 227 $ 452 $ 679 Retail Pharmacy Services Pharmacy Technology (1) Total Nine Months Ended September 30, 2020 Sales: Pharmacy and hardware sales: Retail pharmacy sales $ 5,196 $ — $ 5,196 Hardware — 2,048 2,048 Subscription sales — 343 343 Total pharmacy and hardware sales 5,196 2,391 7,587 Service sales: Software integration — 3,168 3,168 Software — 25 25 Maintenance and support — 40 40 Installation — 28 28 Professional services and other — 20 20 Total service sales — 3,281 3,281 Total sales 5,196 5,672 10,868 Cost of sales 5,059 400 5,459 Gross profit $ 137 $ 5,272 $ 5,409 (1) Includes $1.5 million of hardware sales and $3.2 million of software integration sales associated with a non-recurring commercial agreement. The following table presents assets and liabilities by segment, in thousands: Retail Pharmacy Services Pharmacy Technology Corporate Total September 30, 2021 Assets $ 11,867 $ 4,740 $ 35,490 $ 52,097 Liabilities $ 5,976 $ 4,108 $ 10,795 $ 20,879 December 31, 2020 Assets $ 6,012 $ 5,547 $ 57,772 $ 69,331 Liabilities $ 2,203 $ 3,422 $ 2,639 $ 8,264 The following table presents long-lived assets, which include property, plant, and equipment and right-of-use-assets by geographic region, based on the physical location of the assets, in thousands: September 30, December 31, 2021 2020 Long-lived assets: United States $ 7,108 $ 4,533 Canada 426 501 Total long-lived assets $ 7,534 $ 5,034 |