/* * 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_OM2SEG_H_ #define HL7_OM2SEG_H_ #pragma interface #include /* * SEGMENT * * om2(anr) -- numeric observation */ #include #include #include #include #include #include class OM2seg : public Segment { public: STtyp SegTypeId; //segment type id NMtyp SeqNum; //sequence number CEtyp UnitsOfMea; //units of measure repfield RangeOfDecPre; //range of decimal precision CEtyp CorSiUnitsOfMea; //corresponding si units of measure TXtyp SiConVerFac; //si conversion factor CMtyp RefNorRangeOrdConTinObs; //reference (normal) range - ordinal & continuous obs CMtyp CriRangeForOrdConTinObs; //critical range for ordinal & continuous obs CMtyp AbsRangeForOrdAndConTinObs; //absolute range for ordinal and continuous obs repfield DeltaCheckCri; //delta check criteria NMtyp MinMeaInc; //minimum meaningful increments static fielddesc fieldtab[11]; public: OM2seg(); const STtyp& getSegTypeId() const; const NMtyp& getSeqNum() const; const CEtyp& getUnitsOfMea() const; const repfield& getRangeOfDecPre() const; const CEtyp& getCorSiUnitsOfMea() const; const TXtyp& getSiConVerFac() const; const CMtyp& getRefNorRangeOrdConTinObs() const; const CMtyp& getCriRangeForOrdConTinObs() const; const CMtyp& getAbsRangeForOrdAndConTinObs() const; const repfield& getDeltaCheckCri() const; const NMtyp& getMinMeaInc() const; void setSegTypeId(const STtyp &x); void setSeqNum(const NMtyp &x); void setUnitsOfMea(const CEtyp &x); void setRangeOfDecPre(const repfield &x); void setCorSiUnitsOfMea(const CEtyp &x); void setSiConVerFac(const TXtyp &x); void setRefNorRangeOrdConTinObs(const CMtyp &x); void setCriRangeForOrdConTinObs(const CMtyp &x); void setAbsRangeForOrdAndConTinObs(const CMtyp &x); void setDeltaCheckCri(const repfield &x); void setMinMeaInc(const NMtyp &x); }; #ifndef OUTLINE # include #endif #endif /* ! HL7_OM2SEG_H_ */