/** * Returns Source Application (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public HD getEd1_SourceApplication() { return getTyped(0, HD.class); }
/** * Creates a new ED type */ public ED(Message message) { super(message); init(); }
private void init() { data = new Type[5]; data[0] = new HD(getMessage()); data[1] = new ID(getMessage(), 191); data[2] = new ID(getMessage(), 291); data[3] = new ID(getMessage(), 299); data[4] = new TX(getMessage()); }
case 3: return new XON(getMessage()); case 4: return new XCN(getMessage()); case 5: return new ED(getMessage()); case 6: return new ID(getMessage(), new Integer( 399 )); case 7: return new CWE(getMessage());
} else if ("ED".equals(hl7Datatype)) { ED value = (ED) obx5; if (value == null || value.getData() == null || !StringUtils.hasText(value.getData().getValue())) { log.warn("Not creating null valued obs for concept " + concept); return null; title = c.getName().getName(); obs.setComplexData(new ComplexData(title, value.getData().getValue())); } else {
private void init() { data = new Type[5]; data[0] = new HD(getMessage()); data[1] = new ID(getMessage(), 191); data[2] = new ID(getMessage(), 291); data[3] = new ID(getMessage(), 299); data[4] = new TX(getMessage()); }
case 3: return new XON(getMessage()); case 4: return new XCN(getMessage()); case 5: return new ED(getMessage()); case 6: return new ID(getMessage(), new Integer( 399 )); case 7: return new CWE(getMessage());
/** * Returns Encoding (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public ID getEncoding() { return getTyped(3, ID.class); }
/** * Creates a new ED type */ public ED(Message message) { super(message); init(); }
/** * Returns Data (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public TX getData() { return getTyped(4, TX.class); }
/** * Returns Source Application (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public HD getSourceApplication() { return getTyped(0, HD.class); }
/** * Returns Data Subtype (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ID getEd3_DataSubtype() { return getTyped(2, ID.class); }
/** * Returns Encoding (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public ID getEncoding() { return getTyped(3, ID.class); }
/** * Returns Type of Data (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ID getEd2_TypeOfData() { return getTyped(1, ID.class); }
/** * Returns Data (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public TX getEd5_Data() { return getTyped(4, TX.class); }
/** * Returns Type of Data (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ID getTypeOfData() { return getTyped(1, ID.class); }
/** * Returns Type of Data (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ID getEd2_TypeOfData() { return getTyped(1, ID.class); }
/** * Returns Data (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public TX getData() { return getTyped(4, TX.class); }
/** * Returns Data Subtype (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ID getDataSubtype() { return getTyped(2, ID.class); }
/** * Returns Data Subtype (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ID getEd3_DataSubtype() { return getTyped(2, ID.class); }