/* * 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 "RXEseg.h" #include "RXEseg.h" #include "Segment.h" #include "SegTypeCode.h" /* * SEGMENT * * rxe(ord) -- pharmacy encoded order */ #include #include #include #include #include #include #include #include #include #include #include Segment::fielddesc RXEseg::fieldtab[24] = { { (::Type (::Segment::*))&RXEseg::QuaTim, required, "quantity/timing" }, { (::Type (::Segment::*))&RXEseg::GiveCode, required, "give code" }, { (::Type (::Segment::*))&RXEseg::GiveAmoMin, required, "give amount - minimum" }, { (::Type (::Segment::*))&RXEseg::GiveAmoMax, optional, "give amount - maximum" }, { (::Type (::Segment::*))&RXEseg::GiveUnits, required, "give units" }, { (::Type (::Segment::*))&RXEseg::GiveDosForm, optional, "give dosage form" }, { (::Type (::Segment::*))&RXEseg::ProSAdmIns, optional, "provider's administration instructions" }, { (::Type (::Segment::*))&RXEseg::DelToLoc, optional, "deliver-to location" }, { (::Type (::Segment::*))&RXEseg::SubStiStatus, optional, "substitution status" }, { (::Type (::Segment::*))&RXEseg::DisAmo, optional, "dispense amount" }, { (::Type (::Segment::*))&RXEseg::DisUnits, optional, "dispense units" }, { (::Type (::Segment::*))&RXEseg::NumOfRef, optional, "number of refills" }, { (::Type (::Segment::*))&RXEseg::OrdProSDeaNum, optional, "ordering provider's dea number" }, { (::Type (::Segment::*))&RXEseg::PhaVerId, optional, "pharmacist verifier id" }, { (::Type (::Segment::*))&RXEseg::PreNum, required, "prescription number" }, { (::Type (::Segment::*))&RXEseg::NumOfRefRem, optional, "number of refills remaining" }, { (::Type (::Segment::*))&RXEseg::NumOfRefDosesDis, optional, "number of refills/doses dispensed" }, { (::Type (::Segment::*))&RXEseg::DTOfMostRecRefOrDoseDis, optional, "d/t of most recent refill or dose dispensed" }, { (::Type (::Segment::*))&RXEseg::TotalDailyDose, optional, "total daily dose" }, { (::Type (::Segment::*))&RXEseg::NeedsHumanRev, optional, "needs human review" }, { (::Type (::Segment::*))&RXEseg::PhaSpeDisIns, optional, "pharmacy special dispensing instructions" }, { (::Type (::Segment::*))&RXEseg::GivePerTimeUnit, optional, "give per (time unit)" }, { (::Type (::Segment::*))&RXEseg::GiveRateAmo, optional, "give rate amount" }, { (::Type (::Segment::*))&RXEseg::GiveRateUnits, optional, "give rate units" }, }; RXEseg::RXEseg() : Segment(SegTypeCode::RXEval, 24, fieldtab) {}