///<summary> /// Returns first repetition of CRM_C01_PATIENT (a Group object) - creates it if necessary ///</summary> public CRM_C01_PATIENT GetPATIENT() { CRM_C01_PATIENT ret = null; try { ret = (CRM_C01_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; }
/// <summary> Returns first repetition of CRM_C01_PATIENT (a Group object) - creates it if necessary</summary> public virtual CRM_C01_PATIENT getPATIENT() { CRM_C01_PATIENT ret = null; try { ret = (CRM_C01_PATIENT)this.get_Renamed("PATIENT"); } catch (NuGenHL7Exception) { throw new Exception(); } return(ret); }
///<summary> ///Removes the given CRM_C01_PATIENT ///</summary> public void RemovePATIENT(CRM_C01_PATIENT toRemove) { this.RemoveStructure("PATIENT", toRemove); }