/** * 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; }
/** * Returns the number of existing repetitions of AL1 */ public int getAL1Reps() { return getReps("AL1"); }
/** * 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; }
/** * Returns * IN1 (Insurance) - creates it if necessary */ public IN1 getIN1() { IN1 retVal = getTyped("IN1", IN1.class); return retVal; }
/** * Returns the number of existing repetitions of ROL */ public int getROLReps() { return getReps("ROL"); }
/** * Returns * OBR (Observation Request) - creates it if necessary */ public OBR getOBR() { OBR retVal = getTyped("OBR", OBR.class); return retVal; }
/** * Returns * the first repetition of * ROL (Role) - creates it if necessary */ public ROL getROL() { ROL retVal = getTyped("ROL", ROL.class); return retVal; }
/** * <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); }
/** * Returns the number of existing repetitions of NK1 */ public int getNK1Reps() { return getReps("NK1"); }
/** * Returns * PID (Patient identification) - creates it if necessary */ public PID getPID() { PID retVal = getTyped("PID", PID.class); return retVal; }
/** * Returns the number of existing repetitions of NTE */ public int getNTEReps() { return getReps("NTE"); }
/** * Returns * OBR (Observation Request) - creates it if necessary */ public OBR getOBR() { OBR retVal = getTyped("OBR", OBR.class); return retVal; }
/** * Returns * TXA (Transcription Document Header) - creates it if necessary */ public TXA getTXA() { TXA retVal = getTyped("TXA", TXA.class); return retVal; }
/** * Returns * the first repetition of * GT1 (Guarantor) - creates it if necessary */ public GT1 getGT1() { GT1 retVal = getTyped("GT1", GT1.class); return retVal; }
/** * Returns the number of existing repetitions of PROCEDURE */ public int getPROCEDUREReps() { return getReps("PROCEDURE"); }
/** * Returns * the first repetition of * BLC (Blood Code) - creates it if necessary */ public BLC getBLC() { BLC retVal = getTyped("BLC", BLC.class); return retVal; }
/** * Returns a specific repetition of * ROL (Role) - 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 ROL getROL(int rep) { ROL retVal = getTyped("ROL", rep, ROL.class); return retVal; }
/** * Returns * the first repetition of * NK1 (Next of kin / associated parties) - creates it if necessary */ public NK1 getNK1() { NK1 retVal = getTyped("NK1", NK1.class); return retVal; }
/** * Returns the number of existing repetitions of NK1 */ public int getNK1Reps() { return getReps("NK1"); }
/** * 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; }