Tabnine Logo
BHS
Code IndexAdd Tabnine to your IDE (free)

How to use
BHS
in
ca.uhn.hl7v2.model.v26.segment

Best Java code snippets using ca.uhn.hl7v2.model.v26.segment.BHS (Showing top 20 results out of 315)

origin: ca.uhn.hapi/hapi-structures-v26

/**
 * Returns
 * BHS-1: "Batch Field Separator" - creates it if necessary
 */
public ST getBatchFieldSeparator() { 
  ST retVal = this.getTypedField(1, 0);
  return retVal;
}
 
origin: ca.uhn.hapi/hapi-osgi-base

/** 
 * Creates a new BHS segment
 */
public BHS(Group parent, ModelClassFactory factory) {
  super(parent, factory);
  init(factory);
}
origin: ca.uhn.hapi/hapi-structures-v26

private void init(ModelClassFactory factory) {
  try {
               this.add(ST.class, true, 1, 1, new Object[]{ getMessage() }, "Batch Field Separator");
               this.add(ST.class, true, 1, 4, new Object[]{ getMessage() }, "Batch Encoding Characters");
               this.add(HD.class, false, 1, 227, new Object[]{ getMessage() }, "Batch Sending Application");
               this.add(HD.class, false, 1, 227, new Object[]{ getMessage() }, "Batch Sending Facility");
               this.add(HD.class, false, 1, 227, new Object[]{ getMessage() }, "Batch Receiving Application");
               this.add(HD.class, false, 1, 227, new Object[]{ getMessage() }, "Batch Receiving Facility");
               this.add(DTM.class, false, 1, 24, new Object[]{ getMessage() }, "Batch Creation Date/Time");
               this.add(ST.class, false, 1, 40, new Object[]{ getMessage() }, "Batch Security");
               this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Batch Name/ID/Type");
               this.add(ST.class, false, 1, 80, new Object[]{ getMessage() }, "Batch Comment");
               this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Batch Control ID");
               this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Reference Batch Control ID");
               this.add(HD.class, false, 1, 227, new Object[]{ getMessage() }, "Batch Sending Network Address");
               this.add(HD.class, false, 1, 227, new Object[]{ getMessage() }, "Batch Receiving Network Address");
  } catch(HL7Exception e) {
   log.error("Unexpected error creating BHS - this is probably a bug in the source code generator.", e);
  }
}
origin: ca.uhn.hapi/hapi-structures-v26

/** {@inheritDoc} */   
protected Type createNewTypeWithoutReflection(int field) {
  switch (field) {
   case 0: return new ST(getMessage());
   case 1: return new ST(getMessage());
   case 2: return new HD(getMessage());
   case 3: return new HD(getMessage());
   case 4: return new HD(getMessage());
   case 5: return new HD(getMessage());
   case 6: return new DTM(getMessage());
   case 7: return new ST(getMessage());
   case 8: return new ST(getMessage());
   case 9: return new ST(getMessage());
   case 10: return new ST(getMessage());
   case 11: return new ST(getMessage());
   case 12: return new HD(getMessage());
   case 13: return new HD(getMessage());
   default: return null;
  }
}
origin: ca.uhn.hapi/hapi-osgi-base

private void init(ModelClassFactory factory) {
  try {
               this.add(ST.class, true, 1, 1, new Object[]{ getMessage() }, "Batch Field Separator");
               this.add(ST.class, true, 1, 4, new Object[]{ getMessage() }, "Batch Encoding Characters");
               this.add(HD.class, false, 1, 227, new Object[]{ getMessage() }, "Batch Sending Application");
               this.add(HD.class, false, 1, 227, new Object[]{ getMessage() }, "Batch Sending Facility");
               this.add(HD.class, false, 1, 227, new Object[]{ getMessage() }, "Batch Receiving Application");
               this.add(HD.class, false, 1, 227, new Object[]{ getMessage() }, "Batch Receiving Facility");
               this.add(DTM.class, false, 1, 24, new Object[]{ getMessage() }, "Batch Creation Date/Time");
               this.add(ST.class, false, 1, 40, new Object[]{ getMessage() }, "Batch Security");
               this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Batch Name/ID/Type");
               this.add(ST.class, false, 1, 80, new Object[]{ getMessage() }, "Batch Comment");
               this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Batch Control ID");
               this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Reference Batch Control ID");
               this.add(HD.class, false, 1, 227, new Object[]{ getMessage() }, "Batch Sending Network Address");
               this.add(HD.class, false, 1, 227, new Object[]{ getMessage() }, "Batch Receiving Network Address");
  } catch(HL7Exception e) {
   log.error("Unexpected error creating BHS - this is probably a bug in the source code generator.", e);
  }
}
origin: ca.uhn.hapi/hapi-osgi-base

/** {@inheritDoc} */   
protected Type createNewTypeWithoutReflection(int field) {
  switch (field) {
   case 0: return new ST(getMessage());
   case 1: return new ST(getMessage());
   case 2: return new HD(getMessage());
   case 3: return new HD(getMessage());
   case 4: return new HD(getMessage());
   case 5: return new HD(getMessage());
   case 6: return new DTM(getMessage());
   case 7: return new ST(getMessage());
   case 8: return new ST(getMessage());
   case 9: return new ST(getMessage());
   case 10: return new ST(getMessage());
   case 11: return new ST(getMessage());
   case 12: return new HD(getMessage());
   case 13: return new HD(getMessage());
   default: return null;
  }
}
origin: ca.uhn.hapi/hapi-structures-v26

/**
 * Returns
 * BHS-4: "Batch Sending Facility" - creates it if necessary
 */
public HD getBhs4_BatchSendingFacility() { 
  HD retVal = this.getTypedField(4, 0);
  return retVal;
}
origin: ca.uhn.hapi/hapi-structures-v26

/** 
 * Creates a new BHS segment
 */
public BHS(Group parent, ModelClassFactory factory) {
  super(parent, factory);
  init(factory);
}
origin: ca.uhn.hapi/hapi-structures-v26

/**
 * Returns
 * BHS-7: "Batch Creation Date/Time" - creates it if necessary
 */
public DTM getBatchCreationDateTime() { 
  DTM retVal = this.getTypedField(7, 0);
  return retVal;
}
 
origin: ca.uhn.hapi/hapi-structures-v26

/**
 * Returns
 * BHS-12: "Reference Batch Control ID" - creates it if necessary
 */
public ST getReferenceBatchControlID() { 
  ST retVal = this.getTypedField(12, 0);
  return retVal;
}
 
origin: ca.uhn.hapi/hapi-structures-v26

/**
 * Returns
 * BHS-13: "Batch Sending Network Address" - creates it if necessary
 */
public HD getBatchSendingNetworkAddress() { 
  HD retVal = this.getTypedField(13, 0);
  return retVal;
}
 
origin: ca.uhn.hapi/hapi-structures-v26

/**
 * Returns
 * BHS-14: "Batch Receiving Network Address" - creates it if necessary
 */
public HD getBatchReceivingNetworkAddress() { 
  HD retVal = this.getTypedField(14, 0);
  return retVal;
}
 
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns
 * BHS-3: "Batch Sending Application" - creates it if necessary
 */
public HD getBatchSendingApplication() { 
  HD retVal = this.getTypedField(3, 0);
  return retVal;
}
 
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns
 * BHS-4: "Batch Sending Facility" - creates it if necessary
 */
public HD getBatchSendingFacility() { 
  HD retVal = this.getTypedField(4, 0);
  return retVal;
}
 
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns
 * BHS-5: "Batch Receiving Application" - creates it if necessary
 */
public HD getBhs5_BatchReceivingApplication() { 
  HD retVal = this.getTypedField(5, 0);
  return retVal;
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns
 * BHS-6: "Batch Receiving Facility" - creates it if necessary
 */
public HD getBhs6_BatchReceivingFacility() { 
  HD retVal = this.getTypedField(6, 0);
  return retVal;
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns
 * BHS-8: "Batch Security" - creates it if necessary
 */
public ST getBhs8_BatchSecurity() { 
  ST retVal = this.getTypedField(8, 0);
  return retVal;
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns
 * BHS-10: "Batch Comment" - creates it if necessary
 */
public ST getBhs10_BatchComment() { 
  ST retVal = this.getTypedField(10, 0);
  return retVal;
}
origin: ca.uhn.hapi/hapi-structures-v26

/**
 * Returns
 * BHS-2: "Batch Encoding Characters" - creates it if necessary
 */
public ST getBatchEncodingCharacters() { 
  ST retVal = this.getTypedField(2, 0);
  return retVal;
}
 
origin: ca.uhn.hapi/hapi-structures-v26

/**
 * Returns
 * BHS-3: "Batch Sending Application" - creates it if necessary
 */
public HD getBhs3_BatchSendingApplication() { 
  HD retVal = this.getTypedField(3, 0);
  return retVal;
}
ca.uhn.hl7v2.model.v26.segmentBHS

Javadoc

Represents an HL7 BHS message segment (Batch Header). This segment has the following fields:

  • BHS-1: Batch Field Separator (ST)
  • BHS-2: Batch Encoding Characters (ST)
  • BHS-3: Batch Sending Application (HD) optional
  • BHS-4: Batch Sending Facility (HD) optional
  • BHS-5: Batch Receiving Application (HD) optional
  • BHS-6: Batch Receiving Facility (HD) optional
  • BHS-7: Batch Creation Date/Time (DTM) optional
  • BHS-8: Batch Security (ST) optional
  • BHS-9: Batch Name/ID/Type (ST) optional
  • BHS-10: Batch Comment (ST) optional
  • BHS-11: Batch Control ID (ST) optional
  • BHS-12: Reference Batch Control ID (ST) optional
  • BHS-13: Batch Sending Network Address (HD) optional
  • BHS-14: Batch Receiving Network Address (HD) optional

Most used methods

  • add
  • getMessage
  • getTypedField
  • init

Popular in Java

  • Reactive rest calls using spring rest template
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setScale (BigDecimal)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JTable (javax.swing)
  • Top Vim plugins
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