Brian Dunning's FileMaker Custom Functions

OrcidCheckDigit ( Orcid_id ; Result ; Iterations )

Check digit calculation for ORCID author codes

  Average rating: 4.7 (25 votes) Log in to vote

Geoff Tonge   Geoff Tonge
Cambridge University Press
http://www.cambridge.org

Share on Facebook Share on Twitter

  Sample input:
OrcidCheckDigit ( "000000021694233" ; 0 ; 1 )
  Sample output:
X

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Written by Geoff Tonge - Cambridge University Press

7 May 2013, to calculate Orcid check digits

The ORCID iD is a check sum in accordance with ISO/IEC 7064:2003, MOD 11-2

ORCID (Open Researcher and Contributor ID) is a nonproprietary alphanumeric code to uniquely identify scientific and other academic authors.

The Orcid_id parameter must have all of its hyphens removed, initially Result is set to ZERO and Iterations set to ONE

It is your responsibility to make sure that the first 15 characters of the Orcid_id are all present and numeric

OrcidCheckDigit ( "000000021825009" ; 0 ;1 ) returns a check digit of 7
OrcidCheckDigit ( "000000021694233" ; 0 ;1 ) returns a check digit of X

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.