-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automate Case Details and Fields Preselection for Influenza Cases #13184 #13200
Changes from 1 commit
d79fbfa
4694a90
0bb1fc5
206e1ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -282,6 +282,7 @@ protected void addFields() { | |
facilityOrHome.setId("facilityOrHome"); | ||
facilityOrHome.setWidth(100, Unit.PERCENTAGE); | ||
CssStyles.style(facilityOrHome, ValoTheme.OPTIONGROUP_HORIZONTAL); | ||
facilityOrHome.setValue(Sets.newHashSet(TypeOfPlace.HOME)); | ||
facilityTypeGroup = ComboBoxHelper.createComboBoxV7(); | ||
facilityTypeGroup.setId("typeGroup"); | ||
facilityTypeGroup.setCaption(I18nProperties.getCaption(Captions.Facility_typeGroup)); | ||
|
@@ -550,6 +551,7 @@ private void setNoneFacility() { | |
FacilityReferenceDto noFacilityRef = FacadeProvider.getFacilityFacade().getByUuid(FacilityDto.NONE_FACILITY_UUID).toReference(); | ||
facilityCombo.addItem(noFacilityRef); | ||
facilityCombo.setValue(noFacilityRef); | ||
facilityType.setRequired(false); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why is this needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Without this line, this field will be set as required for validation. It happens only from code change. And in this case, in Validation Form, even if Place of Stay is set to |
||
} | ||
|
||
private void updateFacility() { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the changes required in the ticket should be only for Influenza cases