congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
BAR_P02_PATIENT
Code IndexAdd Tabnine to your IDE (free)

How to use
BAR_P02_PATIENT
in
ca.uhn.hl7v2.model.v24.group

Best Java code snippets using ca.uhn.hl7v2.model.v24.group.BAR_P02_PATIENT (Showing top 18 results out of 315)

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

/** 
 * <p>
 * Returns a non-modifiable List containing all current existing repetitions of DB1.
 * <p>
 * <p>
 * Note that unlike {@link #getDB1()}, this method will not create any reps
 * if none are already present, so an empty list may be returned.
 * </p>
 */ 
public java.util.List<DB1> getDB1All() throws HL7Exception {
  return getAllAsList("DB1", DB1.class);
} 
origin: ca.uhn.hapi/hapi-osgi-base

/** 
 * Returns the number of existing repetitions of DB1 
 */ 
public int getDB1Reps() {  
  return getReps("DB1");
} 
origin: ca.uhn.hapi/hapi-structures-v24

/**
 * Returns
 * PID (Patient identification) - creates it if necessary
 */
public PID getPID() { 
  PID retVal = getTyped("PID", PID.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-osgi-base

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

private void init(ModelClassFactory factory) {
  try {
               this.add(PID.class, true, false, false);
               this.add(PD1.class, false, false, false);
               this.add(PV1.class, false, false, false);
               this.add(DB1.class, false, true, false);
  } catch(HL7Exception e) {
   log.error("Unexpected error creating BAR_P02_PATIENT - this is probably a bug in the source code generator.", e);
  }
}
origin: ca.uhn.hapi/hapi-structures-v24

/** 
 * Creates a new BAR_P02_PATIENT group
 */
public BAR_P02_PATIENT(Group parent, ModelClassFactory factory) {
  super(parent, factory);
  init(factory);
}
origin: ca.uhn.hapi/hapi-osgi-base

private void init(ModelClassFactory factory) {
  try {
               this.add(PID.class, true, false, false);
               this.add(PD1.class, false, false, false);
               this.add(PV1.class, false, false, false);
               this.add(DB1.class, false, true, false);
  } catch(HL7Exception e) {
   log.error("Unexpected error creating BAR_P02_PATIENT - this is probably a bug in the source code generator.", e);
  }
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns
 * PID (Patient identification) - creates it if necessary
 */
public PID getPID() { 
  PID retVal = getTyped("PID", PID.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-structures-v24

/** 
 * Returns the number of existing repetitions of DB1 
 */ 
public int getDB1Reps() {  
  return getReps("DB1");
} 
origin: ca.uhn.hapi/hapi-osgi-base

/** 
 * <p>
 * Returns a non-modifiable List containing all current existing repetitions of DB1.
 * <p>
 * <p>
 * Note that unlike {@link #getDB1()}, this method will not create any reps
 * if none are already present, so an empty list may be returned.
 * </p>
 */ 
public java.util.List<DB1> getDB1All() throws HL7Exception {
  return getAllAsList("DB1", DB1.class);
} 
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns a specific repetition of
 * DB1 (Disability) - creates it if necessary
 *
 * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
 * @throws HL7Exception if the repetition requested is more than one 
 *     greater than the number of existing repetitions.
 */
public DB1 getDB1(int rep) { 
  DB1 retVal = getTyped("DB1", rep, DB1.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-structures-v24

/**
 * Returns
 * PV1 (Patient visit) - creates it if necessary
 */
public PV1 getPV1() { 
  PV1 retVal = getTyped("PV1", PV1.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-structures-v24

/**
 * Returns
 * the first repetition of 
 * DB1 (Disability) - creates it if necessary
 */
public DB1 getDB1() { 
  DB1 retVal = getTyped("DB1", DB1.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-structures-v24

/**
 * Returns
 * PD1 (patient additional demographic) - creates it if necessary
 */
public PD1 getPD1() { 
  PD1 retVal = getTyped("PD1", PD1.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-structures-v24

/**
 * Returns a specific repetition of
 * DB1 (Disability) - creates it if necessary
 *
 * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
 * @throws HL7Exception if the repetition requested is more than one 
 *     greater than the number of existing repetitions.
 */
public DB1 getDB1(int rep) { 
  DB1 retVal = getTyped("DB1", rep, DB1.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns
 * PD1 (patient additional demographic) - creates it if necessary
 */
public PD1 getPD1() { 
  PD1 retVal = getTyped("PD1", PD1.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns
 * PV1 (Patient visit) - creates it if necessary
 */
public PV1 getPV1() { 
  PV1 retVal = getTyped("PV1", PV1.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-osgi-base

/**
 * Returns
 * the first repetition of 
 * DB1 (Disability) - creates it if necessary
 */
public DB1 getDB1() { 
  DB1 retVal = getTyped("DB1", DB1.class);
  return retVal;
}
ca.uhn.hl7v2.model.v24.groupBAR_P02_PATIENT

Javadoc

Represents a BAR_P02_PATIENT group structure (a Group object). A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together. This Group contains the following elements:

  • 1: PID (Patient identification)
  • 2: PD1 (patient additional demographic) optional
  • 3: PV1 (Patient visit) optional
  • 4: DB1 (Disability) optional repeating

Most used methods

  • add
  • getAllAsList
  • getReps
  • getTyped
  • init

Popular in Java

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JPanel (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best IntelliJ 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