Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Gather (cost=1000.87..6418.26 rows=4 width=39) (actual time=1.465..85.471 rows=26214 loops=1)
- SELECT "mv_stat_lvl_1_declarations".* FROM "mv_stat_lvl_1_declarations" JOIN mv_stat_lvl_1_patients ON mv_stat_lvl_1_patients.legal_entity_id = mv_stat_lvl_1_declarations.legal_entity_id AND mv_stat_lvl_1_patients.id = mv_stat_lvl_1_declarations.patient_id WHERE "mv_stat_lvl_1_declarations"."legal_entity_id" = 2528 AND (DATE_PART('YEAR', AGE('2024-03-09 23:59:59.999999', mv_stat_lvl_1_patients.birth_date)) BETWEEN 40 AND 64) AND "mv_stat_lvl_1_patients"."legal_entity_id" = 2528;
- Gather (cost=1000.87..6418.26 rows=4 width=39) (actual time=0.960..218.431 rows=53275 loops=1)
- SELECT "mv_stat_lvl_1_declarations".* FROM "mv_stat_lvl_1_declarations" JOIN mv_stat_lvl_1_patients ON mv_stat_lvl_1_patients.legal_entity_id = mv_stat_lvl_1_declarations.legal_entity_id AND mv_stat_lvl_1_patients.id = mv_stat_lvl_1_declarations.patient_id WHERE "mv_stat_lvl_1_declarations"."legal_entity_id" = 2528 AND (DATE_PART('YEAR', AGE('2024-03-09 23:59:59.999999', mv_stat_lvl_1_patients.birth_date)) BETWEEN 14 AND 999);
- Gather (cost=1000.87..5682.91 rows=1 width=39) (actual time=4.957..68.131 rows=9428 loops=1)
- SELECT "mv_stat_lvl_1_declarations".* FROM "mv_stat_lvl_1_declarations" JOIN mv_stat_lvl_1_patients ON mv_stat_lvl_1_patients.legal_entity_id = mv_stat_lvl_1_declarations.legal_entity_id AND mv_stat_lvl_1_patients.id = mv_stat_lvl_1_declarations.patient_id WHERE "mv_stat_lvl_1_declarations"."legal_entity_id" = 2528 AND "mv_stat_lvl_1_patients"."gender" = 0 AND (DATE_PART('YEAR', AGE('2024-03-09 23:59:59.999999', mv_stat_lvl_1_patients.birth_date)) BETWEEN 50 AND 75);
- SELECT "mv_stat_lvl_1_declarations".* FROM "mv_stat_lvl_1_declarations" JOIN mv_stat_lvl_1_patients ON mv_stat_lvl_1_patients.legal_entity_id = mv_stat_lvl_1_declarations.legal_entity_id AND mv_stat_lvl_1_patients.id = mv_stat_lvl_1_declarations.patient_id WHERE "mv_stat_lvl_1_declarations"."legal_entity_id" = 2528 AND "mv_stat_lvl_1_patients"."gender" = 1 AND (DATE_PART('YEAR', AGE('2024-03-09 23:59:59.999999', mv_stat_lvl_1_patients.birth_date)) BETWEEN 50 AND 69)
- Nested Loop (cost=17.85..34.50 rows=1 width=39) (actual time=0.119..0.123 rows=0 loops=1)
- WITH "items" AS (SELECT "mv_stat_lvl_0_ehr_service_requests".*
- FROM ((SELECT mv_stat_lvl_0_ehr_service_requests.id,
- mv_stat_lvl_0_ehr_service_requests.asserted_date,
- mv_stat_lvl_0_ehr_service_requests.code,
- mv_stat_lvl_0_ehr_service_requests.item_type,
- mv_stat_lvl_0_ehr_service_requests.status::varchar,
- mv_stat_lvl_0_ehr_service_requests.title,
- mv_stat_lvl_0_ehr_service_requests.employee_id,
- mv_stat_lvl_0_ehr_service_requests.legal_entity_id,
- mv_stat_lvl_0_ehr_service_requests.patient_id
- FROM "mv_stat_lvl_0_ehr_service_requests"
- WHERE "mv_stat_lvl_0_ehr_service_requests"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'
- AND "mv_stat_lvl_0_ehr_service_requests"."legal_entity_id" = 2528)
- UNION
- (SELECT mv_stat_lvl_0_ehr_service_requests.id,
- mv_stat_lvl_0_ehr_service_requests.asserted_date,
- mv_stat_lvl_0_ehr_service_requests.code,
- mv_stat_lvl_0_ehr_service_requests.item_type,
- mv_stat_lvl_0_ehr_service_requests.status::varchar,
- mv_stat_lvl_0_ehr_service_requests.title,
- mv_stat_lvl_0_ehr_service_requests.employee_id,
- mv_stat_lvl_0_ehr_service_requests.legal_entity_id,
- mv_stat_lvl_0_ehr_service_requests.patient_id
- FROM "mv_stat_lvl_0_ehr_service_requests"
- WHERE "mv_stat_lvl_0_ehr_service_requests"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'
- AND "mv_stat_lvl_0_ehr_service_requests"."legal_entity_id" = 2528)) "mv_stat_lvl_0_ehr_service_requests")
- SELECT "mv_stat_lvl_1_declarations".*
- FROM "mv_stat_lvl_1_declarations"
- JOIN mv_stat_lvl_1_patients
- ON mv_stat_lvl_1_patients.legal_entity_id = mv_stat_lvl_1_declarations.legal_entity_id AND
- mv_stat_lvl_1_patients.id = mv_stat_lvl_1_declarations.patient_id
- JOIN items ON items.legal_entity_id = mv_stat_lvl_1_declarations.legal_entity_id AND
- items.patient_id = mv_stat_lvl_1_declarations.patient_id
- WHERE "mv_stat_lvl_1_declarations"."legal_entity_id" = 2528
- AND "items"."code" IN ('D36003', 'D67006', '32084-00', '32090-00', '32084-02', '32090-02')
- AND "mv_stat_lvl_1_patients"."gender" = 0
- AND (DATE_PART('YEAR', AGE('2024-03-09 23:59:59.999999', mv_stat_lvl_1_patients.birth_date)) BETWEEN 50 AND 75)
- AND "items"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.99999
- Nested Loop (cost=26.47..47.52 rows=1 width=39) (actual time=0.075..0.079 rows=0 loops=1)
- WITH "items" AS (SELECT "mv_stat_lvl_0_ehr_service_requests".*
- FROM ((SELECT "mv_stat_lvl_0_ehr_service_requests".*
- FROM ((SELECT mv_stat_lvl_0_ehr_service_requests.id,
- mv_stat_lvl_0_ehr_service_requests.asserted_date,
- mv_stat_lvl_0_ehr_service_requests.code,
- mv_stat_lvl_0_ehr_service_requests.item_type,
- mv_stat_lvl_0_ehr_service_requests.status::varchar,
- mv_stat_lvl_0_ehr_service_requests.title,
- mv_stat_lvl_0_ehr_service_requests.employee_id,
- mv_stat_lvl_0_ehr_service_requests.legal_entity_id,
- mv_stat_lvl_0_ehr_service_requests.patient_id
- FROM "mv_stat_lvl_0_ehr_service_requests"
- WHERE "mv_stat_lvl_0_ehr_service_requests"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'
- AND "mv_stat_lvl_0_ehr_service_requests"."legal_entity_id" = 2528)
- UNION
- (SELECT mv_stat_lvl_0_ehr_service_requests.id,
- mv_stat_lvl_0_ehr_service_requests.asserted_date,
- mv_stat_lvl_0_ehr_service_requests.code,
- mv_stat_lvl_0_ehr_service_requests.item_type,
- mv_stat_lvl_0_ehr_service_requests.status::varchar,
- mv_stat_lvl_0_ehr_service_requests.title,
- mv_stat_lvl_0_ehr_service_requests.employee_id,
- mv_stat_lvl_0_ehr_service_requests.legal_entity_id,
- mv_stat_lvl_0_ehr_service_requests.patient_id
- FROM "mv_stat_lvl_0_ehr_service_requests"
- WHERE "mv_stat_lvl_0_ehr_service_requests"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'
- AND "mv_stat_lvl_0_ehr_service_requests"."legal_entity_id" = 2528)) "mv_stat_lvl_0_ehr_service_requests")
- UNION
- (SELECT mv_stat_lvl_0_ehr_diagnostic_reports.id,
- mv_stat_lvl_0_ehr_diagnostic_reports.asserted_date,
- mv_stat_lvl_0_ehr_diagnostic_reports.code,
- mv_stat_lvl_0_ehr_diagnostic_reports.item_type,
- mv_stat_lvl_0_ehr_diagnostic_reports.status::varchar,
- mv_stat_lvl_0_ehr_diagnostic_reports.title,
- mv_stat_lvl_0_ehr_diagnostic_reports.employee_id,
- mv_stat_lvl_0_ehr_diagnostic_reports.legal_entity_id,
- mv_stat_lvl_0_ehr_diagnostic_reports.patient_id
- FROM "mv_stat_lvl_0_ehr_diagnostic_reports"
- WHERE "mv_stat_lvl_0_ehr_diagnostic_reports"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'
- AND "mv_stat_lvl_0_ehr_diagnostic_reports"."legal_entity_id" = 2528)) "mv_stat_lvl_0_ehr_service_requests")
- SELECT "mv_stat_lvl_1_declarations".*
- FROM "mv_stat_lvl_1_declarations"
- JOIN mv_stat_lvl_1_patients
- ON mv_stat_lvl_1_patients.legal_entity_id = mv_stat_lvl_1_declarations.legal_entity_id AND
- mv_stat_lvl_1_patients.id = mv_stat_lvl_1_declarations.patient_id
- JOIN items ON items.legal_entity_id = mv_stat_lvl_1_declarations.legal_entity_id AND
- items.patient_id = mv_stat_lvl_1_declarations.patient_id
- WHERE "mv_stat_lvl_1_declarations"."legal_entity_id" = 2528
- AND "items"."code" IN ('B33006', 'B33012')
- AND (DATE_PART('YEAR', AGE('2024-03-09 23:59:59.999999', mv_stat_lvl_1_patients.birth_date)) BETWEEN 14 AND 999)
- AND "items"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999';
- Nested Loop (cost=18.67..45.73 rows=1 width=39) (actual time=0.077..0.082 rows=0 loops=1)
- WITH "selected_patients" AS (SELECT "mv_stat_lvl_1_patients".*
- FROM "mv_stat_lvl_1_patients"
- WHERE (DATE_PART('YEAR',
- AGE('2024-03-09 23:59:59.999999', mv_stat_lvl_1_patients.birth_date)) BETWEEN 40 AND 64)
- AND "mv_stat_lvl_1_patients"."legal_entity_id" = 2528),
- "diagnoses" AS (SELECT "mv_stat_lvl_1_reception_conditions".*
- FROM "mv_stat_lvl_1_reception_conditions"
- WHERE "mv_stat_lvl_1_reception_conditions"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'
- AND "mv_stat_lvl_1_reception_conditions"."legal_entity_id" = 2528),
- "reasons" AS (SELECT "mv_stat_lvl_1_ehr_reasons".*
- FROM "mv_stat_lvl_1_ehr_reasons"
- WHERE "mv_stat_lvl_1_ehr_reasons"."code" = 'A98'
- AND "mv_stat_lvl_1_ehr_reasons"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'
- AND "mv_stat_lvl_1_ehr_reasons"."legal_entity_id" = 2528),
- "diagnoses_c1_counter" AS (SELECT diagnoses.patient_id, COUNT(DISTINCT diagnoses.code) AS counter
- FROM diagnoses
- GROUP BY "diagnoses"."patient_id"
- HAVING (COUNT(DISTINCT diagnoses.code) > 0)),
- "observations" AS (SELECT "mv_stat_lvl_1_ehr_observations".*
- FROM "mv_stat_lvl_1_ehr_observations"
- WHERE "mv_stat_lvl_1_ehr_observations"."legal_entity_id" = 2528
- AND "mv_stat_lvl_1_ehr_observations"."code" IN
- ('39156-5', '14743-9', '8462-4', '8480-6', '56086-2', '4548-4')
- AND "mv_stat_lvl_1_ehr_observations"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'),
- "reports" AS (SELECT mv_stat_lvl_0_ehr_diagnostic_reports.id,
- mv_stat_lvl_0_ehr_diagnostic_reports.asserted_date,
- mv_stat_lvl_0_ehr_diagnostic_reports.code,
- mv_stat_lvl_0_ehr_diagnostic_reports.item_type,
- mv_stat_lvl_0_ehr_diagnostic_reports.status::varchar,
- mv_stat_lvl_0_ehr_diagnostic_reports.title,
- mv_stat_lvl_0_ehr_diagnostic_reports.employee_id,
- mv_stat_lvl_0_ehr_diagnostic_reports.legal_entity_id,
- mv_stat_lvl_0_ehr_diagnostic_reports.patient_id
- FROM "mv_stat_lvl_0_ehr_diagnostic_reports"
- WHERE "mv_stat_lvl_0_ehr_diagnostic_reports"."code" IN
- ('T34001', 'T34006', 'T34024', 'T34011', 'T34013')
- AND "mv_stat_lvl_0_ehr_diagnostic_reports"."legal_entity_id" = 2528
- AND "mv_stat_lvl_0_ehr_diagnostic_reports"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'),
- "observations_c1_counter" AS (SELECT observations.patient_id, COUNT(DISTINCT observations.code) AS counter
- FROM observations
- WHERE "observations"."code" IN ('39156-5', '14743-9', '8462-4', '8480-6', '56086-2')
- GROUP BY "observations"."patient_id"
- HAVING (COUNT(DISTINCT observations.code) >= 4))
- SELECT "mv_stat_lvl_1_declarations".*
- FROM "mv_stat_lvl_1_declarations"
- JOIN selected_patients ON selected_patients.legal_entity_id = mv_stat_lvl_1_declarations.legal_entity_id AND
- mv_stat_lvl_1_declarations.patient_id = selected_patients.id
- LEFT JOIN diagnoses ON mv_stat_lvl_1_declarations.patient_id = diagnoses.patient_id AND diagnoses.code = 'A98'
- JOIN diagnoses_c1_counter ON mv_stat_lvl_1_declarations.patient_id = diagnoses_c1_counter.patient_id AND
- diagnoses_c1_counter.counter > 0
- LEFT JOIN reasons ON reasons.patient_id = mv_stat_lvl_1_declarations.patient_id
- JOIN reports ON reports.patient_id = mv_stat_lvl_1_declarations.patient_id
- LEFT JOIN observations_c1_counter ON observations_c1_counter.patient_id = mv_stat_lvl_1_declarations.patient_id
- WHERE "mv_stat_lvl_1_declarations"."legal_entity_id" = 2528
- AND ((diagnoses.code = 'A98' OR reasons.code = 'A98') AND
- (diagnoses_c1_counter.counter > 0 AND observations_c1_counter.counter > 0));
- Nested Loop (cost=1.29..16.17 rows=1 width=39) (actual time=0.037..0.039 rows=0 loops=1)
- WITH "diagnoses" AS (SELECT "mv_stat_lvl_1_reception_conditions".* FROM "mv_stat_lvl_1_reception_conditions" WHERE "mv_stat_lvl_1_reception_conditions"."code" IN ('K86', 'K87', 'K76', 'K74', 'T89', 'T90') AND "mv_stat_lvl_1_reception_conditions"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999' AND "mv_stat_lvl_1_reception_conditions"."legal_entity_id" = 2528) SELECT "mv_stat_lvl_1_declarations".* FROM "mv_stat_lvl_1_declarations" JOIN mv_stat_lvl_1_patients ON mv_stat_lvl_1_patients.legal_entity_id = mv_stat_lvl_1_declarations.legal_entity_id AND mv_stat_lvl_1_patients.id = mv_stat_lvl_1_declarations.patient_id JOIN diagnoses ON mv_stat_lvl_1_declarations.patient_id = diagnoses.patient_id WHERE "mv_stat_lvl_1_declarations"."legal_entity_id" = 2528 AND (DATE_PART('YEAR', AGE('2024-03-09 23:59:59.999999', mv_stat_lvl_1_patients.birth_date)) BETWEEN 65 AND 999);
- Nested Loop Left Join (cost=19.23..54.46 rows=1 width=39) (actual time=0.034..0.040 rows=0 loops=1)
- WITH "selected_patients" AS (SELECT "mv_stat_lvl_1_patients".*
- FROM "mv_stat_lvl_1_patients"
- WHERE (DATE_PART('YEAR',
- AGE('2024-03-09 23:59:59.999999', mv_stat_lvl_1_patients.birth_date)) BETWEEN 65 AND 999)
- AND "mv_stat_lvl_1_patients"."legal_entity_id" = 2528),
- "diagnoses" AS (SELECT "mv_stat_lvl_1_reception_conditions".*
- FROM "mv_stat_lvl_1_reception_conditions"
- WHERE "mv_stat_lvl_1_reception_conditions"."code" IN
- ('K86', 'K87', 'K76', 'K74', 'T89', 'T90', 'A98')
- AND "mv_stat_lvl_1_reception_conditions"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'
- AND "mv_stat_lvl_1_reception_conditions"."legal_entity_id" = 2528),
- "reasons" AS (SELECT "mv_stat_lvl_1_ehr_reasons".*
- FROM "mv_stat_lvl_1_ehr_reasons"
- WHERE "mv_stat_lvl_1_ehr_reasons"."code" = 'A98'
- AND "mv_stat_lvl_1_ehr_reasons"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'
- AND "mv_stat_lvl_1_ehr_reasons"."legal_entity_id" = 2528),
- "observations" AS (SELECT "mv_stat_lvl_1_ehr_observations".*
- FROM "mv_stat_lvl_1_ehr_observations"
- WHERE "mv_stat_lvl_1_ehr_observations"."legal_entity_id" = 2528
- AND "mv_stat_lvl_1_ehr_observations"."code" IN
- ('39156-5', '14743-9', '8462-4', '8480-6', '56086-2', '4548-4')
- AND "mv_stat_lvl_1_ehr_observations"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'),
- "actions" AS (SELECT "mv_stat_lvl_1_ehr_actions".*
- FROM "mv_stat_lvl_1_ehr_actions"
- WHERE "mv_stat_lvl_1_ehr_actions"."code" IN ('K45', 'D45', 'T45')
- AND "mv_stat_lvl_1_ehr_actions"."legal_entity_id" = 2528
- AND "mv_stat_lvl_1_ehr_actions"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'),
- "reports" AS (SELECT mv_stat_lvl_0_ehr_diagnostic_reports.id,
- mv_stat_lvl_0_ehr_diagnostic_reports.asserted_date,
- mv_stat_lvl_0_ehr_diagnostic_reports.code,
- mv_stat_lvl_0_ehr_diagnostic_reports.item_type,
- mv_stat_lvl_0_ehr_diagnostic_reports.status::varchar,
- mv_stat_lvl_0_ehr_diagnostic_reports.title,
- mv_stat_lvl_0_ehr_diagnostic_reports.employee_id,
- mv_stat_lvl_0_ehr_diagnostic_reports.legal_entity_id,
- mv_stat_lvl_0_ehr_diagnostic_reports.patient_id
- FROM "mv_stat_lvl_0_ehr_diagnostic_reports"
- WHERE "mv_stat_lvl_0_ehr_diagnostic_reports"."code" IN
- ('T34001', 'T34006', 'T34024', 'T34011', 'T34013')
- AND "mv_stat_lvl_0_ehr_diagnostic_reports"."legal_entity_id" = 2528
- AND "mv_stat_lvl_0_ehr_diagnostic_reports"."asserted_date" BETWEEN '2024-01-01 00:00:00' AND '2024-03-09 23:59:59.999999'),
- "diagnoses_c1_counter" AS (SELECT diagnoses.patient_id, COUNT(DISTINCT diagnoses.code) AS counter
- FROM diagnoses
- WHERE "diagnoses"."code" IN ('K86', 'K87')
- GROUP BY "diagnoses"."patient_id"
- HAVING (COUNT(DISTINCT diagnoses.code) > 0)),
- "diagnoses_c2_counter" AS (SELECT diagnoses.patient_id, COUNT(DISTINCT diagnoses.code) AS counter
- FROM diagnoses
- WHERE "diagnoses"."code" IN ('K76', 'K74')
- GROUP BY "diagnoses"."patient_id"
- HAVING (COUNT(DISTINCT diagnoses.code) > 0)),
- "diagnoses_c3_counter" AS (SELECT diagnoses.patient_id, COUNT(DISTINCT diagnoses.code) AS counter
- FROM diagnoses
- WHERE "diagnoses"."code" IN ('T89', 'T90')
- GROUP BY "diagnoses"."patient_id"
- HAVING (COUNT(DISTINCT diagnoses.code) > 0)),
- "observations_c1_counter" AS (SELECT observations.patient_id, COUNT(DISTINCT observations.code) AS counter
- FROM observations
- WHERE "observations"."code" IN ('39156-5', '14743-9', '8462-4', '8480-6')
- GROUP BY "observations"."patient_id"
- HAVING (COUNT(DISTINCT observations.code) >= 4)),
- "observations_c2_counter" AS (SELECT observations.patient_id, COUNT(DISTINCT observations.code) AS counter
- FROM observations
- WHERE "observations"."code" IN ('39156-5', '14743-9', '8462-4', '8480-6', '56086-2')
- GROUP BY "observations"."patient_id"
- HAVING (COUNT(DISTINCT observations.code) >= 5))
- SELECT "mv_stat_lvl_1_declarations".*
- FROM "mv_stat_lvl_1_declarations"
- JOIN selected_patients ON selected_patients.legal_entity_id = mv_stat_lvl_1_declarations.legal_entity_id AND
- mv_stat_lvl_1_declarations.patient_id = selected_patients.id
- INNER JOIN diagnoses ON mv_stat_lvl_1_declarations.patient_id = diagnoses.patient_id
- LEFT JOIN diagnoses_c1_counter ON mv_stat_lvl_1_declarations.patient_id = diagnoses_c1_counter.patient_id
- LEFT JOIN diagnoses_c2_counter ON mv_stat_lvl_1_declarations.patient_id = diagnoses_c2_counter.patient_id
- LEFT JOIN diagnoses_c3_counter ON mv_stat_lvl_1_declarations.patient_id = diagnoses_c3_counter.patient_id
- LEFT JOIN reasons ON reasons.patient_id = mv_stat_lvl_1_declarations.patient_id
- JOIN actions ON actions.patient_id = mv_stat_lvl_1_declarations.patient_id
- JOIN reports ON reports.patient_id = mv_stat_lvl_1_declarations.patient_id
- LEFT JOIN observations_c1_counter ON observations_c1_counter.patient_id = mv_stat_lvl_1_declarations.patient_id
- LEFT JOIN observations_c2_counter ON observations_c2_counter.patient_id = mv_stat_lvl_1_declarations.patient_id
- WHERE "mv_stat_lvl_1_declarations"."legal_entity_id" = 2528
- AND ((diagnoses.code = 'A98' OR reasons.code = 'A98') AND
- (((diagnoses_c1_counter.counter > 0 OR diagnoses_c2_counter.counter > 0) AND
- observations_c1_counter.counter > 0) OR
- (diagnoses_c3_counter.counter > 0 AND observations_c2_counter.counter > 0)))
- ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement