@hisptz/dhis2-analytics 2.0.35 → 2.0.37

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.
Files changed (47) hide show
  1. package/dist/components/Scorecard/Scorecard.stories.js +926 -5
  2. package/dist/components/Scorecard/Scorecard.stories.js.map +1 -1
  3. package/dist/components/Scorecard/components/ScorecardTable/components/DataContainer.js +12 -3
  4. package/dist/components/Scorecard/components/ScorecardTable/components/DataContainer.js.map +1 -1
  5. package/dist/components/Scorecard/components/ScorecardTable/components/MetaFooterCell.js +1 -0
  6. package/dist/components/Scorecard/components/ScorecardTable/components/MetaFooterCell.js.map +1 -1
  7. package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/ExpandCell.js +1 -0
  8. package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/ExpandCell.js.map +1 -1
  9. package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/LabelCell.js +1 -0
  10. package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/LabelCell.js.map +1 -1
  11. package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/NumberCell.js +1 -0
  12. package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/NumberCell.js.map +1 -1
  13. package/dist/components/Scorecard/components/TableStateProvider.js +0 -1
  14. package/dist/components/Scorecard/components/TableStateProvider.js.map +1 -1
  15. package/dist/components/Scorecard/hooks/value.js +0 -14
  16. package/dist/components/Scorecard/hooks/value.js.map +1 -1
  17. package/dist/components/Scorecard/schemas/config.js +2 -1
  18. package/dist/components/Scorecard/schemas/config.js.map +1 -1
  19. package/dist/esm/components/Scorecard/Scorecard.stories.js +926 -5
  20. package/dist/esm/components/Scorecard/Scorecard.stories.js.map +1 -1
  21. package/dist/esm/components/Scorecard/components/ScorecardTable/components/DataContainer.js +13 -4
  22. package/dist/esm/components/Scorecard/components/ScorecardTable/components/DataContainer.js.map +1 -1
  23. package/dist/esm/components/Scorecard/components/ScorecardTable/components/MetaFooterCell.js +1 -0
  24. package/dist/esm/components/Scorecard/components/ScorecardTable/components/MetaFooterCell.js.map +1 -1
  25. package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/ExpandCell.js +1 -0
  26. package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/ExpandCell.js.map +1 -1
  27. package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/LabelCell.js +1 -0
  28. package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/LabelCell.js.map +1 -1
  29. package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/NumberCell.js +1 -0
  30. package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/NumberCell.js.map +1 -1
  31. package/dist/esm/components/Scorecard/components/TableStateProvider.js +0 -1
  32. package/dist/esm/components/Scorecard/components/TableStateProvider.js.map +1 -1
  33. package/dist/esm/components/Scorecard/hooks/value.js +0 -14
  34. package/dist/esm/components/Scorecard/hooks/value.js.map +1 -1
  35. package/dist/esm/components/Scorecard/schemas/config.js +2 -2
  36. package/dist/esm/components/Scorecard/schemas/config.js.map +1 -1
  37. package/dist/types/components/Scorecard/components/ScorecardTable/components/DataContainer.d.ts +88 -4
  38. package/dist/types/components/Scorecard/components/ScorecardTable/components/DataContainer.d.ts.map +1 -1
  39. package/dist/types/components/Scorecard/components/ScorecardTable/components/MetaFooterCell.d.ts.map +1 -1
  40. package/dist/types/components/Scorecard/components/ScorecardTable/components/TableHeader/components/ExpandCell.d.ts.map +1 -1
  41. package/dist/types/components/Scorecard/components/ScorecardTable/components/TableHeader/components/LabelCell.d.ts.map +1 -1
  42. package/dist/types/components/Scorecard/components/ScorecardTable/components/TableHeader/components/NumberCell.d.ts.map +1 -1
  43. package/dist/types/components/Scorecard/components/TableStateProvider.d.ts.map +1 -1
  44. package/dist/types/components/Scorecard/hooks/value.d.ts.map +1 -1
  45. package/dist/types/components/Scorecard/schemas/config.d.ts +1 -1
  46. package/dist/types/components/Scorecard/schemas/config.d.ts.map +1 -1
  47. package/package.json +3 -3
@@ -13,6 +13,928 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
13
13
 
14
14
  var i18n__default = /*#__PURE__*/_interopDefault(i18n);
15
15
 
16
+ const hmisConfig = {
17
+ id: "BhKVCyUvoWX",
18
+ name: "NACP PEDIATRIC/ADOLESCENT/YOUTH HIV SCORECARD",
19
+ user: {
20
+ id: "ZXkqhHnNxUv"
21
+ },
22
+ title: "NACP PEDIATRIC/ADOLESCENT/YOUTH HIV SCORECARD",
23
+ options: {
24
+ title: true,
25
+ legend: true,
26
+ emptyRows: true,
27
+ averageRow: false,
28
+ itemNumber: true,
29
+ averageColumn: false,
30
+ showHierarchy: false,
31
+ averageDisplayType: "ALL",
32
+ highlightedIndicators: false
33
+ },
34
+ subtitle: "",
35
+ periodType: "RelativeQuarter",
36
+ description: "The scorecard to monitor the performance of HIV indicators for pediatric, adolescent and youth ",
37
+ customHeader: '<h3 style="text-align:center"><small>NACP HIV Scorecard for Pediatric, Adolescent and Youth&nbsp;</small></h3>\n',
38
+ publicAccess: {
39
+ id: "public",
40
+ type: "public",
41
+ access: "r-----",
42
+ displayName: "Public"
43
+ },
44
+ userAccesses: [],
45
+ dataSelection: {
46
+ dataGroups: [
47
+ {
48
+ id: 1,
49
+ style: {
50
+ color: "#000000",
51
+ backgroundColor: "#ffffff"
52
+ },
53
+ title: "HEID",
54
+ dataHolders: [
55
+ {
56
+ id: 10,
57
+ dataSources: [
58
+ {
59
+ id: "IthUUAMiFfL",
60
+ name: "% of HEI tested for HIV by using DNA PCR at birth",
61
+ type: "customFunction",
62
+ label: "% of HEI tested for HIV by using DNA PCR at birth",
63
+ weight: 100,
64
+ legends: [
65
+ {
66
+ id: "Sxqhyp0mTNy",
67
+ endValue: "-",
68
+ startValue: "79",
69
+ legendDefinitionId: "#008000"
70
+ },
71
+ {
72
+ id: "aUPSsUgydxI",
73
+ endValue: "79",
74
+ startValue: "59",
75
+ legendDefinitionId: "#FFFF00"
76
+ },
77
+ {
78
+ id: "i2bk3Z5N5dc",
79
+ endValue: "59",
80
+ startValue: "0",
81
+ legendDefinitionId: "#FF0000"
82
+ }
83
+ ],
84
+ highIsGood: true,
85
+ showColors: true,
86
+ effectiveGap: 5,
87
+ displayArrows: true
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ id: 11,
93
+ dataSources: [
94
+ {
95
+ id: "gRPou3d8CE9",
96
+ name: "% of HEI tested for HIV by using DNA PCR by 2 months of age",
97
+ type: "customFunction",
98
+ label: "% of HEI tested for HIV by using DNA PCR by 2 months of age",
99
+ weight: 100,
100
+ legends: [
101
+ {
102
+ id: "wUkD7XzHb0j",
103
+ endValue: "-",
104
+ startValue: "89",
105
+ legendDefinitionId: "#008000"
106
+ },
107
+ {
108
+ id: "yhF2fhp24cq",
109
+ endValue: "89",
110
+ startValue: "69",
111
+ legendDefinitionId: "#FFFF00"
112
+ },
113
+ {
114
+ id: "vHyCp61XFcq",
115
+ endValue: "89",
116
+ startValue: "0",
117
+ legendDefinitionId: "#FF0000"
118
+ }
119
+ ],
120
+ highIsGood: true,
121
+ showColors: true,
122
+ effectiveGap: 5,
123
+ displayArrows: true
124
+ },
125
+ {
126
+ id: "N0uX7d0NaVB",
127
+ name: "% of HEI who received a first HIV test",
128
+ type: "customFunction",
129
+ label: "% of HEI who received a first HIV test",
130
+ weight: 100,
131
+ legends: [
132
+ {
133
+ id: "dNElN1hn00o",
134
+ endValue: "-",
135
+ startValue: "89",
136
+ legendDefinitionId: "#008000"
137
+ },
138
+ {
139
+ id: "YMPnRvYDN36",
140
+ endValue: "89",
141
+ startValue: "69",
142
+ legendDefinitionId: "#FFFF00"
143
+ },
144
+ {
145
+ id: "K5BWj3BrgZj",
146
+ endValue: "69",
147
+ startValue: "0",
148
+ legendDefinitionId: "#FF0000"
149
+ }
150
+ ],
151
+ highIsGood: true,
152
+ showColors: true,
153
+ effectiveGap: 5,
154
+ displayArrows: true
155
+ }
156
+ ]
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ id: 3,
162
+ style: {
163
+ color: "#000000",
164
+ backgroundColor: "#ffffff"
165
+ },
166
+ title: "Children (0-14 Years)",
167
+ dataHolders: [
168
+ {
169
+ id: 18,
170
+ dataSources: [
171
+ {
172
+ id: "Jx7KCLruuYV",
173
+ name: "Proportion of Children Knowing HIV Status",
174
+ type: "customFunction",
175
+ label: "Proportion of Children Knowing HIV Status",
176
+ weight: 100,
177
+ legends: [
178
+ {
179
+ id: "W4PYAXl1mUS",
180
+ endValue: "-",
181
+ startValue: "94",
182
+ legendDefinitionId: "#008000"
183
+ },
184
+ {
185
+ id: "Axbz0ktD7Hp",
186
+ endValue: "94",
187
+ startValue: "79",
188
+ legendDefinitionId: "#FFFF00"
189
+ },
190
+ {
191
+ id: "wPv7QSNUzXR",
192
+ endValue: "79",
193
+ startValue: "0",
194
+ legendDefinitionId: "#FF0000"
195
+ }
196
+ ],
197
+ highIsGood: true,
198
+ showColors: true,
199
+ effectiveGap: 5,
200
+ displayArrows: true
201
+ }
202
+ ]
203
+ },
204
+ {
205
+ id: 15,
206
+ dataSources: [
207
+ {
208
+ id: "HkfV3tNXRZb",
209
+ name: "% of Children who are on ART",
210
+ type: "customFunction",
211
+ label: "% of Children who are on ART",
212
+ weight: 100,
213
+ legends: [
214
+ {
215
+ id: "BT9KhOryZk2",
216
+ endValue: "-",
217
+ startValue: "94",
218
+ legendDefinitionId: "#008000"
219
+ },
220
+ {
221
+ id: "doqLR5kCUds",
222
+ endValue: "94",
223
+ startValue: "79",
224
+ legendDefinitionId: "#FFFF00"
225
+ },
226
+ {
227
+ id: "XDNw10t5dw5",
228
+ endValue: "79",
229
+ startValue: "0",
230
+ legendDefinitionId: "#FF0000"
231
+ }
232
+ ],
233
+ highIsGood: true,
234
+ showColors: true,
235
+ effectiveGap: 5,
236
+ displayArrows: true
237
+ }
238
+ ]
239
+ },
240
+ {
241
+ id: 7,
242
+ dataSources: [
243
+ {
244
+ id: "HmbRukEsmjU",
245
+ name: "% children with HVL tests < 1000 copies/mL",
246
+ type: "customFunction",
247
+ label: "% children with HVL tests < 1000 copies/mL",
248
+ weight: 100,
249
+ legends: [
250
+ {
251
+ id: "Qj7kJibCyu4",
252
+ endValue: 100,
253
+ startValue: "94",
254
+ legendDefinitionId: "#008000"
255
+ },
256
+ {
257
+ id: "SqOWUnm4lno",
258
+ endValue: "94",
259
+ startValue: "79",
260
+ legendDefinitionId: "#FFFF00"
261
+ },
262
+ {
263
+ id: "VLPCRzM69xJ",
264
+ endValue: "79",
265
+ startValue: "0",
266
+ legendDefinitionId: "#FF0000"
267
+ }
268
+ ],
269
+ highIsGood: true,
270
+ showColors: true,
271
+ effectiveGap: 5,
272
+ displayArrows: true
273
+ }
274
+ ]
275
+ },
276
+ {
277
+ id: 5,
278
+ dataSources: [
279
+ {
280
+ id: "jEGIBmPhEEK",
281
+ name: "% of children initiated ART within 7 days",
282
+ type: "customFunction",
283
+ label: "% of children initiated ART within 7 days",
284
+ weight: 100,
285
+ legends: [
286
+ {
287
+ id: "LfhMUJjUYti",
288
+ endValue: "-",
289
+ startValue: "97",
290
+ legendDefinitionId: "#008000"
291
+ },
292
+ {
293
+ id: "edU1iXxAX9Z",
294
+ endValue: "97",
295
+ startValue: "84",
296
+ legendDefinitionId: "#FFFF00"
297
+ },
298
+ {
299
+ id: "bXd2d5Vsdwn",
300
+ endValue: "84",
301
+ startValue: "0",
302
+ legendDefinitionId: "#FF0000"
303
+ }
304
+ ],
305
+ highIsGood: true,
306
+ showColors: true,
307
+ effectiveGap: 5,
308
+ displayArrows: true
309
+ }
310
+ ]
311
+ },
312
+ {
313
+ id: 2,
314
+ dataSources: [
315
+ {
316
+ id: "FeW7SL5GuOR",
317
+ name: "% of children screened for TB",
318
+ type: "customFunction",
319
+ label: "% of children screened for TB",
320
+ weight: 100,
321
+ legends: [
322
+ {
323
+ id: "ReVDVNbTs5e",
324
+ endValue: "-",
325
+ startValue: "94",
326
+ legendDefinitionId: "#008000"
327
+ },
328
+ {
329
+ id: "ZWdPRzqTmew",
330
+ endValue: "94",
331
+ startValue: "79",
332
+ legendDefinitionId: "#FFFF00"
333
+ },
334
+ {
335
+ id: "PoeevSi8XRQ",
336
+ endValue: "79",
337
+ startValue: "0",
338
+ legendDefinitionId: "#FF0000"
339
+ }
340
+ ],
341
+ highIsGood: true,
342
+ showColors: true,
343
+ effectiveGap: 5,
344
+ displayArrows: true
345
+ }
346
+ ]
347
+ },
348
+ {
349
+ id: 27,
350
+ dataSources: [
351
+ {
352
+ id: "cFljxyUNM1J",
353
+ name: "% of children dispensed 3 months ARVs",
354
+ type: "customFunction",
355
+ label: "% of children dispensed 3 months ARVs",
356
+ weight: 100,
357
+ legends: [
358
+ {
359
+ id: "YVF1WWC3y8r",
360
+ endValue: "-",
361
+ startValue: "79",
362
+ legendDefinitionId: "#008000"
363
+ },
364
+ {
365
+ id: "frmDM5JBqGd",
366
+ endValue: "79",
367
+ startValue: "69",
368
+ legendDefinitionId: "#FFFF00"
369
+ },
370
+ {
371
+ id: "ODHJdmbS4qn",
372
+ endValue: "69",
373
+ startValue: "0",
374
+ legendDefinitionId: "#FF0000"
375
+ }
376
+ ],
377
+ highIsGood: true,
378
+ showColors: true,
379
+ effectiveGap: 5,
380
+ displayArrows: true
381
+ }
382
+ ]
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ id: 2,
388
+ style: {
389
+ color: "#000000",
390
+ backgroundColor: "#ffffff"
391
+ },
392
+ title: "Adolescents (10-19 Years)",
393
+ dataHolders: [
394
+ {
395
+ id: 19,
396
+ dataSources: [
397
+ {
398
+ id: "uYxyQJZC75P",
399
+ name: "Proportion of Adolescent knowing HIV Status",
400
+ type: "customFunction",
401
+ label: "Proportion of Adolescent knowing HIV Status",
402
+ weight: 100,
403
+ legends: [
404
+ {
405
+ id: "pNc1EYpMBYb",
406
+ endValue: "-",
407
+ startValue: "94",
408
+ legendDefinitionId: "#008000"
409
+ },
410
+ {
411
+ id: "nWz2xKgBamK",
412
+ endValue: "94",
413
+ startValue: "79",
414
+ legendDefinitionId: "#FFFF00"
415
+ },
416
+ {
417
+ id: "pE0d0pgG2Sh",
418
+ endValue: "79",
419
+ startValue: "0",
420
+ legendDefinitionId: "#FF0000"
421
+ }
422
+ ],
423
+ highIsGood: true,
424
+ showColors: true,
425
+ effectiveGap: 5,
426
+ displayArrows: true
427
+ }
428
+ ]
429
+ },
430
+ {
431
+ id: 16,
432
+ dataSources: [
433
+ {
434
+ id: "ZkCW7fqvsvy",
435
+ name: "% of Adolescent who are on ART",
436
+ type: "customFunction",
437
+ label: "% of Adolescent who are on ART",
438
+ weight: 100,
439
+ legends: [
440
+ {
441
+ id: "Ux204RVn0Qm",
442
+ endValue: "-",
443
+ startValue: "94",
444
+ legendDefinitionId: "#008000"
445
+ },
446
+ {
447
+ id: "Aormlo8t3fv",
448
+ endValue: "94",
449
+ startValue: "79",
450
+ legendDefinitionId: "#FFFF00"
451
+ },
452
+ {
453
+ id: "Nz5ZNbnMMIV",
454
+ endValue: "79",
455
+ startValue: "0",
456
+ legendDefinitionId: "#FF0000"
457
+ }
458
+ ],
459
+ highIsGood: true,
460
+ showColors: true,
461
+ effectiveGap: 5,
462
+ displayArrows: true
463
+ }
464
+ ]
465
+ },
466
+ {
467
+ id: 8,
468
+ dataSources: [
469
+ {
470
+ id: "eyiLj3lv6cW",
471
+ name: "% Adolescent with HVL tests < 1000 copies/mL",
472
+ type: "customFunction",
473
+ label: "% Adolescent with HVL tests < 1000 copies/mL",
474
+ weight: 100,
475
+ legends: [
476
+ {
477
+ id: "SARZtkvaBix",
478
+ endValue: "-",
479
+ startValue: "94",
480
+ legendDefinitionId: "#008000"
481
+ },
482
+ {
483
+ id: "txh985aZM0k",
484
+ endValue: "94",
485
+ startValue: "79",
486
+ legendDefinitionId: "#FFFF00"
487
+ },
488
+ {
489
+ id: "yoveVKWINCJ",
490
+ endValue: "79",
491
+ startValue: "0",
492
+ legendDefinitionId: "#FF0000"
493
+ }
494
+ ],
495
+ highIsGood: true,
496
+ showColors: true,
497
+ effectiveGap: 5,
498
+ displayArrows: true
499
+ }
500
+ ]
501
+ },
502
+ {
503
+ id: 6,
504
+ dataSources: [
505
+ {
506
+ id: "V45fiUhHi5I",
507
+ name: "% of Adolescent initiated ART within 7 days",
508
+ type: "customFunction",
509
+ label: "% of Adolescent initiated ART within 7 days",
510
+ weight: 100,
511
+ legends: [
512
+ {
513
+ id: "lJ6cJPmFX1o",
514
+ endValue: "-",
515
+ startValue: "97",
516
+ legendDefinitionId: "#008000"
517
+ },
518
+ {
519
+ id: "qP7Nrpv0RYV",
520
+ endValue: "97",
521
+ startValue: "84",
522
+ legendDefinitionId: "#FFFF00"
523
+ },
524
+ {
525
+ id: "hDgBzaw9ao2",
526
+ endValue: "84",
527
+ startValue: "0",
528
+ legendDefinitionId: "#FF0000"
529
+ }
530
+ ],
531
+ highIsGood: true,
532
+ showColors: true,
533
+ effectiveGap: 5,
534
+ displayArrows: true
535
+ }
536
+ ]
537
+ },
538
+ {
539
+ id: 4,
540
+ dataSources: [
541
+ {
542
+ id: "apGNvWVPjdD",
543
+ name: "% Adolescent screened for TB",
544
+ type: "customFunction",
545
+ label: "% Adolescent screened for TB",
546
+ weight: 100,
547
+ legends: [
548
+ {
549
+ id: "Zel8b8MskEJ",
550
+ endValue: "-",
551
+ startValue: "94",
552
+ legendDefinitionId: "#008000"
553
+ },
554
+ {
555
+ id: "TTPQnNKTqY4",
556
+ endValue: "94",
557
+ startValue: "79",
558
+ legendDefinitionId: "#FFFF00"
559
+ },
560
+ {
561
+ id: "teysd5btMXI",
562
+ endValue: "79",
563
+ startValue: "0",
564
+ legendDefinitionId: "#FF0000"
565
+ }
566
+ ],
567
+ highIsGood: true,
568
+ showColors: true,
569
+ effectiveGap: 5,
570
+ displayArrows: true
571
+ }
572
+ ]
573
+ },
574
+ {
575
+ id: 26,
576
+ dataSources: [
577
+ {
578
+ id: "SLMGdkRqQJQ",
579
+ name: "% of adolescent dispensed 3 months ARVs",
580
+ type: "customFunction",
581
+ label: "% of adolescent dispensed 3 months ARVs",
582
+ weight: 100,
583
+ legends: [
584
+ {
585
+ id: "Gt8y7k8YB0P",
586
+ endValue: "-",
587
+ startValue: "79",
588
+ legendDefinitionId: "#008000"
589
+ },
590
+ {
591
+ id: "CxRB3bBUM6S",
592
+ endValue: "79",
593
+ startValue: "69",
594
+ legendDefinitionId: "#FFFF00"
595
+ },
596
+ {
597
+ id: "enUy3TXKOCY",
598
+ endValue: "69",
599
+ startValue: "0",
600
+ legendDefinitionId: "#FF0000"
601
+ }
602
+ ],
603
+ highIsGood: true,
604
+ showColors: true,
605
+ effectiveGap: 5,
606
+ displayArrows: true
607
+ }
608
+ ]
609
+ }
610
+ ]
611
+ },
612
+ {
613
+ id: 4,
614
+ style: {
615
+ color: "#000000",
616
+ backgroundColor: "#ffffff"
617
+ },
618
+ title: "Youth (15-24 years)",
619
+ dataHolders: [
620
+ {
621
+ id: 29,
622
+ dataSources: [
623
+ {
624
+ id: "GTn4oYrnpSf",
625
+ name: "Proportion of youth knowing HIV Status",
626
+ type: "customFunction",
627
+ label: "Proportion of youth knowing HIV Status",
628
+ weight: 100,
629
+ legends: [
630
+ {
631
+ id: "KCpQiMQ6Xwy",
632
+ endValue: "-",
633
+ startValue: "94",
634
+ legendDefinitionId: "#008000"
635
+ },
636
+ {
637
+ id: "sMyIGfUuKtl",
638
+ endValue: "94",
639
+ startValue: "79",
640
+ legendDefinitionId: "#FFFF00"
641
+ },
642
+ {
643
+ id: "Mt7awKnicq5",
644
+ endValue: "79",
645
+ startValue: "0",
646
+ legendDefinitionId: "#FF0000"
647
+ }
648
+ ],
649
+ highIsGood: true,
650
+ showColors: true,
651
+ effectiveGap: 5,
652
+ displayArrows: true
653
+ }
654
+ ]
655
+ },
656
+ {
657
+ id: 21,
658
+ dataSources: [
659
+ {
660
+ id: "vjcbzF7Xb4e",
661
+ name: "% of Youth who are on ART",
662
+ type: "customFunction",
663
+ label: "% of Youth who are on ART",
664
+ weight: 100,
665
+ legends: [
666
+ {
667
+ id: "q47yVLbjJli",
668
+ endValue: "-",
669
+ startValue: "94",
670
+ legendDefinitionId: "#008000"
671
+ },
672
+ {
673
+ id: "oh9ZcL4Qof4",
674
+ endValue: "94",
675
+ startValue: "79",
676
+ legendDefinitionId: "#FFFF00"
677
+ },
678
+ {
679
+ id: "nodM5MY5V86",
680
+ endValue: "79",
681
+ startValue: "0",
682
+ legendDefinitionId: "#FF0000"
683
+ }
684
+ ],
685
+ highIsGood: true,
686
+ showColors: true,
687
+ effectiveGap: 5,
688
+ displayArrows: true
689
+ }
690
+ ]
691
+ },
692
+ {
693
+ id: 22,
694
+ dataSources: [
695
+ {
696
+ id: "v1tiAysZvsG",
697
+ name: "% of youth with VL tests < 1000 copies/mL",
698
+ type: "customFunction",
699
+ label: "% of youth with VL tests < 1000 copies/mL",
700
+ weight: 100,
701
+ legends: [
702
+ {
703
+ id: "V0M7jjMoQQ4",
704
+ endValue: "-",
705
+ startValue: "94",
706
+ legendDefinitionId: "#008000"
707
+ },
708
+ {
709
+ id: "RKzIuDtKgUD",
710
+ endValue: "94",
711
+ startValue: "79",
712
+ legendDefinitionId: "#FFFF00"
713
+ },
714
+ {
715
+ id: "IFB9yHATD62",
716
+ endValue: "79",
717
+ startValue: "0",
718
+ legendDefinitionId: "#FF0000"
719
+ }
720
+ ],
721
+ highIsGood: true,
722
+ showColors: true,
723
+ effectiveGap: 5,
724
+ displayArrows: true
725
+ }
726
+ ]
727
+ },
728
+ {
729
+ id: 23,
730
+ dataSources: [
731
+ {
732
+ id: "fbR5IKAROdW",
733
+ name: "% of youth initiated on ART within 7 days",
734
+ type: "customFunction",
735
+ label: "% of youth initiated on ART within 7 days",
736
+ weight: 100,
737
+ legends: [
738
+ {
739
+ id: "wRz5KfLvT3s",
740
+ endValue: "-",
741
+ startValue: "97",
742
+ legendDefinitionId: "#008000"
743
+ },
744
+ {
745
+ id: "RJ0qeY9jClT",
746
+ endValue: "97",
747
+ startValue: "84",
748
+ legendDefinitionId: "#FFFF00"
749
+ },
750
+ {
751
+ id: "OZ1QA11qkm4",
752
+ endValue: "84",
753
+ startValue: "0",
754
+ legendDefinitionId: "#FF0000"
755
+ }
756
+ ],
757
+ highIsGood: true,
758
+ showColors: true,
759
+ effectiveGap: 5,
760
+ displayArrows: true
761
+ }
762
+ ]
763
+ },
764
+ {
765
+ id: 24,
766
+ dataSources: [
767
+ {
768
+ id: "iWivT3AD9xf",
769
+ name: "% of youth screened for TB",
770
+ type: "customFunction",
771
+ label: "% of youth screened for TB",
772
+ weight: 100,
773
+ legends: [
774
+ {
775
+ id: "wAflNuY7yMg",
776
+ endValue: "-",
777
+ startValue: "94",
778
+ legendDefinitionId: "#008000"
779
+ },
780
+ {
781
+ id: "vCLABA0Xqhr",
782
+ endValue: "94",
783
+ startValue: "79",
784
+ legendDefinitionId: "#FFFF00"
785
+ },
786
+ {
787
+ id: "BTT2lrVjh4o",
788
+ endValue: "79",
789
+ startValue: "0",
790
+ legendDefinitionId: "#FF0000"
791
+ }
792
+ ],
793
+ highIsGood: true,
794
+ showColors: true,
795
+ effectiveGap: 5,
796
+ displayArrows: true
797
+ }
798
+ ]
799
+ },
800
+ {
801
+ id: 25,
802
+ dataSources: [
803
+ {
804
+ id: "gJAAd40LS1n",
805
+ name: "% of youth dispensed 3 months ARVs",
806
+ type: "customFunction",
807
+ label: "% of youth dispensed 3 months ARVs",
808
+ weight: 100,
809
+ legends: [
810
+ {
811
+ id: "gTeRmLEdzJL",
812
+ endValue: "-",
813
+ startValue: "79",
814
+ legendDefinitionId: "#008000"
815
+ },
816
+ {
817
+ id: "P4bGlXE4BkO",
818
+ endValue: "79",
819
+ startValue: "69",
820
+ legendDefinitionId: "#FFFF00"
821
+ },
822
+ {
823
+ id: "pNOvvh4V641",
824
+ endValue: "69",
825
+ startValue: "0",
826
+ legendDefinitionId: "#FF0000"
827
+ }
828
+ ],
829
+ highIsGood: true,
830
+ showColors: true,
831
+ effectiveGap: 5,
832
+ displayArrows: true
833
+ }
834
+ ]
835
+ },
836
+ {
837
+ id: 28,
838
+ dataSources: [
839
+ {
840
+ id: "OMsCcpxndJs",
841
+ name: "% of youth screened positive for STI and linked to HIV counselling and testing services",
842
+ type: "customFunction",
843
+ label: "% of youth screened positive for STI and linked to HIV counselling and testing services",
844
+ weight: 100,
845
+ legends: [
846
+ {
847
+ id: "cPgHZPyV1ss",
848
+ endValue: "-",
849
+ startValue: "94",
850
+ legendDefinitionId: "#008000"
851
+ },
852
+ {
853
+ id: "tDsYUAt8fGj",
854
+ endValue: "94",
855
+ startValue: "79",
856
+ legendDefinitionId: "#FFFF00"
857
+ },
858
+ {
859
+ id: "VqA5f7RNc99",
860
+ endValue: "79",
861
+ startValue: "0",
862
+ legendDefinitionId: "#FF0000"
863
+ }
864
+ ],
865
+ highIsGood: true,
866
+ showColors: true,
867
+ effectiveGap: 5,
868
+ displayArrows: true
869
+ }
870
+ ]
871
+ }
872
+ ]
873
+ }
874
+ ]
875
+ },
876
+ targetOnLevels: false,
877
+ periodSelection: {
878
+ type: "RelativeQuarter",
879
+ periods: [
880
+ {
881
+ id: "LAST_QUARTER",
882
+ name: "Last Quarter"
883
+ }
884
+ ]
885
+ },
886
+ additionalLabels: [],
887
+ orgUnitSelection: {
888
+ groups: [],
889
+ levels: [],
890
+ orgUnits: [
891
+ {
892
+ id: "m0frOspS7JY"
893
+ }
894
+ ],
895
+ userOrgUnit: false,
896
+ userSubUnit: false,
897
+ userSubX2Unit: false
898
+ },
899
+ legendDefinitions: [
900
+ {
901
+ id: "#008000",
902
+ name: "Target achieved / on track",
903
+ color: "#008000"
904
+ },
905
+ {
906
+ id: "#FFFF00",
907
+ name: "Progress, but more effort required",
908
+ color: "#FFFF00"
909
+ },
910
+ {
911
+ id: "#FF0000",
912
+ name: "Not on track",
913
+ color: "#FF0000"
914
+ },
915
+ {
916
+ id: "N/A",
917
+ name: "N/A",
918
+ color: "#D3D3D3",
919
+ isDefault: true
920
+ },
921
+ {
922
+ id: "No data",
923
+ name: "No data",
924
+ color: "#FFFFFF",
925
+ isDefault: true
926
+ }
927
+ ],
928
+ userGroupAccesses: [
929
+ {
930
+ id: "yeLkdx7xMIj",
931
+ type: "userGroup",
932
+ access: "r-----",
933
+ displayName: "NACP Group"
934
+ }
935
+ ],
936
+ highlightedIndicators: []
937
+ };
16
938
  const config = {
17
939
  additionalLabels: ["Data label"],
18
940
  customHeader: "<p>W</p>\n",
@@ -425,7 +1347,7 @@ const meta = {
425
1347
  {
426
1348
  initialState: {
427
1349
  options: {
428
- ...config.options,
1350
+ ...hmisConfig.options,
429
1351
  averageRow: true,
430
1352
  averageColumn: true,
431
1353
  arrows: true,
@@ -433,14 +1355,13 @@ const meta = {
433
1355
  itemNumber: false
434
1356
  },
435
1357
  orgUnitSelection: {
436
- orgUnits: [],
437
- levels: ["VJJOhuBJSJe"]
1358
+ ...hmisConfig.orgUnitSelection
438
1359
  },
439
1360
  periodSelection: {
440
- ...config.periodSelection
1361
+ ...hmisConfig.periodSelection
441
1362
  }
442
1363
  },
443
- config,
1364
+ config: hmisConfig,
444
1365
  children: /* @__PURE__ */ jsxRuntime.jsx(
445
1366
  Story,
446
1367
  {