You may have a case but to fully analyse it requires a review of your medical records to see what was the basis for the doctor diagnosing you with pancreatitis in the first place, the placement of the stent, etc. You should consult with an attorney in your area who concentrates in medical malpractice, which consult is normally free, and who can have your records reviewed by a medical expert in the appropriate fields.
Based on the information you provided, it seems as though there definitely may be a meritorious medical malpractice claim.
A medical malpractice attorney will definitely need to meet with you to discuss the particulars of your case.
FYI: IN NEW YORK, THERE IS A 2.5 YEAR STATUTE OF LIMITATIONS FROM THE DATE OF MEDICAL MALPRACTICE.
Sign up to receive a 3-part series of useful information and advice about personal injury law.