@hisptz/dhis2-scorecard 1.0.8 → 1.0.10
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/dist/Scorecard.stories.js +10 -3
- package/dist/Scorecard.stories.js.map +1 -1
- package/dist/ScorecardPrintArea.stories.js +1 -1
- package/dist/ScorecardPrintArea.stories.js.map +1 -1
- package/dist/components/ScorecardHeader.js +6 -1
- package/dist/components/ScorecardHeader.js.map +1 -1
- package/dist/components/ScorecardPrint/components/ScorecardDownloadButton.js +23 -25
- package/dist/components/ScorecardPrint/components/ScorecardDownloadButton.js.map +1 -1
- package/dist/components/ScorecardPrint/components/ScorecardPreviewArea.js +17 -2
- package/dist/components/ScorecardPrint/components/ScorecardPreviewArea.js.map +1 -1
- package/dist/components/ScorecardTable/components/DataFooterCell.js +3 -0
- package/dist/components/ScorecardTable/components/DataFooterCell.js.map +1 -1
- package/dist/components/ScorecardTable/components/MetaFooterCell.js +10 -12
- package/dist/components/ScorecardTable/components/MetaFooterCell.js.map +1 -1
- package/dist/components/StateProvider.js +18 -2
- package/dist/components/StateProvider.js.map +1 -1
- package/dist/esm/Scorecard.stories.js +10 -3
- package/dist/esm/Scorecard.stories.js.map +1 -1
- package/dist/esm/ScorecardPrintArea.stories.js +1 -1
- package/dist/esm/ScorecardPrintArea.stories.js.map +1 -1
- package/dist/esm/components/ScorecardHeader.js +1 -0
- package/dist/esm/components/ScorecardHeader.js.map +1 -1
- package/dist/esm/components/ScorecardPrint/components/ScorecardDownloadButton.js +24 -26
- package/dist/esm/components/ScorecardPrint/components/ScorecardDownloadButton.js.map +1 -1
- package/dist/esm/components/ScorecardPrint/components/ScorecardPreviewArea.js +17 -2
- package/dist/esm/components/ScorecardPrint/components/ScorecardPreviewArea.js.map +1 -1
- package/dist/esm/components/ScorecardTable/components/DataFooterCell.js +3 -0
- package/dist/esm/components/ScorecardTable/components/DataFooterCell.js.map +1 -1
- package/dist/esm/components/ScorecardTable/components/MetaFooterCell.js +10 -12
- package/dist/esm/components/ScorecardTable/components/MetaFooterCell.js.map +1 -1
- package/dist/esm/components/StateProvider.js +19 -3
- package/dist/esm/components/StateProvider.js.map +1 -1
- package/dist/types/components/ScorecardHeader.d.ts.map +1 -1
- package/dist/types/components/ScorecardPrint/components/ScorecardDownloadButton.d.ts.map +1 -1
- package/dist/types/components/ScorecardPrint/components/ScorecardPreviewArea.d.ts.map +1 -1
- package/dist/types/components/ScorecardTable/components/DataFooterCell.d.ts.map +1 -1
- package/dist/types/components/ScorecardTable/components/MetaFooterCell.d.ts +3 -1
- package/dist/types/components/ScorecardTable/components/MetaFooterCell.d.ts.map +1 -1
- package/dist/types/components/StateProvider.d.ts +2 -1
- package/dist/types/components/StateProvider.d.ts.map +1 -1
- package/package.json +7 -6
|
@@ -3,28 +3,26 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var ui = require('@dhis2/ui');
|
|
5
5
|
var i18n = require('@dhis2/d2-i18n');
|
|
6
|
-
var
|
|
6
|
+
var react = require('react');
|
|
7
7
|
|
|
8
8
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
|
|
10
10
|
var i18n__default = /*#__PURE__*/_interopDefault(i18n);
|
|
11
11
|
|
|
12
|
-
function MetaFooterCell(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
function MetaFooterCell({
|
|
13
|
+
column,
|
|
14
|
+
table
|
|
15
|
+
}) {
|
|
16
|
+
const colSpan = react.useMemo(() => {
|
|
17
|
+
return table.getVisibleLeafColumns().findIndex(({ id }) => id === column.id) + 1;
|
|
18
|
+
}, [table.getVisibleLeafColumns(), column.id]);
|
|
17
19
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18
20
|
ui.DataTableCell,
|
|
19
21
|
{
|
|
20
22
|
bordered: true,
|
|
21
|
-
width:
|
|
22
|
-
style: {
|
|
23
|
-
width: "fit-content",
|
|
24
|
-
minWidth: 300
|
|
25
|
-
},
|
|
23
|
+
width: `${column.getSize()}px`,
|
|
26
24
|
align: "center",
|
|
27
|
-
colSpan:
|
|
25
|
+
colSpan: colSpan.toString(),
|
|
28
26
|
fixed: true,
|
|
29
27
|
left: "0",
|
|
30
28
|
children: /* @__PURE__ */ jsxRuntime.jsx("b", { style: { padding: "8px 0" }, children: i18n__default.default.t("Average") })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/ScorecardTable/components/MetaFooterCell.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ScorecardTable/components/MetaFooterCell.tsx"],"names":[],"mappings":"AA6BG;AA7BH,SAAS,qBAAqB;AAC9B,OAAO,UAAU;AAGjB,SAAS,eAAe;AAEjB,SAAS,eAAe;AAAA,EAC9B;AAAA,EACA;AACD,GAA2C;AAC1C,QAAM,UAAU,QAAQ,MAAM;AAC7B,WACC,MACE,sBAAsB,EACtB,UAAU,CAAC,EAAE,GAAG,MAAM,OAAO,OAAO,EAAE,IAAI;AAAA,EAE9C,GAAG,CAAC,MAAM,sBAAsB,GAAG,OAAO,EAAE,CAAC;AAE7C,SACC;AAAA,IAAC;AAAA;AAAA,MACA,UAAQ;AAAA,MACR,OAAO,GAAG,OAAO,QAAQ,CAAC;AAAA,MAC1B,OAAM;AAAA,MACN,SAAS,QAAQ,SAAS;AAAA,MAC1B,OAAK;AAAA,MAGL,MAAK;AAAA,MAEL,8BAAC,OAAE,OAAO,EAAE,SAAS,QAAQ,GAAI,eAAK,EAAE,SAAS,GAAE;AAAA;AAAA,EACpD;AAEF","sourcesContent":["import { DataTableCell } from \"@dhis2/ui\";\nimport i18n from \"@dhis2/d2-i18n\";\nimport type { ScorecardTableData } from \"../../../schemas/config\";\nimport type { HeaderContext } from \"@tanstack/react-table\";\nimport { useMemo } from \"react\";\n\nexport function MetaFooterCell({\n\tcolumn,\n\ttable,\n}: HeaderContext<ScorecardTableData, any>) {\n\tconst colSpan = useMemo(() => {\n\t\treturn (\n\t\t\ttable\n\t\t\t\t.getVisibleLeafColumns()\n\t\t\t\t.findIndex(({ id }) => id === column.id) + 1\n\t\t);\n\t}, [table.getVisibleLeafColumns(), column.id]);\n\n\treturn (\n\t\t<DataTableCell\n\t\t\tbordered\n\t\t\twidth={`${column.getSize()}px`}\n\t\t\talign=\"center\"\n\t\t\tcolSpan={colSpan.toString()}\n\t\t\tfixed\n\t\t\t/*\n // @ts-ignore */\n\t\t\tleft=\"0\"\n\t\t>\n\t\t\t<b style={{ padding: \"8px 0\" }}>{i18n.t(\"Average\")}</b>\n\t\t</DataTableCell>\n\t);\n}\n"]}
|
|
@@ -9,7 +9,8 @@ var utils = require('../utils');
|
|
|
9
9
|
function ScorecardStateProvider({
|
|
10
10
|
children,
|
|
11
11
|
initialState,
|
|
12
|
-
config
|
|
12
|
+
config,
|
|
13
|
+
withRecoilRoot
|
|
13
14
|
}) {
|
|
14
15
|
const initState = react.useCallback(
|
|
15
16
|
({ set }) => {
|
|
@@ -20,7 +21,22 @@ function ScorecardStateProvider({
|
|
|
20
21
|
},
|
|
21
22
|
[initialState, config]
|
|
22
23
|
);
|
|
23
|
-
|
|
24
|
+
const initializeStateWithoutRecoil = recoil.useRecoilCallback(
|
|
25
|
+
({ set, snapshot }) => (initialState2) => {
|
|
26
|
+
if (snapshot.getLoadable(state.scorecardStateAtom).contents === null) {
|
|
27
|
+
set(state.scorecardStateAtom, initialState2);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
if (!withRecoilRoot) {
|
|
32
|
+
initializeStateWithoutRecoil(
|
|
33
|
+
initialState ?? utils.getInitialStateFromConfig(config)
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
if (withRecoilRoot) {
|
|
37
|
+
return /* @__PURE__ */ jsxRuntime.jsx(recoil.RecoilRoot, { initializeState: initState, children });
|
|
38
|
+
}
|
|
39
|
+
return children;
|
|
24
40
|
}
|
|
25
41
|
|
|
26
42
|
exports.ScorecardStateProvider = ScorecardStateProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/StateProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/components/StateProvider.tsx"],"names":["initialState"],"mappings":"AA8CS;AA7CT,SAAyB,mBAAmB;AAC5C,SAA0B,YAAY,yBAAyB;AAC/D,SAAS,0BAA0B;AACnC,SAAS,iCAAiC;AASnC,SAAS,uBAAuB;AAAA,EACtC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD,GAAgC;AAC/B,QAAM,YAAY;AAAA,IACjB,CAAC,EAAE,IAAI,MAAuB;AAC7B;AAAA,QACC;AAAA,QACA,gBAAgB,0BAA0B,MAAM;AAAA,MACjD;AAAA,IACD;AAAA,IACA,CAAC,cAAc,MAAM;AAAA,EACtB;AACA,QAAM,+BAA+B;AAAA,IACpC,CAAC,EAAE,KAAK,SAAS,MAChB,CAACA,kBAAiC;AACjC,UACC,SAAS,YAAY,kBAAkB,EAAE,aAAa,MACrD;AACD,YAAI,oBAAoBA,aAAY;AAAA,MACrC;AAAA,IACD;AAAA,EACF;AAEA,MAAI,CAAC,gBAAgB;AACpB;AAAA,MACC,gBAAgB,0BAA0B,MAAM;AAAA,IACjD;AAAA,EACD;AAEA,MAAI,gBAAgB;AACnB,WAAO,oBAAC,cAAW,iBAAiB,WAAY,UAAS;AAAA,EAC1D;AAEA,SAAO;AACR","sourcesContent":["import type { ScorecardConfig, ScorecardState } from \"../schemas/config\";\nimport { type ReactNode, useCallback } from \"react\";\nimport { MutableSnapshot, RecoilRoot, useRecoilCallback } from \"recoil\";\nimport { scorecardStateAtom } from \"../state\";\nimport { getInitialStateFromConfig } from \"../utils\";\n\nexport interface ScorecardStateProviderProps {\n\tinitialState?: ScorecardState;\n\tconfig: ScorecardConfig;\n\tchildren: ReactNode;\n\twithRecoilRoot?: boolean;\n}\n\nexport function ScorecardStateProvider({\n\tchildren,\n\tinitialState,\n\tconfig,\n\twithRecoilRoot,\n}: ScorecardStateProviderProps) {\n\tconst initState = useCallback(\n\t\t({ set }: MutableSnapshot) => {\n\t\t\tset(\n\t\t\t\tscorecardStateAtom,\n\t\t\t\tinitialState ?? getInitialStateFromConfig(config),\n\t\t\t);\n\t\t},\n\t\t[initialState, config],\n\t);\n\tconst initializeStateWithoutRecoil = useRecoilCallback(\n\t\t({ set, snapshot }) =>\n\t\t\t(initialState: ScorecardState) => {\n\t\t\t\tif (\n\t\t\t\t\tsnapshot.getLoadable(scorecardStateAtom).contents === null\n\t\t\t\t) {\n\t\t\t\t\tset(scorecardStateAtom, initialState);\n\t\t\t\t}\n\t\t\t},\n\t);\n\n\tif (!withRecoilRoot) {\n\t\tinitializeStateWithoutRecoil(\n\t\t\tinitialState ?? getInitialStateFromConfig(config),\n\t\t);\n\t}\n\n\tif (withRecoilRoot) {\n\t\treturn <RecoilRoot initializeState={initState}>{children}</RecoilRoot>;\n\t}\n\n\treturn children;\n}\n"]}
|
|
@@ -5,6 +5,7 @@ import { CheckboxField } from '@dhis2/ui';
|
|
|
5
5
|
import { ScorecardStateProvider } from './components/StateProvider';
|
|
6
6
|
import { getInitialStateFromConfig } from './utils';
|
|
7
7
|
import { useScorecardStateSelector } from './state';
|
|
8
|
+
import { RecoilRoot } from 'recoil';
|
|
8
9
|
|
|
9
10
|
const playConfig = {
|
|
10
11
|
id: "YyeJxCBJpcz",
|
|
@@ -876,7 +877,7 @@ const meta = {
|
|
|
876
877
|
title: "Scorecard",
|
|
877
878
|
component: Scorecard,
|
|
878
879
|
decorators: (Story, context) => {
|
|
879
|
-
return /* @__PURE__ */ jsx(
|
|
880
|
+
return /* @__PURE__ */ jsx(RecoilRoot, { children: /* @__PURE__ */ jsx(
|
|
880
881
|
ScorecardStateProvider,
|
|
881
882
|
{
|
|
882
883
|
config,
|
|
@@ -901,7 +902,13 @@ const meta = {
|
|
|
901
902
|
label: "Show data in rows"
|
|
902
903
|
}
|
|
903
904
|
),
|
|
904
|
-
/* @__PURE__ */ jsx(
|
|
905
|
+
/* @__PURE__ */ jsx(
|
|
906
|
+
OptionsToggle,
|
|
907
|
+
{
|
|
908
|
+
name: "arrows",
|
|
909
|
+
label: "Show arrows"
|
|
910
|
+
}
|
|
911
|
+
),
|
|
905
912
|
/* @__PURE__ */ jsx(
|
|
906
913
|
OptionsToggle,
|
|
907
914
|
{
|
|
@@ -948,7 +955,7 @@ const meta = {
|
|
|
948
955
|
}
|
|
949
956
|
)
|
|
950
957
|
}
|
|
951
|
-
);
|
|
958
|
+
) });
|
|
952
959
|
}
|
|
953
960
|
};
|
|
954
961
|
var Scorecard_stories_default = meta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Scorecard.stories.tsx"],"names":[],"mappings":"AAm8CE,cA8BG,YA9BH;AAl8CF,SAAS,iBAAiB;AAE1B,SAAS,wBAAwB;AACjC,SAAS,qBAAqB;AAC9B,SAAS,8BAA8B;AACvC,SAAS,iCAAiC;AAC1C,SAAS,iCAAiC;AAE1C,MAAM,aAA8B;AAAA,EACnC,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,SAAS;AAAA,IACR,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,IACf,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,oBAAoB;AAAA,IACpB,uBAAuB;AAAA,EACxB;AAAA,EACA,SAAS;AAAA,IACR,OAAO;AAAA,IACP,OAAO,CAAC;AAAA,IACR,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,YAAY,CAAC;AAAA,EACd;AAAA,EACA,UAAU;AAAA,EACV,aAAa;AAAA,EACb,eAAe;AAAA,IACd,YAAY;AAAA,MACX;AAAA,QACC,IAAI;AAAA,QACJ,OAAO,CAAC;AAAA,QACR,OAAO;AAAA,QACP,aAAa;AAAA,UACZ;AA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AAAA,oBACX,YAAY;AAAA,sBACX,cAAc;AAAA,sBACd,aAAa;AAAA,sBACb,OAAO;AAAA,oBACR;AAAA,kBACD;AAAA;AAAA,cACD,GACD;AAAA;AAAA;AAAA,QACD;AAAA;AAAA,IACD;AAAA,EAEF;AACD;AAEA,IAAO,4BAAQ;AAIR,MAAM,UAAiB;AAAA,EAC7B,MAAM;AAAA,EACN,MAAM;AAAA,IACL;AAAA,EACD;AACD","sourcesContent":["import type { Meta, StoryObj } from \"@storybook/react\";\nimport { Scorecard } from \"./Scorecard\";\nimport type { ScorecardConfig } from \"./schemas/config\";\nimport { ScorecardContext } from \"./components\";\nimport { CheckboxField } from \"@dhis2/ui\";\nimport { ScorecardStateProvider } from \"./components/StateProvider\";\nimport { getInitialStateFromConfig } from \"./utils\";\nimport { useScorecardStateSelector } from \"./state\";\n\nconst playConfig: ScorecardConfig = {\n\tid: \"YyeJxCBJpcz\",\n\ttitle: \"Test large scorecard\",\n\toptions: {\n\t\ttitle: true,\n\t\tarrows: true,\n\t\tlegend: true,\n\t\temptyRows: true,\n\t\taverageRow: false,\n\t\titemNumber: true,\n\t\taverageColumn: false,\n\t\tshowHierarchy: false,\n\t\tshowDataInRows: false,\n\t\taverageDisplayType: \"ALL\",\n\t\thighlightedIndicators: false,\n\t},\n\tsharing: {\n\t\towner: \"xE7jOejl9FI\",\n\t\tusers: {},\n\t\tpublic: \"--------\",\n\t\texternal: false,\n\t\tuserGroups: {},\n\t},\n\tsubtitle: \"Test large scorecard\",\n\tdescription: \"Test large scorecard\",\n\tdataSelection: {\n\t\tdataGroups: [\n\t\t\t{\n\t\t\t\tid: \"VakhYjKAA5L\",\n\t\t\t\tstyle: {},\n\t\t\t\ttitle: \"ANC\",\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"sl3FPmEzlRQ\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"Uvn6LCg7dVU\",\n\t\t\t\t\t\t\t\tname: \"ANC 1 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 1 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"KBqf91u67Ro\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"mpjr0KieTWq\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"kAPjRBfoNHb\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"MDGG5JZkC7Y\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"ReUHfIn0pTQ\",\n\t\t\t\t\t\t\t\tname: \"ANC 1-3 Dropout Rate\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 1-3 Dropout Rate\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Prrlf0tASKb\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"OoApWIGYDKH\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"PMHXhSN0FTZ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"KqkECXxol62\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"OdiHJayrsKo\",\n\t\t\t\t\t\t\t\tname: \"ANC 2 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 2 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"BTPWwT1I403\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zUvpqVIgKZh\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"GMDUUxd8oNp\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"nAUoLvHygNy\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"sB79w2hiLp8\",\n\t\t\t\t\t\t\t\tname: \"ANC 3 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 3 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Iv0KuN1QVOZ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zJfB5tn6JJJ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zArIepf6ZU8\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"t3BzVoE76km\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"AUqdhY4mpvp\",\n\t\t\t\t\t\t\t\tname: \"ANC => 4 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC => 4 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"dkCFTve9wTg\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"rNiVyCpg3Ck\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"mE4q4gjRZW1\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"MBkuYQyjeb1\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"dwEq7wi6nXV\",\n\t\t\t\t\t\t\t\tname: \"ANC IPT 1 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC IPT 1 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"rAyBjZPWD1E\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zl4jZMLZ0lk\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Tcsyb58pcgh\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"VU3Y32VhgOd\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"c8fABiNpT0B\",\n\t\t\t\t\t\t\t\tname: \"ANC IPT 2 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC IPT 2 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"remIGHppCft\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Xu1x3y97s4v\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"rRmENa76Wt4\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"UQjPFLfeMz3\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"Tt5TAvdfdVK\",\n\t\t\t\t\t\t\t\tname: \"ANC LLITN coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC LLITN coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"hiVwKNC8KAO\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"mwheQQolL37\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"IrehypEPWN3\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"MmT5zVXL2W5\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"puykO1tbcdi\",\n\t\t\t\t\t\t\t\tname: \"ANC TT2 coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC TT2 coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"nxQuKBOX0qp\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"oUDhvFmsaWJ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"iypIK6ubVEz\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"O4npHQEsuFd\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"Lzg9LtG1xg3\",\n\t\t\t\t\t\t\t\tname: \"ANC visits per clinical professional\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC visits per clinical professional\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"qTy67GvZmUq\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"RtIRjuB8PXc\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"vjbeOeOj2q3\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t},\n\tperiodSelection: {\n\t\tperiods: [\n\t\t\t{\n\t\t\t\tid: \"202401\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"202402\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"202403\",\n\t\t\t},\n\t\t],\n\t},\n\tadditionalLabels: [],\n\torgUnitSelection: {\n\t\tgroups: [],\n\t\tlevels: [],\n\t\torgUnits: [],\n\t\tuserOrgUnit: true,\n\t\tuserSubUnit: true,\n\t\tuserSubX2Unit: false,\n\t},\n\tlegendDefinitions: [\n\t\t{\n\t\t\tid: \"N/A\",\n\t\t\tname: \"N/A\",\n\t\t\tcolor: \"#D3D3D3\",\n\t\t\tisDefault: true,\n\t\t},\n\t\t{\n\t\t\tid: \"No Data\",\n\t\t\tname: \"No Data\",\n\t\t\tcolor: \"#FFFFFF\",\n\t\t\tisDefault: true,\n\t\t},\n\t\t{\n\t\t\tid: \"w3pILkfnTvU\",\n\t\t\tname: \"Target Reached/ On Track\",\n\t\t\tcolor: \"#008000\",\n\t\t},\n\t\t{\n\t\t\tid: \"gbQ4Sz9lTmI\",\n\t\t\tname: \"Progress, but more effort required\",\n\t\t\tcolor: \"#FFFF00\",\n\t\t},\n\t\t{\n\t\t\tid: \"ieUZM8WK8cc\",\n\t\t\tname: \"Not on track\",\n\t\t\tcolor: \"#FF0000\",\n\t\t},\n\t],\n\thighlightedIndicators: [],\n};\n\nconst config: ScorecardConfig = {\n\tadditionalLabels: [\"Data label\"],\n\tcustomHeader: \"<p>W</p>\\n\",\n\tdataSelection: {\n\t\tdataGroups: [\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"EzE8xZ31zfC\",\n\t\t\t\t\t\t\t\tlabel: \"Availability of Vaccines: BCG (no stockout)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"XWUMmCmeM6o\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 80,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 80,\n\t\t\t\t\t\t\t\t\t\tid: \"TOey7YmIgVW\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"PeTnkJSrh0N\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"Availability of Vaccines: BCG (no stockout)\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 3,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"uNau1zjH08I\",\n\t\t\t\t\t\t\t\tlabel: \"Availability of Vaccines DPT (no stockout)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"BwTObmlCQJ9\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"VBf0tTk0FAg\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"Bi2wvoRTFtg\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"Availability of Vaccines DPT (no stockout)\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 6,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"Dca85UJ7O40\",\n\t\t\t\t\t\t\t\tlabel: \"DPT1 coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"uClcTQnvGjo\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"VM7MrPcAzVY\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"IgXxzTrOdfA\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"DPT1 coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 10,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"YT5UD0H7875\",\n\t\t\t\t\t\t\t\tlabel: \"DPT2 Coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"AvNvnIHhPL9\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"L6SjYX2Ob7X\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"FDlibzlPjKa\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"DPT2 Coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 4,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"E31SemmmFGb\",\n\t\t\t\t\t\t\t\tlabel: \"DPT3 coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"vIzqi9I5U5W\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"p8iuaIFYrVh\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"IAawVVFlrHW\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"DPT3 coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 9,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"k7S2WEEZeWO\",\n\t\t\t\t\t\t\t\tlabel: \"BCG coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"HTxdj0lqOni\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"QDRGsOkTFRo\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"ijCUM3ePjXe\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"BCG coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 5,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"wpgvPjYTBba\",\n\t\t\t\t\t\t\t\tlabel: \"MCV1 Coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"cORYIx7oEkM\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 80,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 80,\n\t\t\t\t\t\t\t\t\t\tid: \"yCulcK3litW\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"uHU6IMpweu1\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"MCV1 Coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 8,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"TGFBdsVUobf\",\n\t\t\t\t\t\t\t\tlabel: \"Fully Immunized\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"aGVS5sqcRd4\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"EKIY64Ferh3\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"EfSaPcUQvUA\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"Fully Immunized\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 7,\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: 1,\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#ffffff\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"Default\",\n\t\t\t},\n\t\t],\n\t},\n\tdescription: \"Immunization scorecard\",\n\thighlightedIndicators: [],\n\tid: \"VQ4ipFr7YHx\",\n\tlegendDefinitions: [\n\t\t{\n\t\t\tcolor: \"#008000\",\n\t\t\tid: \"#008000\",\n\t\t\tname: \"Target achieved / on track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFF00\",\n\t\t\tid: \"#FFFF00\",\n\t\t\tname: \"Progress, but more effort required\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FF0000\",\n\t\t\tid: \"#FF0000\",\n\t\t\tname: \"Not on track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#D3D3D3\",\n\t\t\tid: \"N/A\",\n\t\t\tisDefault: true,\n\t\t\tname: \"N/A\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFFFF\",\n\t\t\tid: \"No data\",\n\t\t\tisDefault: true,\n\t\t\tname: \"No data\",\n\t\t},\n\t],\n\toptions: {\n\t\taverageColumn: false,\n\t\taverageDisplayType: \"ALL\",\n\t\taverageRow: false,\n\t\temptyRows: true,\n\t\thighlightedIndicators: false,\n\t\titemNumber: true,\n\t\tlegend: true,\n\t\tshowHierarchy: false,\n\t\ttitle: true,\n\t},\n\torgUnitSelection: {\n\t\tgroups: [],\n\t\tlevels: [\"P0QFTFfTl2X\"],\n\t\torgUnits: [\n\t\t\t{\n\t\t\t\tid: \"GD7TowwI46c\",\n\t\t\t},\n\t\t],\n\t\tuserOrgUnit: false,\n\t\tuserSubUnit: false,\n\t\tuserSubX2Unit: false,\n\t},\n\tperiodSelection: {\n\t\tperiods: [\n\t\t\t{\n\t\t\t\tid: \"2018Q2\",\n\t\t\t},\n\t\t],\n\t\ttype: \"Quarterly\",\n\t},\n\tsharing: {\n\t\texternal: false,\n\t\towner: \"M5zQapPyTZI\",\n\t\tpublic: \"------\",\n\t\tuserGroups: {\n\t\t\tji3bRmgKwkS: {\n\t\t\t\taccess: \"------\",\n\t\t\t\tid: \"ji3bRmgKwkS\",\n\t\t\t},\n\t\t},\n\t\tusers: {},\n\t},\n\tsubtitle: \"\",\n\ttitle: \"Immunization scorecard\",\n};\n\nconst linkedConfig: ScorecardConfig = {\n\tadditionalLabels: [],\n\tcustomHeader:\n\t\t'<p style=\"text-align: center;\"><strong><span style=\"font-size: 14pt;\">Reproductive Mother Newborn Child Adolescent Health Scorecard</span></strong></p>',\n\tdataSelection: {\n\t\tdataGroups: [\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"UT1DJmtzyox\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 1st visit coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: {\n\t\t\t\t\t\t\t\t\tBNQIkbGlA00: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"KpYHhHJn6TW\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"D7p3mOofXV5\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"h53u0qtfWrm\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tP0QFTFfTl2X: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"Gu1MEoKBM9z\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"Ov1gJoUyWGA\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"kdr4mFvCXeF\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tVJJOhuBJSJe: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"ZRel5tdDTxP\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"ZdkqaQjk4dy\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"yHqYRGJTuZ7\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tZqI1kKnH7ve: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"M8SRVFU7qaJ\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"t0kMCebyKa3\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"qQWheNiAv5H\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"FgNnsRgCs8r\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 4th visit coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: {\n\t\t\t\t\t\t\t\t\tBNQIkbGlA00: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"XMzI6YTRjnh\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"XaSA3Wbd8ev\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"zTVnWeobd1W\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tP0QFTFfTl2X: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"uMqW1iTVZbk\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"KF017pCID2N\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"L3PNXKkZlKn\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tVJJOhuBJSJe: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"lpPPAVPWAHa\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"qtzhYa0YOZe\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"rcPPIBAegMP\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tZqI1kKnH7ve: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"w31XD1NVKYc\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"Yka97h8Gp5S\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"rq5CQddHPzj\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"kJx1Eg83H1A\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"uRgQI4ArrDc\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"ANC\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"S0IzYPGQLnN\",\n\t\t\t\t\t\t\t\tlabel: \"PCV 3 coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"bnLSP7FW4CD\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"eIQjXQYMwYF\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"eeXyZVN0FCX\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"ZNz5XzwJZK5\",\n\t\t\t\t\t\t\t\tlabel: \"RMNCH IPTp1 coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"M3O2zlFt2QR\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"XrYIKCaK5uO\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"yAfwEbfXWab\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"kfl50Ej7lDu\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"QcZw8mJ1Rze\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"Child Health\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"wc3XYCyuxyE\",\n\t\t\t\t\t\t\t\tlabel: \"Post partum care coverage (within 2 days) (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"b3UiR0upygY\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"Qws2zJ6nnhO\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"EjYfDZUMrvh\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"NV6Xc9oGJZV\",\n\t\t\t\t\t\t\t\tlabel: \"Breastfeeding within 1 hour after delivery (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"wqt6J8rW5Gg\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"BoXJK9Y7xfL\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"leioF1u23By\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"w8XIm3FYgHf\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"UVvskRg3Q3O\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"PNC\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"XXDXVGzvSx1\",\n\t\t\t\t\t\t\t\tlabel: \"Caesarean section delivery rate (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"nYuMTV2paEd\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"iRmHVCt9uCF\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"oZC6QPZ7AAS\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"lMRhTK17SDQ\",\n\t\t\t\t\t\t\t\tlabel: \"Institutional delivery rate (%)\",\n\t\t\t\t\t\t\t\tlegends: {\n\t\t\t\t\t\t\t\t\tBNQIkbGlA00: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"mOYx4YWdhVl\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"gxG34EbioX8\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"MBAKh3ZG2dK\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tP0QFTFfTl2X: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"MmQldQ7jgAH\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"WF1kso6rvDr\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"JcaFJoC6kNi\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tVJJOhuBJSJe: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"L07Gb3JDHVS\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"jZ9fu7sOQDr\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"EoTSwqHRfZV\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tZqI1kKnH7ve: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"CO0eiIoCRty\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"YWySiVblPtQ\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"paJxvmioynV\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"yZsI8HZOKab\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"erF3HyaFtYs\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"Birth\",\n\t\t\t},\n\t\t],\n\t},\n\tdescription:\n\t\t\"Reproductive Mother Newborn Child Adolescent Health Score Card\",\n\thighlightedIndicators: [\n\t\t{\n\t\t\tdisplayArrows: true,\n\t\t\teffectiveGap: 5,\n\t\t\thighIsGood: true,\n\t\t\tid: \"BvG8P80QxqZ\",\n\t\t\tlabel: \"Access to ANC Services\",\n\t\t\tlegends: [\n\t\t\t\t{\n\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\tid: \"gpxLYDFnZmu\",\n\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\tstartValue: \"80\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"80\",\n\t\t\t\t\tid: \"nG6xsue9WBm\",\n\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\tstartValue: \"60\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"60\",\n\t\t\t\t\tid: \"UeAJV56yLPg\",\n\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\tstartValue: \"40\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"40\",\n\t\t\t\t\tid: \"Gop7mo2IUdC\",\n\t\t\t\t\tlegendDefinitionId: \"N/A\",\n\t\t\t\t\tstartValue: \"20\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"20\",\n\t\t\t\t\tid: \"RE0ln0cImOf\",\n\t\t\t\t\tlegendDefinitionId: \"No Data\",\n\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t},\n\t\t\t],\n\t\t\tshowColors: true,\n\t\t\ttype: \"indicator\",\n\t\t\tweight: 100,\n\t\t},\n\t],\n\tid: \"KKQrggIIOlT\",\n\tlegendDefinitions: [\n\t\t{\n\t\t\tcolor: \"#008000\",\n\t\t\tid: \"Hp7RQEOkeeI\",\n\t\t\tname: \"Target Reached/ On Track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFF00\",\n\t\t\tid: \"Tdn0N0KCkfS\",\n\t\t\tname: \"Progress, but more effort required\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FF0000\",\n\t\t\tid: \"wvkMv3ABWbT\",\n\t\t\tname: \"Not on track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#D3D3D3\",\n\t\t\tid: \"N/A\",\n\t\t\tisDefault: true,\n\t\t\tname: \"N/A\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFFFF\",\n\t\t\tid: \"No Data\",\n\t\t\tisDefault: true,\n\t\t\tname: \"No Data\",\n\t\t},\n\t],\n\toptions: {\n\t\tarrows: true,\n\t\taverageColumn: false,\n\t\taverageDisplayType: \"ALL\",\n\t\taverageRow: false,\n\t\temptyRows: false,\n\t\thighlightedIndicators: false,\n\t\titemNumber: true,\n\t\tlegend: true,\n\t\tshowDataInRows: false,\n\t\tshowHierarchy: true,\n\t\ttitle: true,\n\t},\n\torgUnitSelection: {\n\t\tgroups: [],\n\t\tlevels: [\"P0QFTFfTl2X\"],\n\t\torgUnits: [\n\t\t\t{\n\t\t\t\tid: \"GD7TowwI46c\",\n\t\t\t},\n\t\t],\n\t\tuserOrgUnit: false,\n\t\tuserSubUnit: false,\n\t\tuserSubX2Unit: false,\n\t},\n\tperiodSelection: {\n\t\tperiods: [\n\t\t\t{\n\t\t\t\tid: \"2018\",\n\t\t\t},\n\t\t],\n\t},\n\tsubtitle: \"\",\n\ttitle: \"RMNCAH Score Card Revised\",\n};\n\nfunction OptionsToggle({ name, label }: { name: string; label: string }) {\n\tconst [showDataInRows, setShowDataInRows] =\n\t\tuseScorecardStateSelector<boolean>([\"options\", name]);\n\n\treturn (\n\t\t<CheckboxField\n\t\t\tlabel={label}\n\t\t\tvalue={name}\n\t\t\tonChange={({ checked }) => {\n\t\t\t\tsetShowDataInRows(checked);\n\t\t\t}}\n\t\t\tchecked={showDataInRows}\n\t\t/>\n\t);\n}\n\nconst meta: Meta<typeof Scorecard> = {\n\ttitle: \"Scorecard\",\n\tcomponent: Scorecard,\n\tdecorators: (Story, context) => {\n\t\treturn (\n\t\t\t<ScorecardStateProvider\n\t\t\t\tconfig={config}\n\t\t\t\tinitialState={getInitialStateFromConfig(playConfig)}\n\t\t\t>\n\t\t\t\t<div\n\t\t\t\t\tstyle={{\n\t\t\t\t\t\tmaxWidth: 1600,\n\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\tflexDirection: \"column\",\n\t\t\t\t\t\tgap: 32,\n\t\t\t\t\t\theight: \"60vh\",\n\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<div style={{ display: \"flex\", gap: 16 }}>\n\t\t\t\t\t\t<OptionsToggle\n\t\t\t\t\t\t\tname=\"showDataInRows\"\n\t\t\t\t\t\t\tlabel={\"Show data in rows\"}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<OptionsToggle name=\"arrows\" label={\"Show arrows\"} />\n\t\t\t\t\t\t<OptionsToggle\n\t\t\t\t\t\t\tname=\"showHierarchy\"\n\t\t\t\t\t\t\tlabel={\"Show hierarchy\"}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<OptionsToggle\n\t\t\t\t\t\t\tname=\"averageColumn\"\n\t\t\t\t\t\t\tlabel={\"Show average column\"}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<OptionsToggle\n\t\t\t\t\t\t\tname=\"averageRow\"\n\t\t\t\t\t\t\tlabel={\"Show average row\"}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<OptionsToggle\n\t\t\t\t\t\t\tname=\"itemNumber\"\n\t\t\t\t\t\t\tlabel={\"Show item numbers\"}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<ScorecardContext config={playConfig}>\n\t\t\t\t\t\t<Story\n\t\t\t\t\t\t\targs={{\n\t\t\t\t\t\t\t\t...context.args,\n\t\t\t\t\t\t\t\ttableProps: {\n\t\t\t\t\t\t\t\t\tscrollHeight: \"800px\",\n\t\t\t\t\t\t\t\t\tscrollWidth: \"1600px\",\n\t\t\t\t\t\t\t\t\twidth: \"1600px\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</ScorecardContext>\n\t\t\t\t</div>\n\t\t\t</ScorecardStateProvider>\n\t\t);\n\t},\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof ScorecardContext>;\n\nexport const Default: Story = {\n\tname: \"Default View\",\n\targs: {\n\t\tconfig,\n\t},\n};\n// export const DataInRows: Story = {\n// \tname: \"Data in rows view\",\n// \targs: {},\n// };\n// export const FilteredAboveAverage: Story = {\n// \tname: \"Filtered above average\",\n// \targs: {},\n// };\n// export const FilteredBelowAverage: Story = {\n// \tname: \"Filtered below average\",\n// \targs: {},\n// };\n// export const WithLinkedCells: Story = {\n// \tname: \"With linked cells\",\n// \targs: {},\n// };\n// export const WithLinkedCellsDataInRows: Story = {\n// \tname: \"With linked cells and data in rows\",\n// \targs: {},\n// };\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/Scorecard.stories.tsx"],"names":[],"mappings":"AAo8CE,cA+BI,YA/BJ;AAn8CF,SAAS,iBAAiB;AAE1B,SAAS,wBAAwB;AACjC,SAAS,qBAAqB;AAC9B,SAAS,8BAA8B;AACvC,SAAS,iCAAiC;AAC1C,SAAS,iCAAiC;AAC1C,SAAS,kBAAkB;AAE3B,MAAM,aAA8B;AAAA,EACnC,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,SAAS;AAAA,IACR,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,IACf,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,oBAAoB;AAAA,IACpB,uBAAuB;AAAA,EACxB;AAAA,EACA,SAAS;AAAA,IACR,OAAO;AAAA,IACP,OAAO,CAAC;AAAA,IACR,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,YAAY,CAAC;AAAA,EACd;AAAA,EACA,UAAU;AAAA,EAC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AAAA,kBAAC;AAAA;AAAA,oBACA,MAAK;AAAA,oBACL,OAAO;AAAA;AAAA,gBACR;AAAA,iBACD;AAAA,cACA,oBAAC,oBAAiB,QAAQ,YACzB;AAAA,gBAAC;AAAA;AAAA,kBACA,MAAM;AAAA,oBACL,GAAG,QAAQ;AAAA,oBACX,YAAY;AAAA,sBACX,cAAc;AAAA,sBACd,aAAa;AAAA,sBACb,OAAO;AAAA,oBACR;AAAA,kBACD;AAAA;AAAA,cACD,GACD;AAAA;AAAA;AAAA,QACD;AAAA;AAAA,IACD,GACD;AAAA,EAEF;AACD;AAEA,IAAO,4BAAQ;AAIR,MAAM,UAAiB;AAAA,EAC7B,MAAM;AAAA,EACN,MAAM;AAAA,IACL;AAAA,EACD;AACD","sourcesContent":["import type { Meta, StoryObj } from \"@storybook/react\";\nimport { Scorecard } from \"./Scorecard\";\nimport type { ScorecardConfig } from \"./schemas/config\";\nimport { ScorecardContext } from \"./components\";\nimport { CheckboxField } from \"@dhis2/ui\";\nimport { ScorecardStateProvider } from \"./components/StateProvider\";\nimport { getInitialStateFromConfig } from \"./utils\";\nimport { useScorecardStateSelector } from \"./state\";\nimport { RecoilRoot } from \"recoil\";\n\nconst playConfig: ScorecardConfig = {\n\tid: \"YyeJxCBJpcz\",\n\ttitle: \"Test large scorecard\",\n\toptions: {\n\t\ttitle: true,\n\t\tarrows: true,\n\t\tlegend: true,\n\t\temptyRows: true,\n\t\taverageRow: false,\n\t\titemNumber: true,\n\t\taverageColumn: false,\n\t\tshowHierarchy: false,\n\t\tshowDataInRows: false,\n\t\taverageDisplayType: \"ALL\",\n\t\thighlightedIndicators: false,\n\t},\n\tsharing: {\n\t\towner: \"xE7jOejl9FI\",\n\t\tusers: {},\n\t\tpublic: \"--------\",\n\t\texternal: false,\n\t\tuserGroups: {},\n\t},\n\tsubtitle: \"Test large scorecard\",\n\tdescription: \"Test large scorecard\",\n\tdataSelection: {\n\t\tdataGroups: [\n\t\t\t{\n\t\t\t\tid: \"VakhYjKAA5L\",\n\t\t\t\tstyle: {},\n\t\t\t\ttitle: \"ANC\",\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"sl3FPmEzlRQ\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"Uvn6LCg7dVU\",\n\t\t\t\t\t\t\t\tname: \"ANC 1 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 1 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"KBqf91u67Ro\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"mpjr0KieTWq\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"kAPjRBfoNHb\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"MDGG5JZkC7Y\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"ReUHfIn0pTQ\",\n\t\t\t\t\t\t\t\tname: \"ANC 1-3 Dropout Rate\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 1-3 Dropout Rate\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Prrlf0tASKb\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"OoApWIGYDKH\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"PMHXhSN0FTZ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"KqkECXxol62\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"OdiHJayrsKo\",\n\t\t\t\t\t\t\t\tname: \"ANC 2 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 2 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"BTPWwT1I403\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zUvpqVIgKZh\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"GMDUUxd8oNp\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"nAUoLvHygNy\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"sB79w2hiLp8\",\n\t\t\t\t\t\t\t\tname: \"ANC 3 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 3 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Iv0KuN1QVOZ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zJfB5tn6JJJ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zArIepf6ZU8\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"t3BzVoE76km\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"AUqdhY4mpvp\",\n\t\t\t\t\t\t\t\tname: \"ANC => 4 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC => 4 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"dkCFTve9wTg\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"rNiVyCpg3Ck\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"mE4q4gjRZW1\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"MBkuYQyjeb1\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"dwEq7wi6nXV\",\n\t\t\t\t\t\t\t\tname: \"ANC IPT 1 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC IPT 1 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"rAyBjZPWD1E\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zl4jZMLZ0lk\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Tcsyb58pcgh\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"VU3Y32VhgOd\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"c8fABiNpT0B\",\n\t\t\t\t\t\t\t\tname: \"ANC IPT 2 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC IPT 2 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"remIGHppCft\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Xu1x3y97s4v\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"rRmENa76Wt4\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"UQjPFLfeMz3\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"Tt5TAvdfdVK\",\n\t\t\t\t\t\t\t\tname: \"ANC LLITN coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC LLITN coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"hiVwKNC8KAO\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"mwheQQolL37\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"IrehypEPWN3\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"MmT5zVXL2W5\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"puykO1tbcdi\",\n\t\t\t\t\t\t\t\tname: \"ANC TT2 coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC TT2 coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"nxQuKBOX0qp\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"oUDhvFmsaWJ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"iypIK6ubVEz\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"O4npHQEsuFd\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"Lzg9LtG1xg3\",\n\t\t\t\t\t\t\t\tname: \"ANC visits per clinical professional\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC visits per clinical professional\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"qTy67GvZmUq\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"RtIRjuB8PXc\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"vjbeOeOj2q3\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t},\n\tperiodSelection: {\n\t\tperiods: [\n\t\t\t{\n\t\t\t\tid: \"202401\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"202402\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"202403\",\n\t\t\t},\n\t\t],\n\t},\n\tadditionalLabels: [],\n\torgUnitSelection: {\n\t\tgroups: [],\n\t\tlevels: [],\n\t\torgUnits: [],\n\t\tuserOrgUnit: true,\n\t\tuserSubUnit: true,\n\t\tuserSubX2Unit: false,\n\t},\n\tlegendDefinitions: [\n\t\t{\n\t\t\tid: \"N/A\",\n\t\t\tname: \"N/A\",\n\t\t\tcolor: \"#D3D3D3\",\n\t\t\tisDefault: true,\n\t\t},\n\t\t{\n\t\t\tid: \"No Data\",\n\t\t\tname: \"No Data\",\n\t\t\tcolor: \"#FFFFFF\",\n\t\t\tisDefault: true,\n\t\t},\n\t\t{\n\t\t\tid: \"w3pILkfnTvU\",\n\t\t\tname: \"Target Reached/ On Track\",\n\t\t\tcolor: \"#008000\",\n\t\t},\n\t\t{\n\t\t\tid: \"gbQ4Sz9lTmI\",\n\t\t\tname: \"Progress, but more effort required\",\n\t\t\tcolor: \"#FFFF00\",\n\t\t},\n\t\t{\n\t\t\tid: \"ieUZM8WK8cc\",\n\t\t\tname: \"Not on track\",\n\t\t\tcolor: \"#FF0000\",\n\t\t},\n\t],\n\thighlightedIndicators: [],\n};\n\nconst config: ScorecardConfig = {\n\tadditionalLabels: [\"Data label\"],\n\tcustomHeader: \"<p>W</p>\\n\",\n\tdataSelection: {\n\t\tdataGroups: [\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"EzE8xZ31zfC\",\n\t\t\t\t\t\t\t\tlabel: \"Availability of Vaccines: BCG (no stockout)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"XWUMmCmeM6o\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 80,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 80,\n\t\t\t\t\t\t\t\t\t\tid: \"TOey7YmIgVW\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"PeTnkJSrh0N\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"Availability of Vaccines: BCG (no stockout)\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 3,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"uNau1zjH08I\",\n\t\t\t\t\t\t\t\tlabel: \"Availability of Vaccines DPT (no stockout)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"BwTObmlCQJ9\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"VBf0tTk0FAg\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"Bi2wvoRTFtg\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"Availability of Vaccines DPT (no stockout)\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 6,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"Dca85UJ7O40\",\n\t\t\t\t\t\t\t\tlabel: \"DPT1 coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"uClcTQnvGjo\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"VM7MrPcAzVY\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"IgXxzTrOdfA\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"DPT1 coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 10,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"YT5UD0H7875\",\n\t\t\t\t\t\t\t\tlabel: \"DPT2 Coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"AvNvnIHhPL9\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"L6SjYX2Ob7X\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"FDlibzlPjKa\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"DPT2 Coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 4,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"E31SemmmFGb\",\n\t\t\t\t\t\t\t\tlabel: \"DPT3 coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"vIzqi9I5U5W\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"p8iuaIFYrVh\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"IAawVVFlrHW\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"DPT3 coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 9,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"k7S2WEEZeWO\",\n\t\t\t\t\t\t\t\tlabel: \"BCG coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"HTxdj0lqOni\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"QDRGsOkTFRo\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"ijCUM3ePjXe\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"BCG coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 5,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"wpgvPjYTBba\",\n\t\t\t\t\t\t\t\tlabel: \"MCV1 Coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"cORYIx7oEkM\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 80,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 80,\n\t\t\t\t\t\t\t\t\t\tid: \"yCulcK3litW\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"uHU6IMpweu1\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"MCV1 Coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 8,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"TGFBdsVUobf\",\n\t\t\t\t\t\t\t\tlabel: \"Fully Immunized\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"aGVS5sqcRd4\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"EKIY64Ferh3\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"EfSaPcUQvUA\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"Fully Immunized\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 7,\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: 1,\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#ffffff\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"Default\",\n\t\t\t},\n\t\t],\n\t},\n\tdescription: \"Immunization scorecard\",\n\thighlightedIndicators: [],\n\tid: \"VQ4ipFr7YHx\",\n\tlegendDefinitions: [\n\t\t{\n\t\t\tcolor: \"#008000\",\n\t\t\tid: \"#008000\",\n\t\t\tname: \"Target achieved / on track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFF00\",\n\t\t\tid: \"#FFFF00\",\n\t\t\tname: \"Progress, but more effort required\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FF0000\",\n\t\t\tid: \"#FF0000\",\n\t\t\tname: \"Not on track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#D3D3D3\",\n\t\t\tid: \"N/A\",\n\t\t\tisDefault: true,\n\t\t\tname: \"N/A\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFFFF\",\n\t\t\tid: \"No data\",\n\t\t\tisDefault: true,\n\t\t\tname: \"No data\",\n\t\t},\n\t],\n\toptions: {\n\t\taverageColumn: false,\n\t\taverageDisplayType: \"ALL\",\n\t\taverageRow: false,\n\t\temptyRows: true,\n\t\thighlightedIndicators: false,\n\t\titemNumber: true,\n\t\tlegend: true,\n\t\tshowHierarchy: false,\n\t\ttitle: true,\n\t},\n\torgUnitSelection: {\n\t\tgroups: [],\n\t\tlevels: [\"P0QFTFfTl2X\"],\n\t\torgUnits: [\n\t\t\t{\n\t\t\t\tid: \"GD7TowwI46c\",\n\t\t\t},\n\t\t],\n\t\tuserOrgUnit: false,\n\t\tuserSubUnit: false,\n\t\tuserSubX2Unit: false,\n\t},\n\tperiodSelection: {\n\t\tperiods: [\n\t\t\t{\n\t\t\t\tid: \"2018Q2\",\n\t\t\t},\n\t\t],\n\t\ttype: \"Quarterly\",\n\t},\n\tsharing: {\n\t\texternal: false,\n\t\towner: \"M5zQapPyTZI\",\n\t\tpublic: \"------\",\n\t\tuserGroups: {\n\t\t\tji3bRmgKwkS: {\n\t\t\t\taccess: \"------\",\n\t\t\t\tid: \"ji3bRmgKwkS\",\n\t\t\t},\n\t\t},\n\t\tusers: {},\n\t},\n\tsubtitle: \"\",\n\ttitle: \"Immunization scorecard\",\n};\n\nconst linkedConfig: ScorecardConfig = {\n\tadditionalLabels: [],\n\tcustomHeader:\n\t\t'<p style=\"text-align: center;\"><strong><span style=\"font-size: 14pt;\">Reproductive Mother Newborn Child Adolescent Health Scorecard</span></strong></p>',\n\tdataSelection: {\n\t\tdataGroups: [\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"UT1DJmtzyox\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 1st visit coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: {\n\t\t\t\t\t\t\t\t\tBNQIkbGlA00: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"KpYHhHJn6TW\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"D7p3mOofXV5\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"h53u0qtfWrm\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tP0QFTFfTl2X: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"Gu1MEoKBM9z\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"Ov1gJoUyWGA\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"kdr4mFvCXeF\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tVJJOhuBJSJe: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"ZRel5tdDTxP\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"ZdkqaQjk4dy\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"yHqYRGJTuZ7\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tZqI1kKnH7ve: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"M8SRVFU7qaJ\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"t0kMCebyKa3\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"qQWheNiAv5H\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"FgNnsRgCs8r\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 4th visit coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: {\n\t\t\t\t\t\t\t\t\tBNQIkbGlA00: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"XMzI6YTRjnh\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"XaSA3Wbd8ev\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"zTVnWeobd1W\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tP0QFTFfTl2X: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"uMqW1iTVZbk\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"KF017pCID2N\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"L3PNXKkZlKn\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tVJJOhuBJSJe: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"lpPPAVPWAHa\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"qtzhYa0YOZe\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"rcPPIBAegMP\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tZqI1kKnH7ve: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"w31XD1NVKYc\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"Yka97h8Gp5S\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"rq5CQddHPzj\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"kJx1Eg83H1A\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"uRgQI4ArrDc\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"ANC\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"S0IzYPGQLnN\",\n\t\t\t\t\t\t\t\tlabel: \"PCV 3 coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"bnLSP7FW4CD\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"eIQjXQYMwYF\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"eeXyZVN0FCX\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"ZNz5XzwJZK5\",\n\t\t\t\t\t\t\t\tlabel: \"RMNCH IPTp1 coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"M3O2zlFt2QR\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"XrYIKCaK5uO\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"yAfwEbfXWab\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"kfl50Ej7lDu\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"QcZw8mJ1Rze\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"Child Health\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"wc3XYCyuxyE\",\n\t\t\t\t\t\t\t\tlabel: \"Post partum care coverage (within 2 days) (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"b3UiR0upygY\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"Qws2zJ6nnhO\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"EjYfDZUMrvh\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"NV6Xc9oGJZV\",\n\t\t\t\t\t\t\t\tlabel: \"Breastfeeding within 1 hour after delivery (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"wqt6J8rW5Gg\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"BoXJK9Y7xfL\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"leioF1u23By\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"w8XIm3FYgHf\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"UVvskRg3Q3O\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"PNC\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"XXDXVGzvSx1\",\n\t\t\t\t\t\t\t\tlabel: \"Caesarean section delivery rate (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"nYuMTV2paEd\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"iRmHVCt9uCF\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"oZC6QPZ7AAS\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"lMRhTK17SDQ\",\n\t\t\t\t\t\t\t\tlabel: \"Institutional delivery rate (%)\",\n\t\t\t\t\t\t\t\tlegends: {\n\t\t\t\t\t\t\t\t\tBNQIkbGlA00: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"mOYx4YWdhVl\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"gxG34EbioX8\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"MBAKh3ZG2dK\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tP0QFTFfTl2X: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"MmQldQ7jgAH\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"WF1kso6rvDr\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"JcaFJoC6kNi\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tVJJOhuBJSJe: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"L07Gb3JDHVS\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"jZ9fu7sOQDr\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"EoTSwqHRfZV\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tZqI1kKnH7ve: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"CO0eiIoCRty\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"YWySiVblPtQ\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"paJxvmioynV\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"yZsI8HZOKab\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"erF3HyaFtYs\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"Birth\",\n\t\t\t},\n\t\t],\n\t},\n\tdescription:\n\t\t\"Reproductive Mother Newborn Child Adolescent Health Score Card\",\n\thighlightedIndicators: [\n\t\t{\n\t\t\tdisplayArrows: true,\n\t\t\teffectiveGap: 5,\n\t\t\thighIsGood: true,\n\t\t\tid: \"BvG8P80QxqZ\",\n\t\t\tlabel: \"Access to ANC Services\",\n\t\t\tlegends: [\n\t\t\t\t{\n\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\tid: \"gpxLYDFnZmu\",\n\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\tstartValue: \"80\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"80\",\n\t\t\t\t\tid: \"nG6xsue9WBm\",\n\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\tstartValue: \"60\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"60\",\n\t\t\t\t\tid: \"UeAJV56yLPg\",\n\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\tstartValue: \"40\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"40\",\n\t\t\t\t\tid: \"Gop7mo2IUdC\",\n\t\t\t\t\tlegendDefinitionId: \"N/A\",\n\t\t\t\t\tstartValue: \"20\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"20\",\n\t\t\t\t\tid: \"RE0ln0cImOf\",\n\t\t\t\t\tlegendDefinitionId: \"No Data\",\n\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t},\n\t\t\t],\n\t\t\tshowColors: true,\n\t\t\ttype: \"indicator\",\n\t\t\tweight: 100,\n\t\t},\n\t],\n\tid: \"KKQrggIIOlT\",\n\tlegendDefinitions: [\n\t\t{\n\t\t\tcolor: \"#008000\",\n\t\t\tid: \"Hp7RQEOkeeI\",\n\t\t\tname: \"Target Reached/ On Track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFF00\",\n\t\t\tid: \"Tdn0N0KCkfS\",\n\t\t\tname: \"Progress, but more effort required\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FF0000\",\n\t\t\tid: \"wvkMv3ABWbT\",\n\t\t\tname: \"Not on track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#D3D3D3\",\n\t\t\tid: \"N/A\",\n\t\t\tisDefault: true,\n\t\t\tname: \"N/A\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFFFF\",\n\t\t\tid: \"No Data\",\n\t\t\tisDefault: true,\n\t\t\tname: \"No Data\",\n\t\t},\n\t],\n\toptions: {\n\t\tarrows: true,\n\t\taverageColumn: false,\n\t\taverageDisplayType: \"ALL\",\n\t\taverageRow: false,\n\t\temptyRows: false,\n\t\thighlightedIndicators: false,\n\t\titemNumber: true,\n\t\tlegend: true,\n\t\tshowDataInRows: false,\n\t\tshowHierarchy: true,\n\t\ttitle: true,\n\t},\n\torgUnitSelection: {\n\t\tgroups: [],\n\t\tlevels: [\"P0QFTFfTl2X\"],\n\t\torgUnits: [\n\t\t\t{\n\t\t\t\tid: \"GD7TowwI46c\",\n\t\t\t},\n\t\t],\n\t\tuserOrgUnit: false,\n\t\tuserSubUnit: false,\n\t\tuserSubX2Unit: false,\n\t},\n\tperiodSelection: {\n\t\tperiods: [\n\t\t\t{\n\t\t\t\tid: \"2018\",\n\t\t\t},\n\t\t],\n\t},\n\tsubtitle: \"\",\n\ttitle: \"RMNCAH Score Card Revised\",\n};\n\nfunction OptionsToggle({ name, label }: { name: string; label: string }) {\n\tconst [showDataInRows, setShowDataInRows] =\n\t\tuseScorecardStateSelector<boolean>([\"options\", name]);\n\n\treturn (\n\t\t<CheckboxField\n\t\t\tlabel={label}\n\t\t\tvalue={name}\n\t\t\tonChange={({ checked }) => {\n\t\t\t\tsetShowDataInRows(checked);\n\t\t\t}}\n\t\t\tchecked={showDataInRows}\n\t\t/>\n\t);\n}\n\nconst meta: Meta<typeof Scorecard> = {\n\ttitle: \"Scorecard\",\n\tcomponent: Scorecard,\n\tdecorators: (Story, context) => {\n\t\treturn (\n\t\t\t<RecoilRoot>\n\t\t\t\t<ScorecardStateProvider\n\t\t\t\t\tconfig={config}\n\t\t\t\t\tinitialState={getInitialStateFromConfig(playConfig)}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\tmaxWidth: 1600,\n\t\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\t\tflexDirection: \"column\",\n\t\t\t\t\t\t\tgap: 32,\n\t\t\t\t\t\t\theight: \"60vh\",\n\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t<div style={{ display: \"flex\", gap: 16 }}>\n\t\t\t\t\t\t\t<OptionsToggle\n\t\t\t\t\t\t\t\tname=\"showDataInRows\"\n\t\t\t\t\t\t\t\tlabel={\"Show data in rows\"}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<OptionsToggle\n\t\t\t\t\t\t\t\tname=\"arrows\"\n\t\t\t\t\t\t\t\tlabel={\"Show arrows\"}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<OptionsToggle\n\t\t\t\t\t\t\t\tname=\"showHierarchy\"\n\t\t\t\t\t\t\t\tlabel={\"Show hierarchy\"}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<OptionsToggle\n\t\t\t\t\t\t\t\tname=\"averageColumn\"\n\t\t\t\t\t\t\t\tlabel={\"Show average column\"}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<OptionsToggle\n\t\t\t\t\t\t\t\tname=\"averageRow\"\n\t\t\t\t\t\t\t\tlabel={\"Show average row\"}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<OptionsToggle\n\t\t\t\t\t\t\t\tname=\"itemNumber\"\n\t\t\t\t\t\t\t\tlabel={\"Show item numbers\"}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<ScorecardContext config={playConfig}>\n\t\t\t\t\t\t\t<Story\n\t\t\t\t\t\t\t\targs={{\n\t\t\t\t\t\t\t\t\t...context.args,\n\t\t\t\t\t\t\t\t\ttableProps: {\n\t\t\t\t\t\t\t\t\t\tscrollHeight: \"800px\",\n\t\t\t\t\t\t\t\t\t\tscrollWidth: \"1600px\",\n\t\t\t\t\t\t\t\t\t\twidth: \"1600px\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</ScorecardContext>\n\t\t\t\t\t</div>\n\t\t\t\t</ScorecardStateProvider>\n\t\t\t</RecoilRoot>\n\t\t);\n\t},\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof ScorecardContext>;\n\nexport const Default: Story = {\n\tname: \"Default View\",\n\targs: {\n\t\tconfig,\n\t},\n};\n// export const DataInRows: Story = {\n// \tname: \"Data in rows view\",\n// \targs: {},\n// };\n// export const FilteredAboveAverage: Story = {\n// \tname: \"Filtered above average\",\n// \targs: {},\n// };\n// export const FilteredBelowAverage: Story = {\n// \tname: \"Filtered below average\",\n// \targs: {},\n// };\n// export const WithLinkedCells: Story = {\n// \tname: \"With linked cells\",\n// \targs: {},\n// };\n// export const WithLinkedCellsDataInRows: Story = {\n// \tname: \"With linked cells and data in rows\",\n// \targs: {},\n// };\n"]}
|