medical_authorities
Y
Normal
N
1000
100
-
2024/08/15 14:02:51.713
-
2024/08/15 14:02:51.713
Table input hiv
Table output
N
Table input 2
Table output 2
N
Table input hiv
Insert / update
Y
Table input 2
Insert / update 2
Y
Insert / update
InsertUpdate
Y
1
none
100
ervu-dashboard
=
recruit_id
recruit_id
=
start_date
start_date
ervu_dashboard
recruit_id
recruit_id
N
close_date
close_date
Y
hiv
hiv
Y
start_date
start_date
Y
N
448
208
Insert / update 2
InsertUpdate
Y
1
none
100
ervu-dashboard
=
recruit_id
recruit_id
=
start_date
start_date
ervu_dashboard
recruit_id
recruit_id
N
change_date
change_date
Y
close_date
close_date
Y
start_date
start_date
Y
N
448
352
Table input 2
TableInput
Y
1
none
ervu_person_registry
N
0
with uchet as
(select jsonb_array_elements(ri.info->'svedFL'->'svedPND'->'svedUchetDisp'->'svedUchet') u,
ri.recruit_id
from public.recruits_info ri
join public.recruits r ON r.id = ri.recruit_id AND r.system_update_date >= '${UP_D}'
where jsonb_typeof(ri.info->'svedFL'->'svedPND'->'svedUchetDisp'->'svedUchet') = 'array')
select
r.id recruit_id,
u->>'dataPostUchet' start_date,
u->>'dataSnyatUchet' close_date,
u->>'dataPlan' change_date
from public.recruits r
join uchet on r.id = uchet.recruit_id
Y
208
352
Table input hiv
TableInput
Y
1
none
ervu_person_registry
N
0
with uchet as
(select jsonb_array_elements(ri.info->'svedFL'->'svedUchetVICH'->'uchetVICH') u,
ri.recruit_id
from public.recruits_info ri
join public.recruits r ON r.id = ri.recruit_id AND r.system_update_date >= '${UP_D}'
where jsonb_typeof(ri.info->'svedFL'->'svedUchetVICH'->'uchetVICH') = 'array')
select
r.id recruit_id,
to_date(u->>'dataPostUchet', 'YYYY-MM-DD') start_date,
to_date(u->>'dataSnyat', 'YYYY-MM-DD') close_date,
true HIV
from public.recruits r
join uchet on r.id = uchet.recruit_id
Y
208
208
Table output
TableOutput
Y
1
none
1000
ervu-dashboard
N
N
N
N
Y
N
ervu_dashboard
N
N
Y
N
Y
416
80
Table output 2
TableOutput
Y
1
none
1000
ervu-dashboard
N
N
N
N
Y
N
ervu_dashboard
N
N
Y
N
Y
432
480