/* * 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_WHATSUBJECTFILCODE_H_ #define HL7_WHATSUBJECTFILCODE_H_ #pragma interface #include /* * CODE * * WhatSubJectFilCode(hl7_standard) -- what subject filter */ class WhatSubJectFilCode : public LinearCode { public: enum Value { invalid = LinearCode::invalid, not_present = LinearCode::not_present, null = LinearCode::null, first = LinearCode::first, AdvDia = first + 0, ADVval = first + 0,//advice/diagnosis NurUnitLooRetPatInBedsExcEmptyBeds = first + 1, ANUval = first + 1,//nursing unit lookup (returns patients in beds, excluding empty beds AccNumQueryRetMatVisit = first + 2, APAval = first + 2,//account number query, return matching visit MedRecNumQueryRetVisForAMedRecNum = first + 3, APMval = first + 3,//medical record number query, returns visits for a medical record number PatNameLoo = first + 4, APNval = first + 4,//patient name lookup PhyLoo = first + 5, APPval = first + 5,//physician lookup NurUnitLooRetPatInBedsIncEmptyBeds = first + 6, ARNval = first + 6,//nursing unit lookup (returns patients in beds, including empty beds) CanUsedToCanAQuery = first + 7, CANval = first + 7,//cancel. used to cancel a query Dem = first + 8, DEMval = first + 8,//demographics Fin = first + 9, FINval = first + 9,//financial MostRecInp = first + 10, MRIval = first + 10,//most recent inpatient MostRecOut = first + 11, MROval = first + 11,//most recent outpatient NetClock = first + 12, NCKval = first + 12,//network clock NetStatusCha = first + 13, NSCval = first + 13,//network status change NetSta = first + 14, NSTval = first + 14,//network statistic Order = first + 15, ORDval = first + 15,//order Other = first + 16, OTHval = first + 16,//other Pro = first + 17, PROval = first + 17,//procedure PhaAdmInf = first + 18, RARval = first + 18,//pharmacy administration information PhaDisInf = first + 19, RDRval = first + 19,//pharmacy dispense information PhaEncOrderInf = first + 20, RERval = first + 20,//pharmacy, encoded order information Res = first + 21, RESval = first + 21,//result PhaDoseInf = first + 22, RGRval = first + 22,//pharmacy dose information PhaPreOrderInf = first + 23, RORval = first + 23,//pharmacy prescription order information Status = first + 24, STAval = first + 24,//status last = 24, size = last - first + 1 }; WhatSubJectFilCode(); WhatSubJectFilCode(Value val); WhatSubJectFilCode(const char *s); operator Value () const; private: static const char *_table[size]; }; inline WhatSubJectFilCode::WhatSubJectFilCode() : LinearCode(_table,(size_t)size) {} inline WhatSubJectFilCode::WhatSubJectFilCode(Value val) : LinearCode((int)val,_table,(size_t)size) {} inline WhatSubJectFilCode::WhatSubJectFilCode(const char *s) : LinearCode(s,_table,(size_t)size) {} inline WhatSubJectFilCode::operator WhatSubJectFilCode::Value () const { return (Value)(LinearCode::operator int()); } #endif /* ! HL7_WHATSUBJECTFILCODE_H_ */