
			with myvars as (
				select dbo.tzgetdate() as curtime
			)
			select
				error_code as "Error_Code",
				error_message as "Error_Msg",
				EvnPL_id as "EvnPL_id"
			from dbo.p_EvnPL_ins(
				EvnPL_id := NULL,
				pmUser_id := '379744051099',
				evnpl_setdt := NULL,
				evnpl_disdt := NULL,
				evnpl_diddt := NULL,
				evnpl_issigned := NULL,
				evnpl_signdt := NULL,
				pmuser_signid := NULL,
				lpu_id := '54',
				personevn_id := '450101001176410',
				server_id := 0,
				morbus_id := NULL,
				evnstatus_id := NULL,
				evnpl_statusdate := NULL,
				evnpl_isfinish := 1,
				evnpl_issurveyrefuse := NULL,
				prehospdirect_id := NULL,
				prehosptrauma_id := NULL,
				evnpl_isunlaw := NULL,
				evnpl_isunport := '1',
				evnpl_isfirsttime := NULL,
				evnpl_ukl := NULL,
				evnpl_isfirstdisable := NULL,
				privilegetype_id := NULL,
				evndirection_id := NULL,
				evndirection_setdt := NULL,
				evndirection_num := NULL,
				lpusection_did := NULL,
				medstafffact_did := NULL,
				org_did := NULL,
				lpu_did := NULL,
				diag_did := NULL,
				diag_preid := NULL,
				diag_fid := NULL,
				evnpl_numcard := '70333',
				evnpl_iscons := 1,
				medicalcarebudgtype_id := NULL,
				resultclass_id := NULL,
				interruptleavetype_id := NULL,
				diag_concid := NULL,
				diag_lid := NULL,
				directtype_id := NULL,
				directclass_id := NULL,
				lpu_oid := NULL,
				lpusection_oid := NULL,
				resultdeseasetype_id := NULL,
				evnpl_complexity := NULL,
				medicalcarekind_id := NULL,
				cmpcallcard_id := NULL,
				leavetype_fedid := NULL,
				resultdeseasetype_fedid := NULL,
				evnpl_indexrep := NULL,
				evnpl_indexrepinreg := NULL,
				evnpl_medpersonalcode := NULL
			)
		
