/* * 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_UB2SEG_H_ #define HL7_UB2SEG_H_ #pragma interface #include /* * SEGMENT * * ub2(bln) -- ub92 data */ #include #include #include #include #include class UB2seg : public Segment { public: SItyp SetIdUb92; //set id ub92 STtyp CoInsDays9; //co-insurance days (9) repfield ConDitCode2430; //condition code (24-30) STtyp CovDays7; //covered days (7) STtyp NonCovDays8; //non-covered days (8) repfield ValueAmoCode3941; //value amount & code (39-41) repfield OccCodeDate3235; //occurrence code & date (32-35) repfield OccSpanCodeDates36; //occurrence span code/dates (36) repfield Ub92Loc2State; //ub92 locator 2 (state) repfield Ub92Loc11State; //ub92 locator 11 (state) STtyp Ub92Loc31Nat; //ub92 locator 31 (national) repfield DocConTrolNum37; //document control number (37) repfield Ub92Loc49Nat; //ub92 locator 49 (national) repfield Ub92Loc56State; //ub92 locator 56 (state) STtyp Ub92Loc57Nat; //ub92 locator 57 (national) repfield Ub92Loc78State; //ub92 locator 78 (state) static fielddesc fieldtab[16]; public: UB2seg(); const SItyp& getSetIdUb92() const; const STtyp& getCoInsDays9() const; const repfield& getConDitCode2430() const; const STtyp& getCovDays7() const; const STtyp& getNonCovDays8() const; const repfield& getValueAmoCode3941() const; const repfield& getOccCodeDate3235() const; const repfield& getOccSpanCodeDates36() const; const repfield& getUb92Loc2State() const; const repfield& getUb92Loc11State() const; const STtyp& getUb92Loc31Nat() const; const repfield& getDocConTrolNum37() const; const repfield& getUb92Loc49Nat() const; const repfield& getUb92Loc56State() const; const STtyp& getUb92Loc57Nat() const; const repfield& getUb92Loc78State() const; void setSetIdUb92(const SItyp &x); void setCoInsDays9(const STtyp &x); void setConDitCode2430(const repfield &x); void setCovDays7(const STtyp &x); void setNonCovDays8(const STtyp &x); void setValueAmoCode3941(const repfield &x); void setOccCodeDate3235(const repfield &x); void setOccSpanCodeDates36(const repfield &x); void setUb92Loc2State(const repfield &x); void setUb92Loc11State(const repfield &x); void setUb92Loc31Nat(const STtyp &x); void setDocConTrolNum37(const repfield &x); void setUb92Loc49Nat(const repfield &x); void setUb92Loc56State(const repfield &x); void setUb92Loc57Nat(const STtyp &x); void setUb92Loc78State(const repfield &x); }; #ifndef OUTLINE # include #endif #endif /* ! HL7_UB2SEG_H_ */