(make-pathname :directory '(:absolute "data" "umls" "2003AC"))
"Path for base of UMLS data files")
-(defvar *meta-path*
- (merge-pathnames
+(defvar *meta-path*
+ (merge-pathnames
(make-pathname :directory '(:relative "META"))
*umls-path*))
-(defvar *lex-path*
- (merge-pathnames
+(defvar *lex-path*
+ (merge-pathnames
(make-pathname :directory '(:relative "LEX"))
*umls-path*))
-(defvar *net-path*
- (merge-pathnames
+(defvar *net-path*
+ (merge-pathnames
(make-pathname :directory '(:relative "NET"))
*umls-path*))
;;; Structures for parsing UMLS text files
-
-(defparameter *umls-files* nil
+
+(defparameter *umls-files* nil
"List of umls file structures. Used when parsing text files.")
-(defparameter *umls-cols* nil
+(defparameter *umls-cols* nil
"List of meta column structures. Used when parsing text files.")
(fields :initarg :fields :accessor fields)
(ucols :initarg :ucols :accessor ucols))
(:default-initargs :fil nil :table nil :des nil :fmt nil :cls nil :rws nil :bts nil
- :fields nil :ucols nil)
+ :fields nil :ucols nil)
(:documentation "UMLS File"))
(defclass ucol ()
(datatype :initarg :datatype :accessor datatype)
(custom-value-fun :initarg :custom-value-fun :accessor custom-value-fun))
(:default-initargs :col nil :des nil :ref nil :min nil :av nil :max nil :fil nil
- :sqltype nil :dty nil :parse-fun nil :datatype nil
- :custom-value-fun nil)
+ :sqltype nil :dty nil :parse-fun nil :datatype nil
+ :custom-value-fun nil)
(:documentation "UMLS column"))
(format s "~A" (col obj))))
-
+