/* * 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_ADMSITECODE_H_ #define HL7_ADMSITECODE_H_ #pragma interface #include /* * CODE * * AdmSiteCode(hl7_standard) -- administrative site */ class AdmSiteCode : public LinearCode { public: enum Value { invalid = LinearCode::invalid, not_present = LinearCode::not_present, null = LinearCode::null, first = LinearCode::first, BilEars = first + 0, BEval = first + 0,//bilateral ears BilNares = first + 1, BNval = first + 1,//bilateral nares But = first + 2, BUval = first + 2,//buttock ChestTube = first + 3, CTval = first + 3,//chest tube LeftArm = first + 4, LAval = first + 4,//left arm LeftAntChest = first + 5, LACval = first + 5,//left anterior chest LeftAntFossa = first + 6, LACFval = first + 6,//left antecubital fossa LeftDel = first + 7, LDval = first + 7,//left deltoid LeftEar = first + 8, LEval = first + 8,//left ear LeftExtJug = first + 9, LEJval = first + 9,//left external jugular LeftFoot = first + 10, LFval = first + 10,//left foot LeftGluMed = first + 11, LGval = first + 11,//left gluteus medius LeftHand = first + 12, LHval = first + 12,//left hand LeftIntJug = first + 13, LIJval = first + 13,//left internal jugular LeftLowerAbdQua = first + 14, LLAQval = first + 14,//left lower abd quadrant LeftLowerFor = first + 15, LLFAval = first + 15,//left lower forearm LeftMidFor = first + 16, LMFAval = first + 16,//left mid forearm LeftNaris = first + 17, LNval = first + 17,//left naris LeftPosChest = first + 18, LPCval = first + 18,//left posterior chest LeftSubCla = first + 19, LSCval = first + 19,//left subclavian LeftThigh = first + 20, LTval = first + 20,//left thigh LeftUpperArm = first + 21, LUAval = first + 21,//left upper arm LeftUpperAbdQua = first + 22, LUAQval = first + 22,//left upper abd quadrant LeftUpperFor = first + 23, LUFAval = first + 23,//left upper forearm LeftVen = first + 24, LVGval = first + 24,//left ventragluteal LeftVasLat = first + 25, LVLval = first + 25,//left vastus lateralis Neb = first + 26, NBval = first + 26,//nebulized RightEye = first + 27, ODval = first + 27,//right eye LeftEye = first + 28, OSval = first + 28,//left eye BilEyes = first + 29, OUval = first + 29,//bilateral eyes PeriAnal = first + 30, PAval = first + 30,//perianal PeriNeal = first + 31, PERINval = first + 31,//perineal RightArm = first + 32, RAval = first + 32,//right arm RightAntChest = first + 33, RACval = first + 33,//right anterior chest RightAntFossa = first + 34, RACFval = first + 34,//right antecubital fossa RightDel = first + 35, RDval = first + 35,//right deltoid RightEar = first + 36, REval = first + 36,//right ear RightExtJug = first + 37, REJval = first + 37,//right external jugular RightFoot = first + 38, RFval = first + 38,//right foot RightGluMed = first + 39, RGval = first + 39,//right gluteus medius RightHand = first + 40, RHval = first + 40,//right hand RightIntJug = first + 41, RIJval = first + 41,//right internal jugular RtLowerAbdQua = first + 42, RLAQval = first + 42,//rt lower abd quadrant RightLowerFor = first + 43, RLFAval = first + 43,//right lower forearm RightMidFor = first + 44, RMFAval = first + 44,//right mid forearm RightNaris = first + 45, RNval = first + 45,//right naris RightPosChest = first + 46, RPCval = first + 46,//right posterior chest RightSubCla = first + 47, RSCval = first + 47,//right subclavian RightThigh = first + 48, RTval = first + 48,//right thigh RightUpperArm = first + 49, RUAval = first + 49,//right upper arm RightUpperAbdQua = first + 50, RUAQval = first + 50,//right upper abd quadrant RightUpperFor = first + 51, RUFAval = first + 51,//right upper forearm RightVen = first + 52, RVGval = first + 52,//right ventragluteal RightVasLat = first + 53, RVLval = first + 53,//right vastus lateralis last = 53, size = last - first + 1 }; AdmSiteCode(); AdmSiteCode(Value val); AdmSiteCode(const char *s); operator Value () const; private: static const char *_table[size]; }; inline AdmSiteCode::AdmSiteCode() : LinearCode(_table,(size_t)size) {} inline AdmSiteCode::AdmSiteCode(Value val) : LinearCode((int)val,_table,(size_t)size) {} inline AdmSiteCode::AdmSiteCode(const char *s) : LinearCode(s,_table,(size_t)size) {} inline AdmSiteCode::operator AdmSiteCode::Value () const { return (Value)(LinearCode::operator int()); } #endif /* ! HL7_ADMSITECODE_H_ */