diff --git a/liquibase/OE6.1.x/ci_regional/Site_information.xml b/liquibase/OE6.1.x/ci_regional/Site_information.xml index 2aed03e0..319da59f 100644 --- a/liquibase/OE6.1.x/ci_regional/Site_information.xml +++ b/liquibase/OE6.1.x/ci_regional/Site_information.xml @@ -10,13 +10,7 @@ id, name, description) VALUES (nextval('clinlims.site_information_domain_seq'),'MenuStatementConfig','Manage menu Item'); -INSERT INTO clinlims.site_information( - id, name, lastupdated, description, value, encrypted, domain_id, - value_type, instruction_key, "group", schedule_id, tag, dictionary_category_id, - description_key, name_key) - VALUES (nextval('clinlims.site_information_seq'),'siteNumber',now(),'site Id Number','lnsp',default,1,'text',default,0,default,default,default,'siteInfo.siteNumber',default); - - + INSERT INTO clinlims.site_information( id, name, lastupdated, description, value, encrypted, domain_id, value_type, instruction_key, "group", schedule_id, tag, dictionary_category_id, @@ -31,10 +25,47 @@ UPDATE clinlims.site_information SET value = 'CI' WHERE name='stringContext'; + UPDATE clinlims.site_information SET value = 'CDI' WHERE name='passwordRequirements'; + + + + + + select count(*) from clinlims.site_information where name = 'siteNumber'; + + + Insert in clinlims new site information + INSERT INTO clinlims.site_information( + id, name, lastupdated, description, value, encrypted, domain_id, + value_type, instruction_key, "group", schedule_id, tag, dictionary_category_id, + description_key, name_key) + VALUES (nextval('clinlims.site_information_seq'),'siteNumber',now(),'site Id Number','lnsp',default,1,'text',default,0,default,default,default,'siteInfo.siteNumber',default); + + + + + + + + select count(*) from clinlims.site_information where name = 'Accession number prefix'; + + + Insert in clinlims new site information + INSERT INTO clinlims.site_information( + id, name, lastupdated, description, value, encrypted, domain_id, + value_type, instruction_key, "group", schedule_id, tag, dictionary_category_id, + description_key, name_key) + VALUES (nextval('clinlims.site_information_seq'),'Accession number prefix',now(),'Prefix for SITEYEARNUM format. Can not be changed if there are samples',(select value from clinlims.site_information where name = 'siteNumber'),default,1,'text',default,0,default,default,default,'siteInfo.Accession.number.prefix',default); + + + + + + \ No newline at end of file