@@ -73,19 +73,19 @@ public List<VocabularyValidationResult> validateNode(ConfiguredValidator configu
73
73
nodeValidationResult .setCodeSystemFound (true );
74
74
if (codeRepository .foundCodeInCodesystems (nodeCode , allowedConfiguredCodeSystemNames )){
75
75
nodeValidationResult .setNodeCodeFound (true );
76
- try {
77
- if (!codeRepository .codeIsActive (nodeCode , allowedConfiguredCodeSystemNames )) {
78
- nodeValidationResult .setNodeCodeIsActive (false );
79
- }
80
- } catch (NonUniqueResultException nonUniqueResultException ) {
81
- nodeValidationResult .setNodeCodeIsActive (false );
82
- logger .error (
83
- "The following error was encountered when trying to check codeRepository.codeIsActive(...). "
84
- + "It will be handled internally and considered inactive as the source is likely corrupt "
85
- + "since it is returning multiple values." ,
86
- nonUniqueResultException );
76
+ try {
77
+ if (!codeRepository .codeIsActive (nodeCode , allowedConfiguredCodeSystemNames )) {
78
+ nodeValidationResult .setNodeCodeIsActive (false );
79
+ }
80
+ } catch (NonUniqueResultException nonUniqueResultException ) {
81
+ nodeValidationResult .setNodeCodeIsActive (false );
82
+ logger .error (
83
+ "The following error was encountered when trying to check codeRepository.codeIsActive(...). "
84
+ + "It will be handled internally and considered inactive as the source is likely corrupt "
85
+ + "since it is returning multiple values." ,
86
+ nonUniqueResultException );
87
87
88
- }
88
+ }
89
89
}
90
90
if (codeRepository .foundDisplayNameInCodesystems (nodeDisplayName , allowedConfiguredCodeSystemNames )){
91
91
nodeValidationResult .setNodeDisplayNameFound (true );
0 commit comments