X-Git-Url: http://git.kpe.io/?p=umlisp.git;a=blobdiff_plain;f=sql.lisp;h=3847d02492692f4d5da0c2ee85f87b0be93a937e;hp=dab38b8ba2d29bb059cacf073ca6fbcd23a0cf0b;hb=9d3b7b50a36bc1d056d72a53ab5a541e16a3b103;hpb=8894876c0e1bc1ce0a3e1680b804e4df7efce2b8 diff --git a/sql.lisp b/sql.lisp index dab38b8..3847d02 100644 --- a/sql.lisp +++ b/sql.lisp @@ -8,7 +8,7 @@ ;;;; Created: Apr 2000 ;;;; ;;;; This file, part of UMLisp, is -;;;; Copyright (c) 2000-2010 by Kevin M. Rosenberg, M.D. +;;;; Copyright (c) 2000-2012 by Kevin M. Rosenberg, M.D. ;;;; ;;;; UMLisp users are granted the rights to distribute and use this software ;;;; as governed by the terms of the GNU General Public License. @@ -16,14 +16,14 @@ (in-package #:umlisp) -(defvar +umls-sql-map+ +(defparameter +umls-sql-map+ '((:2004aa . "KUMLS2004AA") (:2006ac . "KUMLS2006AC") (:2006ad . "MTS2006AD") (:2009ab . "MTS2009AB") (:2010aa . "MTS2010AA") (:2012ab . "MTS2012AB"))) -(defvar +default-umls-db+ "MTS2012AB") +(defvar +default-umls-db+ "MTS2012AA_ALL") (defun lookup-db-name (db) (cdr (assoc (ensure-keyword db) +umls-sql-map+)))