The permissible value for the SCTIDs are limited by the following rules:
The only valid string renderings of the identifier value are String of decimal digits (0-9), commencing with a non zero digit.
The second and third digits from the right hand end of the string rendering of the identifier must match one of the partition-identifier values specified in this guide.
The rightmost digit of the string rendering is a check-digit and must match the value calculated using the specified check-digit computation.
As a result of these rules, many 64-bit integers are not valid SCTIDs. The value limitations enable any valid SCTID to be stored in either a signed or unsigned 64-bit integer.
The rules also ensure that an SCTID can be distinguished from code from one of the antecedent code systems Read Codes(which are 4 or 5 characters in length) and legacy Identifiers from SNOMED RT and it predecessors (which always start with a letter).
SNOMED RT identifiers are SCTIDs identical to those used in SNOMED CT but in some cases will now refer to inactive concepts. In these cases, data in the 900000000000489007 | Concept inactivation indicator reference set| and 900000000000522004 | Historical association reference set| can be used to find the identifier of the closest equivalent active concept.
It is recommended that you specify a 64-bit integer type for representing SCTIDs rather than using a default numeric data type. Where a 64-bit integer data type is not available, please use a string data type to represent the SCTIDs.