Fixes Diagnose Command ICD-10 Code Validation from SDK

Fixed an issue where the Diagnose command was not accepting valid ICD-10 codes when originated from the SDK.