/* * 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_OM3SEG_H_ #define HL7_OM3SEG_H_ #pragma interface #include /* * SEGMENT * * om3(anr) -- categorical test/observation */ #include #include #include #include #include class OM3seg : public Segment { public: STtyp SegTypeId; //segment type id NMtyp SeqNum; //sequence number IDtyp PreCodSys; //preferred coding system CEtyp ValidCodedAns; //valid coded answers repfield NorTestCodesForCatObs; //normal test codes for categorical obs CEtyp AbnTestCodesForCatObs; //abnormal test codes for categorical obs CEtyp CriTestCodesForCatObs; //critical test codes for categorical obs IDtyp DataType; //data type static fielddesc fieldtab[8]; public: OM3seg(); const STtyp& getSegTypeId() const; const NMtyp& getSeqNum() const; const IDtyp& getPreCodSys() const; const CEtyp& getValidCodedAns() const; const repfield& getNorTestCodesForCatObs() const; const CEtyp& getAbnTestCodesForCatObs() const; const CEtyp& getCriTestCodesForCatObs() const; const IDtyp& getDataType() const; void setSegTypeId(const STtyp &x); void setSeqNum(const NMtyp &x); void setPreCodSys(const IDtyp &x); void setValidCodedAns(const CEtyp &x); void setNorTestCodesForCatObs(const repfield &x); void setAbnTestCodesForCatObs(const CEtyp &x); void setCriTestCodesForCatObs(const CEtyp &x); void setDataType(const IDtyp &x); }; #ifndef OUTLINE # include #endif #endif /* ! HL7_OM3SEG_H_ */