      *******************************************************************
      * Project code name "ORCA"
      * ɸ쥻ץȥեȡJMA standard receipt software
      * Copyright(C) 2002 JMA (Japan Medical Association)
      *
      * This program is part of "JMA standard receipt software".
      *
      *     This program is distributed in the hope that it will be useful
      * for further advancement in medical care, according to JMA Open
      * Source License, but WITHOUT ANY WARRANTY.
      *     Everyone is granted permission to use, copy, modify and
      * redistribute this program, but only under the conditions described
      * in the JMA Open Source License. You should have received a copy of
      * this license along with this program. If not, stop using this
      * program and contact JMA, 2-28-16 Honkomagome, Bunkyo-ku, Tokyo,
      * 113-8621, Japan.
      ********************************************************************
      *****************************************************************
      *
      *     ̣ӣУ(SPA-WORK )
      *          
      *****************************************************************
      *  ԡ罤
      * Maj/Min/Rev               
      *  01.01.03    NACL-ƣ    03/02/12  ʬɲ
      *
      *  04.04.01    NACL-ƣ    09/12/10  б
      *
      *  04.06.01    NACL-ƣ    10/10/12  ñȤΥ쥻ʬΥб
      *                                     kohid ɲ
      *  04.06.02    NACL-ƣ    12/10/26  õࣰϷʻ˵ڤ
      *                                     ϷˤΥ쥻ץб
      *                                     receipt_kbn ɲ
      *
      *  05.00.01    NMED-ƣ    21/01/01  ȣϣңб
      *****************************************************************
       01  SPA-H01KYOUTU.
         03  SPA-H01KYOUTU-H.
      *
      *ʬʣǧ
           05  SPA-H01-SYOKBN              PIC  9(01).
      *ٹå
           05  SPA-HIDCD                   PIC  X(04).
      *ٹ̤
           05  SPA-HID1-FLG                PIC  X(02).
           05  SPA-H02-FLG                 PIC  X(02).
      *
      *ϰ
           05  SPA-H01-CUR                 PIC 9(03).
      *ȣ̤
           05  SPA-H99-AREA.
               07  SPA-H99-KEY. 
                   09  SPA-H99-HOSPNUM      PIC  9(02).
                   09  SPA-H99-SRYYM        PIC  9(06).
                   09  SPA-H99-NYUGAIKBN    PIC  X(01).
                   09  SPA-H99-PTID         PIC  9(10).
                   09  SPA-H99-RECEKA       PIC  X(02).
                   09  SPA-H99-TEISYUTUSAKI PIC  9(01).
                   09  SPA-H99-RECESYUBETU  PIC  X(04).
                   09  SPA-H99-HKNJANUM     PIC  X(08).
                   09  SPA-H99-HOJOKBN      PIC  X(01).
                   09  SPA-H99-KOHID-KEY    PIC  9(10).
                   09  SPA-H99-TEKSTYMD     PIC  X(08).
                   09  SPA-H99-RECEIPT-KBN  PIC  X(10).
      *
         03  SPA-H01-JOB-PARAM.
           05  SPA-H01-JOB-ORCA-UID        PIC X(36).
           05  SPA-H01-JOB-KARTE-UID       PIC X(36).
