h
h copied to clipboard
Normalize DOIs to enable case-insensitive search
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)
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.
The same nih.gov issue was encountered by this user: https://hypothesis.zendesk.com/agent/tickets/11001.
@judell Is there a shortcut here where we can ask someone at PubMed to make DOIs case-sensitive in their metadata?