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