///<summary> /// Returns first repetition of PSL (Product/Service Line Item) - creates it if necessary ///</summary> public PSL GetPSL() { PSL ret = null; try { ret = (PSL)this.GetStructure("PSL"); } 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> ///Removes the given PSL ///</summary> public void RemovePSL(PSL toRemove) { this.RemoveStructure("PSL", toRemove); }