Skip to content

Commit dde3c85

Browse files
Make treatment_frequency extensible (#1047)
Add LSID to ehr_lookups.treatment_frequency
1 parent 812960f commit dde3c85

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE ehr_lookups.treatment_frequency ADD COLUMN LSID LSIDtype;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE ehr_lookups.treatment_frequency ADD Lsid LsidType null;

ehr/resources/schemas/ehr_lookups.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,17 @@
963963
<shownInInsertView>false</shownInInsertView>
964964
<shownInUpdateView>false</shownInUpdateView>
965965
</column>
966+
<column columnName="lsid">
967+
<datatype>lsidtype</datatype>
968+
<isReadOnly>true</isReadOnly>
969+
<isHidden>true</isHidden>
970+
<isUserEditable>false</isUserEditable>
971+
<fk>
972+
<fkColumnName>ObjectUri</fkColumnName>
973+
<fkTable>Object</fkTable>
974+
<fkDbSchema>exp</fkDbSchema>
975+
</fk>
976+
</column>
966977
<column columnName="meaning">
967978
</column>
968979
<column columnName="sort_order">

ehr/src/org/labkey/ehr/EHRModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public String getName()
133133
@Override
134134
public @Nullable Double getSchemaVersion()
135135
{
136-
return 25.002;
136+
return 25.003;
137137
}
138138

139139
@Override

0 commit comments

Comments
 (0)