/* * This file is automatically Generated by ProtoGen r1.3. * Do not edit it. * * Copyright (c) 1995, 1996 Gunther Schadow. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #pragma implementation "UB2seg.h" #include "UB2seg.h" #include "Segment.h" #include "SegTypeCode.h" /* * SEGMENT * * ub2(bln) -- ub92 data */ #include #include #include #include #include Segment::fielddesc UB2seg::fieldtab[16] = { { (::Type (::Segment::*))&UB2seg::SetIdUb92, optional, "set id ub92" }, { (::Type (::Segment::*))&UB2seg::CoInsDays9, optional, "co-insurance days (9)" }, { (::Type (::Segment::*))&UB2seg::ConDitCode2430, optional, "condition code (24-30)" }, { (::Type (::Segment::*))&UB2seg::CovDays7, optional, "covered days (7)" }, { (::Type (::Segment::*))&UB2seg::NonCovDays8, optional, "non-covered days (8)" }, { (::Type (::Segment::*))&UB2seg::ValueAmoCode3941, optional, "value amount & code (39-41)" }, { (::Type (::Segment::*))&UB2seg::OccCodeDate3235, optional, "occurrence code & date (32-35)" }, { (::Type (::Segment::*))&UB2seg::OccSpanCodeDates36, optional, "occurrence span code/dates (36)" }, { (::Type (::Segment::*))&UB2seg::Ub92Loc2State, optional, "ub92 locator 2 (state)" }, { (::Type (::Segment::*))&UB2seg::Ub92Loc11State, optional, "ub92 locator 11 (state)" }, { (::Type (::Segment::*))&UB2seg::Ub92Loc31Nat, optional, "ub92 locator 31 (national)" }, { (::Type (::Segment::*))&UB2seg::DocConTrolNum37, optional, "document control number (37)" }, { (::Type (::Segment::*))&UB2seg::Ub92Loc49Nat, optional, "ub92 locator 49 (national)" }, { (::Type (::Segment::*))&UB2seg::Ub92Loc56State, optional, "ub92 locator 56 (state)" }, { (::Type (::Segment::*))&UB2seg::Ub92Loc57Nat, optional, "ub92 locator 57 (national)" }, { (::Type (::Segment::*))&UB2seg::Ub92Loc78State, optional, "ub92 locator 78 (state)" }, }; UB2seg::UB2seg() : Segment(SegTypeCode::UB2val, 16, fieldtab) {}