ca.uhn.hl7v2.model.v23.segment.IN1 Maven / Gradle / Ivy
/*
* This class is an auto-generated source file for a HAPI
* HL7 v2.x standard structure class.
*
* For more information, visit: http://hl7api.sourceforge.net/
*/
package ca.uhn.hl7v2.model.v23.segment;
// import ca.uhn.hl7v2.model.v23.group.*;
import ca.uhn.hl7v2.model.v23.datatype.*;
import ca.uhn.log.HapiLogFactory;
import ca.uhn.hl7v2.HL7Exception;
import ca.uhn.hl7v2.parser.ModelClassFactory;
import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
import ca.uhn.hl7v2.model.AbstractMessage;
import ca.uhn.hl7v2.model.Group;
import ca.uhn.hl7v2.model.Type;
import ca.uhn.hl7v2.model.AbstractSegment;
import ca.uhn.hl7v2.model.Varies;
/**
*Represents an HL7 IN1 message segment (Insurance).
* This segment has the following fields:
*
* - IN1-1: Set ID - Insurance (SI)
*
- IN1-2: Insurance Plan ID (CE) optional
*
- IN1-3: Insurance Company ID (CX)
*
- IN1-4: Insurance Company Name (XON) optional
*
- IN1-5: Insurance Company Address (XAD) optional
*
- IN1-6: Insurance Co. Contact Ppers (XPN) optional
*
- IN1-7: Insurance Co Phone Number (XTN) optional repeating
*
- IN1-8: Group Number (ST) optional
*
- IN1-9: Group Name (XON) optional
*
- IN1-10: Insured's group employer ID (CX) optional
*
- IN1-11: Insured's Group Emp Name (XON) optional
*
- IN1-12: Plan Effective Date (DT) optional
*
- IN1-13: Plan Expiration Date (DT) optional
*
- IN1-14: Authorization Information (CM_AUI) optional
*
- IN1-15: Plan Type (IS) optional
*
- IN1-16: Name of Insured (XPN) optional
*
- IN1-17: Insured's Relationship to Patient (IS) optional
*
- IN1-18: Insured's Date of Birth (TS) optional
*
- IN1-19: Insured's Address (XAD) optional
*
- IN1-20: Assignment of Benefits (IS) optional
*
- IN1-21: Coordination of Benefits (IS) optional
*
- IN1-22: Coord of Ben. Priority (ST) optional
*
- IN1-23: Notice of Admission Code (ID) optional
*
- IN1-24: Notice of Admission Date (DT) optional
*
- IN1-25: Rpt of Eigibility Code (ID) optional
*
- IN1-26: Rpt of Eligibility Date (DT) optional
*
- IN1-27: Release Information Code (IS) optional
*
- IN1-28: Pre-Admit Cert (PAC) (ST) optional
*
- IN1-29: Verification Date/Time (TS) optional
*
- IN1-30: Verification By (XPN) optional
*
- IN1-31: Type of Agreement Code (IS) optional
*
- IN1-32: Billing Status (IS) optional
*
- IN1-33: Lifetime Reserve Days (NM) optional
*
- IN1-34: Delay before lifetime reserve days (NM) optional
*
- IN1-35: Company Plan Code (IS) optional
*
- IN1-36: Policy Number (ST) optional
*
- IN1-37: Policy Deductible (CP) optional
*
- IN1-38: Policy Limit - Amount (CP) optional
*
- IN1-39: Policy Limit - Days (NM) optional
*
- IN1-40: Room Rate - Semi-Private (CP) optional
*
- IN1-41: Room Rate - Private (CP) optional
*
- IN1-42: Insured's Employment Status (CE) optional
*
- IN1-43: Insured's Sex (IS) optional
*
- IN1-44: Insured's Employer Address (XAD) optional
*
- IN1-45: Verification Status (ST) optional
*
- IN1-46: Prior Insurance Plan ID (IS) optional
*
- IN1-47: Coverage Type (IS) optional
*
- IN1-48: Handicap (IS) optional
*
- IN1-49: Insured's ID Number (CX) optional
*
*/
public class IN1 extends AbstractSegment {
/**
* Creates a new IN1 segment
*/
public IN1(Group parent, ModelClassFactory factory) {
super(parent, factory);
init(factory);
}
private void init(ModelClassFactory factory) {
try {
this.add(SI.class, true, 1, 4, new Object[]{ getMessage(), new Integer(0) }, "Set ID - Insurance");
this.add(CE.class, false, 1, 8, new Object[]{ getMessage(), new Integer(72) }, "Insurance Plan ID");
this.add(CX.class, true, 1, 59, new Object[]{ getMessage(), new Integer(0) }, "Insurance Company ID");
this.add(XON.class, false, 1, 130, new Object[]{ getMessage(), new Integer(0) }, "Insurance Company Name");
this.add(XAD.class, false, 1, 106, new Object[]{ getMessage(), new Integer(0) }, "Insurance Company Address");
this.add(XPN.class, false, 1, 48, new Object[]{ getMessage(), new Integer(0) }, "Insurance Co. Contact Ppers");
this.add(XTN.class, false, 3, 40, new Object[]{ getMessage(), new Integer(0) }, "Insurance Co Phone Number");
this.add(ST.class, false, 1, 12, new Object[]{ getMessage(), new Integer(0) }, "Group Number");
this.add(XON.class, false, 1, 130, new Object[]{ getMessage(), new Integer(0) }, "Group Name");
this.add(CX.class, false, 1, 12, new Object[]{ getMessage(), new Integer(0) }, "Insured's group employer ID");
this.add(XON.class, false, 1, 130, new Object[]{ getMessage(), new Integer(0) }, "Insured's Group Emp Name");
this.add(DT.class, false, 1, 8, new Object[]{ getMessage(), new Integer(0) }, "Plan Effective Date");
this.add(DT.class, false, 1, 8, new Object[]{ getMessage(), new Integer(0) }, "Plan Expiration Date");
this.add(CM_AUI.class, false, 1, 55, new Object[]{ getMessage(), new Integer(0) }, "Authorization Information");
this.add(IS.class, false, 1, 3, new Object[]{ getMessage() }, "Plan Type");
this.add(XPN.class, false, 1, 48, new Object[]{ getMessage(), new Integer(0) }, "Name of Insured");
this.add(IS.class, false, 1, 2, new Object[]{ getMessage() }, "Insured's Relationship to Patient");
this.add(TS.class, false, 1, 26, new Object[]{ getMessage(), new Integer(0) }, "Insured's Date of Birth");
this.add(XAD.class, false, 1, 106, new Object[]{ getMessage(), new Integer(0) }, "Insured's Address");
this.add(IS.class, false, 1, 2, new Object[]{ getMessage() }, "Assignment of Benefits");
this.add(IS.class, false, 1, 2, new Object[]{ getMessage() }, "Coordination of Benefits");
this.add(ST.class, false, 1, 2, new Object[]{ getMessage(), new Integer(0) }, "Coord of Ben. Priority");
this.add(ID.class, false, 1, 2, new Object[]{ getMessage() }, "Notice of Admission Code");
this.add(DT.class, false, 1, 8, new Object[]{ getMessage(), new Integer(0) }, "Notice of Admission Date");
this.add(ID.class, false, 1, 2, new Object[]{ getMessage() }, "Rpt of Eigibility Code");
this.add(DT.class, false, 1, 8, new Object[]{ getMessage(), new Integer(0) }, "Rpt of Eligibility Date");
this.add(IS.class, false, 1, 2, new Object[]{ getMessage() }, "Release Information Code");
this.add(ST.class, false, 1, 15, new Object[]{ getMessage(), new Integer(0) }, "Pre-Admit Cert (PAC)");
this.add(TS.class, false, 1, 26, new Object[]{ getMessage(), new Integer(0) }, "Verification Date/Time");
this.add(XPN.class, false, 1, 60, new Object[]{ getMessage(), new Integer(0) }, "Verification By");
this.add(IS.class, false, 1, 2, new Object[]{ getMessage() }, "Type of Agreement Code");
this.add(IS.class, false, 1, 2, new Object[]{ getMessage() }, "Billing Status");
this.add(NM.class, false, 1, 4, new Object[]{ getMessage(), new Integer(0) }, "Lifetime Reserve Days");
this.add(NM.class, false, 1, 4, new Object[]{ getMessage(), new Integer(0) }, "Delay before lifetime reserve days");
this.add(IS.class, false, 1, 8, new Object[]{ getMessage() }, "Company Plan Code");
this.add(ST.class, false, 1, 15, new Object[]{ getMessage(), new Integer(0) }, "Policy Number");
this.add(CP.class, false, 1, 12, new Object[]{ getMessage(), new Integer(0) }, "Policy Deductible");
this.add(CP.class, false, 1, 12, new Object[]{ getMessage(), new Integer(0) }, "Policy Limit - Amount");
this.add(NM.class, false, 1, 4, new Object[]{ getMessage(), new Integer(0) }, "Policy Limit - Days");
this.add(CP.class, false, 1, 12, new Object[]{ getMessage(), new Integer(0) }, "Room Rate - Semi-Private");
this.add(CP.class, false, 1, 12, new Object[]{ getMessage(), new Integer(0) }, "Room Rate - Private");
this.add(CE.class, false, 1, 60, new Object[]{ getMessage(), new Integer(66) }, "Insured's Employment Status");
this.add(IS.class, false, 1, 1, new Object[]{ getMessage() }, "Insured's Sex");
this.add(XAD.class, false, 1, 106, new Object[]{ getMessage(), new Integer(0) }, "Insured's Employer Address");
this.add(ST.class, false, 1, 2, new Object[]{ getMessage(), new Integer(0) }, "Verification Status");
this.add(IS.class, false, 1, 8, new Object[]{ getMessage() }, "Prior Insurance Plan ID");
this.add(IS.class, false, 1, 3, new Object[]{ getMessage() }, "Coverage Type");
this.add(IS.class, false, 1, 2, new Object[]{ getMessage() }, "Handicap");
this.add(CX.class, false, 1, 12, new Object[]{ getMessage(), new Integer(0) }, "Insured's ID Number");
} catch(HL7Exception e) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected error creating IN1 - this is probably a bug in the source code generator.", e);
}
}
/**
* Returns
* IN1-1: "Set ID - Insurance" - creates it if necessary
*/
public SI getSetIDInsurance() {
SI ret = null;
try {
Type t = this.getField(1, 0);
ret = (SI)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-1: "Set ID - Insurance" - creates it if necessary
*/
public SI getIn11_SetIDInsurance() {
SI ret = null;
try {
Type t = this.getField(1, 0);
ret = (SI)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-2: "Insurance Plan ID" - creates it if necessary
*/
public CE getInsurancePlanID() {
CE ret = null;
try {
Type t = this.getField(2, 0);
ret = (CE)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-2: "Insurance Plan ID" - creates it if necessary
*/
public CE getIn12_InsurancePlanID() {
CE ret = null;
try {
Type t = this.getField(2, 0);
ret = (CE)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-3: "Insurance Company ID" - creates it if necessary
*/
public CX getInsuranceCompanyID() {
CX ret = null;
try {
Type t = this.getField(3, 0);
ret = (CX)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-3: "Insurance Company ID" - creates it if necessary
*/
public CX getIn13_InsuranceCompanyID() {
CX ret = null;
try {
Type t = this.getField(3, 0);
ret = (CX)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-4: "Insurance Company Name" - creates it if necessary
*/
public XON getInsuranceCompanyName() {
XON ret = null;
try {
Type t = this.getField(4, 0);
ret = (XON)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-4: "Insurance Company Name" - creates it if necessary
*/
public XON getIn14_InsuranceCompanyName() {
XON ret = null;
try {
Type t = this.getField(4, 0);
ret = (XON)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-5: "Insurance Company Address" - creates it if necessary
*/
public XAD getInsuranceCompanyAddress() {
XAD ret = null;
try {
Type t = this.getField(5, 0);
ret = (XAD)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-5: "Insurance Company Address" - creates it if necessary
*/
public XAD getIn15_InsuranceCompanyAddress() {
XAD ret = null;
try {
Type t = this.getField(5, 0);
ret = (XAD)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-6: "Insurance Co. Contact Ppers" - creates it if necessary
*/
public XPN getInsuranceCoContactPpers() {
XPN ret = null;
try {
Type t = this.getField(6, 0);
ret = (XPN)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-6: "Insurance Co. Contact Ppers" - creates it if necessary
*/
public XPN getIn16_InsuranceCoContactPpers() {
XPN ret = null;
try {
Type t = this.getField(6, 0);
ret = (XPN)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns all repetitions of Insurance Co Phone Number (IN1-7).
*/
public XTN[] getInsuranceCoPhoneNumber() {
XTN[] ret = null;
try {
Type[] t = this.getField(7);
ret = new XTN[t.length];
for (int i = 0; i < ret.length; i++) {
ret[i] = (XTN)t[i];
}
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns a count of the current number of repetitions of Insurance Co Phone Number (IN1-7).
* This method does not create a repetition, so if no repetitions have currently been defined or accessed,
* it will return zero.
*/
public int getInsuranceCoPhoneNumberReps() {
XTN[] ret = null;
try {
Type[] t = this.getField(7);
return t.length;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
}
/**
* Returns a specific repetition of
* IN1-7: "Insurance Co Phone Number" - creates it if necessary
*
* @param rep The repetition index (0-indexed)
*/
public XTN getInsuranceCoPhoneNumber(int rep) {
XTN ret = null;
try {
Type t = this.getField(7, rep);
ret = (XTN)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns a specific repetition of
* IN1-7: "Insurance Co Phone Number" - creates it if necessary
*
* @param rep The repetition index (0-indexed)
*/
public XTN getIn17_InsuranceCoPhoneNumber(int rep) {
XTN ret = null;
try {
Type t = this.getField(7, rep);
ret = (XTN)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns a count of the current number of repetitions of Insurance Co Phone Number (IN1-7).
* This method does not create a repetition, so if no repetitions have currently been defined or accessed,
* it will return zero.
*/
public int getIn17_InsuranceCoPhoneNumberReps() {
XTN[] ret = null;
try {
Type[] t = this.getField(7);
return t.length;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
}
/**
* Inserts a repetition of
* IN1-7: "Insurance Co Phone Number" at a specific index
*
* @param rep The repetition index (0-indexed)
* @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
*/
public XTN insertInsuranceCoPhoneNumber(int rep) throws HL7Exception {
return (XTN) super.insertRepetition(7, rep);
}
/**
* Inserts a repetition of
* IN1-7: "Insurance Co Phone Number" at a specific index
*
* @param rep The repetition index (0-indexed)
* @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
*/
public XTN insertIn17_InsuranceCoPhoneNumber(int rep) throws HL7Exception {
return (XTN) super.insertRepetition(7, rep);
}
/**
* Removes a repetition of
* IN1-7: "Insurance Co Phone Number" at a specific index
*
* @param rep The repetition index (0-indexed)
* @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
*/
public XTN removeInsuranceCoPhoneNumber(int rep) throws HL7Exception {
return (XTN) super.removeRepetition(7, rep);
}
/**
* Removes a repetition of
* IN1-7: "Insurance Co Phone Number" at a specific index
*
* @param rep The repetition index (0-indexed)
* @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
*/
public XTN removeIn17_InsuranceCoPhoneNumber(int rep) throws HL7Exception {
return (XTN) super.removeRepetition(7, rep);
}
/**
* Returns
* IN1-8: "Group Number" - creates it if necessary
*/
public ST getGroupNumber() {
ST ret = null;
try {
Type t = this.getField(8, 0);
ret = (ST)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-8: "Group Number" - creates it if necessary
*/
public ST getIn18_GroupNumber() {
ST ret = null;
try {
Type t = this.getField(8, 0);
ret = (ST)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-9: "Group Name" - creates it if necessary
*/
public XON getGroupName() {
XON ret = null;
try {
Type t = this.getField(9, 0);
ret = (XON)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-9: "Group Name" - creates it if necessary
*/
public XON getIn19_GroupName() {
XON ret = null;
try {
Type t = this.getField(9, 0);
ret = (XON)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-10: "Insured's group employer ID" - creates it if necessary
*/
public CX getInsuredSGroupEmployerID() {
CX ret = null;
try {
Type t = this.getField(10, 0);
ret = (CX)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-10: "Insured's group employer ID" - creates it if necessary
*/
public CX getIn110_InsuredSGroupEmployerID() {
CX ret = null;
try {
Type t = this.getField(10, 0);
ret = (CX)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-11: "Insured's Group Emp Name" - creates it if necessary
*/
public XON getInsuredSGroupEmpName() {
XON ret = null;
try {
Type t = this.getField(11, 0);
ret = (XON)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-11: "Insured's Group Emp Name" - creates it if necessary
*/
public XON getIn111_InsuredSGroupEmpName() {
XON ret = null;
try {
Type t = this.getField(11, 0);
ret = (XON)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-12: "Plan Effective Date" - creates it if necessary
*/
public DT getPlanEffectiveDate() {
DT ret = null;
try {
Type t = this.getField(12, 0);
ret = (DT)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-12: "Plan Effective Date" - creates it if necessary
*/
public DT getIn112_PlanEffectiveDate() {
DT ret = null;
try {
Type t = this.getField(12, 0);
ret = (DT)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-13: "Plan Expiration Date" - creates it if necessary
*/
public DT getPlanExpirationDate() {
DT ret = null;
try {
Type t = this.getField(13, 0);
ret = (DT)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-13: "Plan Expiration Date" - creates it if necessary
*/
public DT getIn113_PlanExpirationDate() {
DT ret = null;
try {
Type t = this.getField(13, 0);
ret = (DT)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-14: "Authorization Information" - creates it if necessary
*/
public CM_AUI getAuthorizationInformation() {
CM_AUI ret = null;
try {
Type t = this.getField(14, 0);
ret = (CM_AUI)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-14: "Authorization Information" - creates it if necessary
*/
public CM_AUI getIn114_AuthorizationInformation() {
CM_AUI ret = null;
try {
Type t = this.getField(14, 0);
ret = (CM_AUI)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-15: "Plan Type" - creates it if necessary
*/
public IS getPlanType() {
IS ret = null;
try {
Type t = this.getField(15, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-15: "Plan Type" - creates it if necessary
*/
public IS getIn115_PlanType() {
IS ret = null;
try {
Type t = this.getField(15, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-16: "Name of Insured" - creates it if necessary
*/
public XPN getNameOfInsured() {
XPN ret = null;
try {
Type t = this.getField(16, 0);
ret = (XPN)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-16: "Name of Insured" - creates it if necessary
*/
public XPN getIn116_NameOfInsured() {
XPN ret = null;
try {
Type t = this.getField(16, 0);
ret = (XPN)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-17: "Insured's Relationship to Patient" - creates it if necessary
*/
public IS getInsuredSRelationshipToPatient() {
IS ret = null;
try {
Type t = this.getField(17, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-17: "Insured's Relationship to Patient" - creates it if necessary
*/
public IS getIn117_InsuredSRelationshipToPatient() {
IS ret = null;
try {
Type t = this.getField(17, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-18: "Insured's Date of Birth" - creates it if necessary
*/
public TS getInsuredSDateOfBirth() {
TS ret = null;
try {
Type t = this.getField(18, 0);
ret = (TS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-18: "Insured's Date of Birth" - creates it if necessary
*/
public TS getIn118_InsuredSDateOfBirth() {
TS ret = null;
try {
Type t = this.getField(18, 0);
ret = (TS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-19: "Insured's Address" - creates it if necessary
*/
public XAD getInsuredSAddress() {
XAD ret = null;
try {
Type t = this.getField(19, 0);
ret = (XAD)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-19: "Insured's Address" - creates it if necessary
*/
public XAD getIn119_InsuredSAddress() {
XAD ret = null;
try {
Type t = this.getField(19, 0);
ret = (XAD)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-20: "Assignment of Benefits" - creates it if necessary
*/
public IS getAssignmentOfBenefits() {
IS ret = null;
try {
Type t = this.getField(20, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-20: "Assignment of Benefits" - creates it if necessary
*/
public IS getIn120_AssignmentOfBenefits() {
IS ret = null;
try {
Type t = this.getField(20, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-21: "Coordination of Benefits" - creates it if necessary
*/
public IS getCoordinationOfBenefits() {
IS ret = null;
try {
Type t = this.getField(21, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-21: "Coordination of Benefits" - creates it if necessary
*/
public IS getIn121_CoordinationOfBenefits() {
IS ret = null;
try {
Type t = this.getField(21, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-22: "Coord of Ben. Priority" - creates it if necessary
*/
public ST getCoordOfBenPriority() {
ST ret = null;
try {
Type t = this.getField(22, 0);
ret = (ST)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-22: "Coord of Ben. Priority" - creates it if necessary
*/
public ST getIn122_CoordOfBenPriority() {
ST ret = null;
try {
Type t = this.getField(22, 0);
ret = (ST)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-23: "Notice of Admission Code" - creates it if necessary
*/
public ID getNoticeOfAdmissionCode() {
ID ret = null;
try {
Type t = this.getField(23, 0);
ret = (ID)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-23: "Notice of Admission Code" - creates it if necessary
*/
public ID getIn123_NoticeOfAdmissionCode() {
ID ret = null;
try {
Type t = this.getField(23, 0);
ret = (ID)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-24: "Notice of Admission Date" - creates it if necessary
*/
public DT getNoticeOfAdmissionDate() {
DT ret = null;
try {
Type t = this.getField(24, 0);
ret = (DT)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-24: "Notice of Admission Date" - creates it if necessary
*/
public DT getIn124_NoticeOfAdmissionDate() {
DT ret = null;
try {
Type t = this.getField(24, 0);
ret = (DT)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-25: "Rpt of Eigibility Code" - creates it if necessary
*/
public ID getRptOfEigibilityCode() {
ID ret = null;
try {
Type t = this.getField(25, 0);
ret = (ID)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-25: "Rpt of Eigibility Code" - creates it if necessary
*/
public ID getIn125_RptOfEigibilityCode() {
ID ret = null;
try {
Type t = this.getField(25, 0);
ret = (ID)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-26: "Rpt of Eligibility Date" - creates it if necessary
*/
public DT getRptOfEligibilityDate() {
DT ret = null;
try {
Type t = this.getField(26, 0);
ret = (DT)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-26: "Rpt of Eligibility Date" - creates it if necessary
*/
public DT getIn126_RptOfEligibilityDate() {
DT ret = null;
try {
Type t = this.getField(26, 0);
ret = (DT)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-27: "Release Information Code" - creates it if necessary
*/
public IS getReleaseInformationCode() {
IS ret = null;
try {
Type t = this.getField(27, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-27: "Release Information Code" - creates it if necessary
*/
public IS getIn127_ReleaseInformationCode() {
IS ret = null;
try {
Type t = this.getField(27, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-28: "Pre-Admit Cert (PAC)" - creates it if necessary
*/
public ST getPreAdmitCert() {
ST ret = null;
try {
Type t = this.getField(28, 0);
ret = (ST)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-28: "Pre-Admit Cert (PAC)" - creates it if necessary
*/
public ST getIn128_PreAdmitCert() {
ST ret = null;
try {
Type t = this.getField(28, 0);
ret = (ST)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-29: "Verification Date/Time" - creates it if necessary
*/
public TS getVerificationDateTime() {
TS ret = null;
try {
Type t = this.getField(29, 0);
ret = (TS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-29: "Verification Date/Time" - creates it if necessary
*/
public TS getIn129_VerificationDateTime() {
TS ret = null;
try {
Type t = this.getField(29, 0);
ret = (TS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-30: "Verification By" - creates it if necessary
*/
public XPN getVerificationBy() {
XPN ret = null;
try {
Type t = this.getField(30, 0);
ret = (XPN)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-30: "Verification By" - creates it if necessary
*/
public XPN getIn130_VerificationBy() {
XPN ret = null;
try {
Type t = this.getField(30, 0);
ret = (XPN)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-31: "Type of Agreement Code" - creates it if necessary
*/
public IS getTypeOfAgreementCode() {
IS ret = null;
try {
Type t = this.getField(31, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-31: "Type of Agreement Code" - creates it if necessary
*/
public IS getIn131_TypeOfAgreementCode() {
IS ret = null;
try {
Type t = this.getField(31, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-32: "Billing Status" - creates it if necessary
*/
public IS getBillingStatus() {
IS ret = null;
try {
Type t = this.getField(32, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-32: "Billing Status" - creates it if necessary
*/
public IS getIn132_BillingStatus() {
IS ret = null;
try {
Type t = this.getField(32, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-33: "Lifetime Reserve Days" - creates it if necessary
*/
public NM getLifetimeReserveDays() {
NM ret = null;
try {
Type t = this.getField(33, 0);
ret = (NM)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-33: "Lifetime Reserve Days" - creates it if necessary
*/
public NM getIn133_LifetimeReserveDays() {
NM ret = null;
try {
Type t = this.getField(33, 0);
ret = (NM)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-34: "Delay before lifetime reserve days" - creates it if necessary
*/
public NM getDelayBeforeLifetimeReserveDays() {
NM ret = null;
try {
Type t = this.getField(34, 0);
ret = (NM)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-34: "Delay before lifetime reserve days" - creates it if necessary
*/
public NM getIn134_DelayBeforeLifetimeReserveDays() {
NM ret = null;
try {
Type t = this.getField(34, 0);
ret = (NM)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-35: "Company Plan Code" - creates it if necessary
*/
public IS getCompanyPlanCode() {
IS ret = null;
try {
Type t = this.getField(35, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-35: "Company Plan Code" - creates it if necessary
*/
public IS getIn135_CompanyPlanCode() {
IS ret = null;
try {
Type t = this.getField(35, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-36: "Policy Number" - creates it if necessary
*/
public ST getPolicyNumber() {
ST ret = null;
try {
Type t = this.getField(36, 0);
ret = (ST)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-36: "Policy Number" - creates it if necessary
*/
public ST getIn136_PolicyNumber() {
ST ret = null;
try {
Type t = this.getField(36, 0);
ret = (ST)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-37: "Policy Deductible" - creates it if necessary
*/
public CP getPolicyDeductible() {
CP ret = null;
try {
Type t = this.getField(37, 0);
ret = (CP)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-37: "Policy Deductible" - creates it if necessary
*/
public CP getIn137_PolicyDeductible() {
CP ret = null;
try {
Type t = this.getField(37, 0);
ret = (CP)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-38: "Policy Limit - Amount" - creates it if necessary
*/
public CP getPolicyLimitAmount() {
CP ret = null;
try {
Type t = this.getField(38, 0);
ret = (CP)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-38: "Policy Limit - Amount" - creates it if necessary
*/
public CP getIn138_PolicyLimitAmount() {
CP ret = null;
try {
Type t = this.getField(38, 0);
ret = (CP)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-39: "Policy Limit - Days" - creates it if necessary
*/
public NM getPolicyLimitDays() {
NM ret = null;
try {
Type t = this.getField(39, 0);
ret = (NM)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-39: "Policy Limit - Days" - creates it if necessary
*/
public NM getIn139_PolicyLimitDays() {
NM ret = null;
try {
Type t = this.getField(39, 0);
ret = (NM)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-40: "Room Rate - Semi-Private" - creates it if necessary
*/
public CP getRoomRateSemiPrivate() {
CP ret = null;
try {
Type t = this.getField(40, 0);
ret = (CP)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-40: "Room Rate - Semi-Private" - creates it if necessary
*/
public CP getIn140_RoomRateSemiPrivate() {
CP ret = null;
try {
Type t = this.getField(40, 0);
ret = (CP)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-41: "Room Rate - Private" - creates it if necessary
*/
public CP getRoomRatePrivate() {
CP ret = null;
try {
Type t = this.getField(41, 0);
ret = (CP)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-41: "Room Rate - Private" - creates it if necessary
*/
public CP getIn141_RoomRatePrivate() {
CP ret = null;
try {
Type t = this.getField(41, 0);
ret = (CP)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-42: "Insured's Employment Status" - creates it if necessary
*/
public CE getInsuredSEmploymentStatus() {
CE ret = null;
try {
Type t = this.getField(42, 0);
ret = (CE)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-42: "Insured's Employment Status" - creates it if necessary
*/
public CE getIn142_InsuredSEmploymentStatus() {
CE ret = null;
try {
Type t = this.getField(42, 0);
ret = (CE)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-43: "Insured's Sex" - creates it if necessary
*/
public IS getInsuredSSex() {
IS ret = null;
try {
Type t = this.getField(43, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-43: "Insured's Sex" - creates it if necessary
*/
public IS getIn143_InsuredSSex() {
IS ret = null;
try {
Type t = this.getField(43, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-44: "Insured's Employer Address" - creates it if necessary
*/
public XAD getInsuredSEmployerAddress() {
XAD ret = null;
try {
Type t = this.getField(44, 0);
ret = (XAD)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-44: "Insured's Employer Address" - creates it if necessary
*/
public XAD getIn144_InsuredSEmployerAddress() {
XAD ret = null;
try {
Type t = this.getField(44, 0);
ret = (XAD)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-45: "Verification Status" - creates it if necessary
*/
public ST getVerificationStatus() {
ST ret = null;
try {
Type t = this.getField(45, 0);
ret = (ST)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-45: "Verification Status" - creates it if necessary
*/
public ST getIn145_VerificationStatus() {
ST ret = null;
try {
Type t = this.getField(45, 0);
ret = (ST)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-46: "Prior Insurance Plan ID" - creates it if necessary
*/
public IS getPriorInsurancePlanID() {
IS ret = null;
try {
Type t = this.getField(46, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-46: "Prior Insurance Plan ID" - creates it if necessary
*/
public IS getIn146_PriorInsurancePlanID() {
IS ret = null;
try {
Type t = this.getField(46, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-47: "Coverage Type" - creates it if necessary
*/
public IS getCoverageType() {
IS ret = null;
try {
Type t = this.getField(47, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-47: "Coverage Type" - creates it if necessary
*/
public IS getIn147_CoverageType() {
IS ret = null;
try {
Type t = this.getField(47, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-48: "Handicap" - creates it if necessary
*/
public IS getHandicap() {
IS ret = null;
try {
Type t = this.getField(48, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-48: "Handicap" - creates it if necessary
*/
public IS getIn148_Handicap() {
IS ret = null;
try {
Type t = this.getField(48, 0);
ret = (IS)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-49: "Insured's ID Number" - creates it if necessary
*/
public CX getInsuredSIDNumber() {
CX ret = null;
try {
Type t = this.getField(49, 0);
ret = (CX)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/**
* Returns
* IN1-49: "Insured's ID Number" - creates it if necessary
*/
public CX getIn149_InsuredSIDNumber() {
CX ret = null;
try {
Type t = this.getField(49, 0);
ret = (CX)t;
} catch (ClassCastException cce) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", cce);
throw new RuntimeException(cce);
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(this.getClass()).error("Unexpected problem obtaining field value. This is a bug.", he);
throw new RuntimeException(he);
}
return ret;
}
/** {@inheritDoc} */
protected Type createNewTypeWithoutReflection(int field) {
switch (field) {
case 0: return new SI(getMessage());
case 1: return new CE(getMessage());
case 2: return new CX(getMessage());
case 3: return new XON(getMessage());
case 4: return new XAD(getMessage());
case 5: return new XPN(getMessage());
case 6: return new XTN(getMessage());
case 7: return new ST(getMessage());
case 8: return new XON(getMessage());
case 9: return new CX(getMessage());
case 10: return new XON(getMessage());
case 11: return new DT(getMessage());
case 12: return new DT(getMessage());
case 13: return new CM_AUI(getMessage());
case 14: return new IS(getMessage(), new Integer( 86 ));
case 15: return new XPN(getMessage());
case 16: return new IS(getMessage(), new Integer( 63 ));
case 17: return new TS(getMessage());
case 18: return new XAD(getMessage());
case 19: return new IS(getMessage(), new Integer( 135 ));
case 20: return new IS(getMessage(), new Integer( 173 ));
case 21: return new ST(getMessage());
case 22: return new ID(getMessage(), new Integer( 136 ));
case 23: return new DT(getMessage());
case 24: return new ID(getMessage(), new Integer( 136 ));
case 25: return new DT(getMessage());
case 26: return new IS(getMessage(), new Integer( 93 ));
case 27: return new ST(getMessage());
case 28: return new TS(getMessage());
case 29: return new XPN(getMessage());
case 30: return new IS(getMessage(), new Integer( 98 ));
case 31: return new IS(getMessage(), new Integer( 22 ));
case 32: return new NM(getMessage());
case 33: return new NM(getMessage());
case 34: return new IS(getMessage(), new Integer( 42 ));
case 35: return new ST(getMessage());
case 36: return new CP(getMessage());
case 37: return new CP(getMessage());
case 38: return new NM(getMessage());
case 39: return new CP(getMessage());
case 40: return new CP(getMessage());
case 41: return new CE(getMessage());
case 42: return new IS(getMessage(), new Integer( 1 ));
case 43: return new XAD(getMessage());
case 44: return new ST(getMessage());
case 45: return new IS(getMessage(), new Integer( 72 ));
case 46: return new IS(getMessage(), new Integer( 309 ));
case 47: return new IS(getMessage(), new Integer( 310 ));
case 48: return new CX(getMessage());
default: return null;
}
}
}