generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CNDE-1902: Legacy Investigation Update (Pre-Processing) (#83)
- Loading branch information
1 parent
29f9e15
commit e98c5fd
Showing
16 changed files
with
790 additions
and
639 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
13 changes: 13 additions & 0 deletions
13
...etldatapipeline/investigation/repository/model/reporting/InvestigationObservationKey.java
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,13 @@ | ||
package gov.cdc.etldatapipeline.investigation.repository.model.reporting; | ||
|
||
import com.fasterxml.jackson.databind.PropertyNamingStrategies; | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming; | ||
import lombok.Data; | ||
|
||
@Data | ||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) | ||
public class InvestigationObservationKey { | ||
private Long publicHealthCaseUid; | ||
private Long observationId; | ||
private Long branchId; | ||
} |
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
116 changes: 116 additions & 0 deletions
116
investigation-service/src/test/resources/rawDataFiles/InvestigationObservationIds.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,116 @@ | ||
[ | ||
{ | ||
"source_act_uid": 10344738, | ||
"public_health_case_uid": 234567890, | ||
"source_class_cd": "OBS", | ||
"target_class_cd": "CASE", | ||
"act_type_cd": "LabReport", | ||
"status_cd": "A", | ||
"act_add_time": "2024-08-20T23:17:52.277", | ||
"act_add_user_id": null, | ||
"add_user_name": null, | ||
"act_last_chg_user_id": 10055282, | ||
"last_chg_user_name": "user, super", | ||
"act_last_chg_time": "2024-08-20T23:17:52.277", | ||
"root_uid": 10344738, | ||
"branch_uid": 10344740, | ||
"root_source_class_cd": "OBS", | ||
"branch_source_class_cd": "OBS", | ||
"branch_type_cd": "COMP" | ||
}, | ||
{ | ||
"source_act_uid": 10344752, | ||
"public_health_case_uid": 234567890, | ||
"source_class_cd": "NOTF", | ||
"target_class_cd": "CASE", | ||
"act_type_cd": "Notification", | ||
"status_cd": "A", | ||
"act_add_time": "2024-08-20T23:18:08.160", | ||
"act_add_user_id": null, | ||
"add_user_name": null, | ||
"act_last_chg_user_id": null, | ||
"last_chg_user_name": null, | ||
"act_last_chg_time": "2024-08-20T23:18:08.177", | ||
"root_uid": null, | ||
"branch_uid": null, | ||
"root_source_class_cd": null, | ||
"branch_source_class_cd": null, | ||
"branch_type_cd": null | ||
}, | ||
{ | ||
"source_act_uid": 10344747, | ||
"public_health_case_uid": 234567890, | ||
"source_class_cd": "OBS", | ||
"target_class_cd": "CASE", | ||
"act_type_cd": "PHCInvForm", | ||
"status_cd": "A", | ||
"act_add_time": "2024-08-20T23:17:52.260", | ||
"act_add_user_id": null, | ||
"add_user_name": null, | ||
"act_last_chg_user_id": null, | ||
"last_chg_user_name": null, | ||
"act_last_chg_time": "2024-08-20T23:17:52.260", | ||
"root_uid": 10344747, | ||
"branch_uid": 10605257, | ||
"root_source_class_cd": "OBS", | ||
"branch_source_class_cd": "OBS", | ||
"branch_type_cd": "InvFrmQ" | ||
}, | ||
{ | ||
"source_act_uid": 10344738, | ||
"public_health_case_uid": 234567890, | ||
"source_class_cd": "OBS", | ||
"target_class_cd": "CASE", | ||
"act_type_cd": "LabReport", | ||
"status_cd": "A", | ||
"act_add_time": "2024-08-20T23:17:52.277", | ||
"act_add_user_id": null, | ||
"add_user_name": null, | ||
"act_last_chg_user_id": 10055282, | ||
"last_chg_user_name": "user, super", | ||
"act_last_chg_time": "2024-08-20T23:17:52.277", | ||
"root_uid": 10344738, | ||
"branch_uid": 10344739, | ||
"root_source_class_cd": "OBS", | ||
"branch_source_class_cd": "OBS", | ||
"branch_type_cd": "COMP" | ||
}, | ||
{ | ||
"source_act_uid": 10604655, | ||
"public_health_case_uid": 234567890, | ||
"source_class_cd": "OBS", | ||
"target_class_cd": "CASE", | ||
"act_type_cd": "MorbReport", | ||
"status_cd": "A", | ||
"act_add_time": "2024-10-30T20:58:03.977", | ||
"act_add_user_id": null, | ||
"add_user_name": null, | ||
"act_last_chg_user_id": 10055282, | ||
"last_chg_user_name": "user, super", | ||
"act_last_chg_time": "2024-10-30T20:58:03.977", | ||
"root_uid": 10604655, | ||
"branch_uid": 10604656, | ||
"root_source_class_cd": "OBS", | ||
"branch_source_class_cd": "OBS", | ||
"branch_type_cd": "LabReport" | ||
}, | ||
{ | ||
"source_act_uid": 10638298, | ||
"public_health_case_uid": 234567890, | ||
"source_class_cd": "OBS", | ||
"target_class_cd": "CASE", | ||
"act_type_cd": "PHCInvForm", | ||
"status_cd": "A", | ||
"act_add_time": "2024-11-18T19:49:34.137", | ||
"act_add_user_id": null, | ||
"add_user_name": null, | ||
"act_last_chg_user_id": null, | ||
"last_chg_user_name": null, | ||
"act_last_chg_time": "2024-11-18T19:49:34.137", | ||
"root_uid": null, | ||
"branch_uid": null, | ||
"root_source_class_cd": null, | ||
"branch_source_class_cd": null, | ||
"branch_type_cd": null | ||
} | ||
] |
59 changes: 0 additions & 59 deletions
59
investigation-service/src/test/resources/rawDataFiles/ObservationNotificationIds.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.