diff --git a/sormas-app/app/src/main/java/de/symeda/sormas/app/sample/edit/SampleEditFragment.java b/sormas-app/app/src/main/java/de/symeda/sormas/app/sample/edit/SampleEditFragment.java index ea3ae4ac2eb..84df7991d89 100644 --- a/sormas-app/app/src/main/java/de/symeda/sormas/app/sample/edit/SampleEditFragment.java +++ b/sormas-app/app/src/main/java/de/symeda/sormas/app/sample/edit/SampleEditFragment.java @@ -509,6 +509,21 @@ private void handleIDSR() { Disease.FOODBORNE_ILLNESS ); getContentBinding().sampleSuspectedDisease.initializeSpinner(DataUtils.toItems(idsrSuspectedList)); + + List idsrSampleMaterialList = Arrays.asList( + SampleMaterial.BLOOD, + SampleMaterial.PLASMA, + SampleMaterial.SERUM, + SampleMaterial.ASPIRATE, + SampleMaterial.CEREBROSPINAL_FLUID, + SampleMaterial.PUS, + SampleMaterial.SALIVA, + SampleMaterial.BIOPSY, + SampleMaterial.STOOL + ); + + getContentBinding().sampleSampleMaterial.initializeSpinner(DataUtils.toItems(idsrSampleMaterialList)); + getContentBinding().samplePurpose.setValue(SamplePurpose.EXTERNAL); getContentBinding().samplePurpose.setVisibility(GONE); getContentBinding().samplePathogenTestingRequested.setVisibility(GONE);