/** * <p> * Returns the number of existing repetitions of ARV * </p> * */ public int getARVReps() { return getReps("ARV"); }
/** * <p> * Returns * the first repetition of * SFT (Software Segment) - creates it if necessary * </p> * * */ public SFT getSFT() { return getTyped("SFT", SFT.class); }
/** * Creates a new ADT_A06 message with custom ModelClassFactory. */ public ADT_A06(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of ARV2. * <p> * <p> * Note that unlike {@link #getARV2()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<ARV> getARV2All() throws HL7Exception { return getAllAsList("ARV2", ARV.class); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(SFT.class, false, true); this.add(UAC.class, false, false); this.add(EVN.class, true, false); this.add(PID.class, true, false); this.add(PD1.class, false, false); this.add(ARV.class, false, true); this.add(ROL.class, false, true); this.add(MRG.class, false, false); this.add(NK1.class, false, true); this.add(PV1.class, true, false); this.add(PV2.class, false, false); this.add(ARV.class, false, true); this.add(ROL.class, false, true); this.add(DB1.class, false, true); this.add(OBX.class, false, true); this.add(AL1.class, false, true); this.add(DG1.class, false, true); this.add(DRG.class, false, false); this.add(ADT_A06_PROCEDURE.class, false, true); this.add(GT1.class, false, true); this.add(ADT_A06_INSURANCE.class, false, true); this.add(ACC.class, false, false); this.add(UB1.class, false, false); this.add(UB2.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A06 - this is probably a bug in the source code generator.", e);
/** * <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); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(SFT.class, false, true); this.add(UAC.class, false, false); this.add(EVN.class, true, false); this.add(PID.class, true, false); this.add(PD1.class, false, false); this.add(ARV.class, false, true); this.add(ROL.class, false, true); this.add(MRG.class, false, false); this.add(NK1.class, false, true); this.add(PV1.class, true, false); this.add(PV2.class, false, false); this.add(ARV.class, false, true); this.add(ROL.class, false, true); this.add(DB1.class, false, true); this.add(OBX.class, false, true); this.add(AL1.class, false, true); this.add(DG1.class, false, true); this.add(DRG.class, false, false); this.add(ADT_A06_PROCEDURE.class, false, true); this.add(GT1.class, false, true); this.add(ADT_A06_INSURANCE.class, false, true); this.add(ACC.class, false, false); this.add(UB1.class, false, false); this.add(UB2.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A06 - this is probably a bug in the source code generator.", e);
/** * <p> * Returns * UAC (User Authentication Credential Segment) - creates it if necessary * </p> * * */ public UAC getUAC() { return getTyped("UAC", UAC.class); }
/** * <p> * Returns the number of existing repetitions of NK1 * </p> * */ public int getNK1Reps() { return getReps("NK1"); }
/** * <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<ADT_A06_PROCEDURE> getPROCEDUREAll() throws HL7Exception { return getAllAsList("PROCEDURE", ADT_A06_PROCEDURE.class); }
/** * Creates a new ADT_A06 message with custom ModelClassFactory. */ public ADT_A06(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns * the first repetition of * NK1 (Next of Kin / Associated Parties) - creates it if necessary * </p> * * */ public NK1 getNK1() { return getTyped("NK1", NK1.class); }
/** * <p> * Returns the number of existing repetitions of AL1 * </p> * */ public int getAL1Reps() { return getReps("AL1"); }
/** * <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); }
/** * <p> * Returns * the first repetition of * ARV2 (Access Restriction) - creates it if necessary * </p> * * */ public ARV getARV2() { return getTyped("ARV2", ARV.class); }
/** * <p> * Returns the number of existing repetitions of ROL2 * </p> * */ public int getROL2Reps() { return getReps("ROL2"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of DG1. * <p> * <p> * Note that unlike {@link #getDG1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<DG1> getDG1All() throws HL7Exception { return getAllAsList("DG1", DG1.class); }
/** * <p> * Returns * the first repetition of * AL1 (Patient Allergy Information) - creates it if necessary * </p> * * */ public AL1 getAL1() { return getTyped("AL1", AL1.class); }
/** * <p> * Returns the number of existing repetitions of INSURANCE * </p> * */ public int getINSURANCEReps() { return getReps("INSURANCE"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of SFT. * <p> * <p> * Note that unlike {@link #getSFT()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<SFT> getSFTAll() throws HL7Exception { return getAllAsList("SFT", SFT.class); }