/* * 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 "PV1seg.h" #include "PV1seg.h" #include "Segment.h" #include "SegTypeCode.h" /* * SEGMENT * * pv1(adt) -- patient visit */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include Segment::fielddesc PV1seg::fieldtab[50] = { { (::Type (::Segment::*))&PV1seg::SetIdPatVisit, optional, "set id - patient visit" }, { (::Type (::Segment::*))&PV1seg::PatClass, required, "patient class" }, { (::Type (::Segment::*))&PV1seg::AssPatLoc, optional, "assigned patient location" }, { (::Type (::Segment::*))&PV1seg::AdmType, optional, "admission type" }, { (::Type (::Segment::*))&PV1seg::PreNum, optional, "preadmit number" }, { (::Type (::Segment::*))&PV1seg::PriorPatLoc, optional, "prior patient location" }, { (::Type (::Segment::*))&PV1seg::AttDoc, optional, "attending doctor" }, { (::Type (::Segment::*))&PV1seg::RefDoc, optional, "referring doctor" }, { (::Type (::Segment::*))&PV1seg::ConSulDoc, optional, "consulting doctor" }, { (::Type (::Segment::*))&PV1seg::HosSer, optional, "hospital service" }, { (::Type (::Segment::*))&PV1seg::TemLoc, optional, "temporary location" }, { (::Type (::Segment::*))&PV1seg::PreTestInd, optional, "preadmit test indicator" }, { (::Type (::Segment::*))&PV1seg::ReaInd, optional, "readmission indicator" }, { (::Type (::Segment::*))&PV1seg::AdmitSou, optional, "admit source" }, { (::Type (::Segment::*))&PV1seg::AmbStatus, optional, "ambulatory status" }, { (::Type (::Segment::*))&PV1seg::VipInd, optional, "vip indicator" }, { (::Type (::Segment::*))&PV1seg::AdmDoc, optional, "admitting doctor" }, { (::Type (::Segment::*))&PV1seg::PatType, optional, "patient type" }, { (::Type (::Segment::*))&PV1seg::VisitNum, optional, "visit number" }, { (::Type (::Segment::*))&PV1seg::FinClass, optional, "financial class" }, { (::Type (::Segment::*))&PV1seg::ChaPriceInd, optional, "charge price indicator" }, { (::Type (::Segment::*))&PV1seg::CouCode, optional, "courtesy code" }, { (::Type (::Segment::*))&PV1seg::CreRat, optional, "credit rating" }, { (::Type (::Segment::*))&PV1seg::ConTractCode, optional, "contract code" }, { (::Type (::Segment::*))&PV1seg::ConTractEffDate, optional, "contract effective date" }, { (::Type (::Segment::*))&PV1seg::ConTractAmo, optional, "contract amount" }, { (::Type (::Segment::*))&PV1seg::ConTractPeriOd, optional, "contract period" }, { (::Type (::Segment::*))&PV1seg::IntCode, optional, "interest code" }, { (::Type (::Segment::*))&PV1seg::TransFerToBadDebtCode, optional, "transfer to bad debt code" }, { (::Type (::Segment::*))&PV1seg::TransFerToBadDebtDate, optional, "transfer to bad debt date" }, { (::Type (::Segment::*))&PV1seg::BadDebtAgeCode, optional, "bad debt agency code" }, { (::Type (::Segment::*))&PV1seg::BadDebtTransFerAmo, optional, "bad debt transfer amount" }, { (::Type (::Segment::*))&PV1seg::BadDebtRecAmo, optional, "bad debt recovery amount" }, { (::Type (::Segment::*))&PV1seg::DelAccInd, optional, "delete account indicator" }, { (::Type (::Segment::*))&PV1seg::DelAccDate, optional, "delete account date" }, { (::Type (::Segment::*))&PV1seg::DisDis, optional, "discharge disposition" }, { (::Type (::Segment::*))&PV1seg::DisToLoc, optional, "discharged to location" }, { (::Type (::Segment::*))&PV1seg::DietType, optional, "diet type" }, { (::Type (::Segment::*))&PV1seg::SerFac, optional, "servicing facility" }, { (::Type (::Segment::*))&PV1seg::BedStatus, optional, "bed status" }, { (::Type (::Segment::*))&PV1seg::AccStatus, optional, "account status" }, { (::Type (::Segment::*))&PV1seg::PenLoc, optional, "pending location" }, { (::Type (::Segment::*))&PV1seg::PriorTemLoc, optional, "prior temporary location" }, { (::Type (::Segment::*))&PV1seg::AdmitDateTime, optional, "admit date/time" }, { (::Type (::Segment::*))&PV1seg::DisDateTime, optional, "discharge date/time" }, { (::Type (::Segment::*))&PV1seg::CurPatBal, optional, "current patient balance" }, { (::Type (::Segment::*))&PV1seg::TotalCha, optional, "total charges" }, { (::Type (::Segment::*))&PV1seg::TotalAdj, optional, "total adjustments" }, { (::Type (::Segment::*))&PV1seg::TotalPay, optional, "total payments" }, { (::Type (::Segment::*))&PV1seg::AltVisitId, optional, "alternate visit id" }, }; PV1seg::PV1seg() : Segment(SegTypeCode::PV1val, 50, fieldtab) {}