コード例 #1
0
        protected virtual void CloneC_Object(C_OBJECT cloneObject, openehr.openehr.am.archetype.constraint_model.C_OBJECT o)
        {
            if (!o.node_id().to_cil().StartsWith("unknown"))  //hack for xml conversion 
                cloneObject.node_id = o.node_id().to_cil();
            else
                cloneObject.node_id = "";

            cloneObject.rm_type_name = o.rm_type_name().to_cil();
            cloneObject.occurrences = CloneIntervalOfInteger(o.occurrences());
        }