text: -- 1601	Number of procedure cost records with invalid payer plan period id
  
  {cdmVersion == '5'}?{
  
  	select 1601 as analysis_id,  
  	  cast(null as varchar(255)) as stratum_1, cast(null as varchar(255)) as stratum_2, cast(null as varchar(255)) as stratum_3, cast(null as varchar(255)) as stratum_4, cast(null as varchar(255)) as stratum_5,
  		COUNT_BIG(pc1.procedure_cost_ID) as count_value
  	into @scratchDatabaseSchema@schemaDelim@tempAchillesPrefix_1601
  	from
  		@cdmDatabaseSchema.procedure_cost pc1
  			left join @cdmDatabaseSchema.payer_plan_period ppp1
  			on pc1.payer_plan_period_id = ppp1.payer_plan_period_id
  	where pc1.payer_plan_period_id is not null
  		and ppp1.payer_plan_period_id is null
  	;
  }:{
  
  	select 1601 as analysis_id,  
  	  cast(null as varchar(255)) as stratum_1, cast(null as varchar(255)) as stratum_2, cast(null as varchar(255)) as stratum_3, cast(null as varchar(255)) as stratum_4, cast(null as varchar(255)) as stratum_5,
  		COUNT_BIG(pc1.cost_id) as count_value
  	into @scratchDatabaseSchema@schemaDelim@tempAchillesPrefix_1601
  	from
  		@cdmDatabaseSchema.cost pc1
  			left join @cdmDatabaseSchema.payer_plan_period ppp1
  			on pc1.payer_plan_period_id = ppp1.payer_plan_period_id
  	where pc1.payer_plan_period_id is not null
  		and ppp1.payer_plan_period_id is null
  		and pc1.cost_domain_id = 'Procedure'
  	;
  }
  