/** * Returns * EVN-4: "EVENT REASON CODE" - creates it if necessary */ public ID getEVENTREASONCODE() { ID retVal = this.getTypedField(4, 0); return retVal; }
/** * Creates a new EVN segment */ public EVN(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(ID.class, true, 1, 3, new Object[]{ getMessage(), new Integer(3) }, "EVENT TYPE CODE"); this.add(TS.class, true, 1, 19, new Object[]{ getMessage() }, "DATE/TIME OF EVENT"); this.add(TS.class, false, 1, 19, new Object[]{ getMessage() }, "DATE/TIME PLANNED EVENT"); this.add(ID.class, false, 1, 3, new Object[]{ getMessage(), new Integer(62) }, "EVENT REASON CODE"); } catch(HL7Exception e) { log.error("Unexpected error creating EVN - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ID(getMessage(), new Integer( 3 )); case 1: return new TS(getMessage()); case 2: return new TS(getMessage()); case 3: return new ID(getMessage(), new Integer( 62 )); default: return null; } }
private void init(ModelClassFactory factory) { try { this.add(ID.class, true, 1, 3, new Object[]{ getMessage(), new Integer(3) }, "EVENT TYPE CODE"); this.add(TS.class, true, 1, 19, new Object[]{ getMessage() }, "DATE/TIME OF EVENT"); this.add(TS.class, false, 1, 19, new Object[]{ getMessage() }, "DATE/TIME PLANNED EVENT"); this.add(ID.class, false, 1, 3, new Object[]{ getMessage(), new Integer(62) }, "EVENT REASON CODE"); } catch(HL7Exception e) { log.error("Unexpected error creating EVN - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ID(getMessage(), new Integer( 3 )); case 1: return new TS(getMessage()); case 2: return new TS(getMessage()); case 3: return new ID(getMessage(), new Integer( 62 )); default: return null; } }
/** * Returns * EVN-2: "DATE/TIME OF EVENT" - creates it if necessary */ public TS getEvn2_DATETIMEOFEVENT() { TS retVal = this.getTypedField(2, 0); return retVal; }
/** * Creates a new EVN segment */ public EVN(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns * EVN-2: "DATE/TIME OF EVENT" - creates it if necessary */ public TS getDATETIMEOFEVENT() { TS retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * EVN-3: "DATE/TIME PLANNED EVENT" - creates it if necessary */ public TS getEvn3_DATETIMEPLANNEDEVENT() { TS retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * EVN-1: "EVENT TYPE CODE" - creates it if necessary */ public ID getEvn1_EVENTTYPECODE() { ID retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * EVN-2: "DATE/TIME OF EVENT" - creates it if necessary */ public TS getDATETIMEOFEVENT() { TS retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * EVN-3: "DATE/TIME PLANNED EVENT" - creates it if necessary */ public TS getDATETIMEPLANNEDEVENT() { TS retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * EVN-3: "DATE/TIME PLANNED EVENT" - creates it if necessary */ public TS getDATETIMEPLANNEDEVENT() { TS retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * EVN-1: "EVENT TYPE CODE" - creates it if necessary */ public ID getEVENTTYPECODE() { ID retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * EVN-2: "DATE/TIME OF EVENT" - creates it if necessary */ public TS getEvn2_DATETIMEOFEVENT() { TS retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * EVN-3: "DATE/TIME PLANNED EVENT" - creates it if necessary */ public TS getEvn3_DATETIMEPLANNEDEVENT() { TS retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * EVN-4: "EVENT REASON CODE" - creates it if necessary */ public ID getEvn4_EVENTREASONCODE() { ID retVal = this.getTypedField(4, 0); return retVal; }
/** * Returns * EVN-1: "EVENT TYPE CODE" - creates it if necessary */ public ID getEVENTTYPECODE() { ID retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * EVN-1: "EVENT TYPE CODE" - creates it if necessary */ public ID getEvn1_EVENTTYPECODE() { ID retVal = this.getTypedField(1, 0); return retVal; }