I asked medical librarians to share examples of being thanked in articles and I got such a wonderful reply. Links to many of the articles are on this NCBI list [because you all are amazing, it’s a long list!]:

https://www.ncbi.nlm.nih.gov/sites/myncbi/1FcF9td1R2h/collections/52786103/public/

Some of the other replies I got are here. Do feel free to contact me if you’d like more details, I will save the sources from the emails I got:

-Rich, M, & Lavallee, K. The Mediatrician’s advice for today’s media mentors. In: Donohue, C. Family engagement in the digital age: Early childhood educators as media mentors. New York, NY: Routledge; 2017.
–“We gratefully acknowledge the input of Jill R. Kavanaugh, MLIS, who constructed and performed the literature search and provided suggestions throughout the process of developing this chapter.”
-Rubenzahl, R, Lavallee, K & Rich, M. Using technology and media in early childhood settings. In: Lesaux N & Jones S. The Leading Edge of Early Childhood Education:
Linking Science to Policy for a New Generation. Cambridge, MA: Harvard Education Press; 2016.
–“We gratefully acknowledge the input of Jill R. Kavanaugh, MLIS, who constructed and performed the literature search and provided suggestions throughout the process of developing this chapter.”
-Bickham, DS, Hswen, Y, & Rich, M. (2015). Media use and depression: exposure, household rules, and symptoms among young adolescents in the USA. International journal of public health, 60(2), 147-155.
–“The authors would like to thank Jill Kavanaugh, MLIS and Lauren Rubenzahl, EdM for their assistance with this article.”
“We would like to express our appreciation to the Medial Librarian at Phoenix Children’s Hospital, Kathy Zeblisky, for her help in identifying and gathering the updated research in this edition.  Despite the ease of Internet searching, professional librarians are still essential to ensure a thorough search and full access to resources”.

“Wong, K.C. (2016). Correlation between serum lactate dehydrogenase (LDH) and seizure – an observation in clinical cases. International Journal of Advances in Science, Engineering and Technology, 4(1, Spl. Iss-2), 99-103.

“I would like to thank Frances Guinness, Librarian at Bathurst & Orange Health Service Libraries at New South Wales, Australia, for her assistance in obtaining some relevant published articles cited in the references”
And the Library in this one:
Drabsch, T. (2015), Rural collaborative guideline implementation: Evaluation of a hub and spoke multidisciplinary team model of care for orthogeriatric inpatients – A before and after study of adherence to clinical practice guidelines. Aust J Rural Health, 23: 80–86. doi:10.1111/ajr.12139
“…and the Orange Health Service library staff who so efficiently helped the author access literature.” “
A few more here.