/* * 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. */ #ifndef HL7_PV1SEG_H_ #define HL7_PV1SEG_H_ #pragma interface #include /* * SEGMENT * * pv1(adt) -- patient visit */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PV1seg : public Segment { public: SItyp SetIdPatVisit; //set id - patient visit PatClassCode PatClass; //patient class ZLtyp AssPatLoc; //assigned patient location AdmTypeCode AdmType; //admission type STtyp PreNum; //preadmit number ZLtyp PriorPatLoc; //prior patient location CNtyp AttDoc; //attending doctor CNtyp RefDoc; //referring doctor repfield ConSulDoc; //consulting doctor IDtyp HosSer; //hospital service ZLtyp TemLoc; //temporary location IDtyp PreTestInd; //preadmit test indicator IDtyp ReaInd; //readmission indicator IDtyp AdmitSou; //admit source repfield AmbStatus; //ambulatory status IDtyp VipInd; //vip indicator CNtyp AdmDoc; //admitting doctor IDtyp PatType; //patient type CKtyp VisitNum; //visit number repfield FinClass; //financial class IDtyp ChaPriceInd; //charge price indicator IDtyp CouCode; //courtesy code IDtyp CreRat; //credit rating repfield ConTractCode; //contract code repfield ConTractEffDate; //contract effective date repfield ConTractAmo; //contract amount repfield ConTractPeriOd; //contract period IDtyp IntCode; //interest code IDtyp TransFerToBadDebtCode; //transfer to bad debt code DTtyp TransFerToBadDebtDate; //transfer to bad debt date IDtyp BadDebtAgeCode; //bad debt agency code NMtyp BadDebtTransFerAmo; //bad debt transfer amount NMtyp BadDebtRecAmo; //bad debt recovery amount IDtyp DelAccInd; //delete account indicator DTtyp DelAccDate; //delete account date IDtyp DisDis; //discharge disposition CKtyp DisToLoc; //discharged to location IDtyp DietType; //diet type IDtyp SerFac; //servicing facility IDtyp BedStatus; //bed status IDtyp AccStatus; //account status ZLtyp PenLoc; //pending location ZLtyp PriorTemLoc; //prior temporary location TStyp AdmitDateTime; //admit date/time TStyp DisDateTime; //discharge date/time NMtyp CurPatBal; //current patient balance NMtyp TotalCha; //total charges NMtyp TotalAdj; //total adjustments NMtyp TotalPay; //total payments CMtyp AltVisitId; //alternate visit id static fielddesc fieldtab[50]; public: PV1seg(); const SItyp& getSetIdPatVisit() const; const PatClassCode& getPatClass() const; const ZLtyp& getAssPatLoc() const; const AdmTypeCode& getAdmType() const; const STtyp& getPreNum() const; const ZLtyp& getPriorPatLoc() const; const CNtyp& getAttDoc() const; const CNtyp& getRefDoc() const; const repfield& getConSulDoc() const; const IDtyp& getHosSer() const; const ZLtyp& getTemLoc() const; const IDtyp& getPreTestInd() const; const IDtyp& getReaInd() const; const IDtyp& getAdmitSou() const; const repfield& getAmbStatus() const; const IDtyp& getVipInd() const; const CNtyp& getAdmDoc() const; const IDtyp& getPatType() const; const CKtyp& getVisitNum() const; const repfield& getFinClass() const; const IDtyp& getChaPriceInd() const; const IDtyp& getCouCode() const; const IDtyp& getCreRat() const; const repfield& getConTractCode() const; const repfield& getConTractEffDate() const; const repfield& getConTractAmo() const; const repfield& getConTractPeriOd() const; const IDtyp& getIntCode() const; const IDtyp& getTransFerToBadDebtCode() const; const DTtyp& getTransFerToBadDebtDate() const; const IDtyp& getBadDebtAgeCode() const; const NMtyp& getBadDebtTransFerAmo() const; const NMtyp& getBadDebtRecAmo() const; const IDtyp& getDelAccInd() const; const DTtyp& getDelAccDate() const; const IDtyp& getDisDis() const; const CKtyp& getDisToLoc() const; const IDtyp& getDietType() const; const IDtyp& getSerFac() const; const IDtyp& getBedStatus() const; const IDtyp& getAccStatus() const; const ZLtyp& getPenLoc() const; const ZLtyp& getPriorTemLoc() const; const TStyp& getAdmitDateTime() const; const TStyp& getDisDateTime() const; const NMtyp& getCurPatBal() const; const NMtyp& getTotalCha() const; const NMtyp& getTotalAdj() const; const NMtyp& getTotalPay() const; const CMtyp& getAltVisitId() const; void setSetIdPatVisit(const SItyp &x); void setPatClass(const PatClassCode &x); void setAssPatLoc(const ZLtyp &x); void setAdmType(const AdmTypeCode &x); void setPreNum(const STtyp &x); void setPriorPatLoc(const ZLtyp &x); void setAttDoc(const CNtyp &x); void setRefDoc(const CNtyp &x); void setConSulDoc(const repfield &x); void setHosSer(const IDtyp &x); void setTemLoc(const ZLtyp &x); void setPreTestInd(const IDtyp &x); void setReaInd(const IDtyp &x); void setAdmitSou(const IDtyp &x); void setAmbStatus(const repfield &x); void setVipInd(const IDtyp &x); void setAdmDoc(const CNtyp &x); void setPatType(const IDtyp &x); void setVisitNum(const CKtyp &x); void setFinClass(const repfield &x); void setChaPriceInd(const IDtyp &x); void setCouCode(const IDtyp &x); void setCreRat(const IDtyp &x); void setConTractCode(const repfield &x); void setConTractEffDate(const repfield &x); void setConTractAmo(const repfield &x); void setConTractPeriOd(const repfield &x); void setIntCode(const IDtyp &x); void setTransFerToBadDebtCode(const IDtyp &x); void setTransFerToBadDebtDate(const DTtyp &x); void setBadDebtAgeCode(const IDtyp &x); void setBadDebtTransFerAmo(const NMtyp &x); void setBadDebtRecAmo(const NMtyp &x); void setDelAccInd(const IDtyp &x); void setDelAccDate(const DTtyp &x); void setDisDis(const IDtyp &x); void setDisToLoc(const CKtyp &x); void setDietType(const IDtyp &x); void setSerFac(const IDtyp &x); void setBedStatus(const IDtyp &x); void setAccStatus(const IDtyp &x); void setPenLoc(const ZLtyp &x); void setPriorTemLoc(const ZLtyp &x); void setAdmitDateTime(const TStyp &x); void setDisDateTime(const TStyp &x); void setCurPatBal(const NMtyp &x); void setTotalCha(const NMtyp &x); void setTotalAdj(const NMtyp &x); void setTotalPay(const NMtyp &x); void setAltVisitId(const CMtyp &x); }; #ifndef OUTLINE # include #endif #endif /* ! HL7_PV1SEG_H_ */