/* * 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. */ #pragma implementation "RXDseg.h" #include "RXDseg.h" #include "Segment.h" #include "SegTypeCode.h" /* * SEGMENT * * rxd(ord) -- pharmacy dispense */ #include #include #include #include #include #include #include Segment::fielddesc RXDseg::fieldtab[15] = { { (::Type (::Segment::*))&RXDseg::DisSubIdCou, required, "dispense sub-id counter" }, { (::Type (::Segment::*))&RXDseg::DisGiveCode, required, "dispense/give code" }, { (::Type (::Segment::*))&RXDseg::DateTimeDis, optional, "date/time dispensed" }, { (::Type (::Segment::*))&RXDseg::ActDisAmo, required, "actual dispense amount" }, { (::Type (::Segment::*))&RXDseg::ActDisUnits, optional, "actual dispense units" }, { (::Type (::Segment::*))&RXDseg::ActDosForm, optional, "actual dosage form" }, { (::Type (::Segment::*))&RXDseg::PreNum, optional, "prescription number" }, { (::Type (::Segment::*))&RXDseg::NumOfRefRem, optional, "number of refills remaining" }, { (::Type (::Segment::*))&RXDseg::DisNotes, optional, "dispense notes" }, { (::Type (::Segment::*))&RXDseg::DisPro, optional, "dispensing provider" }, { (::Type (::Segment::*))&RXDseg::SubStiStatus, optional, "substitution status" }, { (::Type (::Segment::*))&RXDseg::TotalDailyDose, optional, "total daily dose" }, { (::Type (::Segment::*))&RXDseg::DisToLoc, optional, "dispense-to location" }, { (::Type (::Segment::*))&RXDseg::NeedsHumanRev, optional, "needs human review" }, { (::Type (::Segment::*))&RXDseg::PhaSpeDisIns, optional, "pharmacy special dispensing instructions" }, }; RXDseg::RXDseg() : Segment(SegTypeCode::RXDval, 15, fieldtab) {}