Ejemplo n.º 1
0
        ///<summary>
        /// Returns  first repetition of CCU_I20_MEDICATION_ADMINISTRATION_DETAIL (a Group object) - creates it if necessary
        ///</summary>
        public CCU_I20_MEDICATION_ADMINISTRATION_DETAIL GetMEDICATION_ADMINISTRATION_DETAIL()
        {
            CCU_I20_MEDICATION_ADMINISTRATION_DETAIL ret = null;

            try {
                ret = (CCU_I20_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);
        }
Ejemplo n.º 2
0
 ///<summary>
 ///Removes the given CCU_I20_MEDICATION_ADMINISTRATION_DETAIL
 ///</summary>
 public void RemoveMEDICATION_ADMINISTRATION_DETAIL(CCU_I20_MEDICATION_ADMINISTRATION_DETAIL toRemove)
 {
     this.RemoveStructure("MEDICATION_ADMINISTRATION_DETAIL", toRemove);
 }