h icon indicating copy to clipboard operation
h copied to clipboard

Normalize DOIs to enable case-insensitive search

Open judell opened this issue 5 years ago • 3 comments
trafficstars

A user reported a missing annotation at PubMed.

It's found here: https://europepmc.org/article/MED/24897079

The client API call that finds it there:

https://hypothes.is/api/search?_separate_replies=true&group=world&limit=200&offset=0&order=asc&sort=created&uri=doi%3A10.1056%2Fnejmp1401111&uri=https%3A%2F%2Feuropepmc.org%2Farticle%2FMED%2F24897079

DOI decoded: doi:10.1056/nejmp1401111

Not found here: https://pubmed.ncbi.nlm.nih.gov/24897079/

The client API call that fails to find it there:

https://hypothes.is/api/search?_separate_replies=true&group=world&limit=200&offset=0&order=asc&sort=created&uri=doi%3A10.1056%2FNEJMp1401111&uri=https%3A%2F%2Fpubmed.ncbi.nlm.nih.gov%2F24897079%2F

DOI decoded: doi:10.1056/NEJMp1401111 Not a match! (Case differs)

judell avatar Jun 30 '20 16:06 judell

We've received another pubmed issue that looks the same to me. https://hypothesis.zendesk.com/agent/tickets/11147 Also https://groups.google.com/g/hypothesis-forum/c/TPdmjFTssmk/m/BQRbR5W8CgAJ

Note that this user's annotation.id = b475456e-6e54-11ea-948e-4f62ce1a028b has document_id = 880168. I think the document_URI for this document_id has no DOI information in it.

I'm uncertain if this is the same issue as above, or a new issue. @judell @klemay

Note that this issue is because the URL has changed from ncbi.nlm.nih.gov/pubmed/* to pubmed.ncbi.nlm.nih.gov/*. It does not have to do with the https://europepmc.org site.

mkdir-washington-edu avatar Jul 07 '20 16:07 mkdir-washington-edu

The same nih.gov issue was encountered by this user: https://hypothesis.zendesk.com/agent/tickets/11001.

mkdir-washington-edu avatar Jul 08 '20 21:07 mkdir-washington-edu

@judell Is there a shortcut here where we can ask someone at PubMed to make DOIs case-sensitive in their metadata?

mkdir-washington-edu avatar Jul 08 '20 21:07 mkdir-washington-edu