Exemplo n.º 1
0
        /// <summary>
        /// Returns  first repetition of PTR_PCF_GOAL_OBSERVATION (a Group object) - creates it if
        /// necessary.
        /// </summary>
        ///
        /// <exception cref="Exception">    Thrown when an exception error condition occurs. </exception>
        ///
        /// <returns>   The goal observation. </returns>

        public PTR_PCF_GOAL_OBSERVATION GetGOAL_OBSERVATION()
        {
            PTR_PCF_GOAL_OBSERVATION ret = null;

            try {
                ret = (PTR_PCF_GOAL_OBSERVATION)this.GetStructure("GOAL_OBSERVATION");
            } 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);
        }
Exemplo n.º 2
0
 ///<summary>
 ///Removes the given PTR_PCF_GOAL_OBSERVATION
 ///</summary>
 public void RemoveGOAL_OBSERVATION(PTR_PCF_GOAL_OBSERVATION toRemove)
 {
     this.RemoveStructure("GOAL_OBSERVATION", toRemove);
 }