text: -- 908   Number of drug eras with invalid person
  --insert into @results_schema.heracles_results (cohort_definition_id, analysis_id, count_value)
  select c1.cohort_definition_id,
    908 as analysis_id,
    cast( '' as varchar(1) ) as stratum_1, cast( '' as varchar(1) ) as stratum_2, cast( '' as varchar(1) ) as stratum_3, cast( '' as varchar(1) ) as stratum_4,
    COUNT_BIG(de1.drug_era_id) as count_value
  into #results_908
  from
  @CDM_schema.drug_era de1
  inner join #HERACLES_cohort_subject c1
  on de1.person_id = c1.subject_id
  left join @CDM_schema.person p1
  on p1.person_id = de1.person_id
  where p1.person_id is null
  group by c1.cohort_definition_id
  ;