Tabnine Logo
Message.printStructure
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: ca.uhn.hapi/hapi-osgi-base

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

  public String printStructure() throws HL7Exception {
    return getDelegate().printStructure();
  }
}
ca.uhn.hl7v2.modelMessageprintStructure

Javadoc

Prints a summary of the contents and structure of this message. This is useful for debugging purposes, if you want to figure out where in the structure of a message a given segment has been placed.

For instance, the following message (containing a few quirks for demonstration purposes):

MSH|^~\\&|^QueryServices||||20021011161756.297-0500||ADT^A01|1|D|2.4\r 
EVN|R01 
EVN|R02 
PID|1 
IN1|1 
IN1|2 
PID|2
...produces the following output:
ADT_A01 (start) 
MSH - MSH|^~\&|^QueryServices||||20021011161756.297-0500||ADT^A01|1|D|2.4 
EVN - EVN|R01 
[ { EVN2 } ] (non-standard) - EVN|R02 
PID - PID|1 
[ PD1 ] - Not populated 
[ { ROL } ] - Not populated 
[ { NK1 } ] - Not populated 
PV1 - Not populated 
[ PV2 ] - Not populated 
[ { ROL2 } ] - Not populated 
[ { DB1 } ] - Not populated 
[ { OBX } ] - Not populated 
[ { AL1 } ] - Not populated 
[ { DG1 } ] - Not populated 
[ DRG ] - Not populated 
PROCEDURE (start) 
[{ 
PR1 - Not populated 
[ { ROL } ] - Not populated 
}] 
PROCEDURE (end) 
[ { GT1 } ] - Not populated 
INSURANCE (start) 
[{ 
IN1 - IN1|1 
[ IN2 ] - Not populated 
[ { IN3 } ] - Not populated 
[ { ROL } ] - Not populated 
}] 
[{ 
IN1 - IN1|2 
[ { PID } ] (non-standard) - PID|2 
[ IN2 ] - Not populated 
[ { IN3 } ] - Not populated 
[ { ROL } ] - Not populated 
}] 
INSURANCE (end) 
[ ACC ] - Not populated 
[ UB1 ] - Not populated 
[ UB2 ] - Not populated 
[ PDA ] - Not populated 
ADT_A01 (end) 

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
  • getFieldSeparatorValue
    Convenience method which retrieves the field separator value from the first field of the first segme
  • getNames
  • parse
    Parses the string into this message using the parser returned by #getParser()
  • setParser
    Sets the parser to be used when parse/encode methods are called on this Message, as well as its chil
  • parse,
  • setParser

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • setContentView (Activity)
  • getSystemService (Context)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • JList (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now