r2960: *** empty log message ***
[umlisp.git] / parse-2002.lisp
index 3d6728ff119dd23cf34f07a3ca0904384f1c6af9..07f9b9cd3f992bfd73786511391c9631f0ae4712 100644 (file)
@@ -1,11 +1,24 @@
- ;;; UMLS-Parse
-;;; Lisp Routines for parsing UMLS files
-;;;   and inserting into SQL databases
-;;;
-;;; Copyright (c) 2001 Kevin M. Rosenberg, M.D.
-;;; $Id: parse-2002.lisp,v 1.1 2002/10/05 20:17:14 kevin Exp $
+;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: umlisp -*-
+;;;; *************************************************************************
+;;;; FILE IDENTIFICATION
+;;;;
+;;;; Name:          parse-2002.lisp
+;;;; Purpose:       Parsing and SQL insertion routines for UMLisp which may
+;;;;                change from year to year
+;;;; Programmer:    Kevin M. Rosenberg
+;;;; Date Started:  Apr 2000
+;;;;
+;;;; $Id: parse-2002.lisp,v 1.3 2002/10/09 23:03:41 kevin Exp $
+;;;;
+;;;; This file, part of UMLisp, is
+;;;;    Copyright (c) 2000-2002 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.
+;;;; *************************************************************************
 
 (in-package :umlisp)
+(declaim (optimize (speed 3) (safety 1) (compilation-speed 0) (debug 3)))
 
 ;;; Pre-read data for custom fields into hash tables
 (defvar *parse-hash-init?* nil)
     (gethash cuisui cuisui-lrl-hash))
   
   (defun sab-srl (sab)
-    (gu:aif (gethash sab sab-srl-hash) gu::it 0))
+    (kmrcl:aif (gethash sab sab-srl-hash) kmrcl::it 0))
 )) ;; closure
 
 (defun set-lrl-hash (key lrl hash)
       ("MRCOC" "KLRL" "INTEGER" 0
        (lambda (x) (format nil "~d" 
                    (max (cui-lrl (parse-ui (nth 0 x)))
-                        (gu:aif (cui-lrl (parse-ui (nth 1 x))) gu::it 0)))))
+                        (kmrcl:aif (cui-lrl (parse-ui (nth 1 x))) kmrcl::it 0)))))
       ("MRSAT" "KSRL" "INTEGER" 0
        (lambda (x) (format nil "~d" (sab-srl (nth 5 x)))))
       ("MRREL" "KSRL" "INTEGER" 0