/** * Returns Message Code (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ID getMessageCode() { return getTyped(0, ID.class); }
/** * Creates a new MSG type */ public MSG(Message message) { super(message); init(); }
} else if ( structure instanceof ca.uhn.hl7v2.model.v26.segment.MSH ) { messageType = ( (ca.uhn.hl7v2.model.v26.segment.MSH) structure ).getMessageType().getMessageStructure().getValue(); } else { logError( "This job entry does not support the HL7 dialect used. Found MSH class: "
private void init() { data = new Type[3]; data[0] = new ID(getMessage(), 76); data[1] = new ID(getMessage(), 3); data[2] = new ID(getMessage(), 354); }
case 6: return new DTM(getMessage()); case 7: return new ST(getMessage()); case 8: return new MSG(getMessage()); case 9: return new ST(getMessage()); case 10: return new PT(getMessage());
private void init() { data = new Type[3]; data[0] = new ID(getMessage(), 76); data[1] = new ID(getMessage(), 3); data[2] = new ID(getMessage(), 354); }
case 6: return new DTM(getMessage()); case 7: return new ST(getMessage()); case 8: return new MSG(getMessage()); case 9: return new ST(getMessage()); case 10: return new PT(getMessage());
/** * Returns Trigger Event (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ID getTriggerEvent() { return getTyped(1, ID.class); }
/** * Creates a new MSG type */ public MSG(Message message) { super(message); init(); }
/** * Returns Message Structure (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ID getMessageStructure() { return getTyped(2, ID.class); }
/** * Returns Message Code (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ID getMessageCode() { return getTyped(0, ID.class); }
/** * Returns Message Code (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ID getMsg1_MessageCode() { return getTyped(0, ID.class); }
/** * Returns Trigger Event (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ID getMsg2_TriggerEvent() { return getTyped(1, ID.class); }
/** * Returns Message Code (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ID getMsg1_MessageCode() { return getTyped(0, ID.class); }
/** * Returns Trigger Event (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ID getMsg2_TriggerEvent() { return getTyped(1, ID.class); }
/** * Returns Message Structure (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ID getMsg3_MessageStructure() { return getTyped(2, ID.class); }
/** * Returns Trigger Event (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ID getTriggerEvent() { return getTyped(1, ID.class); }
/** * Returns Message Structure (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ID getMessageStructure() { return getTyped(2, ID.class); }
/** * Returns Message Structure (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ID getMsg3_MessageStructure() { return getTyped(2, ID.class); }