Skip to content

Commit

Permalink
Fix NCD DB-trigger script (#15)
Browse files Browse the repository at this point in the history
* fix: call-outcome to patient-status mapping

* update tests

* Revert "update tests"

This reverts commit 2e105fb.
  • Loading branch information
igbanam authored Feb 18, 2025
1 parent 3c30389 commit 6f04f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-htn-and-diabetes-visits-trigger.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BEGIN
SET
value = CASE WHEN remove_reason = 'DIED' THEN
'DIED'
WHEN remove_reason = 'TRANSFERRED_TO_PRIVATE_PRACTITIONER' THEN
WHEN remove_reason = 'MOVED_TO_PRIVATE_PRACTITIONER' THEN
'TRANSFER'
WHEN remove_reason = 'TRANSFERRED_TO_ANOTHER_FACILITY' THEN
'TRANSFER'
Expand Down

0 comments on commit 6f04f2e

Please sign in to comment.