Exemple #1
0
        ///<summary>
        /// Returns  first repetition of PRR_PC5_PATIENT (a Group object) - creates it if necessary
        ///</summary>
        public PRR_PC5_PATIENT GetPATIENT()
        {
            PRR_PC5_PATIENT ret = null;

            try {
                ret = (PRR_PC5_PATIENT)this.GetStructure("PATIENT");
            } catch (HL7Exception e) {
                HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error accessing data - this is probably a bug in the source code generator.", e);
                throw new System.Exception("An unexpected error ocurred", e);
            }
            return(ret);
        }
Exemple #2
0
        /// <summary> Returns  first repetition of PRR_PC5_PATIENT (a Group object) - creates it if necessary</summary>
        public virtual PRR_PC5_PATIENT getPATIENT()
        {
            PRR_PC5_PATIENT ret = null;

            try
            {
                ret = (PRR_PC5_PATIENT)this.get_Renamed("PATIENT");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
Exemple #3
0
 ///<summary>
 ///Removes the given PRR_PC5_PATIENT
 ///</summary>
 public void RemovePATIENT(PRR_PC5_PATIENT toRemove)
 {
     this.RemoveStructure("PATIENT", toRemove);
 }