Skip to content

Commit

Permalink
Insurance Subscriber Relationships migrated to list_options
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Jun 7, 2009
1 parent 853d414 commit 7f16e42
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sql/3_0_1-to-3_0_2_upgrade.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ INSERT INTO list_options VALUES ('adjreason','To ded\'ble' ,'To ded\'ble'
INSERT INTO list_options VALUES ('adjreason','Untimely filing','Untimely filing',90,0,0);
#EndIf

#IfNotRow list_options list_id sub_relation
INSERT INTO list_options VALUES ('lists' ,'sub_relation','Subscriber Relationship',18,0,0);
INSERT INTO list_options VALUES ('sub_relation','self' ,'Self' , 1,0,0);
INSERT INTO list_options VALUES ('sub_relation','spouse' ,'Spouse' , 2,0,0);
INSERT INTO list_options VALUES ('sub_relation','child' ,'Child' , 3,0,0);
INSERT INTO list_options VALUES ('sub_relation','other' ,'Other' , 4,0,0);
#EndIf

ALTER TABLE `prices`
CHANGE `pr_selector` `pr_selector` VARCHAR( 255 ) NOT NULL default '' COMMENT 'template selector for drugs, empty for codes';
Expand Down
6 changes: 6 additions & 0 deletions sql/database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1919,6 +1919,12 @@ INSERT INTO list_options VALUES ('adjreason','To copay' ,'To copay'
INSERT INTO list_options VALUES ('adjreason','To ded\'ble' ,'To ded\'ble' ,85,0,0);
INSERT INTO list_options VALUES ('adjreason','Untimely filing','Untimely filing',90,0,0);

INSERT INTO list_options VALUES ('lists' ,'sub_relation','Subscriber Relationship',18,0,0);
INSERT INTO list_options VALUES ('sub_relation','self' ,'Self' , 1,0,0);
INSERT INTO list_options VALUES ('sub_relation','spouse' ,'Spouse' , 2,0,0);
INSERT INTO list_options VALUES ('sub_relation','child' ,'Child' , 3,0,0);
INSERT INTO list_options VALUES ('sub_relation','other' ,'Other' , 4,0,0);

-- --------------------------------------------------------

--
Expand Down

0 comments on commit 7f16e42

Please sign in to comment.