/** * Returns * FHS-4: "File Sending Facility" - creates it if necessary */ public ST getFhs4_FileSendingFacility() { ST retVal = this.getTypedField(4, 0); return retVal; }
/** * Creates a new FHS segment */ public FHS(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(ST.class, true, 1, 1, new Object[]{ getMessage() }, "File Field Separator"); this.add(ST.class, true, 1, 4, new Object[]{ getMessage() }, "File Encoding Characters"); this.add(ST.class, false, 1, 15, new Object[]{ getMessage() }, "File Sending Application"); this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "File Sending Facility"); this.add(ST.class, false, 1, 30, new Object[]{ getMessage() }, "File Receiving Application"); this.add(ST.class, false, 1, 30, new Object[]{ getMessage() }, "File Receiving Facility"); this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "File creation date / time"); this.add(ST.class, false, 1, 40, new Object[]{ getMessage() }, "File Security"); this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "File name / ID"); this.add(ST.class, false, 1, 80, new Object[]{ getMessage() }, "File Header Comment"); this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "File Control ID"); this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Reference File Control ID"); } catch(HL7Exception e) { log.error("Unexpected error creating FHS - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ST(getMessage()); case 1: return new ST(getMessage()); case 2: return new ST(getMessage()); case 3: return new ST(getMessage()); case 4: return new ST(getMessage()); case 5: return new ST(getMessage()); case 6: return new TS(getMessage()); case 7: return new ST(getMessage()); case 8: return new ST(getMessage()); case 9: return new ST(getMessage()); case 10: return new ST(getMessage()); case 11: return new ST(getMessage()); default: return null; } }
private void init(ModelClassFactory factory) { try { this.add(ST.class, true, 1, 1, new Object[]{ getMessage() }, "File Field Separator"); this.add(ST.class, true, 1, 4, new Object[]{ getMessage() }, "File Encoding Characters"); this.add(ST.class, false, 1, 15, new Object[]{ getMessage() }, "File Sending Application"); this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "File Sending Facility"); this.add(ST.class, false, 1, 30, new Object[]{ getMessage() }, "File Receiving Application"); this.add(ST.class, false, 1, 30, new Object[]{ getMessage() }, "File Receiving Facility"); this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "File creation date / time"); this.add(ST.class, false, 1, 40, new Object[]{ getMessage() }, "File Security"); this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "File name / ID"); this.add(ST.class, false, 1, 80, new Object[]{ getMessage() }, "File Header Comment"); this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "File Control ID"); this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Reference File Control ID"); } catch(HL7Exception e) { log.error("Unexpected error creating FHS - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ST(getMessage()); case 1: return new ST(getMessage()); case 2: return new ST(getMessage()); case 3: return new ST(getMessage()); case 4: return new ST(getMessage()); case 5: return new ST(getMessage()); case 6: return new TS(getMessage()); case 7: return new ST(getMessage()); case 8: return new ST(getMessage()); case 9: return new ST(getMessage()); case 10: return new ST(getMessage()); case 11: return new ST(getMessage()); default: return null; } }
/** * Returns * FHS-6: "File Receiving Facility" - creates it if necessary */ public ST getFhs6_FileReceivingFacility() { ST retVal = this.getTypedField(6, 0); return retVal; }
/** * Creates a new FHS segment */ public FHS(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns * FHS-1: "File Field Separator" - creates it if necessary */ public ST getFhs1_FileFieldSeparator() { ST retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * FHS-6: "File Receiving Facility" - creates it if necessary */ public ST getFileReceivingFacility() { ST retVal = this.getTypedField(6, 0); return retVal; }
/** * Returns * FHS-8: "File Security" - creates it if necessary */ public ST getFileSecurity() { ST retVal = this.getTypedField(8, 0); return retVal; }
/** * Returns * FHS-8: "File Security" - creates it if necessary */ public ST getFhs8_FileSecurity() { ST retVal = this.getTypedField(8, 0); return retVal; }
/** * Returns * FHS-10: "File Header Comment" - creates it if necessary */ public ST getFileHeaderComment() { ST retVal = this.getTypedField(10, 0); return retVal; }
/** * Returns * FHS-12: "Reference File Control ID" - creates it if necessary */ public ST getReferenceFileControlID() { ST retVal = this.getTypedField(12, 0); return retVal; }
/** * Returns * FHS-12: "Reference File Control ID" - creates it if necessary */ public ST getFhs12_ReferenceFileControlID() { ST retVal = this.getTypedField(12, 0); return retVal; }
/** * Returns * FHS-5: "File Receiving Application" - creates it if necessary */ public ST getFileReceivingApplication() { ST retVal = this.getTypedField(5, 0); return retVal; }
/** * Returns * FHS-9: "File name / ID" - creates it if necessary */ public ST getFhs9_FileNameID() { ST retVal = this.getTypedField(9, 0); return retVal; }
/** * Returns * FHS-12: "Reference File Control ID" - creates it if necessary */ public ST getReferenceFileControlID() { ST retVal = this.getTypedField(12, 0); return retVal; }
/** * Returns * FHS-5: "File Receiving Application" - creates it if necessary */ public ST getFileReceivingApplication() { ST retVal = this.getTypedField(5, 0); return retVal; }
/** * Returns * FHS-9: "File name / ID" - creates it if necessary */ public ST getFileNameID() { ST retVal = this.getTypedField(9, 0); return retVal; }