I want to analyze a table with surgery operations data. For some patients, about 10%, multiple operations have been made, so there may be multiple rows for a patient in the table. My goal is to compare certain two types of operations. A patient may undergo multiple operations of one type or operations of the both types.
What are the standard approaches to the analysis? Considering each operation as a single case? Considering each patient as a single case and considering multiple operations as a confounder for each case?
To be more concrete, let us have two types of operation: type 0 and type 1. Both types can be done on each of the two arteries: the left one and the right one. One person can undergo several operations. About 10% of the patients undergo multiple operations. We register deaths during some period. So we have some longitudinal censored data for mortality. Let also the groups for the two types of operation be adjusted for all the confounders.
How can we compare mortality for the two types of operation?