private void init(ModelClassFactory factory) { try { this.add(TS.class, false, 1, 0, new Object[]{ getMessage() }, "System Date/Time"); } catch(HL7Exception e) { log.error("Unexpected error creating NCK - this is probably a bug in the source code generator.", e); } }
/** * Returns * NCK-1: "System Date/Time" - creates it if necessary */ public TS getNck1_SystemDateTime() { TS retVal = this.getTypedField(1, 0); return retVal; }
/** * Creates a new NCK segment */ public NCK(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new TS(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new TS(getMessage()); default: return null; } }
private void init(ModelClassFactory factory) { try { this.add(TS.class, false, 1, 0, new Object[]{ getMessage() }, "System Date/Time"); } catch(HL7Exception e) { log.error("Unexpected error creating NCK - this is probably a bug in the source code generator.", e); } }
/** * Returns * NCK-1: "System Date/Time" - creates it if necessary */ public TS getSystemDateTime() { TS retVal = this.getTypedField(1, 0); return retVal; }
/** * Creates a new NCK segment */ public NCK(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns * NCK-1: "System Date/Time" - creates it if necessary */ public TS getNck1_SystemDateTime() { TS retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * NCK-1: "System Date/Time" - creates it if necessary */ public TS getSystemDateTime() { TS retVal = this.getTypedField(1, 0); return retVal; }