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

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