X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=parse-2002.lisp;h=07f9b9cd3f992bfd73786511391c9631f0ae4712;hb=bfdd5c9d3d66970759fcdbee5a51da2ca93ddf06;hp=3d6728ff119dd23cf34f07a3ca0904384f1c6af9;hpb=0ececd07987c48de78c14a60136014a2df7b280b;p=umlisp.git diff --git a/parse-2002.lisp b/parse-2002.lisp index 3d6728f..07f9b9c 100644 --- a/parse-2002.lisp +++ b/parse-2002.lisp @@ -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) @@ -91,7 +104,7 @@ (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) @@ -161,7 +174,7 @@ ("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