/* * 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_RXGSEG_H_ #define HL7_RXGSEG_H_ #pragma interface #include /* * SEGMENT * * rxg(ord) -- pharmacy give */ #include #include #include #include #include #include #include class RXGseg : public Segment { public: NMtyp GiveSubIdCou; //give sub-id counter NMtyp DisSubId; //dispense sub-id TQtyp QuaTim; //quantity/timing CEtyp GiveCode; //give code NMtyp GiveAmoMin; //give amount - minimum NMtyp GiveAmoMax; //give amount - maximum CEtyp GiveUnits; //give units CEtyp GiveDosForm; //give dosage form repfield AdmNotes; //administration notes SubStiStatusCode SubStiStatus; //substitution status IDtyp DisToLoc; //dispense-to location IDtyp NeedsHumanRev; //needs human review repfield PhaSpeAdmIns; //pharmacy special administration instructions STtyp GivePerTimeUnit; //give per (time unit) STtyp GiveRateAmo; //give rate amount CEtyp GiveRateUnits; //give rate units static fielddesc fieldtab[16]; public: RXGseg(); const NMtyp& getGiveSubIdCou() const; const NMtyp& getDisSubId() const; const TQtyp& getQuaTim() const; const CEtyp& getGiveCode() const; const NMtyp& getGiveAmoMin() const; const NMtyp& getGiveAmoMax() const; const CEtyp& getGiveUnits() const; const CEtyp& getGiveDosForm() const; const repfield& getAdmNotes() const; const SubStiStatusCode& getSubStiStatus() const; const IDtyp& getDisToLoc() const; const IDtyp& getNeedsHumanRev() const; const repfield& getPhaSpeAdmIns() const; const STtyp& getGivePerTimeUnit() const; const STtyp& getGiveRateAmo() const; const CEtyp& getGiveRateUnits() const; void setGiveSubIdCou(const NMtyp &x); void setDisSubId(const NMtyp &x); void setQuaTim(const TQtyp &x); void setGiveCode(const CEtyp &x); void setGiveAmoMin(const NMtyp &x); void setGiveAmoMax(const NMtyp &x); void setGiveUnits(const CEtyp &x); void setGiveDosForm(const CEtyp &x); void setAdmNotes(const repfield &x); void setSubStiStatus(const SubStiStatusCode &x); void setDisToLoc(const IDtyp &x); void setNeedsHumanRev(const IDtyp &x); void setPhaSpeAdmIns(const repfield &x); void setGivePerTimeUnit(const STtyp &x); void setGiveRateAmo(const STtyp &x); void setGiveRateUnits(const CEtyp &x); }; #ifndef OUTLINE # include #endif #endif /* ! HL7_RXGSEG_H_ */