You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 5, 2021. It is now read-only.
CASE WHEN animalvaccinationstatus ='VACCINATED' THEN 'YES' WHEN animalvaccinationstatus ='UNVACCINATED' THEN 'NO' WHEN animalvaccinationstatus ='UNKNOWN' THEN 'UNKNOWN' END,
5848
-
prophylaxisstatus, dateofprophylaxis, 'Automatic epi data migration based on last exposure details; this exposure may be merged with another exposure with animal contact'
5841
+
prophylaxisstatus, dateofprophylaxis, 'Automatic epi data migration based on last exposure details. This exposure may be merged with another exposure with the activity type Animal Contact.'
UPDATE exposures SET typeofanimaldetails = otheranimalsdetails FROM epidata WHEREepidata.id= epidata_id AND typeofanimal ='OTHER';
5854
5910
UPDATE exposures SET animalcontacttypedetails = kindofexposuredetails FROM epidata WHEREepidata.id= epidata_id AND animalcontacttype ='OTHER';
5855
5911
UPDATE exposures SET watersource =epidata.watersource, watersourcedetails =epidata.watersourceotherFROM epidata WHEREepidata.id= epidata_id AND bodyofwater ='YES';
5856
-
UPDATE exposures SET description ='Automatic epi data migration based on selected kinds of exposure; this exposure may be merged with another exposure with animal contact'WHERE exposuretype ='ANIMAL_CONTACT'AND typeofanimal IS NULL;
5912
+
UPDATE exposures SET description ='Automatic epi data migration based on selected kinds of exposure. This exposure may be merged with another exposure of the activity type Animal Contact.'WHERE exposuretype ='ANIMAL_CONTACT'AND typeofanimal IS NULL;
@@ -5875,7 +5931,14 @@ UPDATE epidata SET contactwithsourcecaseknown = 'YES' WHERE directcontactconfirm
5875
5931
DROP COLUMN directcontactdeadunsafe, DROP COLUMN processingsuspectedcasesampleunsafe, DROP COLUMN eatingrawanimalsininfectedarea, DROP COLUMN eatingrawanimalsdetails,
5876
5932
DROP COLUMN kindofexposurebite, DROP COLUMN kindofexposuretouch, DROP COLUMN kindofexposurescratch, DROP COLUMN kindofexposurelick, DROP COLUMN kindofexposureother,
5877
5933
DROP COLUMN kindofexposuredetails, DROP COLUMN animalvaccinationstatus, DROP COLUMN dogs, DROP COLUMN cats, DROP COLUMN canidae, DROP COLUMN rabbits, DROP COLUMN prophylaxisstatus,
5878
-
DROP COLUMN dateofprophylaxis, DROP COLUMN visitedhealthfacility, DROP COLUMN contactwithsourcerespiratorycase, DROP COLUMN visitedanimalmarket, DROP COLUMN camels, DROP COLUMN snakes;*/
5934
+
DROP COLUMN dateofprophylaxis, DROP COLUMN visitedhealthfacility, DROP COLUMN contactwithsourcerespiratorycase, DROP COLUMN visitedanimalmarket, DROP COLUMN camels, DROP COLUMN snakes;
5935
+
5936
+
DROP TABLE epidataburial;
5937
+
DROP TABLE epidatagathering;
5938
+
DROP TABLE epidatatravel;
5939
+
DROP TABLE epidataburial_history;
5940
+
DROP TABLE epidatagathering_history;
5941
+
DROP TABLE epidatatravel_history;*/
5879
5942
5880
5943
UPDATE epidata SET exposuredetailsknown ='YES'FROM exposures WHERE (exposuredetailsknown IS NULLOR exposuredetailsknown !='YES') ANDexposures.epidata_id=epidata.id;
0 commit comments