Skip to content

Commit

Permalink
Populated nameoffacility for Mpox at hospitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
Flava177 committed Jan 23, 2025
1 parent 6a92a34 commit 3d752ff
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,29 @@ public void onLayoutBinding(final FragmentCaseEditHospitalizationLayoutBinding c
null,
false);

InfrastructureFieldsDependencyHandler.instance.initializeFacilityFields(
record,
contentBinding.locationTypeRegion,
initialPlaceOfRegions,
record.getSoughtRegion(),
contentBinding.locationTypeDistrict,
initialPlaceOfDistricts,
record.getSoughtDistrict(),
contentBinding.locationTypeCommunity,
initialPlaceOfCommunities,
record.getSoughtCommunity(),
null,
null,
null,
null,
null,
null,
contentBinding.caseHospitalizationNameOfFacility,
initialPlaceOfFacilities,
record.getNameOfFacility(),
null,
false);

if (disease == Disease.MONKEYPOX) {
InfrastructureFieldsDependencyHandler.instance.initializeRegionFields(
contentBinding.locationTypeRegion,
Expand Down

0 comments on commit 3d752ff

Please sign in to comment.