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

            try {
                ret = (EHC_E02_PSG)this.GetStructure("PSG");
            } 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>
 ///Removes the given EHC_E02_PSG
 ///</summary>
 public void RemovePSG(EHC_E02_PSG toRemove)
 {
     this.RemoveStructure("PSG", toRemove);
 }