/* * 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_MSHSEG_H_ #define HL7_MSHSEG_H_ #pragma interface #include /* * SEGMENT * * msh(cnt) -- message header */ #include #include #include #include #include #include #include #include class MSHseg : public Segment { public: STtyp SenApp; //sending application STtyp SenFac; //sending facility STtyp RecApp; //receiving application STtyp RecFac; //receiving facility TStyp DateTimeOfMes; //date/time of message STtyp Sec; //security ZMtyp MesType; //message type STtyp MesConTrolId; //message control id ProIdCode ProId; //processing id VerIdCode VerId; //version id NMtyp SeqNum; //sequence number STtyp ConTinPoi; //continuation pointer AccAppAckConDitCode AccAckType; //accept acknowledgement type AccAppAckConDitCode AppAckType; //application acknowledgement type IDtyp CouCode; //country code static fielddesc fieldtab[15]; public: MSHseg(); const STtyp& getSenApp() const; const STtyp& getSenFac() const; const STtyp& getRecApp() const; const STtyp& getRecFac() const; const TStyp& getDateTimeOfMes() const; const STtyp& getSec() const; const ZMtyp& getMesType() const; const STtyp& getMesConTrolId() const; const ProIdCode& getProId() const; const VerIdCode& getVerId() const; const NMtyp& getSeqNum() const; const STtyp& getConTinPoi() const; const AccAppAckConDitCode& getAccAckType() const; const AccAppAckConDitCode& getAppAckType() const; const IDtyp& getCouCode() const; void setSenApp(const STtyp &x); void setSenFac(const STtyp &x); void setRecApp(const STtyp &x); void setRecFac(const STtyp &x); void setDateTimeOfMes(const TStyp &x); void setSec(const STtyp &x); void setMesType(const ZMtyp &x); void setMesConTrolId(const STtyp &x); void setProId(const ProIdCode &x); void setVerId(const VerIdCode &x); void setSeqNum(const NMtyp &x); void setConTinPoi(const STtyp &x); void setAccAckType(const AccAppAckConDitCode &x); void setAppAckType(const AccAppAckConDitCode &x); void setCouCode(const IDtyp &x); }; #ifndef OUTLINE # include #endif #endif /* ! HL7_MSHSEG_H_ */