instruction: in 2102, how many patients were prescribed with 2 ml vial : fentanyl citrate 0.05 mg/ml ij soln during the same hospital encounter after having underwent plastic surgery consultation?
response: SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'plastic surgery consultation' AND STRFTIME('%y', treatment.treatmenttime) = '2102') AS t1 JOIN (SELECT patient.uniquepid, medication.drugstarttime, patient.patienthealthsystemstayid FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = '2 ml vial : fentanyl citrate 0.05 mg/ml ij soln' AND STRFTIME('%y', medication.drugstarttime) = '2102') AS t2 WHERE t1.treatmenttime < t2.drugstarttime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid