Codota Logo
Message.getFieldSeparatorValue
Code IndexAdd Codota to your IDE (free)

How to use
getFieldSeparatorValue
method
in
ca.uhn.hl7v2.model.Message

Best Java code snippets using ca.uhn.hl7v2.model.Message.getFieldSeparatorValue (Showing top 4 results out of 315)

  • Common ways to obtain Message
private void myMethod () {
Message m =
  • Codota IconParser parser;String message;parser.parse(message)
  • Codota IconGenericParser genericParser;String theMessage;genericParser.parse(theMessage)
  • Smart code suggestions by Codota
}
origin: ca.uhn.hapi/hapi-base

public Character getFieldSeparatorValue() throws HL7Exception {
  return getDelegate().getFieldSeparatorValue();
}
origin: ca.uhn.hapi/hapi-osgi-base

public Character getFieldSeparatorValue() throws HL7Exception {
  return getDelegate().getFieldSeparatorValue();
}
origin: ca.uhn.hapi/hapi-base

/**
 * Returns an instance using the MSH-1 and MSH-2 values of the given message
 *
 * @param message the message
 * @return the encoding characters for this message
 * @throws HL7Exception If either MSH-1 or MSH-2 are not populated
 * @since 1.0
 */
public static EncodingCharacters getInstance(Message message) throws HL7Exception {
  final String encodingCharactersValue = message.getEncodingCharactersValue();
  if (encodingCharactersValue == null || encodingCharactersValue.length() == 0) {
    throw new HL7Exception("encoding characters not populated");
  }
  final Character fieldSeparatorValue = message.getFieldSeparatorValue();
  if (fieldSeparatorValue == null) {
    throw new HL7Exception("Field separator not populated");
  }
  return new EncodingCharacters(fieldSeparatorValue, encodingCharactersValue);
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns an instance using the MSH-1 and MSH-2 values of the given message
 *
 * @param message the message
 * @return the encoding characters for this message
 * @throws HL7Exception If either MSH-1 or MSH-2 are not populated
 * @since 1.0
 */
public static EncodingCharacters getInstance(Message message) throws HL7Exception {
  final String encodingCharactersValue = message.getEncodingCharactersValue();
  if (encodingCharactersValue == null || encodingCharactersValue.length() == 0) {
    throw new HL7Exception("encoding characters not populated");
  }
  final Character fieldSeparatorValue = message.getFieldSeparatorValue();
  if (fieldSeparatorValue == null) {
    throw new HL7Exception("Field separator not populated");
  }
  return new EncodingCharacters(fieldSeparatorValue, encodingCharactersValue);
}
ca.uhn.hl7v2.modelMessagegetFieldSeparatorValue

Javadoc

Convenience method which retrieves the field separator value from the first field of the first segment. Typically, the first segment is MSH, so this method will retrieve the value of MSH-1.

Popular methods of Message

  • get
  • getVersion
    Returns the version number of the HL7 version in which this message structure is defined (e.g. "2.4"
  • generateACK
    Generates and returns an ACK message which would be used to acknowledge this message successfully.
  • encode
    Encodes this message using the parser returned by #getParser()
  • getName
  • getParser
    Returns the parser to be used when parse/encode methods are called on this Message, as well as its c
  • addNonstandardSegment
  • getEncodingCharactersValue
    Convenience method which retrieves the encoding characters value from the second field of the first
  • getNames
  • parse
    Parses the string into this message using the parser returned by #getParser()
  • printStructure
    Prints a summary of the contents and structure of this message. This is useful for debugging purpos
  • setParser
    Sets the parser to be used when parse/encode methods are called on this Message, as well as its chil
  • printStructure,
  • setParser

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now