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