When a patient is thrombocytopenic, one of the things on your differential should be a drug reaction. The three drugs that are most commonly responsible for thrombocytopenia are quinine, quinidine and vancomycin (and heparin, which gets its own category - see below). There are other drugs that can do it too, which you can look up if you need to, but they're much less common culprits.
Less commonly, thrombocytopenia occurs a week or two after the start of heparin treatment; these cases are called type II thrombocytopenia and are much more dangerous. It turns out that heparin binds to platelet factor 4, which is a normal component of platelet granules. The immune system sees the heparin-platelet complex as foreign, and makes antibodies against it. Weirdly, as these antibodies bind to platelets, the platelets are activated, and patients can get life-threatening thromboses. You have to stop the heparin right away, and give another anticoagulant, otherwise the patient may lose a limb or worse, get a pulmonary embolus and die.