예제 #1
0
        ///<summary>
        /// Returns  first repetition of OML_O39_SHIPMENT_OBSERVATION (a Group object) - creates it if necessary
        ///</summary>
        public OML_O39_SHIPMENT_OBSERVATION GetSHIPMENT_OBSERVATION()
        {
            OML_O39_SHIPMENT_OBSERVATION ret = null;

            try {
                ret = (OML_O39_SHIPMENT_OBSERVATION)this.GetStructure("SHIPMENT_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);
        }
예제 #2
0
 ///<summary>
 ///Removes the given OML_O39_SHIPMENT_OBSERVATION
 ///</summary>
 public void RemoveSHIPMENT_OBSERVATION(OML_O39_SHIPMENT_OBSERVATION toRemove)
 {
     this.RemoveStructure("SHIPMENT_OBSERVATION", toRemove);
 }