- ((col :initarg :col)
- (des :initarg des)
- (ref :initarg ref)
- (min :initarg :min)
- (av :initarg :av)
- (max :initarg :max)
- (fil :initarg :fil)
- (sqltype :initarg :sqltype)
- (dty :initarg :dty :documentation "new in 2002: suggested SQL datatype")
- (parsefunc :initarg :parsefunc)
- (quotechar :initarg :quotechar)
- (datatype :initarg :datatype)
- (custom-value-func :initarg :custom-value-func))
- (:documentation "A UMLS column"))
-
-(defstruct (umls-file)
- "Record for each UMLS File"
- fil table des fmt cls rws bts fields colstructs)
-
-(defstruct (umls-col)
- "Record for each UMLS Column in each file"
- col des ref min av max fil sqltype
- dty ;; new in 2002 umls: suggested SQL datatype
- parsefunc quotechar datatype custom-value-func)
-
+ ((col :initarg :col :accessor col)
+ (des :initarg :des :accessor des)
+ (ref :initarg :ref :accessor ref)
+ (min :initarg :min :accessor cmin)
+ (av :initarg :av :accessor av)
+ (max :initarg :max :accessor cmax)
+ (fil :initarg :fil :accessor fil)
+ (sqltype :initarg :sqltype :accessor sqltype)
+ (dty :initarg :dty :accessor dty :documentation "new in 2002: suggested SQL datatype")
+ (parse-fun :initarg :parse-fun :accessor parse-fun)
+ (quote-str :initarg :quote-str :accessor quote-str)
+ (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)
+ (:documentation "UMLS column"))
+
+
+(defmethod print-object ((obj ufile) (s stream))
+ (print-unreadable-object (obj s :type t :identity t)
+ (format s "~A" (fil obj))))
+
+(defmethod print-object ((obj ucol) (s stream))
+ (print-unreadable-object (obj s :type t :identity t)
+ (format s "~A" (col obj))))
+
+
+