/** * <p> * Sets the data type of field 5 in the given OBX segment to the value of OBX-2. The argument * is a Segment as opposed to a particular OBX because it is meant to work with any version. * </p> * <p> * Note that if no value is present in OBX-2, or an invalid value is present in * OBX-2, this method will throw an error. This behaviour can be corrected by using the * following system properties: {@link #DEFAULT_OBX2_TYPE_PROP} and {@link #INVALID_OBX2_TYPE_PROP} * or by using configuration in {@link ParserConfiguration} * </p> * * @param segment OBX segment instance to be modified * @param factory ModelClassFactory to be used * @param parserConfiguration configuration that influences setting OBX-5 * @throws HL7Exception if the operation fails * @deprecated use FixOBX5#fixOBX5 */ public static void fixOBX5(Segment segment, ModelClassFactory factory, ParserConfiguration parserConfiguration) throws HL7Exception { FixFieldDataType.fixOBX5(segment, factory, parserConfiguration); }
/** * <p> * Sets the data type of field 5 in the given OBX segment to the value of OBX-2. The argument * is a Segment as opposed to a particular OBX because it is meant to work with any version. * </p> * <p> * Note that if no value is present in OBX-2, or an invalid value is present in * OBX-2, this method will throw an error. This behaviour can be corrected by using the * following system properties: {@link #DEFAULT_OBX2_TYPE_PROP} and {@link #INVALID_OBX2_TYPE_PROP} * or by using configuration in {@link ParserConfiguration} * </p> * * @param segment OBX segment instance to be modified * @param factory ModelClassFactory to be used * @param parserConfiguration configuration that influences setting OBX-5 * @throws HL7Exception if the operation fails * @deprecated use FixOBX5#fixOBX5 */ public static void fixOBX5(Segment segment, ModelClassFactory factory, ParserConfiguration parserConfiguration) throws HL7Exception { FixFieldDataType.fixOBX5(segment, factory, parserConfiguration); }
FixFieldDataType.fixOBX5(segmentObject, getFactory(), getHapiContext().getParserConfiguration());
/** * <p> * Sets the data type of field 5 in the given OBX segment to the value of OBX-2. The argument * is a Segment as opposed to a particular OBX because it is meant to work with any version. * </p> * <p> * Note that if no value is present in OBX-2, or an invalid value is present in * OBX-2, this method will throw an error. This behaviour can be corrected by using the * following system properties: {@link #DEFAULT_OBX2_TYPE_PROP} and {@link #INVALID_OBX2_TYPE_PROP}, * or by using configuration in {@link ParserConfiguration} * </p> * * @param segment OBX segment instance to be modified * @param factory ModelClassFactory to be used * @throws HL7Exception if the operation fails * @deprecated use FixOBX5#fixOBX5 */ public static void fixOBX5(Segment segment, ModelClassFactory factory) throws HL7Exception { FixFieldDataType.fixOBX5(segment, factory, segment.getMessage().getParser().getParserConfiguration()); }
FixFieldDataType.fixOBX5(segmentObject, getFactory(), getHapiContext().getParserConfiguration());
/** * <p> * Sets the data type of field 5 in the given OBX segment to the value of OBX-2. The argument * is a Segment as opposed to a particular OBX because it is meant to work with any version. * </p> * <p> * Note that if no value is present in OBX-2, or an invalid value is present in * OBX-2, this method will throw an error. This behaviour can be corrected by using the * following system properties: {@link #DEFAULT_OBX2_TYPE_PROP} and {@link #INVALID_OBX2_TYPE_PROP}, * or by using configuration in {@link ParserConfiguration} * </p> * * @param segment OBX segment instance to be modified * @param factory ModelClassFactory to be used * @throws HL7Exception if the operation fails * @deprecated use FixOBX5#fixOBX5 */ public static void fixOBX5(Segment segment, ModelClassFactory factory) throws HL7Exception { FixFieldDataType.fixOBX5(segment, factory, segment.getMessage().getParser().getParserConfiguration()); }
FixFieldDataType.fixOBX5(destination, getFactory(), getHapiContext().getParserConfiguration());
FixFieldDataType.fixOBX5(destination, getFactory(), getHapiContext().getParserConfiguration());
FixFieldDataType.fixOBX5(destination, getFactory(), getHapiContext().getParserConfiguration());
FixFieldDataType.fixOBX5(destination, getFactory(), getHapiContext().getParserConfiguration());