Skip to content

Commit

Permalink
Update value set configuration file.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimong committed Feb 25, 2015
1 parent 0de7d04 commit 4cb4919
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1845,6 +1845,10 @@ public void create_vs_tree(HttpServletRequest request, HttpServletResponse respo
if (vsc == null) {
String new_uri = convertValueSetURI(vsd_uri);
vsc = ValueSetDefinitionConfig.getValueSetConfig(new_uri);
if (vsc == null) {
new_uri = new_uri.toLowerCase();
vsc = ValueSetDefinitionConfig.getValueSetConfig(new_uri);
}
}

if (vsc != null && !DataUtils.isNullOrBlank(vsc.getReportURI())) {
Expand Down Expand Up @@ -3412,6 +3416,10 @@ public void downloadValueSetAction(HttpServletRequest request, HttpServletRespon
if (vsc == null) {
String new_uri = convertValueSetURI(vsd_uri);
vsc = ValueSetDefinitionConfig.getValueSetConfig(new_uri);
if (vsc == null) {
new_uri = new_uri.toLowerCase();
vsc = ValueSetDefinitionConfig.getValueSetConfig(new_uri);
}
}

String table_content = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ public static void main(String [ ] args)
uri = "http://ncit:C54577";

ValueSetConfig vsc = ValueSetDefinitionConfig.getValueSetConfig(uri);
if (vsc == null) {
uri = uri.toLowerCase();
vsc = ValueSetDefinitionConfig.getValueSetConfig(uri);
}
new ValueSetTableGenerator().generate(vsc);

}
Expand Down

0 comments on commit 4cb4919

Please sign in to comment.