@argusoft/medplat-app-shell 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +139 -141
- package/src/GlobalErrorBoundary.jsx +31 -0
- package/src/SilentErrorFallback.jsx +68 -0
- package/src/TrackingProviderWrapper.jsx +40 -0
- package/src/_tests_/__mocks__/MockTranslationProvider.jsx +21 -0
- package/src/_tests_/__mocks__/ckeditor.js +45 -0
- package/src/_tests_/__mocks__/fileMock.js +1 -0
- package/src/_tests_/__mocks__/useranalytics.js +5 -0
- package/src/_tests_/views/components/Dashboard/DashboardUI.test.jsx +137 -0
- package/src/_tests_/views/components/Dashboard/DashboardUIMock.js +877 -0
- package/src/_tests_/views/components/ForgotPassword/ForgotPassword.test.jsx +314 -0
- package/src/_tests_/views/components/LocationDirective/LocationDirective.test.jsx.disable +229 -0
- package/src/_tests_/views/components/LocationDirective/mockLocationDirective.js +810 -0
- package/src/_tests_/views/components/LocationType/MockLocationType.js +42259 -0
- package/src/_tests_/views/components/LocationType/addlocationtype.test.jsx.disable +276 -0
- package/src/_tests_/views/components/LocationType/editlocationtype.test.jsx.disable +262 -0
- package/src/_tests_/views/components/LocationType/locationtype.test.jsx.disable +148 -0
- package/src/_tests_/views/components/Profile/UpdateProfileModalData.js +4396 -0
- package/src/_tests_/views/components/Profile/updateprofilemodal.test.jsx +282 -0
- package/src/_tests_/views/components/SideBar/MockSideBar.js +1379 -0
- package/src/_tests_/views/components/SideBar/SideBar.test.jsx +98 -0
- package/src/_tests_/views/components/SystemConfig/ManageSystemConfig/AddManageSystemConfig.test.jsx.disable +164 -0
- package/src/_tests_/views/components/SystemConfig/ManageSystemConfig/UpdateManageSystemConfig.test.jsx.disable +157 -0
- package/src/_tests_/views/components/SystemConfig/MockSystemConfig.js +1280 -0
- package/src/_tests_/views/components/SystemConfig/SystemConfig.test.jsx.disable +165 -0
- package/src/_tests_/views/components/login/Login.test.jsx +276 -0
- package/src/_tests_/views/components/login/MockAuthorise.js +2414 -0
- package/src/_tests_/views/components/login/ServiceResponse.js +595 -0
- package/src/_tests_/views/components/user/MockManageUser.js +7965 -0
- package/src/_tests_/views/components/user/manageuser.test.jsx.disable +989 -0
- package/src/_tests_/views/components/user/mockUsersData.js +582 -0
- package/src/assets/img/OASISLogin.png +0 -0
- package/src/assets/img/bahaarNew.png +0 -0
- package/src/assets/img/dnhdd4K.png +0 -0
- package/src/assets/img/govtofup.png +0 -0
- package/src/assets/img/sewarural4K.png +0 -0
- package/src/assets/img/techo4K.png +0 -0
- package/src/assets/img/up4K.png +0 -0
- package/src/common/HolidayList.jsx +573 -0
- package/src/common/MalaciaousInputUtil.js +23 -0
- package/src/common/SafeHtml.jsx +17 -0
- package/src/common/VersionManager.jsx +109 -0
- package/src/common/constants/PerformanceDashboard.js +514 -0
- package/src/common/constants/app.constant.js +781 -0
- package/src/common/constants/cccVerificationConstants.js +18 -0
- package/src/common/constants/fhsrConstant.js +33 -0
- package/src/common/constants/gvk-verification.constant.js +76 -0
- package/src/common/constants/search.constant.js +23 -0
- package/src/common/constants/teleconsulatationConstant.jsx +1339 -0
- package/src/common/directives/SearchTemplate.jsx +784 -0
- package/src/common/directives/SearchTemplate.scss +14 -0
- package/src/common/dynamicView/DynamicView.jsx +353 -0
- package/src/common/dynamicView/InputFieldComponent.jsx +1501 -0
- package/src/common/dynamicView/InputViewComponent.jsx +298 -0
- package/src/common/dynamicView/InputViewComponent.scss +15 -0
- package/src/common/env.js +5 -0
- package/src/common/filters/locationNameFilter.js +26 -0
- package/src/common/fontAwesomeIcons/FontAwesomeIcons.jsx +27 -0
- package/src/common/fontAwesomeIcons/FontAwesomeIconsNames.js +1968 -0
- package/src/common/fontPreferences/fontSizeProvider.jsx +34 -0
- package/src/common/fontPreferences/fontSizeSelector.jsx +116 -0
- package/src/common/getAssignedFeature/getAssignedFeature.js +32 -0
- package/src/common/interceptors/AxiosInterceptor.js +216 -0
- package/src/common/languageTranslator/TranslationContext.js +5 -0
- package/src/common/languageTranslator/TranslationProvider.jsx +24 -0
- package/src/common/languageTranslator/i18n.js +49 -0
- package/src/common/services/AuthenticateService.js +116 -0
- package/src/common/services/DownloadFile.js +35 -0
- package/src/common/services/ForgotPassword.js +18 -0
- package/src/common/services/FormConfiguratorService.js +195 -0
- package/src/common/services/GlobalApis.js +84 -0
- package/src/common/services/InterceptorNavigationService.js +17 -0
- package/src/common/services/LocationService.js +65 -0
- package/src/common/services/LocationType.js +11 -0
- package/src/common/services/QueryBuilder.js +36 -0
- package/src/common/services/Roles.js +28 -0
- package/src/common/services/SyncWithServer.js +15 -0
- package/src/common/services/SystemConfig.js +15 -0
- package/src/common/services/TranslationService.js +70 -0
- package/src/common/services/TwoFactorService.js +7 -0
- package/src/common/services/Users.js +91 -0
- package/src/common/services/Webtasks.js +27 -0
- package/src/common/services/util/Convert-pad-data-to-API-format.jsx +167 -0
- package/src/common/services/util/Convert-to-UI-format.jsx +82 -0
- package/src/common/services/util/EmptyPrescriptionPadData.jsx +11 -0
- package/src/common/services/util/GeneralUtil.js +456 -0
- package/src/common/services/util/Prescription-pad-util.js +339 -0
- package/src/common/services/util/PrescriptionPadData.js +67 -0
- package/src/common/services/util/PrescriptionpadCommonUtil.js +96 -0
- package/src/common/services/util/ReportFieldUtil.jsx +398 -0
- package/src/common/services/util/WebSocketContext.jsx +261 -0
- package/src/common/syncWithServer/SyncWithServerDialog.jsx +170 -0
- package/src/common/syncWithServer/SyncWithServerDialogSkeleton.jsx +67 -0
- package/src/common/tests/CustomWrapper.jsx +49 -0
- package/src/common/tests/TranslationWrapper.jsx +38 -0
- package/src/common/themeProvider/ColorInputs.jsx +97 -0
- package/src/common/themeProvider/EditableColorInput.jsx +128 -0
- package/src/common/themeProvider/ThemeEditor.jsx +319 -0
- package/src/common/themeProvider/ThemeProvider.jsx +210 -0
- package/src/common/themeProvider/themeConfig.js +558 -0
- package/src/common/toaster/toaster.jsx +30 -0
- package/src/firebaseConfig.js +24 -0
- package/src/global.scss +221 -0
- package/src/hooks/.gitkeep +0 -0
- package/src/hooks/useAESEncryption.js +56 -0
- package/src/hooks/useCaching.js +43 -0
- package/src/hooks/useDebounce.js +34 -0
- package/src/hooks/useDebounceFn.js +50 -0
- package/src/hooks/useDownloadPdf.js +358 -0
- package/src/hooks/useDownloadXlsx.js +55 -0
- package/src/hooks/useListValueFieldValues.js +30 -0
- package/src/hooks/useLocationHierarchies.js +63 -0
- package/src/hooks/useLocationHierarchyTranslate.js +16 -0
- package/src/hooks/useOnline.js +27 -0
- package/src/hooks/usePagination.js +63 -0
- package/src/hooks/useRefreshToken.js +87 -0
- package/src/hooks/useScript.js +25 -0
- package/src/hooks/useStopwatch.js +75 -0
- package/src/hooks/useTrackEvent.js +22 -0
- package/src/hooks/useWebAudioRecorder.js +115 -0
- package/src/layout/LoaderComponet.jsx +22 -0
- package/src/layout/LoaderContext.jsx +29 -0
- package/src/layout/mainLayout/AdaptiveZoom.jsx +27 -0
- package/src/layout/mainLayout/Chatbot.jsx +243 -0
- package/src/layout/mainLayout/Layout.jsx +445 -0
- package/src/layout/mainLayout/Profile/UpdateProfileModal.jsx +684 -0
- package/src/layout/mainLayout/header/LogoutModal.jsx +131 -0
- package/src/layout/mainLayout/header/Navbar.jsx +1677 -0
- package/src/layout/mainLayout/header/Navbar.scss +4 -0
- package/src/layout/mainLayout/header/index.js +0 -0
- package/src/layout/mainLayout/sidebar/SideBar.jsx +1402 -0
- package/src/layout/mainLayout/sidebar/Sidebar.css +159 -0
- package/src/layout/mainLayout/sidebar/index.js +0 -0
- package/src/logo.svg +1 -0
- package/src/reportWebVitals.js +13 -0
- package/src/setupFirebaseMessaging.js +28 -0
- package/src/setupTests.js +8 -0
- package/src/store/actions/AuthenticationActions.js +0 -0
- package/src/store/actions/ReportsActions.js +0 -0
- package/src/store/actions/TranslationAction.js +0 -0
- package/src/store/index.js +8 -0
- package/src/store/reducer.js +46 -0
- package/src/store/reducers/AuthenticationReducer.js +50 -0
- package/src/store/reducers/CalendarEventReducer.js +41 -0
- package/src/store/reducers/ConditionClipboardReducer.js +45 -0
- package/src/store/reducers/FeatureReducer.js +27 -0
- package/src/store/reducers/FormConfiguratorReducer.js +38 -0
- package/src/store/reducers/LoadingReducer.js +20 -0
- package/src/store/reducers/MembersAuthenticationReducer.js +28 -0
- package/src/store/reducers/PrescriptionPadReducer.js +329 -0
- package/src/store/reducers/QuestionaireReducer.js +29 -0
- package/src/store/reducers/ReportsReducer.js +24 -0
- package/src/store/reducers/SkeletonReducer.js +20 -0
- package/src/store/reducers/ThemeReducer.js +106 -0
- package/src/store/reducers/TranslationReducer.js +126 -0
- package/src/store/reducers/dashboardEditorSlice.js +77 -0
- package/src/store/reducers/districtHealthDashboardSlice.js +58 -0
- package/src/store/reducers/immunizationSlice.js +234 -0
- package/src/store/slices/dashboardPagesSlice.js +51 -0
- package/src/utils/.gitkeep +0 -0
- package/src/utils/FormConstants.js +2629 -0
- package/src/utils/GujaratTopoChart.jsx +483 -0
- package/src/utils/UUIDgenerator.js +8 -0
- package/src/utils/appointment-utils/appointment-utils.js +123 -0
- package/src/utils/feature.js +42 -0
- package/src/utils/getThemeColor.js +12 -0
- package/src/utils/localStorageHelper.js +11 -0
- package/src/utils/notifications/enable-push-notifications.js +27 -0
- package/src/utils/resolveAppliedStyle.js +11 -0
- package/src/utils/themeConfigs.js +1483 -0
- package/src/views/custom-components/.gitkeep +0 -0
- package/src/views/custom-components/AgIconButton/RIf.jsx +14 -0
- package/src/views/custom-components/AgIconButton/button.jsx +108 -0
- package/src/views/custom-components/AgIconButton/waterDrop.jsx +95 -0
- package/src/views/custom-components/AgIconButton/waterDrop.scss +37 -0
- package/src/views/custom-components/AlertPlaceholder.jsx +32 -0
- package/src/views/custom-components/AllFaIconsSelector.jsx +56 -0
- package/src/views/custom-components/CkEditor/CkEditor.js +102 -0
- package/src/views/custom-components/CustomAccordion.jsx +72 -0
- package/src/views/custom-components/CustomActionIcons.jsx +118 -0
- package/src/views/custom-components/CustomAutoComplete.jsx +188 -0
- package/src/views/custom-components/CustomCheckBox.jsx +60 -0
- package/src/views/custom-components/CustomConfirmationModal.jsx +118 -0
- package/src/views/custom-components/CustomCountrySelect.jsx +129 -0
- package/src/views/custom-components/CustomDatePicker.jsx +122 -0
- package/src/views/custom-components/CustomDropdown.jsx +191 -0
- package/src/views/custom-components/CustomFileUpload.jsx +387 -0
- package/src/views/custom-components/CustomFullCalendar.jsx +514 -0
- package/src/views/custom-components/CustomInfiniteScroll.jsx +126 -0
- package/src/views/custom-components/CustomRadioComponent.jsx +65 -0
- package/src/views/custom-components/CustomStatsComponent.jsx +114 -0
- package/src/views/custom-components/CustomSvgUpload.jsx +170 -0
- package/src/views/custom-components/CustomSwitch.jsx +37 -0
- package/src/views/custom-components/CustomTabPanel.jsx +19 -0
- package/src/views/custom-components/CustomTextArea.jsx +62 -0
- package/src/views/custom-components/CustomTextArea.scss +27 -0
- package/src/views/custom-components/CustomTextField.jsx +116 -0
- package/src/views/custom-components/CustomToggleSwitch.jsx +138 -0
- package/src/views/custom-components/CustomTooltip.jsx +51 -0
- package/src/views/custom-components/CustomZoomImage.jsx +134 -0
- package/src/views/custom-components/CustomizedTable/CustomizedTableV2.jsx +1407 -0
- package/src/views/custom-components/CustomizedTable/VirtualizeTableBody.jsx +295 -0
- package/src/views/custom-components/CustomizedTable/helper.jsx +159 -0
- package/src/views/custom-components/CustomizedTable.jsx +532 -0
- package/src/views/custom-components/EditInputField.jsx +174 -0
- package/src/views/custom-components/FieldDescription.jsx +22 -0
- package/src/views/custom-components/FileDisplayComponent.jsx +138 -0
- package/src/views/custom-components/FormItem.jsx +53 -0
- package/src/views/custom-components/GenericChart.jsx +80 -0
- package/src/views/custom-components/InfoBadge.jsx +60 -0
- package/src/views/custom-components/PostgresEditor.jsx +801 -0
- package/src/views/custom-components/ResizableEditAutocompleteField.jsx +249 -0
- package/src/views/custom-components/ResizableEditInputField.jsx +215 -0
- package/src/views/custom-components/ResizeableEditSelectField.jsx +197 -0
- package/src/views/custom-components/SideOverlay.jsx +113 -0
- package/src/views/custom-components/SideOverlay.scss +42 -0
- package/src/views/custom-components/calendar.scss +571 -0
- package/src/views/feature-components/.gitkeep +0 -0
- package/src/views/feature-components/Dashboard/DashboardUI.jsx +1043 -0
- package/src/views/feature-components/Dashboard/DhnddModal/AshaDataQualityVerificationModal.jsx +278 -0
- package/src/views/feature-components/Dashboard/PinFeatureModal.jsx +143 -0
- package/src/views/feature-components/Dashboard/QuickLinks.jsx +163 -0
- package/src/views/feature-components/Dashboard/Taskbar.jsx +56 -0
- package/src/views/feature-components/Dashboard/WebtasksFilterForm.jsx +109 -0
- package/src/views/feature-components/Dashboard/WidgetCard.jsx +161 -0
- package/src/views/feature-components/Dashboard/actionModal.jsx +263 -0
- package/src/views/feature-components/Dashboard/ekavachModal/HealthWorkerIncorrectDetailsModal.jsx +332 -0
- package/src/views/feature-components/Dashboard/ekavachModal/MoMaternalDeathVerifcationModal.jsx +275 -0
- package/src/views/feature-components/Dashboard/ekavachModal/MoVerficationForChildScreeningMoadal.jsx +566 -0
- package/src/views/feature-components/FeatureUsageAnalytics/FeatureUsageAnalytics.jsx +989 -0
- package/src/views/feature-components/Features/NewServerManagement.jsx +217 -0
- package/src/views/feature-components/Features/ServerManagement.scss +120 -0
- package/src/views/feature-components/ForgotPassword/ForgotPassword.jsx +226 -0
- package/src/views/feature-components/LocationDirective/LocationDirective.jsx +992 -0
- package/src/views/feature-components/LocationDirective/LocationDirectiveV2.jsx +909 -0
- package/src/views/feature-components/NotFound.jsx +66 -0
- package/src/views/feature-components/Onboarding/Onboarding.jsx +1400 -0
- package/src/views/feature-components/Skeletons.js +115 -0
- package/src/views/feature-components/Unauthorized.jsx +48 -0
- package/src/views/feature-components/VerifyRoute.jsx +88 -0
- package/src/views/feature-components/YearlyRecap/YearlyRecap.jsx +357 -0
- package/src/views/feature-components/YearlyRecap/components/RecapSlide.jsx +183 -0
- package/src/views/feature-components/YearlyRecap/languageTranslator/TranslationContext.js +5 -0
- package/src/views/feature-components/YearlyRecap/languageTranslator/TranslationProvider.jsx +26 -0
- package/src/views/feature-components/YearlyRecap/languageTranslator/i18n.js +46 -0
- package/src/views/feature-components/YearlyRecap/languageTranslator/translations.json +167 -0
- package/src/views/feature-components/YearlyRecap/slides/IntroSlide.jsx +233 -0
- package/src/views/feature-components/YearlyRecap/slides/MaternalHealthSlide.jsx +146 -0
- package/src/views/feature-components/YearlyRecap/slides/MetricSlide.jsx +227 -0
- package/src/views/feature-components/YearlyRecap/slides/OutroSlide.jsx +701 -0
- package/src/views/feature-components/YearlyRecap/slides/ReachSlide.jsx +273 -0
- package/src/views/feature-components/login/Login.jsx +840 -0
- package/src/views/feature-components/login/Login.scss +154 -0
- package/src/views/feature-components/login/LoginConfigurator.jsx +1149 -0
- package/src/views/feature-components/login/TwoFactorSetupModal.jsx +411 -0
- package/src/views/feature-components/login/simplifyMenu.js +45 -0
- package/src/views/feature-components/system-config/ManageSystemConfigs.jsx +284 -0
- package/src/views/feature-components/system-config/SystemConfig.jsx +299 -0
- package/src/views/feature-components/users/ChangePasswordModal.jsx +243 -0
- package/src/views/feature-components/users/PasswordField.jsx +56 -0
- package/dist/index.css +0 -1
- package/dist/index.js +0 -32001
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
|
|
2
|
+
import React, { useEffect, useState } from 'react';
|
|
3
|
+
import { toast } from 'react-toastify';
|
|
4
|
+
|
|
5
|
+
const VersionManager = () => {
|
|
6
|
+
const [lastVersion, setLastVersion] = useState(null);
|
|
7
|
+
|
|
8
|
+
const UPDATE_INTERVAL_MS = 60 * 1000; // Check every 1 minute
|
|
9
|
+
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
// 1. Initial Check
|
|
12
|
+
checkVersion();
|
|
13
|
+
|
|
14
|
+
// 2. Poll for updates
|
|
15
|
+
const interval = setInterval(checkVersion, UPDATE_INTERVAL_MS);
|
|
16
|
+
|
|
17
|
+
// 3. Listen for chunk load errors (Vite specific)
|
|
18
|
+
const handleChunkError = (event) => {
|
|
19
|
+
const isChunkError = event?.message && (/Loading chunk [\d]+ failed/.test(event.message) || /Failed to fetch dynamically imported module/.test(event.message));
|
|
20
|
+
if (isChunkError) {
|
|
21
|
+
console.error("Chunk load error detected, reloading...");
|
|
22
|
+
window.location.reload(true);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const handleUnhandledRejection = (event) => {
|
|
27
|
+
if (event?.reason?.message && /Failed to fetch dynamically imported module/.test(event.reason.message)) {
|
|
28
|
+
console.error("Dynamic import error detected, reloading...");
|
|
29
|
+
window.location.reload(true);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
// Note: 'vite:preloadError' is dispatched by Vite's preload helper
|
|
34
|
+
window.addEventListener('vite:preloadError', handleChunkError);
|
|
35
|
+
|
|
36
|
+
// Also listen to generic error in case it's not caught by vite event
|
|
37
|
+
window.addEventListener('error', handleChunkError);
|
|
38
|
+
|
|
39
|
+
// Listen for unhandled promise rejections (often how dynamic imports fail)
|
|
40
|
+
window.addEventListener('unhandledrejection', handleUnhandledRejection);
|
|
41
|
+
|
|
42
|
+
return () => {
|
|
43
|
+
clearInterval(interval);
|
|
44
|
+
window.removeEventListener('vite:preloadError', handleChunkError);
|
|
45
|
+
window.removeEventListener('error', handleChunkError);
|
|
46
|
+
window.removeEventListener('unhandledrejection', handleUnhandledRejection);
|
|
47
|
+
};
|
|
48
|
+
}, [lastVersion]);
|
|
49
|
+
|
|
50
|
+
const checkVersion = async () => {
|
|
51
|
+
try {
|
|
52
|
+
// Add timestamp to prevent browser caching of the version file itself
|
|
53
|
+
const response = await fetch(`/ui/version.json?t=${new Date().getTime()}`, {
|
|
54
|
+
cache: 'no-store'
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
if (!response.ok) return;
|
|
58
|
+
|
|
59
|
+
const data = await response.json();
|
|
60
|
+
const newVersion = data.version;
|
|
61
|
+
|
|
62
|
+
if (lastVersion && newVersion !== lastVersion) {
|
|
63
|
+
console.log(`New version detected: ${newVersion} (was ${lastVersion})`);
|
|
64
|
+
showUpdateNotification();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
setLastVersion(newVersion);
|
|
68
|
+
} catch (err) {
|
|
69
|
+
console.warn("Failed to check version:", err);
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const showUpdateNotification = () => {
|
|
74
|
+
// Prevent multiple toasts if already shown
|
|
75
|
+
if (toast.isActive('version-update-toast')) return;
|
|
76
|
+
|
|
77
|
+
toast.info(
|
|
78
|
+
<div>
|
|
79
|
+
New version available! <br />
|
|
80
|
+
<button
|
|
81
|
+
onClick={() => window.location.reload(true)}
|
|
82
|
+
style={{
|
|
83
|
+
marginTop: '8px',
|
|
84
|
+
padding: '5px 10px',
|
|
85
|
+
background: '#fff',
|
|
86
|
+
color: '#333',
|
|
87
|
+
border: 'none',
|
|
88
|
+
borderRadius: '4px',
|
|
89
|
+
cursor: 'pointer',
|
|
90
|
+
fontWeight: 'bold'
|
|
91
|
+
}}
|
|
92
|
+
>
|
|
93
|
+
Update now!
|
|
94
|
+
</button>
|
|
95
|
+
</div>,
|
|
96
|
+
{
|
|
97
|
+
toastId: 'version-update-toast',
|
|
98
|
+
autoClose: false,
|
|
99
|
+
closeOnClick: false,
|
|
100
|
+
draggable: false,
|
|
101
|
+
position: "top-right"
|
|
102
|
+
}
|
|
103
|
+
);
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
return null; // This component doesn't render anything visible unless toast triggers
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
export default VersionManager;
|
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
//Data for the GujaratTopoChart
|
|
2
|
+
export const stateData1 = [
|
|
3
|
+
{ x_axis_label: 'Bharuch', series_label: 97.27, color: 'Green' },
|
|
4
|
+
{ x_axis_label: 'Narmada', series_label: 98.58, color: 'yellow' },
|
|
5
|
+
{ x_axis_label: 'Valsad', series_label: 98.11, color: 'Red' },
|
|
6
|
+
{ x_axis_label: 'Gandhinagar', series_label: 97.33, color: 'Yellow' },
|
|
7
|
+
{ x_axis_label: 'Mahesana', series_label: 99.7, color: 'Green' },
|
|
8
|
+
{ x_axis_label: 'Gandhinagar Corporation', series_label: 96.72, color: 'Green' },
|
|
9
|
+
{ x_axis_label: 'Surendranagar', series_label: 99.8, color: 'Red' },
|
|
10
|
+
{ x_axis_label: 'Rajkot', series_label: 97.76, color: 'yellow' },
|
|
11
|
+
{ x_axis_label: 'Rajkot Corporation', series_label: 96.07, color: 'Green' },
|
|
12
|
+
{ x_axis_label: 'Patan', series_label: 97.77, color: 'yellow' },
|
|
13
|
+
{ x_axis_label: 'Mahisagar', series_label: 97.0, color: 'Red' },
|
|
14
|
+
{ x_axis_label: 'Navsari', series_label: 100.55, color: 'Green' },
|
|
15
|
+
{ x_axis_label: 'Panchmahal', series_label: 98.23, color: 'Green' },
|
|
16
|
+
{ x_axis_label: 'Kachchh', series_label: 99.54, color: 'Green' },
|
|
17
|
+
{ x_axis_label: 'Kheda', series_label: 98.46, color: 'Red' },
|
|
18
|
+
{ x_axis_label: 'Dang', series_label: 96.12, color: 'Green' },
|
|
19
|
+
{ x_axis_label: 'Porbandar', series_label: 94.13, color: 'Yellow' },
|
|
20
|
+
{ x_axis_label: 'Tapi', series_label: 98.53, color: 'Red' },
|
|
21
|
+
{ x_axis_label: 'Botad', series_label: 97.01, color: 'Green' },
|
|
22
|
+
{ x_axis_label: 'Morbi', series_label: 99.86, color: 'Green' },
|
|
23
|
+
{ x_axis_label: 'Chhota Udepur', series_label: 98.85, color: 'Green' },
|
|
24
|
+
{ x_axis_label: 'Arvalli', series_label: 97.97, color: 'Yellow' },
|
|
25
|
+
{ x_axis_label: 'Banaskantha', series_label: 97.42, color: 'Red' },
|
|
26
|
+
{ x_axis_label: 'Ahmedabad', series_label: 98.02, color: 'Green' },
|
|
27
|
+
{ x_axis_label: 'Ahmedabad Corporation', series_label: 94.16, color: 'Yellow' },
|
|
28
|
+
{ x_axis_label: 'Jamnagar', series_label: 98.01, color: 'Green' },
|
|
29
|
+
{ x_axis_label: 'Jamnagar Corporation', series_label: 96.01, color: 'Red' },
|
|
30
|
+
{ x_axis_label: 'Junagadh Corporation', series_label: 93.57, color: 'Yellow' },
|
|
31
|
+
{ x_axis_label: 'Junagadh', series_label: 98.21, color: 'Green' },
|
|
32
|
+
{ x_axis_label: 'Surat', series_label: 97.58, color: 'Red' },
|
|
33
|
+
{ x_axis_label: 'Surat Corporation', series_label: 99.59, color: 'Green' },
|
|
34
|
+
{ x_axis_label: 'Amreli', series_label: 96.82, color: 'Green' },
|
|
35
|
+
{ x_axis_label: 'Bhavnagar', series_label: 97.14, color: 'Green' },
|
|
36
|
+
{ x_axis_label: 'Vadodara', series_label: 97.18, color: 'Yellow' },
|
|
37
|
+
{ x_axis_label: 'Devbhumi Dwarka', series_label: 101.21, color: 'Green' },
|
|
38
|
+
{ x_axis_label: 'Bhavnagar Corporation', series_label: 92.31, color: 'Yellow' },
|
|
39
|
+
{ x_axis_label: 'Anand', series_label: 97.73, color: 'Green' },
|
|
40
|
+
{ x_axis_label: 'Gir Somnath', series_label: 97.67, color: 'Red' },
|
|
41
|
+
{ x_axis_label: 'Vadodara Corporation', series_label: 96.7, color: 'Green' },
|
|
42
|
+
{ x_axis_label: 'Sabarkantha', series_label: 98.0, color: 'Green' },
|
|
43
|
+
{ x_axis_label: 'Dahod', series_label: 97.84, color: 'Yellow' },
|
|
44
|
+
];
|
|
45
|
+
|
|
46
|
+
export const colorMap = {
|
|
47
|
+
Green: '#00A651',
|
|
48
|
+
green: '#00A651',
|
|
49
|
+
Yellow: '#FFC107',
|
|
50
|
+
yellow: '#FFC107',
|
|
51
|
+
Red: '#F44336',
|
|
52
|
+
red: '#F44336',
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export const NAME_MAPPING_MAP = {
|
|
56
|
+
'Jam Kandorna': 'Jamkandorna',
|
|
57
|
+
Vinchhiya: 'Vinchchiya',
|
|
58
|
+
'Kotda Sangani': 'Kotada sangani',
|
|
59
|
+
'Gir Somnath': 'Gir Somnath',
|
|
60
|
+
Kachchh: 'Kutch',
|
|
61
|
+
Mahesana: 'mehsana',
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export const CORPORATION = [
|
|
65
|
+
{
|
|
66
|
+
name: 'Rajkot Corporation',
|
|
67
|
+
location: {
|
|
68
|
+
latitude: 22.2757,
|
|
69
|
+
longitude: 70.807,
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: 'Bhavnagar Corporation',
|
|
74
|
+
location: {
|
|
75
|
+
latitude: 21.7716,
|
|
76
|
+
longitude: 72.1458,
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'Gandhinagar Corporation',
|
|
81
|
+
location: {
|
|
82
|
+
latitude: 23.23756,
|
|
83
|
+
longitude: 72.647781,
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: 'Junagadh Corporation',
|
|
88
|
+
location: {
|
|
89
|
+
latitude: 21.519,
|
|
90
|
+
longitude: 70.4598,
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: 'Surat Corporation',
|
|
95
|
+
location: {
|
|
96
|
+
latitude: 21.17024,
|
|
97
|
+
longitude: 72.831062,
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: 'Vadodara Corporation',
|
|
102
|
+
location: {
|
|
103
|
+
latitude: 22.310696,
|
|
104
|
+
longitude: 73.192635,
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: 'Ahmedabad Corporation',
|
|
109
|
+
location: {
|
|
110
|
+
latitude: 23.033863,
|
|
111
|
+
longitude: 72.585022,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: 'Jamnagar Corporation',
|
|
116
|
+
location: {
|
|
117
|
+
latitude: 22.4687,
|
|
118
|
+
longitude: 70.0674,
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
];
|
|
122
|
+
|
|
123
|
+
//Data for the IndicatorTable
|
|
124
|
+
export const axisData = [
|
|
125
|
+
{ scale1: 30, scale2: 50 },
|
|
126
|
+
{ scale1: 45, scale2: 50 },
|
|
127
|
+
{ scale1: 40, scale2: 50 },
|
|
128
|
+
{ scale1: 30, scale2: 50 },
|
|
129
|
+
{ scale1: 45, scale2: 50 },
|
|
130
|
+
{ scale1: 40, scale2: 50 },
|
|
131
|
+
{ scale1: 30, scale2: 50 },
|
|
132
|
+
{ scale1: 45, scale2: 50 },
|
|
133
|
+
{ scale1: 40, scale2: 50 },
|
|
134
|
+
{ scale1: 40, scale2: 50 },
|
|
135
|
+
{ scale1: 40, scale2: 50 },
|
|
136
|
+
{ scale1: 40, scale2: 50 },
|
|
137
|
+
];
|
|
138
|
+
|
|
139
|
+
//Data for the LollipopChart
|
|
140
|
+
export const LollipopChartData = [
|
|
141
|
+
{
|
|
142
|
+
Country: 'Narmada',
|
|
143
|
+
Value1: 80,
|
|
144
|
+
Value2: 60,
|
|
145
|
+
Value3: 70,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
Country: 'Surendranagar',
|
|
149
|
+
Value1: 55,
|
|
150
|
+
Value2: 45,
|
|
151
|
+
Value3: 60,
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
Country: 'Navsari',
|
|
155
|
+
Value1: 55,
|
|
156
|
+
Value2: 45,
|
|
157
|
+
Value3: 60,
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
Country: 'Porbandar',
|
|
161
|
+
Value1: 55,
|
|
162
|
+
Value2: 45,
|
|
163
|
+
Value3: 60,
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
Country: 'Gandhinagar',
|
|
167
|
+
Value1: 55,
|
|
168
|
+
Value2: 45,
|
|
169
|
+
Value3: 10,
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
Country: 'Vadodara',
|
|
173
|
+
Value1: 25,
|
|
174
|
+
Value2: 45,
|
|
175
|
+
Value3: 60,
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
Country: 'Kutch',
|
|
179
|
+
Value1: 55,
|
|
180
|
+
Value2: 45,
|
|
181
|
+
Value3: 60,
|
|
182
|
+
},
|
|
183
|
+
];
|
|
184
|
+
|
|
185
|
+
//Data for the ParallelCoordinatesChart
|
|
186
|
+
export const rankData = [
|
|
187
|
+
{ territory: 'Morabi', baseRank: 8, referenceRank: 8, baseProfit: 41119.6, referenceProfit: 36771.95 },
|
|
188
|
+
{ territory: 'Gandhinagar', baseRank: 7, referenceRank: 6, baseProfit: 121434.25, referenceProfit: 159530.8 },
|
|
189
|
+
{ territory: 'Baroda', baseRank: 3, referenceRank: 1, baseProfit: 295160.15, referenceProfit: 444106.95 },
|
|
190
|
+
{ territory: 'Ahmedabad', baseRank: 0, referenceRank: 0, baseProfit: 556678.6, referenceProfit: 684290.8 },
|
|
191
|
+
];
|
|
192
|
+
|
|
193
|
+
export const lineChartData = [
|
|
194
|
+
{ year: '2000', Gandhinagar: 100, Vadodara: 200, Morbi: 50 },
|
|
195
|
+
{ year: '2001', Gandhinagar: 110, Vadodara: 120, Morbi: 10 },
|
|
196
|
+
{ year: '2002', Gandhinagar: 145, Vadodara: 33, Morbi: 5 },
|
|
197
|
+
{ year: '2003', Gandhinagar: 241, Vadodara: 21, Morbi: 71 },
|
|
198
|
+
{ year: '2004', Gandhinagar: 101, Vadodara: 51, Morbi: 20 },
|
|
199
|
+
{ year: '2005', Gandhinagar: 90, Vadodara: 190, Morbi: 9 },
|
|
200
|
+
{ year: '2006', Gandhinagar: 10, Vadodara: 120, Morbi: 220 },
|
|
201
|
+
{ year: '2007', Gandhinagar: 35, Vadodara: 85, Morbi: 235 },
|
|
202
|
+
{ year: '2008', Gandhinagar: 21, Vadodara: 221, Morbi: 61 },
|
|
203
|
+
{ year: '2009', Gandhinagar: 201, Vadodara: 101, Morbi: 10 },
|
|
204
|
+
];
|
|
205
|
+
|
|
206
|
+
export const indicators = [
|
|
207
|
+
{
|
|
208
|
+
key: 'Population Indicators',
|
|
209
|
+
id: 'populationScale',
|
|
210
|
+
headers: ['Population Indicators', 'NFHS 5', 'Change from Previous Period to Current', 'Change', 'Focus Locations'],
|
|
211
|
+
rows: [
|
|
212
|
+
{
|
|
213
|
+
indicator: 'Sex Ratio of Total Population',
|
|
214
|
+
nfhs: 965,
|
|
215
|
+
axisId: 'populationScaleAxis1',
|
|
216
|
+
scaleId: 'populationScale',
|
|
217
|
+
locations: ['Tapi', 'Narmada'],
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
indicator: 'Sex Ratio at Birth',
|
|
221
|
+
nfhs: 955,
|
|
222
|
+
axisId: 'populationScaleAxis2',
|
|
223
|
+
locations: ['Gandhinagar', 'Bharuch'],
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
indicator: 'Females above 6 who attended school (%)',
|
|
227
|
+
nfhs: 965,
|
|
228
|
+
axisId: 'populationScaleAxis3',
|
|
229
|
+
locations: ['Vadodara', 'Surat'],
|
|
230
|
+
},
|
|
231
|
+
],
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
key: 'Infant & Child Mortality',
|
|
235
|
+
id: 'infantScale',
|
|
236
|
+
headers: [
|
|
237
|
+
'Infant & Child Mortality',
|
|
238
|
+
'NFHS 5',
|
|
239
|
+
'Change from Previous Period to Current',
|
|
240
|
+
'Change',
|
|
241
|
+
'Focus Locations',
|
|
242
|
+
],
|
|
243
|
+
rows: [
|
|
244
|
+
{
|
|
245
|
+
indicator: 'Neonatal mortality rate(NNMR)',
|
|
246
|
+
nfhs: 965,
|
|
247
|
+
axisId: 'infantScaleAxis1',
|
|
248
|
+
scaleId: 'infantScale',
|
|
249
|
+
locations: ['Tapi', 'Narmada'],
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
indicator: 'Infant mortality rate(IMR)',
|
|
253
|
+
nfhs: 955,
|
|
254
|
+
axisId: 'infantScaleAxis2',
|
|
255
|
+
locations: ['Gandhinagar', 'Bharuch'],
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
indicator: 'Under-five mortality rate(U5MR)',
|
|
259
|
+
nfhs: 965,
|
|
260
|
+
axisId: 'infantScaleAxis3',
|
|
261
|
+
locations: ['Vadodara', 'Surat'],
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
key: 'Family Planning and Unmet Needs',
|
|
267
|
+
id: 'familyScale',
|
|
268
|
+
headers: [
|
|
269
|
+
'Family Planning and Unmet Needs',
|
|
270
|
+
'NFHS 5',
|
|
271
|
+
'Change from Previous Period to Current',
|
|
272
|
+
'Change',
|
|
273
|
+
'Focus Locations',
|
|
274
|
+
],
|
|
275
|
+
rows: [
|
|
276
|
+
{
|
|
277
|
+
indicator: 'Any method6',
|
|
278
|
+
nfhs: 965,
|
|
279
|
+
axisId: 'familyScaleAxis1',
|
|
280
|
+
scaleId: 'familyScale',
|
|
281
|
+
locations: ['Tapi', 'Narmada'],
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
indicator: 'Any modern method6',
|
|
285
|
+
nfhs: 955,
|
|
286
|
+
axisId: 'familyScaleAxis2',
|
|
287
|
+
locations: ['Gandhinagar', 'Bharuch'],
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
indicator: 'Total unmet need (%)',
|
|
291
|
+
nfhs: 965,
|
|
292
|
+
axisId: 'familyScaleAxis3',
|
|
293
|
+
locations: ['Vadodara', 'Surat'],
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
indicator: 'Unmet need for spacing (%)',
|
|
297
|
+
nfhs: 965,
|
|
298
|
+
axisId: 'familyScaleAxis4',
|
|
299
|
+
locations: ['Vadodara', 'Surat'],
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
key: 'Maternal & Child Health',
|
|
305
|
+
id: 'maternalScale',
|
|
306
|
+
headers: [
|
|
307
|
+
'Maternal & Child Health',
|
|
308
|
+
'NFHS 5',
|
|
309
|
+
'Change from Previous Period to Current',
|
|
310
|
+
'Change',
|
|
311
|
+
'Focus Locations',
|
|
312
|
+
],
|
|
313
|
+
rows: [
|
|
314
|
+
{
|
|
315
|
+
indicator: 'Mothers who had an antenatal check-up in the first trimester(%)',
|
|
316
|
+
nfhs: 965,
|
|
317
|
+
axisId: 'maternalScaleAxis1',
|
|
318
|
+
scaleId: 'maternalScale',
|
|
319
|
+
locations: ['Tapi', 'Narmada'],
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
indicator: 'Mothers who had at least 4 antenatal care visits(%)',
|
|
323
|
+
nfhs: 955,
|
|
324
|
+
axisId: 'maternalScaleAxis2',
|
|
325
|
+
locations: ['Gandhinagar', 'Bharuch'],
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
indicator:
|
|
329
|
+
'Mothers who received postnatal care from a doctor/nurse/LHV/ANM/midwife/other health personnel within 2 days of delivery (%)',
|
|
330
|
+
nfhs: 965,
|
|
331
|
+
axisId: 'maternalScaleAxis3',
|
|
332
|
+
locations: ['Vadodara', 'Surat'],
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
indicator:
|
|
336
|
+
'Children born at home who were taken to a health facility for a check-up within 24 hours of birth (%)',
|
|
337
|
+
nfhs: 965,
|
|
338
|
+
axisId: 'maternalScaleAxis4',
|
|
339
|
+
locations: ['Vadodara', 'Surat'],
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
indicator:
|
|
343
|
+
'Children who received postnatal care from a doctor/nurse/LHV/ANM/midwife/other health personnel within 2 days of delivery (%)',
|
|
344
|
+
nfhs: 965,
|
|
345
|
+
axisId: 'maternalScaleAxis5',
|
|
346
|
+
locations: ['Vadodara', 'Surat'],
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
indicator: 'Institutional births',
|
|
350
|
+
nfhs: 965,
|
|
351
|
+
axisId: 'maternalScaleAxis6',
|
|
352
|
+
locations: ['Vadodara', 'Surat'],
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
indicator: 'Institutional births in public facility',
|
|
356
|
+
nfhs: 965,
|
|
357
|
+
axisId: 'maternalScaleAxis7',
|
|
358
|
+
locations: ['Vadodara', 'Surat'],
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
indicator: 'Births in a public health facility that were delivered by caesarean section (%)',
|
|
362
|
+
nfhs: 965,
|
|
363
|
+
axisId: 'maternalScaleAxis8',
|
|
364
|
+
locations: ['Vadodara', 'Surat'],
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
indicator: 'Children age 12-23 months fully vaccinated based on information from vaccination card only (%)',
|
|
368
|
+
nfhs: 965,
|
|
369
|
+
axisId: 'maternalScaleAxis9',
|
|
370
|
+
locations: ['Tapi', 'Narmada'],
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
indicator: 'Children age 12-23 months who have received BCG (%)',
|
|
374
|
+
nfhs: 955,
|
|
375
|
+
axisId: 'maternalScaleAxis10',
|
|
376
|
+
locations: ['Gandhinagar', 'Bharuch'],
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
indicator: 'Children age 12-23 months who have received 3 doses of polio vaccine (%)',
|
|
380
|
+
nfhs: 965,
|
|
381
|
+
axisId: 'maternalScaleAxis11',
|
|
382
|
+
locations: ['Vadodara', 'Surat'],
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
indicator: 'Children age 12-23 months who have received 3 doses of penta or DPT vaccine (%)',
|
|
386
|
+
nfhs: 965,
|
|
387
|
+
axisId: 'maternalScaleAxis12',
|
|
388
|
+
locations: ['Vadodara', 'Surat'],
|
|
389
|
+
},
|
|
390
|
+
],
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
key: 'Feeding Practice, Nutrition & Anemia',
|
|
394
|
+
id: 'feedingScale',
|
|
395
|
+
headers: [
|
|
396
|
+
'Feeding Practice, Nutrition & Anemia',
|
|
397
|
+
'NFHS 5',
|
|
398
|
+
'Change from Previous Period to Current',
|
|
399
|
+
'Change',
|
|
400
|
+
'Focus Locations',
|
|
401
|
+
],
|
|
402
|
+
rows: [
|
|
403
|
+
{
|
|
404
|
+
indicator: 'Children under age 3 years breastfed within one hour of birth (%)',
|
|
405
|
+
nfhs: 965,
|
|
406
|
+
axisId: 'feedingScaleAxis1',
|
|
407
|
+
scaleId: 'feedingScale',
|
|
408
|
+
locations: ['Tapi', 'Narmada'],
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
indicator: 'Children under age 6 months exclusively breastfed (%)',
|
|
412
|
+
nfhs: 965,
|
|
413
|
+
axisId: 'feedingScaleAxis2',
|
|
414
|
+
locations: ['Tapi', 'Narmada'],
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
indicator: 'Pregnant women age 15-49 years who are who are anemic (<11.0 gdl) (%)',
|
|
418
|
+
nfhs: 965,
|
|
419
|
+
axisId: 'feedingScaleAxis3',
|
|
420
|
+
locations: ['Tapi', 'Narmada'],
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
indicator: 'Pregnant women age 15-49 years who are severely anaemic (<7.0 gdl) %',
|
|
424
|
+
nfhs: 965,
|
|
425
|
+
axisId: 'feedingScaleAxis4',
|
|
426
|
+
locations: ['Tapi', 'Narmada'],
|
|
427
|
+
},
|
|
428
|
+
],
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
key: 'NCD',
|
|
432
|
+
id: 'ncdScale',
|
|
433
|
+
headers: ['NCD', 'NFHS 5', 'Change from Previous Period to Current', 'Change', 'Focus Locations'],
|
|
434
|
+
rows: [
|
|
435
|
+
{
|
|
436
|
+
indicator: 'Women: Blood sugar level - high (141-160 mg/dl) (%)',
|
|
437
|
+
nfhs: 965,
|
|
438
|
+
axisId: 'ncdScaleAxis1',
|
|
439
|
+
scaleId: 'ncdScale',
|
|
440
|
+
locations: ['Tapi', 'Narmada'],
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
indicator: 'Women: Blood sugar level - very high (>160 mg/dl) (%)',
|
|
444
|
+
nfhs: 965,
|
|
445
|
+
axisId: 'ncdScaleAxis2',
|
|
446
|
+
locations: ['Vadodara', 'Surat'],
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
indicator:
|
|
450
|
+
'Women: Blood sugar level - high or very high (>140 mg/dl) or taking medicine to control blood sugar level (%)',
|
|
451
|
+
nfhs: 965,
|
|
452
|
+
axisId: 'ncdScaleAxis3',
|
|
453
|
+
locations: ['Vadodara', 'Surat'],
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
indicator: 'Men: Blood sugar level - high (141-160 mg/dl) (%)',
|
|
457
|
+
nfhs: 965,
|
|
458
|
+
axisId: 'ncdScaleAxis4',
|
|
459
|
+
locations: ['Tapi', 'Narmada'],
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
indicator: 'Men: Blood sugar level - very high (>160 mg/dl) (%)',
|
|
463
|
+
nfhs: 965,
|
|
464
|
+
axisId: 'ncdScaleAxis5',
|
|
465
|
+
locations: ['Vadodara', 'Surat'],
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
indicator:
|
|
469
|
+
'Men: Blood sugar level - high or very high (>140 mg/dl) or taking medicine to control blood sugar level (%)',
|
|
470
|
+
nfhs: 965,
|
|
471
|
+
axisId: 'ncdScaleAxis6',
|
|
472
|
+
locations: ['Vadodara', 'Surat'],
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
indicator:
|
|
476
|
+
'Women: Elevated blood pressure (Systolic ≥140 mm of Hg and/or Diastolic ≥90 mm of Hg) or taking medicine to control blood pressure (%)',
|
|
477
|
+
nfhs: 965,
|
|
478
|
+
axisId: 'ncdScaleAxis7',
|
|
479
|
+
locations: ['Vadodara', 'Surat'],
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
indicator:
|
|
483
|
+
'Men:Elevated blood pressure (Systolic ≥140 mm of Hg and/or Diastolic ≥90 mm of Hg) or taking medicine to control blood pressure (%)',
|
|
484
|
+
nfhs: 965,
|
|
485
|
+
axisId: 'ncdScaleAxis8',
|
|
486
|
+
locations: ['Tapi', 'Narmada'],
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
indicator: 'Women: Ever undergone a screening test for cervical cancer (%)',
|
|
490
|
+
nfhs: 965,
|
|
491
|
+
axisId: 'ncdScaleAxis9',
|
|
492
|
+
locations: ['Vadodara', 'Surat'],
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
indicator: 'Women: Ever undergone a breast examination for breast cancer (%)',
|
|
496
|
+
nfhs: 965,
|
|
497
|
+
axisId: 'ncdScaleAxis10',
|
|
498
|
+
locations: ['Vadodara', 'Surat'],
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
indicator: 'Women: Ever undergone an oral cavity examination for oral cancer',
|
|
502
|
+
nfhs: 965,
|
|
503
|
+
axisId: 'ncdScaleAxis11',
|
|
504
|
+
locations: ['Vadodara', 'Surat'],
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
indicator: 'Men: Ever undergone an oral cavity examination for oral cancer (%)',
|
|
508
|
+
nfhs: 965,
|
|
509
|
+
axisId: 'ncdScaleAxis12',
|
|
510
|
+
locations: ['Vadodara', 'Surat'],
|
|
511
|
+
},
|
|
512
|
+
],
|
|
513
|
+
},
|
|
514
|
+
];
|