Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated data #41

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions defog_data/derm_treatment/derm_treatment.sql
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ CREATE TABLE concomitant_meds (

INSERT INTO doctors (doc_id, first_name, last_name, specialty, year_reg, med_school_name, loc_city, loc_state, loc_zip, bd_cert_num)
VALUES
(1, 'John', 'Doe', 'dermatology', 2005, 'Johns Hopkins University', 'Baltimore', 'MD', '21201', 'ABC123'),
(2,'Jane', 'Smith', 'immunology', 2010, 'Harvard Medical School', 'Boston', 'MA', '02115', 'XYZ789'),
(1, 'John', 'Doe', 'dermatology', EXTRACT(YEAR FROM CURRENT_DATE) - 2, 'Johns Hopkins University', 'Baltimore', 'MD', '21201', 'ABC123'),
(2,'Jane', 'Smith', 'immunology', EXTRACT(YEAR FROM CURRENT_DATE) - 2, 'Harvard Medical School', 'Boston', 'MA', '02115', 'XYZ789'),
(3, 'David', 'Johnson', 'general', 1998, 'University of Pennsylvania', 'Philadelphia', 'PA', '19104', 'DEF456'),
(4, 'Emily', 'Brown', 'dermatology', 2015, 'Stanford University', 'Palo Alto', 'CA', '94304', 'GHI012'),
(5, 'Michael', 'Davis', 'immunology', 2008, 'Duke University', 'Durham', 'NC', '27708', 'JKL345'),
(6, 'Sarah', 'Wilson', 'oncology', 2003, 'University of California, San Francisco', 'San Francisco', 'CA', '94143', 'MNO678'),
(6, 'Sarah', 'Wilson', 'oncology', EXTRACT(YEAR FROM CURRENT_DATE) - 1, 'University of California, San Francisco', 'San Francisco', 'CA', '94143', 'MNO678'),
(7, 'Robert', 'Taylor', 'dermatology', 2012, 'Yale University', 'New Haven', 'CT', '06510', 'PQR901'),
(8, 'Laura', 'Martinez', 'immunology', 2006, 'University of Michigan', 'Ann Arbor', 'MI', '48109', 'STU234'),
(9, 'Daniel', 'Garcia', 'general', 2000, 'University of Chicago', 'Chicago', 'IL', '60637', 'VWX567'),
(9, 'Daniel', 'Garcia', 'general', EXTRACT(YEAR FROM CURRENT_DATE) - 3, 'University of Chicago', 'Chicago', 'IL', '60637', 'VWX567'),
(10, 'Olivia', 'Anderson', 'dermatology', 2018, 'Columbia University', 'New York', 'NY', '10027', 'YZA890');

INSERT INTO patients (patient_id, first_name, last_name, date_of_birth, date_of_registration, gender, email, phone, addr_street, addr_city, addr_state, addr_zip, ins_type, ins_policy_num, height_cm, weight_kg)
Expand Down Expand Up @@ -228,8 +228,8 @@ VALUES
(4, 5, '2022-05-20', 'Upper respiratory infection'),
(5, 7, '2022-07-22', 'Mild injection site reaction'),
(6, 9, '2022-09-18', 'Diarrhea'),
(7, 11, '2022-11-30', 'Elevated liver enzymes'),
(8, 14, '2023-02-25', 'Mild skin rash');
(7, 11, '2022-11-12', 'Elevated liver enzymes'),
(8, 14, '2023-02-05', 'Mild skin rash');

INSERT INTO concomitant_meds (id, treatment_id, med_name, start_dt, end_dt, dose_amt, dose_unit, freq_hrs)
VALUES
Expand Down
4 changes: 2 additions & 2 deletions defog_data/ewallet/ewallet.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@
{
"data_type": "BIGINT",
"column_name": "cid",
"column_description": ""
"column_description": "Unique identifier for the coupon"
},
{
"data_type": "BIGINT",
"column_name": "merchant_id",
"column_description": ""
"column_description": "ID of merchant that issued the coupon"
},
{
"data_type": "VARCHAR(20)",
Expand Down
16 changes: 13 additions & 3 deletions defog_data/ewallet/ewallet.sql
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,18 @@ VALUES
(7, 172.98, '2023-06-07 23:59:59'),
(8, 0.00, '2023-06-07 23:59:59'),
(9, 125.00, '2023-06-07 23:59:59'),
(10, 219.98, '2023-06-07 23:59:59');

(10, 219.98, '2023-06-07 23:59:59'),
(1, 82.10, CURRENT_DATE - INTERVAL '8 days'),
(2, 82.12, CURRENT_DATE - INTERVAL '8 days'),
(1, 82.92, CURRENT_DATE - INTERVAL '7 days'),
(2, 55.24, CURRENT_DATE - INTERVAL '7 days'),
(3, 75.25, CURRENT_DATE - INTERVAL '7 days'),
(1, 50.00, CURRENT_DATE),
(2, 55.99, CURRENT_DATE),
(3, 29.95, CURRENT_DATE),
(4, 89.99, CURRENT_DATE),
(5, 599.99, CURRENT_DATE);

-- notifications
INSERT INTO consumer_div.notifications (id, user_id, message, type, status, created_at, device_type, device_id, action_url)
VALUES
Expand Down Expand Up @@ -307,5 +317,5 @@ VALUES
(8, '2023-06-07', 200.00, 1000.00, 0, 'bcryptHash(K1dzPlay!&Rt8)', NULL, 'web_d8180kaf, mobile_q3mz8n', '8.26.53.165, 68.85.32.201', false, false, '2023-06-07 00:00:00'),
(9, '2023-06-07', 150.00, 1000.00, 2, 'bcryptHash(Gl0wUp7!9zy)', NULL, 'mobile_g3mjfz', '203.96.81.36', true, true, '2023-06-07 00:00:00'),
(10, '2023-06-07', 300.00, 2000.00, 1, 'bcryptHash(GamzRu1ez*&99!)', NULL, 'web_d8180kaf', '8.26.53.165', false, true, '2023-06-07 00:00:00'),
(1, '2023-06-01', 500.00, 1000.00, 2, 'bcryptHash($2yz9!&ka1)', '9d61c49b-8977-4914-a36b-80d1445e38fa', 'mobile_8fh2k1', '192.168.0.1', false, true, '2023-06-01 06:00:00'),
(1, '2023-06-01', 502.00, 1000.00, 2, 'bcryptHash($2yz9!&ka1)', '9d61c49b-8977-4914-a36b-80d1445e38fa', 'mobile_8fh2k1', '192.168.0.1', false, true, '2023-06-01 06:00:00'),
(2, '2023-06-01', 500.00, 2500.00, 1, 'bcryptHash(qpwo9874zyGk!)', NULL, 'mobile_yjp08q', '198.51.100.233, 70.121.39.25', true, false, '2023-06-01 09:00:00');
Loading