Examples of Varies


Examples of ca.uhn.hl7v2.model.Varies

    /**
     * Returns
     * OBX-5: "Observation Value" - creates it if necessary
     */
    public Varies getObservationValue() {
    Varies retVal = this.getTypedField(5, 0);
    return retVal;
    }
View Full Code Here

Examples of ca.uhn.hl7v2.model.Varies

    /**
     * Returns
     * OBX-5: "Observation Value" - creates it if necessary
     */
    public Varies getObx5_ObservationValue() {
    Varies retVal = this.getTypedField(5, 0);
    return retVal;
    }
View Full Code Here

Examples of ca.uhn.hl7v2.model.Varies

       switch (field) {
          case 0: return new SI(getMessage());
          case 1: return new ID(getMessage(), new Integer( 125 ));
          case 2: return new CE(getMessage());
          case 3: return new ST(getMessage());
          case 4: return new Varies(getMessage());
          case 5: return new CE(getMessage());
          case 6: return new ST(getMessage());
          case 7: return new ID(getMessage(), new Integer( 78 ));
          case 8: return new NM(getMessage());
          case 9: return new ID(getMessage(), new Integer( 80 ));
View Full Code Here

Examples of ca.uhn.hl7v2.model.Varies

    }


    private static String encode(Type source, EncodingCharacters encodingChars, ParserConfiguration parserConfig, String currentTerserPath) {
        if (source instanceof Varies) {
          Varies varies = (Varies) source;
          if (varies.getData() != null) {
            source = varies.getData();
          }
        }
     
        StringBuilder field = new StringBuilder();
        for (int i = 1; i <= Terser.numComponents(source); i++) {
View Full Code Here

Examples of ca.uhn.hl7v2.model.Varies

    return encode(source, encodingChars, source.getMessage().getParser().getParserConfiguration(), null);
  }

  private static String encode(Type source, EncodingCharacters encodingChars, ParserConfiguration parserConfig, String currentTerserPath) {
    if (source instanceof Varies) {
      Varies varies = (Varies) source;
      if (varies.getData() != null) {
        source = varies.getData();
      }
    }

    StringBuilder field = new StringBuilder();
    for (int i = 1; i <= Terser.numComponents(source); i++) {
View Full Code Here

Examples of ca.uhn.hl7v2.model.Varies

     * MFA-5: "Primary Key Value - MFA" - creates it if necessary
     *
     * @param rep The repetition index (0-indexed)
     */
    public Varies getPrimaryKeyValueMFA(int rep) {
        Varies ret = null;
        try {
            Type t = this.getField(5, rep);
            ret = (Varies)t;
        } catch (ClassCastException cce) {
            LoggerFactory.getLogger(getClass()).error("Unexpected problem obtaining field value.  This is a bug.", cce);
View Full Code Here

Examples of ca.uhn.hl7v2.model.Varies

     * MFA-5: "Primary Key Value - MFA" - creates it if necessary
     *
     * @param rep The repetition index (0-indexed)
     */
    public Varies getMfa5_PrimaryKeyValueMFA(int rep) {
        Varies ret = null;
        try {
            Type t = this.getField(5, rep);
            ret = (Varies)t;
        } catch (ClassCastException cce) {
            LoggerFactory.getLogger(getClass()).error("Unexpected problem obtaining field value.  This is a bug.", cce);
View Full Code Here

Examples of ca.uhn.hl7v2.model.Varies

       switch (field) {
          case 0: return new ID(getMessage(), new Integer( 180 ));
          case 1: return new ST(getMessage());
          case 2: return new TS(getMessage());
          case 3: return new CE(getMessage());
          case 4: return new Varies(getMessage());
          case 5: return new ID(getMessage(), new Integer( 355 ));
          default: return null;
       }
   }
View Full Code Here

Examples of ca.uhn.hl7v2.model.Varies

    /**
     * Returns
     * RDT-1: "Column Value" - creates it if necessary
     */
    public Varies getColumnValue() {
        Varies ret = null;
        try {
            Type t = this.getField(1, 0);
            ret = (Varies)t;
        } catch (ClassCastException cce) {
            LoggerFactory.getLogger(getClass()).error("Unexpected problem obtaining field value.  This is a bug.", cce);
View Full Code Here

Examples of ca.uhn.hl7v2.model.Varies

    /**
     * Returns
     * RDT-1: "Column Value" - creates it if necessary
     */
    public Varies getRdt1_ColumnValue() {
        Varies ret = null;
        try {
            Type t = this.getField(1, 0);
            ret = (Varies)t;
        } catch (ClassCastException cce) {
            LoggerFactory.getLogger(getClass()).error("Unexpected problem obtaining field value.  This is a bug.", cce);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.