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

            try {
                ret = (CCM_I21_MEDICATION_ADMINISTRATION_DETAIL)this.GetStructure("MEDICATION_ADMINISTRATION_DETAIL");
            } 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 CCM_I21_MEDICATION_ADMINISTRATION_DETAIL
 ///</summary>
 public void RemoveMEDICATION_ADMINISTRATION_DETAIL(CCM_I21_MEDICATION_ADMINISTRATION_DETAIL toRemove)
 {
     this.RemoveStructure("MEDICATION_ADMINISTRATION_DETAIL", toRemove);
 }