EyeSeeTea / dataset-configuration-blessed

Enhanced dataset manager Dhis2 app (blessed repository)
GNU General Public License v3.0
0 stars 1 forks source link

Remove from a group data element belonging to more than status #112

Open adrianq opened 6 years ago

adrianq commented 6 years ago

We have detected that many data elements and indicators belong to multiple groups of the same group set. Example: data elements belonging both to Active Indicators and Inactive Indicators (group set: Status). We have prepared a tool to detect problems: $ node resources/scripts/check-duplicate-group-sets-items.js

adrianq commented 6 years ago

dataElement[DI7UKFbInTC - CO-E12: # of childre] has duplicate references to sets: Status dataElement[ON9xr2bfw9O - CO-E1-NFI: # of educ] has duplicate references to sets: Status dataElement[XFZpWl8MSPd - CO-E32: # of teacher] has duplicate references to sets: Test-GES dataElement[j1IO2ZlcJc8 - CO-E33: # of trainin] has duplicate references to sets: Test-GES dataElement[AMcRvo4JTzL - CO-E3: # of non-teac] has duplicate references to sets: Test-GES dataElement[fR5aa2SMz9G - CO-EO10D: # (sample)] has duplicate references to sets: Status dataElement[wSBtwdDnk83 - CO-EO10N: # (sample)] has duplicate references to sets: Status dataElement[cpB8mR2Tvw4 - CO-EO11D: # (sample)] has duplicate references to sets: Status dataElement[TyFFfitcQiQ - CO-EO11N: # (sample)] has duplicate references to sets: Status dataElement[JYcY9wE5hZW - CO-EO12D: # (sample)] has duplicate references to sets: Status dataElement[ZfZ2IbxqF5f - CO-EO12N: # (sample)] has duplicate references to sets: Status dataElement[C5tJMgPTuZA - CO-EO13D: # (sample)] has duplicate references to sets: Status dataElement[PbTXsrXwNwH - CO-EO13N: # (sample)] has duplicate references to sets: Status dataElement[dnAlVExJsMd - CO-EO14D: # (sample)] has duplicate references to sets: Status dataElement[sR3OLiZff6F - CO-EO14N: # (sample)] has duplicate references to sets: Status dataElement[X6StChiC67x - CO-EO15D: # (sample)] has duplicate references to sets: Status dataElement[yBE3H7HPMjD - CO-EO15N: # (sample)] has duplicate references to sets: Status dataElement[xtt7Sz7SHdV - CO-EO1D-E106: # (sam] has duplicate references to sets: Status dataElement[EIpHk1aOj9W - CO-EO1N-E106: # (sam] has duplicate references to sets: Status dataElement[bs8LK8Qoy0W - CO-EO2D: # (sample) ] has duplicate references to sets: Status dataElement[B0UDhqCGAna - CO-EO2N: # (sample) ] has duplicate references to sets: Status dataElement[nzc2IvNsqN2 - CO-EO3D-E106: # (sam] has duplicate references to sets: Status dataElement[EvKAj9gbQLb - CO-EO3N-E106: # (sam] has duplicate references to sets: Status dataElement[RAjUHFgb10t - CO-EO4D-E005: # (sam] has duplicate references to sets: Status dataElement[nE4sQzzKxFQ - CO-EO4N-E005: # (sam] has duplicate references to sets: Status dataElement[d4x4UcRWESI - CO-EO6D: # (sample) ] has duplicate references to sets: Status dataElement[CnsCaIV9ihJ - CO-EO6N: # (sample) ] has duplicate references to sets: Status dataElement[B79k14Ab3BD - CO-EO7D: # (sample) ] has duplicate references to sets: Status dataElement[oNuEfPpIOIR - CO-EO7N: # (sample) ] has duplicate references to sets: Status dataElement[m9Dt9sJRBkw - CO-EO8D: # (sample) ] has duplicate references to sets: Status dataElement[kdiz83wd2mw - CO-EO8N: # (sample) ] has duplicate references to sets: Status dataElement[NnABLhGpLeB - CO-EO9D: # (sample) ] has duplicate references to sets: Status dataElement[ymNx37E9x0c - CO-EO9N: # (sample) ] has duplicate references to sets: Status dataElement[HVRs2mS8O2j - CO-GO1D: # of people] has duplicate references to sets: Status dataElement[FJEZlDbh9Oj - CO-GO1N: # of people] has duplicate references to sets: Status dataElement[Zt01nhdzwaR - CO-GO2D: # of commun] has duplicate references to sets: Status dataElement[yNkLyRFqvKu - CO-GO2N: # of benefi] has duplicate references to sets: Status dataElement[pPPOMB1n0XJ - CO-GO3D: # of people] has duplicate references to sets: Status dataElement[N0ln8jeZM37 - CO-GO3N: # of ppl re] has duplicate references to sets: Status dataElement[FpQAcQJo86K - CO-LO1D: # (sample) ] has duplicate references to sets: Status dataElement[bOOjLCxpuMT - CO-LO1N: # (sample) ] has duplicate references to sets: Status dataElement[beYL05wuM51 - CO-LO2D: # (sample) ] has duplicate references to sets: Status dataElement[EHmErZNC1NT - CO-LO2N: # (sample) ] has duplicate references to sets: Status dataElement[D48YB3R4WVJ - CO-LO3D: # (sample) ] has duplicate references to sets: Status dataElement[kvU528VXqzC - CO-LO3N-L100-HLP: # ] has duplicate references to sets: Status dataElement[zEbyxEJzfi2 - CO-LO4D: # (sample) ] has duplicate references to sets: Status dataElement[ByC1UORKC51 - CO-LO4N-L100-HLP: # ] has duplicate references to sets: Status dataElement[GrcWruZ7eoR - CO-LO5D-HLP: # (samp] has duplicate references to sets: Status dataElement[l0GwuhLOKlH - CO-LO5N-L102-HLP: # ] has duplicate references to sets: Status dataElement[ggTc9bYAYue - CO-LO6D: # (sample) ] has duplicate references to sets: Status dataElement[SBL5f8froF8 - CO-LO6N: # (sample) ] has duplicate references to sets: Status dataElement[KydQy8gFNUE - CO-LO7D-HLP: # (samp] has duplicate references to sets: Status dataElement[AEPj9PqB5Al - CO-LO7N-HLP: # (samp] has duplicate references to sets: Status dataElement[XbZmdUPConQ - CO-LO8D: # of public] has duplicate references to sets: Status dataElement[xWqyUOAywTS - CO-LO8N: # of public] has duplicate references to sets: Status dataElement[T3I4Xlcfseg - CO-LO9D: # of ppl re] has duplicate references to sets: Status dataElement[CsaK7NBQLqW - CO-LO9N: # of ppl wh] has duplicate references to sets: Status dataElement[MMofAIlyOAK - CO-M1: # of househol] has duplicate references to sets: Status dataElement[lcbVcwCjkzB - CO-M2: quantity of f] has duplicate references to sets: Status dataElement[XGOxBQ58mKC - CO-M3: # of spaces f] has duplicate references to sets: Status dataElement[x4D1Zc4kzOV - CO-M4: # agreements ] has duplicate references to sets: Status dataElement[cI7tK0CqJIV - CO-M5-GBV: # of grou] has duplicate references to sets: Status dataElement[jX0hKlcGHmu - CO-M6-GBV: # ppl rec] has duplicate references to sets: Status dataElement[CYNrweK9Nct - CO-MO1D: # (sample) ] has duplicate references to sets: Status dataElement[KNxW5aXXMib - CO-MO1N: # (sample) ] has duplicate references to sets: Status dataElement[zb6Au332dab - CO-MO2D: # (sample) ] has duplicate references to sets: Status dataElement[Ncr4L52vqip - CO-MO2N: # (sample) ] has duplicate references to sets: Status dataElement[QgTWBloIrKJ - CO-MO3D: # (sample) ] has duplicate references to sets: Status dataElement[lB4uoVwEb35 - CO-MO3N: # (sample) ] has duplicate references to sets: Status dataElement[Tp6JsZnlb33 - CO-RO1D-SDR: # (samp] has duplicate references to sets: Status dataElement[FX9OagwZjFD - CO-RO1N-SDR: # (samp] has duplicate references to sets: Status dataElement[q3sQFJRjQYa - CO-RO2D-SDR: # (samp] has duplicate references to sets: Status dataElement[JPlc3bYZQNd - CO-RO2N-SDR: # (samp] has duplicate references to sets: Status dataElement[DYpJCcZfBIk - CO-RO3D-SDR: # (samp] has duplicate references to sets: Status dataElement[K3LK1rvESfB - CO-RO3N-SDR: # (samp] has duplicate references to sets: Status dataElement[npzkv6oXRZj - CO-RO4D-HLP: # (samp] has duplicate references to sets: Status dataElement[Xt5aSTUL8mj - CO-RO4N-HLP: # (samp] has duplicate references to sets: Status dataElement[h6N91KSB3Kz - CO-RO5D-HLP: # (samp] has duplicate references to sets: Status dataElement[QjL0TQQ7Rhm - CO-RO5N-HLP: # (samp] has duplicate references to sets: Status dataElement[gu39GHJ0ieM - CO-RO6D: # (sample) ] has duplicate references to sets: Status dataElement[h8adM9wrUv2 - CO-RO6N: # (sample) ] has duplicate references to sets: Status dataElement[GOcYuRWaZRF - CO-WO1D: # (Sample) ] has duplicate references to sets: Status dataElement[xQaN3byZPlN - CO-WO1N: # (Sample) ] has duplicate references to sets: Status dataElement[yB0sFkRnDIK - GL-E101/E: # of lear] has duplicate references to sets: Test-GES dataElement[Y9lT6fUQLqJ - GL-E111/E: # of chil] has duplicate references to sets: Test-GES dataElement[Yf2iiG6GSxM - GL-E701/E: # of indi] has duplicate references to sets: Test-GES dataElement[o1w0U7kJgx0 - GL-E70/E: # of NFI k] has duplicate references to sets: Test-GES dataElement[BVrBUxlQmyB - GL-E801/E: # of teac] has duplicate references to sets: Test-GES dataElement[Jvyjy9QF6Jb - GL-E8/E: # of childr] has duplicate references to sets: Test-GES dataElement[kffSZC6CGUN - GL-E901/E: # of indi] has duplicate references to sets: Test-GES dataElement[caJkrtKcsKf - GL-E902/E: # of hous] has duplicate references to sets: Test-GES dataElement[oRsKAripXXJ - GL-E903/E: # of inst] has duplicate references to sets: Test-GES dataElement[iCdbDzh54gJ - GL-E90/C: # of indiv] has duplicate references to sets: Test-GES dataElement[yGpOaRUYV8K - GL-E911/E: # of indi] has duplicate references to sets: Test-GES dataElement[N4iE2JXU2aE - GL-E913/E: Total val] has duplicate references to sets: Test-GES dataElement[VaUILCV0Ldi - GL-E98/C: # of insti] has duplicate references to sets: Test-GES dataElement[xV7HKAOyUTu - GL-EB701/Ea-C: comme] has duplicate references to sets: Test-GES dataElement[UacoEFh3Pwm - GL-EB701/Ea-D: # of ] has duplicate references to sets: Test-GES dataElement[irK9FEI7cX3 - GL-EB701/Ea-N: # ben] has duplicate references to sets: Test-GES dataElement[FW0uIEjM8YP - GL-EB8A/EiE-C: comme] has duplicate references to sets: Test-GES dataElement[NnndfznYbFU - GL-EB8A/EiE-D: # EiE] has duplicate references to sets: Test-GES dataElement[lKvJqx7p0TO - GL-EB8A/EiE-N: # EiE] has duplicate references to sets: Test-GES dataElement[SOGKyFfsQE9 - GL-EB901/Ea-C: comme] has duplicate references to sets: Test-GES dataElement[Wr9s8TqZhLl - GL-EB901/Ea-D: # of ] has duplicate references to sets: Test-GES dataElement[YDMmWOyTJvw - GL-EB901/Ea-N: # of ] has duplicate references to sets: Test-GES dataElement[yYSzOSMNnF2 - GL-EB901/Eb-C: comme] has duplicate references to sets: Test-GES dataElement[Q8yR0cvg7Ea - GL-EB901/Eb-D: # of ] has duplicate references to sets: Test-GES dataElement[ma3NPqWbRN8 - GL-EB901/Eb-N: # of ] has duplicate references to sets: Test-GES dataElement[HL4UhYjAc2I - GL-F90/C: # of indiv] has duplicate references to sets: Test-GES dataElement[eWvdhTUdWNx - GL-F92/C: # of house] has duplicate references to sets: Test-GES dataElement[uPHHCxKIvDL - GL-FIN: Comments on ] has duplicate references to sets: Status dataElement[hVidPVrM48Q - GL-FIN: Expenditure ] has duplicate references to sets: Status dataElement[wgmX99RsGny - GL-FIN: Project Prog] has duplicate references to sets: Status dataElement[rWRhyy48xTc - GL-FIN: Total Budget] has duplicate references to sets: Status dataElement[NwC6jGZFlqp - GL-S90/C: # of indiv] has duplicate references to sets: Test-GES dataElement[n5PoBRLbG5O - GL-S92/C: # of house] has duplicate references to sets: Test-GES dataElement[zBPCFByh56N - GL-W90/C: # of indiv] has duplicate references to sets: Test-GES dataElement[ZYxjnCPsyg6 - GL-W92/C: # of house] has duplicate references to sets: Test-GES indicator[W7qvaPlm38K - GL-EB701/Sb: % child] has duplicate references to sets: Theme indicator[gs3VRb9GM9N - GL-EB811/Yb: % of co] has duplicate references to sets: Theme indicator[dSJwEVrm3y5 - GL-LB111/H: % of ben] has duplicate references to sets: Status indicator[ZDONOAJJNBV - GL-LB111/R: % of ben] has duplicate references to sets: Status indicator[bdiFj5q4erC - GL-WB801/H: % of ben] has duplicate references to sets: Status indicator[IYaEsNUnUKv - GL-WB9A/CC: % benefi] has duplicate references to sets: Core Competency/Area indicator[bnyAVXj6YJb - GL-WB9B/CC: % of ben] has duplicate references to sets: Core Competency/Area indicator[BeQ1rwjw2yu - GL-WB9C/CC: % of ben] has duplicate references to sets: Core Competency/Area indicator[U0sqcYSKLzm - GL-WB9C/CU: % of ben] has duplicate references to sets: Core Competency/Area