/* * 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_PIDSEG_H_ #define HL7_PIDSEG_H_ #pragma interface #include /* * SEGMENT * * pid(adt) -- patient identification */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PIDseg : public Segment { public: SItyp SetIdPatId; //set id - patient id CKtyp PatIdExtId; //patient id (external id) repfield PatIdIntId; //patient id (internal id) STtyp AltPatId; //alternate patient id PNtyp PatName; //patient name STtyp MotSMaiName; //mother's maiden name TStyp DateOfBirth; //date of birth SexCode Sex; //sex repfield PatAlias; //patient alias IDtyp Race; //race repfield PatAdd; //patient address IDtyp CouCode; //county code repfield PhoneNumHome; //phone number - home repfield PhoneNumBus; //phone number - business STtyp LanPat; //language - patient MarStatusCode MarStatus; //marital status IDtyp Rel; //religion CKtyp PatAccNum; //patient account number STtyp SsnNumPat; //ssn number - patient CMtyp DriSLicNumPat; //driver's lic num - patient CKtyp MotSIde; //mother's identifier IDtyp EthGroup; //ethnic group STtyp BirthPlace; //birth place IDtyp MulBirthInd; //multiple birth indicator NMtyp BirthOrder; //birth order repfield Cit; //citizenship CEtyp VetMilStatus; //veterans military status static fielddesc fieldtab[27]; public: PIDseg(); const SItyp& getSetIdPatId() const; const CKtyp& getPatIdExtId() const; const repfield& getPatIdIntId() const; const STtyp& getAltPatId() const; const PNtyp& getPatName() const; const STtyp& getMotSMaiName() const; const TStyp& getDateOfBirth() const; const SexCode& getSex() const; const repfield& getPatAlias() const; const IDtyp& getRace() const; const repfield& getPatAdd() const; const IDtyp& getCouCode() const; const repfield& getPhoneNumHome() const; const repfield& getPhoneNumBus() const; const STtyp& getLanPat() const; const MarStatusCode& getMarStatus() const; const IDtyp& getRel() const; const CKtyp& getPatAccNum() const; const STtyp& getSsnNumPat() const; const CMtyp& getDriSLicNumPat() const; const CKtyp& getMotSIde() const; const IDtyp& getEthGroup() const; const STtyp& getBirthPlace() const; const IDtyp& getMulBirthInd() const; const NMtyp& getBirthOrder() const; const repfield& getCit() const; const CEtyp& getVetMilStatus() const; void setSetIdPatId(const SItyp &x); void setPatIdExtId(const CKtyp &x); void setPatIdIntId(const repfield &x); void setAltPatId(const STtyp &x); void setPatName(const PNtyp &x); void setMotSMaiName(const STtyp &x); void setDateOfBirth(const TStyp &x); void setSex(const SexCode &x); void setPatAlias(const repfield &x); void setRace(const IDtyp &x); void setPatAdd(const repfield &x); void setCouCode(const IDtyp &x); void setPhoneNumHome(const repfield &x); void setPhoneNumBus(const repfield &x); void setLanPat(const STtyp &x); void setMarStatus(const MarStatusCode &x); void setRel(const IDtyp &x); void setPatAccNum(const CKtyp &x); void setSsnNumPat(const STtyp &x); void setDriSLicNumPat(const CMtyp &x); void setMotSIde(const CKtyp &x); void setEthGroup(const IDtyp &x); void setBirthPlace(const STtyp &x); void setMulBirthInd(const IDtyp &x); void setBirthOrder(const NMtyp &x); void setCit(const repfield &x); void setVetMilStatus(const CEtyp &x); }; #ifndef OUTLINE # include #endif #endif /* ! HL7_PIDSEG_H_ */