The JSON export's identifiers array now carries PMCIDs, and there is no
authoritative answer on what prefix they should use. We have shipped
PMCID:PMC7890668 as our best guess; this issue is to confirm or correct it.
What each source says
What we ship in the meantime
export.ID_PREFIXES maps pmc -> PMCID, so records read:
"identifiers": ["PMID:30690000", "PMCID:PMC6423490", "doi:10.1016/j.ejphar.2019.01.030"]
The doubled PMCID:PMC is expected — PubMed's ArticleId[@IdType="pmc"] values
already begin with PMC.
Resolving this
Settle it alongside Babel#1044, so whatever the compendium uses is what the
export emits; a mismatch means these CURIEs will not join.
Changing it is cheap and deliberately so: identifiers is derived at export and
never stored, so the fix is a one-line edit to export.ID_PREFIXES (the SQL and
validate's expected CURIEs are both derived from that mapping) plus a
re-export. No reload, no schema change.
The JSON export's
identifiersarray now carries PMCIDs, and there is noauthoritative answer on what prefix they should use. We have shipped
PMCID:PMC7890668as our best guess; this issue is to confirm or correct it.What each source says
PMC—src/prefixes.pyhasPMC = "PMC". That would make theCURIE
PMC:PMC7890668.is itself unresolved on this point, so Babel's current value is not settled either.
(our normal tie-breaker) has no PMC example.
also has no PMC example.
either prefix:
https://docmetadata.transltr.io/publications?pubids=PMC:PMC7890668&request_id=26394fad-bfd9-4e32-bb90-ef9d5044f593
What we ship in the meantime
export.ID_PREFIXESmapspmc -> PMCID, so records read:The doubled
PMCID:PMCis expected — PubMed'sArticleId[@IdType="pmc"]valuesalready begin with
PMC.Resolving this
Settle it alongside Babel#1044, so whatever the compendium uses is what the
export emits; a mismatch means these CURIEs will not join.
Changing it is cheap and deliberately so:
identifiersis derived at export andnever stored, so the fix is a one-line edit to
export.ID_PREFIXES(the SQL andvalidate's expected CURIEs are both derived from that mapping) plus are-export. No reload, no schema change.
export.ID_PREFIXESif it is notPMCIDPMC example to the spec or the README once it is decided