-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* DT-941 adding config for fitbit device * DT-941 fixing config for CT
- Loading branch information
Showing
37 changed files
with
188 additions
and
168 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
underlay/src/main/resources/config/criteria/aouRT/criteriaselector/fitbit/selector.json
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
4 changes: 2 additions & 2 deletions
4
...main/resources/config/criteria/aouRT/criteriaselector/fitbitActivitySummary/selector.json
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
.../src/main/resources/config/criteria/aouRT/criteriaselector/fitbitDevice/fitbitDevice.json
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 @@ | ||
{ | ||
"attribute": "has_fitbit_device" | ||
} |
15 changes: 15 additions & 0 deletions
15
...rlay/src/main/resources/config/criteria/aouRT/criteriaselector/fitbitDevice/selector.json
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,15 @@ | ||
{ | ||
"name": "tanagra-fitbit-device", | ||
"displayName": "Has Fitbit Device", | ||
"isEnabledForCohorts": true, | ||
"isEnabledForDataFeatureSets": false, | ||
"display": { | ||
"category": "Wearables", | ||
"tags": null | ||
}, | ||
"filterBuilder": "core.PrimaryEntityFilterBuilder", | ||
"plugin": "attribute", | ||
"pluginConfig": null, | ||
"pluginConfigFile": "fitbitDevice.json", | ||
"modifiers": null | ||
} |
4 changes: 2 additions & 2 deletions
4
.../main/resources/config/criteria/aouRT/criteriaselector/fitbitHeartRateLevel/selector.json
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
4 changes: 2 additions & 2 deletions
4
...ain/resources/config/criteria/aouRT/criteriaselector/fitbitHeartRateSummary/selector.json
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
...n/resources/config/criteria/aouRT/criteriaselector/fitbitPlusDevice/fitbitPlusDevice.json
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 @@ | ||
{ | ||
"attribute": "has_fitbit_plus_device" | ||
} |
15 changes: 15 additions & 0 deletions
15
.../src/main/resources/config/criteria/aouRT/criteriaselector/fitbitPlusDevice/selector.json
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,15 @@ | ||
{ | ||
"name": "tanagra-fitbit-plus-device", | ||
"displayName": "Has Any Fitbit Data Plus Device", | ||
"isEnabledForCohorts": true, | ||
"isEnabledForDataFeatureSets": false, | ||
"display": { | ||
"category": "Wearables", | ||
"tags": null | ||
}, | ||
"filterBuilder": "core.PrimaryEntityFilterBuilder", | ||
"plugin": "attribute", | ||
"pluginConfig": null, | ||
"pluginConfigFile": "fitbitPlusDevice.json", | ||
"modifiers": null | ||
} |
4 changes: 2 additions & 2 deletions
4
...in/resources/config/criteria/aouRT/criteriaselector/fitbitSleepDailySummary/selector.json
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
4 changes: 2 additions & 2 deletions
4
.../src/main/resources/config/criteria/aouRT/criteriaselector/fitbitSleepLevel/selector.json
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
4 changes: 2 additions & 2 deletions
4
...c/main/resources/config/criteria/aouRT/criteriaselector/fitbitStepsIntraday/selector.json
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
7 changes: 1 addition & 6 deletions
7
underlay/src/main/resources/config/criteria/aouRT/criteriaselector/pregnant/pregnant.json
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 |
---|---|---|
@@ -1,8 +1,3 @@ | ||
{ | ||
"entity": "pregnant", | ||
"valueConfigs": [ | ||
{ | ||
"attribute": "pregnant_at_enrollment" | ||
} | ||
] | ||
"attribute": "has_pregnant_at_enrollment" | ||
} |
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
7 changes: 1 addition & 6 deletions
7
...rlay/src/main/resources/config/criteria/aouRT/criteriaselector/wheelchair/wheelchair.json
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 |
---|---|---|
@@ -1,8 +1,3 @@ | ||
{ | ||
"entity": "wheelchair", | ||
"valueConfigs": [ | ||
{ | ||
"attribute": "wheelchair_at_enrollment" | ||
} | ||
] | ||
"attribute": "has_wheelchair_at_enrollment" | ||
} |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...itbit_actvity_summary_id/prepackaged.json → ...tbit_activity_summary_id/prepackaged.json
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
5 changes: 5 additions & 0 deletions
5
...resources/config/criteria/aouRT/prepackagedcriteria/_fitbit_device_id/fitbitDeviceId.json
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,5 @@ | ||
{ | ||
"entities": [ | ||
"wearableDevice" | ||
] | ||
} |
6 changes: 6 additions & 0 deletions
6
...in/resources/config/criteria/aouRT/prepackagedcriteria/_fitbit_device_id/prepackaged.json
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,6 @@ | ||
{ | ||
"name": "_fitbit_device_id", | ||
"displayName": "Fitbit Device", | ||
"criteriaSelector": "outputUnfiltered", | ||
"pluginDataFile": "fitbitDeviceId.json" | ||
} |
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
26 changes: 0 additions & 26 deletions
26
underlay/src/main/resources/config/datamapping/aouRT/entity/pregnant/all.sql
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
underlay/src/main/resources/config/datamapping/aouRT/entity/pregnant/entity.json
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
underlay/src/main/resources/config/datamapping/aouRT/entity/wearableDevice/all.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,12 @@ | ||
SELECT | ||
row_id, | ||
person_id, | ||
device_id, | ||
device_date, | ||
battery, | ||
battery_level, | ||
device_version, | ||
device_type, | ||
TIMESTAMP(last_sync_time) AS last_sync_time, | ||
src_id | ||
FROM `${omopDataset}.device` |
Oops, something went wrong.