001 /*
002 * This class is an auto-generated source file for a HAPI
003 * HL7 v2.x standard structure class.
004 *
005 * For more information, visit: http://hl7api.sourceforge.net/
006 */
007
008 package ca.uhn.hl7v2.model.v24.datatype;
009
010 import ca.uhn.hl7v2.model.Primitive;
011 import ca.uhn.hl7v2.model.DataTypeException;
012 import ca.uhn.hl7v2.model.Message;
013 import ca.uhn.hl7v2.model.Type;
014 import ca.uhn.hl7v2.model.AbstractPrimitive;
015
016
017 /**
018 * <p>Represents an HL7 NM (numeric) data type.
019 * A NM contains a single String value.</p>
020 */
021 public class NM extends AbstractPrimitive {
022
023 /**
024 * Constructs an uninitialized NM.
025 * @param message the Message to which this Type belongs
026 */
027 public NM(Message message) {
028 super(message);
029 }
030
031
032 /**
033 * @return "2.4"
034 */
035 public String getVersion() {
036 return "2.4";
037 }
038
039 }
040