/** * <p> * Returns * PD1 (Patient Additional Demographic) - creates it if necessary * </p> * * */ public PD1 getPD1() { return getTyped("PD1", PD1.class); }
/** * <p> * Returns * EVN (Event Type) - creates it if necessary * </p> * * */ public EVN getEVN() { return getTyped("EVN", EVN.class); }
/** * <p> * Returns * the first repetition of * ROL (Role) - creates it if necessary * </p> * * */ public ROL getROL() { return getTyped("ROL", ROL.class); }
/** * <p> * Returns the number of existing repetitions of NK1 * </p> * */ public int getNK1Reps() { return getReps("NK1"); }
/** * <p> * Returns * QAK (Query Acknowledgment) - creates it if necessary * </p> * * */ public QAK getQAK() { return getTyped("QAK", QAK.class); }
/** * <p> * Returns the number of existing repetitions of AL1 * </p> * */ public int getAL1Reps() { return getReps("AL1"); }
} else if ( ack instanceof ca.uhn.hl7v2.model.v251.message.ACK ) { ca.uhn.hl7v2.model.v251.message.ACK mod = (ca.uhn.hl7v2.model.v251.message.ACK) ack; mod.getMSH().getSendingApplication().getNamespaceID().setValue( APPNAME ); mod.getMSH().getSendingFacility().getNamespaceID().setValue( APPNAME ); ackMessage = mod.encode(); } else if ( ack instanceof ca.uhn.hl7v2.model.v26.message.ACK ) { ca.uhn.hl7v2.model.v26.message.ACK mod = (ca.uhn.hl7v2.model.v26.message.ACK) ack;
/** * <p> * Returns * PV2 (Patient Visit - Additional Information) - creates it if necessary * </p> * * */ public PV2 getPV2() { return getTyped("PV2", PV2.class); }
/** * <p> * Returns * PID (Patient Identification) - creates it if necessary * </p> * * */ public PID getPID() { return getTyped("PID", PID.class); }
/** * <p> * Returns * DRG (Diagnosis Related Group) - creates it if necessary * </p> * * */ public DRG getDRG() { return getTyped("DRG", DRG.class); }
/** * <p> * Returns the number of existing repetitions of GT1 * </p> * */ public int getGT1Reps() { return getReps("GT1"); }
/** * <p> * Returns * QRD (Original-Style Query Definition) - creates it if necessary * </p> * * */ public QRD getQRD() { return getTyped("QRD", QRD.class); }
/** * <p> * Returns * the first repetition of * ROL2 (Role) - creates it if necessary * </p> * * */ public ROL getROL2() { return getTyped("ROL2", ROL.class); }
/** * <p> * Returns * the first repetition of * ROL (Role) - creates it if necessary * </p> * * */ public ROL getROL() { return getTyped("ROL", ROL.class); }
/** * <p> * Returns * the first repetition of * OBX (Observation/Result) - creates it if necessary * </p> * * */ public OBX getOBX() { return getTyped("OBX", OBX.class); }
/** * <p> * Returns * the first repetition of * INSURANCE (a Group object) - creates it if necessary * </p> * * */ public ADT_A01_INSURANCE getINSURANCE() { return getTyped("INSURANCE", ADT_A01_INSURANCE.class); }
/** * <p> * Returns * PV1 (Patient Visit) - creates it if necessary * </p> * * */ public PV1 getPV1() { return getTyped("PV1", PV1.class); }
/** * <p> * Returns * ACC (Accident) - creates it if necessary * </p> * * */ public ACC getACC() { return getTyped("ACC", ACC.class); }
/** * <p> * Returns * PDA (Patient Death and Autopsy) - creates it if necessary * </p> * * */ public PDA getPDA() { return getTyped("PDA", PDA.class); }
/** * <p> * Returns * PDA (Patient Death and Autopsy) - creates it if necessary * </p> * * */ public PDA getPDA() { return getTyped("PDA", PDA.class); }