Vancouver with DOI, PMID and PMCID

I had a problem with the Vancouver reference for one of my projects. The presets of the Vancouver style in Zotero doesn't add the DOI, PMID and PMCID at the end of the reference in the bibliography EVEN if all these informations are available in the Zotero program. There seems to be a problem when generating a bibliography in a word document in my case, whether online or in a personnal document. For exemple:

6. Berry JA, Elia C, Saini HS, Miulli DE. A Review of Lumbar Radiculopathy, Diagnosis, and Treatment. Cureus. 2019 Oct 17;11(10):e5934.

Now with a lot of help from chatgpt and some coding, the results are as follows:

6. Berry JA, Elia C, Saini HS, Miulli DE. A Review of Lumbar Radiculopathy, Diagnosis, and Treatment. Cureus. 2019 Oct 17;11(10):e5934. doi:10.7759/cureus.5934. PMID: 31788391; PMCID: PMC6858271

The code I'll link with this message on the Github website will add a block of code at the end of the pre-existing code in Vancouver and add the doi, PMID and PMCID if available. I hope this helps some of you and maybe you can still upgrade it even more as I believe the pre-existing code of the Vancouver style is just incomplete.

https://raw.githubusercontent.com/AlexBresse/Zotero-Vancouver-with-DOI/refs/heads/main/vancouver-doi-code5.csl


Hope this was helpful!
Sign In or Register to comment.