877877 <column name =" shr_order_uuid" type =" varchar(50)" />
878878 </addColumn >
879879 </changeSet >
880-
880+ <changeSet id =" sharedhealth-datasense-20161504-1500" author =" sukreet" context =" setup" >
881+ <preConditions onFail =" MARK_RAN" >
882+ <not >
883+ <indexExists indexName =" idx_diagnostic_order_encounter_id" />
884+ </not >
885+ </preConditions >
886+ <createIndex indexName =" idx_diagnostic_order_encounter_id"
887+ tableName =" diagnostic_order" >
888+ <column name =" encounter_id" />
889+ </createIndex >
890+ </changeSet >
891+ <changeSet id =" sharedhealth-datasense-20161504-1502" author =" sukreet" context =" setup" >
892+ <preConditions onFail =" MARK_RAN" >
893+ <not >
894+ <indexExists indexName =" idx_diagnostic_order_code" />
895+ </not >
896+ </preConditions >
897+ <createIndex indexName =" idx_diagnostic_order_code"
898+ tableName =" diagnostic_order" >
899+ <column name =" code" />
900+ </createIndex >
901+ </changeSet >
902+ <changeSet id =" sharedhealth-datasense-20161504-1504" author =" sukreet" context =" setup" >
903+ <preConditions onFail =" MARK_RAN" >
904+ <not >
905+ <indexExists indexName =" idx_diagnostic_order_datetime" />
906+ </not >
907+ </preConditions >
908+ <createIndex indexName =" idx_diagnostic_order_datetime"
909+ tableName =" diagnostic_order" >
910+ <column name =" order_datetime" />
911+ </createIndex >
912+ </changeSet >
913+ <changeSet id =" sharedhealth-datasense-20161504-1506" author =" sukreet" context =" setup" >
914+ <preConditions onFail =" MARK_RAN" >
915+ <not >
916+ <indexExists indexName =" idx_diagnostic_report_encounter_id" />
917+ </not >
918+ </preConditions >
919+ <createIndex indexName =" idx_diagnostic_report_encounter_id"
920+ tableName =" diagnostic_report" >
921+ <column name =" encounter_id" />
922+ </createIndex >
923+ </changeSet >
924+ <changeSet id =" sharedhealth-datasense-20161504-1508" author =" sukreet" context =" setup" >
925+ <preConditions onFail =" MARK_RAN" >
926+ <not >
927+ <indexExists indexName =" idx_diagnostic_report_code" />
928+ </not >
929+ </preConditions >
930+ <createIndex indexName =" idx_diagnostic_report_code"
931+ tableName =" diagnostic_report" >
932+ <column name =" code" />
933+ </createIndex >
934+ </changeSet >
935+ <changeSet id =" sharedhealth-datasense-20161504-1510" author =" sukreet" context =" setup" >
936+ <preConditions onFail =" MARK_RAN" >
937+ <not >
938+ <indexExists indexName =" idx_diagnostic_report_datetime" />
939+ </not >
940+ </preConditions >
941+ <createIndex indexName =" idx_diagnostic_report_datetime"
942+ tableName =" diagnostic_report" >
943+ <column name =" report_datetime" />
944+ </createIndex >
945+ </changeSet >
881946
882947</databaseChangeLog >
0 commit comments