Skip to content

Commit

Permalink
#180: Implemented additional sample features for IDSR. Added type of …
Browse files Browse the repository at this point in the history
…sample field
  • Loading branch information
Flava177 committed Oct 14, 2024
1 parent f60880c commit 375f624
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,21 @@ private void handleIDSR() {
Disease.FOODBORNE_ILLNESS
);
getContentBinding().sampleSuspectedDisease.initializeSpinner(DataUtils.toItems(idsrSuspectedList));

List<SampleMaterial> 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);
Expand Down

0 comments on commit 375f624

Please sign in to comment.