@@ -201,13 +201,15 @@ public enum PathogenTestType {
201201 Q_PCR ,
202202
203203 @ Diseases (value = {
204- Disease .SHIGELLOSIS }, hide = true )
204+ Disease .SHIGELLOSIS ,
205+ Disease .DENGUE }, hide = true )
205206 @ PathogenTestCategoryRel (PathogenTestCategory .MOLECULAR_ASSAYS )
206207 @ ResultValueTypeRel (ResultValueType .QUALITATIVE )
207208 MULTIPLEX_PCR ,
208209
209210 @ Diseases (value = {
210- Disease .SHIGELLOSIS }, hide = true )
211+ Disease .SHIGELLOSIS ,
212+ Disease .DENGUE }, hide = true )
211213 @ PathogenTestCategoryRel (PathogenTestCategory .MOLECULAR_ASSAYS )
212214 @ ResultValueTypeRel ({
213215 ResultValueType .QUALITATIVE ,
@@ -221,7 +223,8 @@ public enum PathogenTestType {
221223 LAMP ,
222224
223225 @ Diseases (value = {
224- Disease .SHIGELLOSIS }, hide = true )
226+ Disease .SHIGELLOSIS ,
227+ Disease .DENGUE }, hide = true )
225228 @ PathogenTestCategoryRel (PathogenTestCategory .MOLECULAR_ASSAYS )
226229 @ ResultValueTypeRel (ResultValueType .QUALITATIVE )
227230 NASBA ,
@@ -242,19 +245,22 @@ public enum PathogenTestType {
242245 TMA ,
243246
244247 @ Diseases (value = {
245- Disease .SHIGELLOSIS }, hide = true )
248+ Disease .SHIGELLOSIS ,
249+ Disease .DENGUE }, hide = true )
246250 @ PathogenTestCategoryRel (PathogenTestCategory .MOLECULAR_ASSAYS )
247251 @ ResultValueTypeRel (ResultValueType .QUALITATIVE )
248252 CRISPR_DIAGNOSTICS ,
249253
250254 @ Diseases (value = {
251- Disease .SHIGELLOSIS }, hide = true )
255+ Disease .SHIGELLOSIS ,
256+ Disease .DENGUE }, hide = true )
252257 @ PathogenTestCategoryRel (PathogenTestCategory .MOLECULAR_ASSAYS )
253258 @ ResultValueTypeRel (ResultValueType .BOOLEAN )
254259 LINE_PROBE_ASSAY ,
255260
256261 @ Diseases (value = {
257- Disease .SHIGELLOSIS }, hide = true )
262+ Disease .SHIGELLOSIS ,
263+ Disease .DENGUE }, hide = true )
258264 @ PathogenTestCategoryRel (PathogenTestCategory .MOLECULAR_ASSAYS )
259265 @ ResultValueTypeRel (ResultValueType .TEXT )
260266 SANGER_SEQUENCING ,
@@ -426,7 +432,8 @@ public enum PathogenTestType {
426432
427433 @ Diseases (value = {
428434 Disease .SALMONELLOSIS ,
429- Disease .SHIGELLOSIS }, hide = true )
435+ Disease .SHIGELLOSIS ,
436+ Disease .DENGUE }, hide = true )
430437 @ PathogenTestCategoryRel (PathogenTestCategory .SEROLOGICAL_TESTS )
431438 @ ResultValueTypeRel (ResultValueType .QUALITATIVE )
432439 RAPID_ANTIBODY_TEST ,
@@ -436,7 +443,8 @@ public enum PathogenTestType {
436443 // ----------------------------------------------------------------------------------------------
437444
438445 @ Diseases (value = {
439- Disease .RESPIRATORY_SYNCYTIAL_VIRUS })
446+ Disease .RESPIRATORY_SYNCYTIAL_VIRUS ,
447+ Disease .DENGUE })
440448 @ PathogenTestCategoryRel (PathogenTestCategory .ANTIGEN_DETECTION )
441449 @ ResultValueTypeRel (ResultValueType .QUALITATIVE )
442450 RAPID_ANTIGEN_DETECTION ,
@@ -448,13 +456,15 @@ public enum PathogenTestType {
448456 RAPID_TEST ,
449457
450458 @ Diseases (value = {
451- Disease .SHIGELLOSIS }, hide = true )
459+ Disease .SHIGELLOSIS ,
460+ Disease .DENGUE }, hide = true )
452461 @ PathogenTestCategoryRel (PathogenTestCategory .ANTIGEN_DETECTION )
453462 @ ResultValueTypeRel (ResultValueType .QUALITATIVE )
454463 LATERAL_FLOW_ASSAY ,
455464
456465 @ Diseases (value = {
457- Disease .SHIGELLOSIS }, hide = true )
466+ Disease .SHIGELLOSIS ,
467+ Disease .DENGUE }, hide = true )
458468 @ PathogenTestCategoryRel (PathogenTestCategory .ANTIGEN_DETECTION )
459469 @ ResultValueTypeRel (ResultValueType .QUALITATIVE )
460470 IMMUNOFLUORESCENCE_ASSAY ,
@@ -467,13 +477,15 @@ public enum PathogenTestType {
467477 SLIDE_AGGLUTINATION ,
468478
469479 @ Diseases (value = {
470- Disease .SHIGELLOSIS }, hide = true )
480+ Disease .SHIGELLOSIS ,
481+ Disease .DENGUE }, hide = true )
471482 @ PathogenTestCategoryRel (PathogenTestCategory .ANTIGEN_DETECTION )
472483 @ ResultValueTypeRel (ResultValueType .QUALITATIVE )
473484 QUELLUNG_REACTION ,
474485
475486 @ Diseases (value = {
476- Disease .SHIGELLOSIS }, hide = true )
487+ Disease .SHIGELLOSIS ,
488+ Disease .DENGUE }, hide = true )
477489 @ PathogenTestCategoryRel (PathogenTestCategory .ANTIGEN_DETECTION )
478490 @ ResultValueTypeRel (ResultValueType .TEXT )
479491 HEMAGGLUTINATION_INHIBITION ,
@@ -513,7 +525,8 @@ public enum PathogenTestType {
513525 FUNGAL_CULTURE ,
514526
515527 @ Diseases (value = {
516- Disease .SHIGELLOSIS }, hide = true )
528+ Disease .SHIGELLOSIS ,
529+ Disease .DENGUE }, hide = true )
517530 @ PathogenTestCategoryRel (PathogenTestCategory .CULTURE_AND_ISOLATION )
518531 @ ResultValueTypeRel (ResultValueType .TEXT )
519532 MALDI_TOF ,
@@ -546,21 +559,24 @@ public enum PathogenTestType {
546559
547560 @ Diseases (value = {
548561 Disease .SALMONELLOSIS ,
549- Disease .SHIGELLOSIS }, hide = true )
562+ Disease .SHIGELLOSIS ,
563+ Disease .DENGUE }, hide = true )
550564 @ PathogenTestCategoryRel (PathogenTestCategory .MICROSCOPY_AND_STAINING )
551565 @ ResultValueTypeRel (ResultValueType .SMEAR_GRADE )
552566 ACID_FAST_STAIN ,
553567
554568 @ Diseases (value = {
555569 Disease .SALMONELLOSIS ,
556- Disease .SHIGELLOSIS }, hide = true )
570+ Disease .SHIGELLOSIS ,
571+ Disease .DENGUE }, hide = true )
557572 @ PathogenTestCategoryRel (PathogenTestCategory .MICROSCOPY_AND_STAINING )
558573 @ ResultValueTypeRel (ResultValueType .QUALITATIVE )
559574 DARK_FIELD_MICROSCOPY ,
560575
561576 @ Diseases (value = {
562577 Disease .SALMONELLOSIS ,
563- Disease .SHIGELLOSIS }, hide = true )
578+ Disease .SHIGELLOSIS ,
579+ Disease .DENGUE }, hide = true )
564580 @ PathogenTestCategoryRel (PathogenTestCategory .MICROSCOPY_AND_STAINING )
565581 @ ResultValueTypeRel ({
566582 ResultValueType .QUALITATIVE ,
@@ -584,7 +600,8 @@ public enum PathogenTestType {
584600
585601 @ Diseases (value = {
586602 Disease .SALMONELLOSIS ,
587- Disease .SHIGELLOSIS }, hide = true )
603+ Disease .SHIGELLOSIS ,
604+ Disease .DENGUE }, hide = true )
588605 @ PathogenTestCategoryRel (PathogenTestCategory .MICROSCOPY_AND_STAINING )
589606 @ ResultValueTypeRel ({
590607 ResultValueType .QUALITATIVE ,
@@ -593,21 +610,24 @@ public enum PathogenTestType {
593610
594611 @ Diseases (value = {
595612 Disease .SALMONELLOSIS ,
596- Disease .SHIGELLOSIS }, hide = true )
613+ Disease .SHIGELLOSIS ,
614+ Disease .DENGUE }, hide = true )
597615 @ PathogenTestCategoryRel (PathogenTestCategory .MICROSCOPY_AND_STAINING )
598616 @ ResultValueTypeRel (ResultValueType .QUALITATIVE )
599617 IMMUNOHISTOCHEMISTRY ,
600618
601619 @ Diseases (value = {
602620 Disease .SALMONELLOSIS ,
603- Disease .SHIGELLOSIS }, hide = true )
621+ Disease .SHIGELLOSIS ,
622+ Disease .DENGUE }, hide = true )
604623 @ PathogenTestCategoryRel (PathogenTestCategory .MICROSCOPY_AND_STAINING )
605624 @ ResultValueTypeRel (ResultValueType .QUALITATIVE )
606625 ELECTRON_MICROSCOPY ,
607626
608627 @ Diseases (value = {
609628 Disease .SALMONELLOSIS ,
610- Disease .SHIGELLOSIS }, hide = true )
629+ Disease .SHIGELLOSIS ,
630+ Disease .DENGUE }, hide = true )
611631 @ PathogenTestCategoryRel (PathogenTestCategory .MICROSCOPY_AND_STAINING )
612632 @ ResultValueTypeRel ({
613633 ResultValueType .QUALITATIVE ,
@@ -650,7 +670,8 @@ public enum PathogenTestType {
650670
651671 @ Diseases (value = {
652672 Disease .SALMONELLOSIS ,
653- Disease .SHIGELLOSIS }, hide = true )
673+ Disease .SHIGELLOSIS ,
674+ Disease .DENGUE }, hide = true )
654675 @ PathogenTestCategoryRel (PathogenTestCategory .ANTIMICROBIAL_SUSCEPTIBILITY_TESTING )
655676 @ ResultValueTypeRel (ResultValueType .BOOLEAN )
656677 GENOTYPIC_RESISTANCE_TEST ,
@@ -677,7 +698,8 @@ public enum PathogenTestType {
677698 @ ResultValueTypeRel (ResultValueType .NUMERIC )
678699 @ Diseases (value = {
679700 Disease .SALMONELLOSIS ,
680- Disease .SHIGELLOSIS }, hide = true )
701+ Disease .SHIGELLOSIS ,
702+ Disease .DENGUE }, hide = true )
681703 FLOW_CYTOMETRY ,
682704
683705 // ----------------------------------------------------------------------------------------------
@@ -829,18 +851,19 @@ public static boolean isSelectableForNewTests(PathogenTestType testType) {
829851 * the generic numeric value/unit fields when the Cq input applies. Both call sites must use this method so
830852 * the rule cannot drift.
831853 *
832- * <p>The Cq input applies for {@code PCR_RT_PCR}, {@code CQ_VALUE_DETECTION}, or {@code Q_PCR} on Malaria
854+ * <p>
855+ * The Cq input applies for {@code PCR_RT_PCR}, {@code CQ_VALUE_DETECTION}, or {@code Q_PCR} on Malaria
833856 * — except for Tuberculosis, which historically does not offer a Cq value.
834857 *
835- * @param disease the tested disease (may be {@code null})
836- * @param testType the test method (may be {@code null})
858+ * @param disease
859+ * the tested disease (may be {@code null})
860+ * @param testType
861+ * the test method (may be {@code null})
837862 */
838863 public static boolean cqInputApplies (Disease disease , PathogenTestType testType ) {
839864 if (disease == Disease .TUBERCULOSIS ) {
840865 return false ;
841866 }
842- return testType == PCR_RT_PCR
843- || testType == CQ_VALUE_DETECTION
844- || (disease == Disease .MALARIA && testType == Q_PCR );
867+ return testType == PCR_RT_PCR || testType == CQ_VALUE_DETECTION || (disease == Disease .MALARIA && testType == Q_PCR );
845868 }
846869}
0 commit comments