{"action":"closed","issue":{"url":"https://api.github.com/repos/dhis2/datim-dedupe/issues/9","labels_url":"https://api.github.com/repos/dhis2/datim-dedupe/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/dhis2/datim-dedupe/issues/9/comments","events_url":"https://api.github.com/repos/dhis2/datim-dedupe/issues/9/events","html_url":"https://github.com/dhis2/datim-dedupe/issues/9","id":56636599,"number":9,"title":"Destination DEs/COCs logic","user":{"login":"jason-p-pickering","id":2968061,"avatar_url":"https://avatars.githubusercontent.com/u/2968061?v=3","gravatar_id":"","url":"https://api.github.com/users/jason-p-pickering","html_url":"https://github.com/jason-p-pickering","followers_url":"https://api.github.com/users/jason-p-pickering/followers","following_url":"https://api.github.com/users/jason-p-pickering/following{/other_user}","gists_url":"https://api.github.com/users/jason-p-pickering/gists{/gist_id}","starred_url":"https://api.github.com/users/jason-p-pickering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jason-p-pickering/subscriptions","organizations_url":"https://api.github.com/users/jason-p-pickering/orgs","repos_url":"https://api.github.com/users/jason-p-pickering/repos","events_url":"https://api.github.com/users/jason-p-pickering/events{/privacy}","received_events_url":"https://api.github.com/users/jason-p-pickering/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dhis2/datim-dedupe/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-05T07:25:25Z","updated_at":"2015-04-03T20:20:42Z","closed_at":"2015-04-03T20:20:42Z","body":"At the moment, the dedupe query identifies groups of data elements (TA & DSD) where duplication could occur. What it does not do correctly is to identify the \"desination\" for where the dedup adjustment should occur. The working logic here is that if there is a TA/DSD dedupe, then DSD \"wins\" and which means that the TA data element /COC would be assigned the dedupe adjustment. We need to review the specs and determine how this can be supported."}}