-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Instrument] Rename Data_entry_completion_status & move to its own co…
…lumn in flag (#6876) This moves Data_entry_completion_status field to its own column in flag following discussion and renames to it to Required_elements_completed. This ensures that the data is stored in the same place regardless of whether it is a json instrument or a SQL table instrument, and resolves confusion between the "Data Entry" (manually entered user flag) and "Data_entry_completion_status" (automatically calculated to determine if required elements are completed flag.)
- Loading branch information
1 parent
fe6a704
commit 1b5699b
Showing
31 changed files
with
11,347 additions
and
11,107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
SQL/Cleanup_patches/2020-12-08-remove_dataEntryCompletionStatus_conflict_resolver.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
DELETE FROM conflicts_resolved WHERE FieldName='Data_entry_completion_status'; | ||
|
||
DELETE FROM conflicts_unresolved WHERE FieldName='Data_entry_completion_status'; |
2 changes: 2 additions & 0 deletions
2
SQL/New_patches/2020-07-29_Required_elements_completed_flag_column.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE flag | ||
ADD COLUMN `Required_elements_completed` enum('Y','N') NOT NULL default 'N'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.