IHTSDO / snomed-scg-parser

An Open Source Java library for parsing SNOMED Post-Coordinated expressions written in SNOMED Compositional Grammar.
Other
7 stars 4 forks source link

SNOMED CT Identifier( SCTID) check-digit validation #2

Closed SamithaS closed 6 years ago

SamithaS commented 6 years ago

Is there a support or future plan to introduce SNOMED CT Identifier( SCTID) check-digit validation with this library?

kaicode commented 6 years ago

Hi @SamithaS, there is no support and no current plan to develop support for Verhoeff check digit validation. This could be achieved using apache commons VerhoeffCheckDigit class as demonstrated here - https://github.com/IHTSDO/snomed-utilities/blob/6931f84/src/main/java/org/ihtsdo/snomed/util/SnomedUtils.java#L15 We welcome pull requests! Thanks, Kai

SamithaS commented 6 years ago

Thanks @kaicode