/** * <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 number of existing repetitions of INSURANCE * </p> * */ public int getINSURANCEReps() { return getReps("INSURANCE"); }
/** * <p> * Returns * PV1 (PATIENT VISIT) - creates it if necessary * </p> * * */ public PV1 getPV1() { return getTyped("PV1", PV1.class); }
/** * Creates a new ADT_A07 message with custom ModelClassFactory. */ public ADT_A07(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(EVN.class, true, false); this.add(PID.class, true, false); 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(OBX.class, false, true); this.add(AL1.class, false, true); this.add(DG1.class, false, true); this.add(PR1.class, false, true); this.add(GT1.class, false, true); this.add(ADT_A07_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_A07 - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ADT_A07 message with custom ModelClassFactory. */ public ADT_A07(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(EVN.class, true, false); this.add(PID.class, true, false); 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(OBX.class, false, true); this.add(AL1.class, false, true); this.add(DG1.class, false, true); this.add(PR1.class, false, true); this.add(GT1.class, false, true); this.add(ADT_A07_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_A07 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns * the first repetition of * GT1 (GUARANTOR) - creates it if necessary * </p> * * */ public GT1 getGT1() { return getTyped("GT1", GT1.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 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); }
/** * <p> * Returns * the first repetition of * INSURANCE (a Group object) - creates it if necessary * </p> * * */ public ADT_A07_INSURANCE getINSURANCE() { return getTyped("INSURANCE", ADT_A07_INSURANCE.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 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); }
/** * <p> * Returns * ACC (ACCIDENT) - creates it if necessary * </p> * * */ public ACC getACC() { return getTyped("ACC", ACC.class); }
/** * <p> * Returns the number of existing repetitions of PR1 * </p> * */ public int getPR1Reps() { return getReps("PR1"); }
/** * <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 * MSH (MESSAGE HEADER) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns the number of existing repetitions of OBX * </p> * */ public int getOBXReps() { return getReps("OBX"); }
/** * <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); }
/** * <p> * Returns * EVN (EVENT TYPE) - creates it if necessary * </p> * * */ public EVN getEVN() { return getTyped("EVN", EVN.class); }