/* * 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 "PIDseg.h" #include "PIDseg.h" #include "Segment.h" #include "SegTypeCode.h" /* * SEGMENT * * pid(adt) -- patient identification */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include Segment::fielddesc PIDseg::fieldtab[27] = { { (::Type (::Segment::*))&PIDseg::SetIdPatId, optional, "set id - patient id" }, { (::Type (::Segment::*))&PIDseg::PatIdExtId, optional, "patient id (external id)" }, { (::Type (::Segment::*))&PIDseg::PatIdIntId, required, "patient id (internal id)" }, { (::Type (::Segment::*))&PIDseg::AltPatId, optional, "alternate patient id" }, { (::Type (::Segment::*))&PIDseg::PatName, required, "patient name" }, { (::Type (::Segment::*))&PIDseg::MotSMaiName, optional, "mother's maiden name" }, { (::Type (::Segment::*))&PIDseg::DateOfBirth, optional, "date of birth" }, { (::Type (::Segment::*))&PIDseg::Sex, optional, "sex" }, { (::Type (::Segment::*))&PIDseg::PatAlias, optional, "patient alias" }, { (::Type (::Segment::*))&PIDseg::Race, optional, "race" }, { (::Type (::Segment::*))&PIDseg::PatAdd, optional, "patient address" }, { (::Type (::Segment::*))&PIDseg::CouCode, optional, "county code" }, { (::Type (::Segment::*))&PIDseg::PhoneNumHome, optional, "phone number - home" }, { (::Type (::Segment::*))&PIDseg::PhoneNumBus, optional, "phone number - business" }, { (::Type (::Segment::*))&PIDseg::LanPat, optional, "language - patient" }, { (::Type (::Segment::*))&PIDseg::MarStatus, optional, "marital status" }, { (::Type (::Segment::*))&PIDseg::Rel, optional, "religion" }, { (::Type (::Segment::*))&PIDseg::PatAccNum, optional, "patient account number" }, { (::Type (::Segment::*))&PIDseg::SsnNumPat, optional, "ssn number - patient" }, { (::Type (::Segment::*))&PIDseg::DriSLicNumPat, optional, "driver's lic num - patient" }, { (::Type (::Segment::*))&PIDseg::MotSIde, optional, "mother's identifier" }, { (::Type (::Segment::*))&PIDseg::EthGroup, optional, "ethnic group" }, { (::Type (::Segment::*))&PIDseg::BirthPlace, optional, "birth place" }, { (::Type (::Segment::*))&PIDseg::MulBirthInd, optional, "multiple birth indicator" }, { (::Type (::Segment::*))&PIDseg::BirthOrder, optional, "birth order" }, { (::Type (::Segment::*))&PIDseg::Cit, optional, "citizenship" }, { (::Type (::Segment::*))&PIDseg::VetMilStatus, optional, "veterans military status" }, }; PIDseg::PIDseg() : Segment(SegTypeCode::PIDval, 27, fieldtab) {}