Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 4302

Show
Ignore:
Timestamp:
05/21/08 16:44:26 (8 months ago)
Author:
catullus
Message:

Phase 2 of patient identifier validation.

Implements the Verhoeff check digit algorithm as an identifier validator. The Verhoeff algorithm catches all single errors (i.e. 'a' instead of 'b') and all transposition errors (i.e. 'ab' instead of 'ba'). See

Wagner, Neal. "Verhoeff's Decimal Error Detection". The Laws of Cryptography with Java Code. p 54. San Antonio, TX: 2003. http://www.cs.utsa.edu/~wagner/lawsbookcolor/laws.pdf

for more information.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/trunk/metadata/api/spring/applicationContext-service.xml

    r4301 r4302  
    185185                                        <bean class="org.openmrs.patient.impl.LuhnIdentifierValidator"/> 
    186186                                </entry> 
     187                                <entry> 
     188                                        <key><value>org.openmrs.patient.impl.VerhoeffIdentifierValidator</value></key> 
     189                                        <bean class="org.openmrs.patient.impl.VerhoeffIdentifierValidator"/> 
     190                                </entry> 
    187191                        </map> 
    188192                </property>