Skip to content

Releases: pepfar-datim/datim-mechanism-finder

3.2.3

11 Jul 14:03
818f3d8
Compare
Choose a tag to compare
  • adds Partner UEI column from FACTS csv
  • changes partner DUNS in card summary to partner code

3.2.2

13 Oct 13:14
Compare
Choose a tag to compare

Updates app's author to PEPFAR in manifest

33.3.2 (Update to v2.33 Header Bar)

30 Jan 14:24
Compare
Choose a tag to compare
#52: update package information

3.2.1 (Change version numbering system)

20 Aug 11:50
Compare
Choose a tag to compare

This release changes the versioning number to no longer reference the DHIS2 version the app was developed against.

https://github.com/pepfar-datim/Global/issues/6839

30.3.1 - update for triage.testing.datim.org rename

05 Dec 09:39
Compare
Choose a tag to compare

1.0.1

23 Jan 16:58
Compare
Choose a tag to compare

Fixed bug with the header menu not displaying
Cross environment building
Fixed UI mechanism value being shown
Shows a loading spinner while retrieving data
Fixed bug with header menu links routing to the wrong location

1.0.0

02 Mar 17:05
Compare
Choose a tag to compare
  • Add new header menu
  • Fix api bug
  • Display the date/time in a more user readable format.

0.0.3

07 Feb 17:48
Compare
Choose a tag to compare

Changes

  • Adds partner view
  • Fixes field filtering

Installation instructions

Add SqlView

Note to change auth <auth string> to an actually valid auth string.
And change the url to the correct server :)

curl --request POST \
  --url https://dev.datim.org/api/sqlViews \
  --header 'authorization: <auth string>' \
  --header 'content-type: application/json' \
  --data '\n        {\n            "created": "2017-02-07T13:19:48.957",\n            "lastUpdated": "2017-02-07T13:19:48.957",\n            "name": "APP_MechanismFinder-PartnerSQLView",\n            "id": "Lamorm6y2sQ",\n            "sqlQuery": "SELECT * FROM (SELECT co.name AS mechanism, (\r\n\t\tSELECT _cog.uid\r\n\t\tFROM categoryoptiongroup _cog\r\n\t\tJOIN categoryoptiongroupsetmembers _cogsm ON _cog.categoryoptiongroupid = _cogsm.categoryoptiongroupid\r\n\t\tJOIN categoryoptiongroupmembers _cogm ON _cog.categoryoptiongroupid = _cogm.categoryoptiongroupid\r\n\t\tJOIN categoryoptioncombos_categoryoptions _coco ON _cogm.categoryoptionid = _coco.categoryoptionid\r\n\t\tWHERE _coco.categoryoptionid = co.categoryoptionid AND _cogsm.categoryoptiongroupsetid = 481662\r\n\t\tLIMIT 1\r\n\t) AS partnerId, (\r\n\t\tSELECT _cog.name\r\n\t\tFROM categoryoptiongroup _cog\r\n\t\tJOIN categoryoptiongroupsetmembers _cogsm ON _cog.categoryoptiongroupid = _cogsm.categoryoptiongroupid\r\n\t\tJOIN categoryoptiongroupmembers _cogm ON _cog.categoryoptiongroupid = _cogm.categoryoptiongroupid\r\n\t\tJOIN categoryoptioncombos_categoryoptions _coco ON _cogm.categoryoptionid = _coco.categoryoptionid\r\n\t\tWHERE _coco.categoryoptionid = co.categoryoptionid AND _cogsm.categoryoptiongroupsetid = 480936\r\n\t\tLIMIT 1\r\n\t) AS agency,\r\n\to.name AS ou,\r\n\tco.startdate,\r\n\tco.enddate\r\n\tFROM dataelementcategoryoption co\r\n\tLEFT JOIN categoryoption_organisationunits coou ON coou.categoryoptionid = co.categoryoptionid\r\n\tLEFT JOIN organisationunit o ON o.organisationunitid = coou.organisationunitid\r\n\tWHERE co.name::text ~ '\''^\\d{3}.*'\''::text AND o.uid = '\''${organisationUnitId}'\'' ORDER BY co.name) as mechanismsForOrgUnit\r\nWHERE partnerId = '\''${partnerId}'\'';",\n            "publicAccess": "rw------",\n            "description": "",\n            "type": "QUERY",\n            "externalAccess": false,\n            "cacheStrategy": "RESPECT_SYSTEM_SETTING",\n            "user": {\n                "id": "ab7NYsOIsQM"\n            },\n            "userGroupAccesses": [],\n            "attributeValues": []\n        }\n'

Add system setting

Note to change auth <auth string> to an actually valid auth string.
And change the url to the correct server :)

curl --request POST \
  --url https://dev.datim.org/api/systemSettings/keyAPP_MechanismFinder-PartnerSQLView \
  --header 'authorization: <auth string>' \
  --header 'content-type: text/plain' \
  --data '{"value": "Lamorm6y2sQ"}'

Install app

Install the attached zipfile with this release mechanism-finder.zip as an app into dhis2.

0.0.2

29 May 13:07
Compare
Choose a tag to compare

Add description and fix header colors + language

0.0.1

28 May 19:04
Compare
Choose a tag to compare
First version