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

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

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

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

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

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

/**
 * Returns a specific repetition of
 * OBX (Observation/Result) - 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 OBX getOBX(int rep) { 
  OBX retVal = getTyped("OBX", rep, OBX.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-structures-v24

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

private void init(ModelClassFactory factory) {
  try {
               this.add(PV1.class, false, false, false);
               this.add(PV2.class, false, false, false);
               this.add(ROL.class, false, true, false);
               this.add(DB1.class, false, true, false);
               this.add(OBX.class, false, true, false);
               this.add(AL1.class, false, true, false);
               this.add(DG1.class, false, true, false);
               this.add(DRG.class, false, false, false);
               this.add(BAR_P01_PROCEDURE.class, false, true, false);
               this.add(GT1.class, false, true, false);
               this.add(NK1.class, false, true, false);
               this.add(BAR_P01_INSURANCE.class, false, true, false);
               this.add(ACC.class, false, false, false);
               this.add(UB1.class, false, false, false);
               this.add(UB2.class, false, false, false);
  } catch(HL7Exception e) {
   log.error("Unexpected error creating BAR_P01_VISIT - this is probably a bug in the source code generator.", e);
  }
}
origin: ca.uhn.hapi/hapi-osgi-base

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

private void init(ModelClassFactory factory) {
  try {
               this.add(PV1.class, false, false, false);
               this.add(PV2.class, false, false, false);
               this.add(ROL.class, false, true, false);
               this.add(DB1.class, false, true, false);
               this.add(OBX.class, false, true, false);
               this.add(AL1.class, false, true, false);
               this.add(DG1.class, false, true, false);
               this.add(DRG.class, false, false, false);
               this.add(BAR_P01_PROCEDURE.class, false, true, false);
               this.add(GT1.class, false, true, false);
               this.add(NK1.class, false, true, false);
               this.add(BAR_P01_INSURANCE.class, false, true, false);
               this.add(ACC.class, false, false, false);
               this.add(UB1.class, false, false, false);
               this.add(UB2.class, false, false, false);
  } catch(HL7Exception e) {
   log.error("Unexpected error creating BAR_P01_VISIT - this is probably a bug in the source code generator.", e);
  }
}
origin: ca.uhn.hapi/hapi-structures-v24

/**
 * Returns
 * DRG (Diagnosis Related Group) - creates it if necessary
 */
public DRG getDRG() { 
  DRG retVal = getTyped("DRG", DRG.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-osgi-base

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

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

/**
 * Returns a specific repetition of
 * DG1 (Diagnosis) - 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 DG1 getDG1(int rep) { 
  DG1 retVal = getTyped("DG1", rep, DG1.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-osgi-base

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

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

/**
 * Returns a specific repetition of
 * PROCEDURE (a Group object) - 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 BAR_P01_PROCEDURE getPROCEDURE(int rep) { 
  BAR_P01_PROCEDURE retVal = getTyped("PROCEDURE", rep, BAR_P01_PROCEDURE.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-structures-v24

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

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

/**
 * Returns
 * the first repetition of 
 * INSURANCE (a Group object) - creates it if necessary
 */
public BAR_P01_INSURANCE getINSURANCE() { 
  BAR_P01_INSURANCE retVal = getTyped("INSURANCE", BAR_P01_INSURANCE.class);
  return retVal;
}
origin: ca.uhn.hapi/hapi-structures-v24

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

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

/**
 * Returns a specific repetition of
 * AL1 (Patient allergy information) - 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 AL1 getAL1(int rep) { 
  AL1 retVal = getTyped("AL1", rep, AL1.class);
  return retVal;
}
ca.uhn.hl7v2.model.v24.groupBAR_P01_VISIT

Javadoc

Represents a BAR_P01_VISIT 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: PV1 (Patient visit) optional
  • 2: PV2 (Patient visit - additional information) optional
  • 3: ROL (Role) optional repeating
  • 4: DB1 (Disability) optional repeating
  • 5: OBX (Observation/Result) optional repeating
  • 6: AL1 (Patient allergy information) optional repeating
  • 7: DG1 (Diagnosis) optional repeating
  • 8: DRG (Diagnosis Related Group) optional
  • 9: BAR_P01_PROCEDURE (a Group object) optional repeating
  • 10: GT1 (Guarantor) optional repeating
  • 11: NK1 (Next of kin / associated parties) optional repeating
  • 12: BAR_P01_INSURANCE (a Group object) optional repeating
  • 13: ACC (Accident) optional
  • 14: UB1 (UB82) optional
  • 15: UB2 (UB92 Data) optional

Most used methods

  • add
  • getAllAsList
  • getReps
  • getTyped
  • init

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • getSystemService (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ImageIO (javax.imageio)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 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