 	'ICDO3',
 	'SNOMED',
 	'Maps to',
-	TO_DATE ('01.01.1970', 'dd.mm.yyyy'),
-	TO_DATE ('31.12.2099', 'dd.mm.yyyy')
+	TO_DATE ('19700101', 'yyyymmddd'),
+	TO_DATE ('20991231', 'yyyymmddd')
 from match_blob m
 join monorelation o using (i_code)
 where

	'ICDO3',
	'SNOMED',
	'Is a',
	TO_DATE ('01.01.1970', 'dd.mm.yyyy'),
	TO_DATE ('31.12.2099', 'dd.mm.yyyy')
from match_blob m
left join concept_relationship_stage r on
	m.i_code = r.concept_code_1


--11.2. Same names; old code deprecated
insert into code_replace
select distinct
	d2.concept_code as old_code,
	d1.concept_code as code,
	'ICDO Histology' as concept_class_id
