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

            try {
                ret = (OPL_O37_OBSERVATION_REQUEST)this.GetStructure("OBSERVATION_REQUEST");
            } 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);
        }
Example #2
0
 ///<summary>
 ///Removes the given OPL_O37_OBSERVATION_REQUEST
 ///</summary>
 public void RemoveOBSERVATION_REQUEST(OPL_O37_OBSERVATION_REQUEST toRemove)
 {
     this.RemoveStructure("OBSERVATION_REQUEST", toRemove);
 }