Skip to content

Commit 66df146

Browse files
cazacmarinMarin
andauthored
Configure and Restrict Sample Types and Pathogen Test Types for RSV … (#13175)
* Configure and Restrict Sample Types and Pathogen Test Types for RSV #13158 * Configure and Restrict Sample Types and Pathogen Test Types for RSV #13158 - after Serviu review --------- Co-authored-by: Marin <marin@bend.md>
1 parent 247e01f commit 66df146

File tree

2 files changed

+62
-14
lines changed

2 files changed

+62
-14
lines changed

sormas-api/src/main/java/de/symeda/sormas/api/sample/PathogenTestType.java

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,38 +24,62 @@
2424

2525
public enum PathogenTestType {
2626

27+
@Diseases(value = {
28+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
2729
ANTIBODY_DETECTION,
2830
ANTIGEN_DETECTION,
2931
RAPID_TEST,
32+
@Diseases(value = {
33+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
3034
CULTURE,
35+
@Diseases(value = {
36+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
3137
HISTOPATHOLOGY,
38+
@Diseases(value = {
39+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
3240
ISOLATION,
41+
@Diseases(value = {
42+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
3343
IGM_SERUM_ANTIBODY,
44+
@Diseases(value = {
45+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
3446
IGG_SERUM_ANTIBODY,
47+
@Diseases(value = {
48+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
3549
IGA_SERUM_ANTIBODY,
3650
@Diseases(value = {
37-
Disease.CORONAVIRUS }, hide = true)
51+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
3852
INCUBATION_TIME,
3953
@Diseases(value = {
40-
Disease.CORONAVIRUS }, hide = true)
54+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
4155
INDIRECT_FLUORESCENT_ANTIBODY,
4256
@Diseases(value = {
43-
Disease.CORONAVIRUS }, hide = true)
57+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
4458
DIRECT_FLUORESCENT_ANTIBODY,
4559
@Diseases(value = {
46-
Disease.CORONAVIRUS }, hide = true)
60+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
4761
MICROSCOPY,
62+
@Diseases(value = {
63+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
4864
NEUTRALIZING_ANTIBODIES,
4965
PCR_RT_PCR,
5066
@Diseases(value = {
51-
Disease.CORONAVIRUS }, hide = true)
67+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
5268
GRAM_STAIN,
5369
@Diseases(value = {
54-
Disease.CORONAVIRUS }, hide = true)
70+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
5571
LATEX_AGGLUTINATION,
72+
@Diseases(value = {
73+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
5674
CQ_VALUE_DETECTION,
75+
@Diseases(value = {
76+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
5777
SEQUENCING,
78+
@Diseases(value = {
79+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
5880
DNA_MICROARRAY,
81+
@Diseases(value = {
82+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
5983
TMA,
6084
OTHER;
6185

sormas-api/src/main/java/de/symeda/sormas/api/sample/SampleMaterial.java

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,44 +24,68 @@
2424

2525
public enum SampleMaterial {
2626

27+
@Diseases(value = {
28+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
2729
BLOOD,
30+
@Diseases(value = {
31+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
2832
SERA,
2933
@Diseases(value = {
30-
Disease.CORONAVIRUS }, hide = true)
34+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
3135
STOOL,
3236
NASAL_SWAB,
3337
THROAT_SWAB,
38+
@Diseases(value = {
39+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
3440
NP_SWAB,
3541
@Diseases(value = {
36-
Disease.CORONAVIRUS }, hide = true)
42+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
3743
RECTAL_SWAB,
44+
@Diseases(value = {
45+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
3846
CEREBROSPINAL_FLUID,
3947
@Diseases(value = {
40-
Disease.CORONAVIRUS }, hide = true)
48+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
4149
CRUST,
50+
@Diseases(value = {
51+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
4252
TISSUE,
4353
@Diseases(value = {
44-
Disease.CORONAVIRUS }, hide = true)
54+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
4555
URINE,
4656
@Diseases(value = {
47-
Disease.CORONAVIRUS }, hide = true)
57+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
4858
CORNEA_PM,
59+
@Diseases(value = {
60+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
4961
SALIVA,
5062
@Diseases(value = {
51-
Disease.CORONAVIRUS }, hide = true)
63+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
5264
URINE_PM,
5365
@Diseases(value = {
54-
Disease.CORONAVIRUS }, hide = true)
66+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
5567
NUCHAL_SKIN_BIOPSY,
68+
@Diseases(value = {
69+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
5670
SPUTUM,
71+
@Diseases(value = {
72+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
5773
ENDOTRACHEAL_ASPIRATE,
74+
@Diseases(value = {
75+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
5876
BRONCHOALVEOLAR_LAVAGE,
5977
@Diseases(value = {
60-
Disease.CORONAVIRUS }, hide = true)
78+
Disease.CORONAVIRUS, Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
6179
BRAIN_TISSUE,
80+
@Diseases(value = {
81+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
6282
ANTERIOR_NARES_SWAB,
83+
@Diseases(value = {
84+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
6385
OP_ASPIRATE,
6486
NP_ASPIRATE,
87+
@Diseases(value = {
88+
Disease.RESPIRATORY_SYNCYTIAL_VIRUS }, hide = true)
6589
PLEURAL_FLUID,
6690
OTHER;
6791

0 commit comments

Comments
 (0)