Skip to content

Commit

Permalink
C2C-223: Changed type of cause_of_death column to INT because of issu…
Browse files Browse the repository at this point in the history
…es with H6 data. (#3)
  • Loading branch information
enyachoke authored Mar 22, 2024
1 parent a2141f1 commit 8a5559c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion analytics/dsl/export/tables/patients.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CREATE TABLE patients (
attributes VARCHAR,
dead BOOLEAN,
death_date TIMESTAMP,
cause_of_death BIGINT,
cause_of_death INT,
creator BIGINT,
date_created TIMESTAMP,
person_voided BOOLEAN,
Expand Down
2 changes: 1 addition & 1 deletion analytics/dsl/export/tables/visits.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CREATE TABLE visits (
patient_age_at_visit NUMERIC(24,0),
patient_dead BOOLEAN,
patient_death_date TIMESTAMP,
patient_cause_of_death BIGINT,
patient_cause_of_death INT,
visit_uuid VARCHAR,
visit_type_uuid VARCHAR,
location_uuid VARCHAR,
Expand Down
2 changes: 1 addition & 1 deletion analytics/dsl/flattening/tables/openmrs/person.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CREATE TABLE `person` (
`birthdate_estimated` BOOLEAN,
`dead` BOOLEAN,
`death_date` TIMESTAMP,
`cause_of_death` BIGINT,
`cause_of_death` INT,
`creator` int,
`date_created` TIMESTAMP,
`changed_by` int,
Expand Down

0 comments on commit 8a5559c

Please sign in to comment.