1
557.28 ms
SELECT d0_ . id AS id_0 , d0_ . drug_code AS drug_code_1 , d0_ . updated_date AS updated_date_2 , d0_ . content_update_date AS content_update_date_3 , d0_ . last_updated_operation AS last_updated_operation_4 , d0_ . last_updated_ip AS last_updated_ip_5 , d0_ . product_categorization AS product_categorization_6 , d0_ . din AS din_7 , d0_ . brand_name AS brand_name_8 , d0_ . brand_name_fr AS brand_name_fr_9 , d0_ . descriptor AS descriptor_10 , d0_ . pediatric_flag AS pediatric_flag_11 , d0_ . accession_number AS accession_number_12 , d0_ . number_of_ais AS number_of_ais_13 , d0_ . ai_group_no AS ai_group_no_14 , d0_ . en_proper_name AS en_proper_name_15 , d0_ . fr_proper_name AS fr_proper_name_16 , d0_ . en_common_name AS en_common_name_17 , d0_ . fr_common_name AS fr_common_name_18 , d0_ . parent_object_id AS parent_object_id_19 , d0_ . last_updated_user_id AS last_updated_user_id_20 , d0_ . company_id AS company_id_21 , d0_ . class_id AS class_id_22 FROM drugs d0_ INNER JOIN companies c1_ ON d0_ . company_id = c1_ . id WHERE d0_ . parent_object_id IS NULL GROUP BY d0_ . id ORDER BY d0_ . brand_name ASC LIMIT 20
SELECT d0_ . id AS id_0 , d0_ . drug_code AS drug_code_1 , d0_ . updated_date AS updated_date_2 , d0_ . content_update_date AS content_update_date_3 , d0_ . last_updated_operation AS last_updated_operation_4 , d0_ . last_updated_ip AS last_updated_ip_5 , d0_ . product_categorization AS product_categorization_6 , d0_ . din AS din_7 , d0_ . brand_name AS brand_name_8 , d0_ . brand_name_fr AS brand_name_fr_9 , d0_ . descriptor AS descriptor_10 , d0_ . pediatric_flag AS pediatric_flag_11 , d0_ . accession_number AS accession_number_12 , d0_ . number_of_ais AS number_of_ais_13 , d0_ . ai_group_no AS ai_group_no_14 , d0_ . en_proper_name AS en_proper_name_15 , d0_ . fr_proper_name AS fr_proper_name_16 , d0_ . en_common_name AS en_common_name_17 , d0_ . fr_common_name AS fr_common_name_18 , d0_ . parent_object_id AS parent_object_id_19 , d0_ . last_updated_user_id AS last_updated_user_id_20 , d0_ . company_id AS company_id_21 , d0_ . class_id AS class_id_22 FROM drugs d0_ INNER JOIN companies c1_ ON d0_ . company_id = c1_ . id WHERE d0_ . parent_object_id IS NULL GROUP BY d0_ . id ORDER BY d0_ . brand_name ASC LIMIT 20 ;
Copy
2
0.33 ms
SELECT t0 . id AS id_1 , t0 . created_date AS created_date_2 , t0 . updated_date AS updated_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . company_code AS company_code_6 , t0 . mfr_code AS mfr_code_7 , t0 . name AS name_8 , t0 . company_type AS company_type_9 , t0 . address_mailing_flag AS address_mailing_flag_10 , t0 . address_billing_flag AS address_billing_flag_11 , t0 . address_notification_flag AS address_notification_flag_12 , t0 . address_other AS address_other_13 , t0 . address_report_display AS address_report_display_14 , t0 . suite_number AS suite_number_15 , t0 . street_name AS street_name_16 , t0 . province AS province_17 , t0 . country AS country_18 , t0 . city AS city_19 , t0 . postal_code AS postal_code_20 , t0 . post_office_box AS post_office_box_21 , t0 . contact_information AS contact_information_22 , t0 . senior_official_user_id AS senior_official_user_id_23 , t0 . parent_object_id AS parent_object_id_24 , t0 . last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . created_date AS created_date_2 , t0 . updated_date AS updated_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . company_code AS company_code_6 , t0 . mfr_code AS mfr_code_7 , t0 . name AS name_8 , t0 . company_type AS company_type_9 , t0 . address_mailing_flag AS address_mailing_flag_10 , t0 . address_billing_flag AS address_billing_flag_11 , t0 . address_notification_flag AS address_notification_flag_12 , t0 . address_other AS address_other_13 , t0 . address_report_display AS address_report_display_14 , t0 . suite_number AS suite_number_15 , t0 . street_name AS street_name_16 , t0 . province AS province_17 , t0 . country AS country_18 , t0 . city AS city_19 , t0 . postal_code AS postal_code_20 , t0 . post_office_box AS post_office_box_21 , t0 . contact_information AS contact_information_22 , t0 . senior_official_user_id AS senior_official_user_id_23 , t0 . parent_object_id AS parent_object_id_24 , t0 . last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0 . id = 12055 ;
Copy
3
0.34 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 3150 ) ORDER BY t0 . id DESC ;
Copy
4
0.59 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 3150 ORDER BY t0 . id DESC ;
Copy
5
0.23 ms
SELECT t0 . id AS id_1 , t0 . created_date AS created_date_2 , t0 . updated_date AS updated_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . company_code AS company_code_6 , t0 . mfr_code AS mfr_code_7 , t0 . name AS name_8 , t0 . company_type AS company_type_9 , t0 . address_mailing_flag AS address_mailing_flag_10 , t0 . address_billing_flag AS address_billing_flag_11 , t0 . address_notification_flag AS address_notification_flag_12 , t0 . address_other AS address_other_13 , t0 . address_report_display AS address_report_display_14 , t0 . suite_number AS suite_number_15 , t0 . street_name AS street_name_16 , t0 . province AS province_17 , t0 . country AS country_18 , t0 . city AS city_19 , t0 . postal_code AS postal_code_20 , t0 . post_office_box AS post_office_box_21 , t0 . contact_information AS contact_information_22 , t0 . senior_official_user_id AS senior_official_user_id_23 , t0 . parent_object_id AS parent_object_id_24 , t0 . last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . created_date AS created_date_2 , t0 . updated_date AS updated_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . company_code AS company_code_6 , t0 . mfr_code AS mfr_code_7 , t0 . name AS name_8 , t0 . company_type AS company_type_9 , t0 . address_mailing_flag AS address_mailing_flag_10 , t0 . address_billing_flag AS address_billing_flag_11 , t0 . address_notification_flag AS address_notification_flag_12 , t0 . address_other AS address_other_13 , t0 . address_report_display AS address_report_display_14 , t0 . suite_number AS suite_number_15 , t0 . street_name AS street_name_16 , t0 . province AS province_17 , t0 . country AS country_18 , t0 . city AS city_19 , t0 . postal_code AS postal_code_20 , t0 . post_office_box AS post_office_box_21 , t0 . contact_information AS contact_information_22 , t0 . senior_official_user_id AS senior_official_user_id_23 , t0 . parent_object_id AS parent_object_id_24 , t0 . last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0 . id = 6 ;
Copy
6
0.32 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 5122 ) ORDER BY t0 . id DESC ;
Copy
7
0.46 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 5122 ORDER BY t0 . id DESC ;
Copy
8
0.29 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 336 ) ORDER BY t0 . id DESC ;
Copy
9
0.37 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 336 ORDER BY t0 . id DESC ;
Copy
10
0.29 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 36 ) ORDER BY t0 . id DESC ;
Copy
11
0.46 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 36 ORDER BY t0 . id DESC ;
Copy
12
0.30 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 32138 ) ORDER BY t0 . id DESC ;
Copy
13
0.45 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 32138 ORDER BY t0 . id DESC ;
Copy
14
0.49 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 67279 ) ORDER BY t0 . id DESC ;
Copy
15
0.48 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 67279 ORDER BY t0 . id DESC ;
Copy
16
0.27 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 40 ) ORDER BY t0 . id DESC ;
Copy
17
0.47 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 40 ORDER BY t0 . id DESC ;
Copy
18
0.27 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 32140 ) ORDER BY t0 . id DESC ;
Copy
19
0.38 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 32140 ORDER BY t0 . id DESC ;
Copy
20
0.26 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 38 ) ORDER BY t0 . id DESC ;
Copy
21
0.47 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 38 ORDER BY t0 . id DESC ;
Copy
22
5.70 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 88313 ) ORDER BY t0 . id DESC ;
Copy
23
3.04 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 88313 ORDER BY t0 . id DESC ;
Copy
24
0.34 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 5124 ) ORDER BY t0 . id DESC ;
Copy
25
0.41 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 5124 ORDER BY t0 . id DESC ;
Copy
26
0.27 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 42 ) ORDER BY t0 . id DESC ;
Copy
27
0.36 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 42 ORDER BY t0 . id DESC ;
Copy
28
0.22 ms
SELECT t0 . id AS id_1 , t0 . created_date AS created_date_2 , t0 . updated_date AS updated_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . company_code AS company_code_6 , t0 . mfr_code AS mfr_code_7 , t0 . name AS name_8 , t0 . company_type AS company_type_9 , t0 . address_mailing_flag AS address_mailing_flag_10 , t0 . address_billing_flag AS address_billing_flag_11 , t0 . address_notification_flag AS address_notification_flag_12 , t0 . address_other AS address_other_13 , t0 . address_report_display AS address_report_display_14 , t0 . suite_number AS suite_number_15 , t0 . street_name AS street_name_16 , t0 . province AS province_17 , t0 . country AS country_18 , t0 . city AS city_19 , t0 . postal_code AS postal_code_20 , t0 . post_office_box AS post_office_box_21 , t0 . contact_information AS contact_information_22 , t0 . senior_official_user_id AS senior_official_user_id_23 , t0 . parent_object_id AS parent_object_id_24 , t0 . last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . created_date AS created_date_2 , t0 . updated_date AS updated_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . company_code AS company_code_6 , t0 . mfr_code AS mfr_code_7 , t0 . name AS name_8 , t0 . company_type AS company_type_9 , t0 . address_mailing_flag AS address_mailing_flag_10 , t0 . address_billing_flag AS address_billing_flag_11 , t0 . address_notification_flag AS address_notification_flag_12 , t0 . address_other AS address_other_13 , t0 . address_report_display AS address_report_display_14 , t0 . suite_number AS suite_number_15 , t0 . street_name AS street_name_16 , t0 . province AS province_17 , t0 . country AS country_18 , t0 . city AS city_19 , t0 . postal_code AS postal_code_20 , t0 . post_office_box AS post_office_box_21 , t0 . contact_information AS contact_information_22 , t0 . senior_official_user_id AS senior_official_user_id_23 , t0 . parent_object_id AS parent_object_id_24 , t0 . last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0 . id = 14873 ;
Copy
29
10.57 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 84065 ) ORDER BY t0 . id DESC ;
Copy
30
0.39 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 84065 ORDER BY t0 . id DESC ;
Copy
31
1.88 ms
SELECT t0 . id AS id_1 , t0 . created_date AS created_date_2 , t0 . updated_date AS updated_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . company_code AS company_code_6 , t0 . mfr_code AS mfr_code_7 , t0 . name AS name_8 , t0 . company_type AS company_type_9 , t0 . address_mailing_flag AS address_mailing_flag_10 , t0 . address_billing_flag AS address_billing_flag_11 , t0 . address_notification_flag AS address_notification_flag_12 , t0 . address_other AS address_other_13 , t0 . address_report_display AS address_report_display_14 , t0 . suite_number AS suite_number_15 , t0 . street_name AS street_name_16 , t0 . province AS province_17 , t0 . country AS country_18 , t0 . city AS city_19 , t0 . postal_code AS postal_code_20 , t0 . post_office_box AS post_office_box_21 , t0 . contact_information AS contact_information_22 , t0 . senior_official_user_id AS senior_official_user_id_23 , t0 . parent_object_id AS parent_object_id_24 , t0 . last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . created_date AS created_date_2 , t0 . updated_date AS updated_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . company_code AS company_code_6 , t0 . mfr_code AS mfr_code_7 , t0 . name AS name_8 , t0 . company_type AS company_type_9 , t0 . address_mailing_flag AS address_mailing_flag_10 , t0 . address_billing_flag AS address_billing_flag_11 , t0 . address_notification_flag AS address_notification_flag_12 , t0 . address_other AS address_other_13 , t0 . address_report_display AS address_report_display_14 , t0 . suite_number AS suite_number_15 , t0 . street_name AS street_name_16 , t0 . province AS province_17 , t0 . country AS country_18 , t0 . city AS city_19 , t0 . postal_code AS postal_code_20 , t0 . post_office_box AS post_office_box_21 , t0 . contact_information AS contact_information_22 , t0 . senior_official_user_id AS senior_official_user_id_23 , t0 . parent_object_id AS parent_object_id_24 , t0 . last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0 . id = 14113 ;
Copy
32
0.31 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 65373 ) ORDER BY t0 . id DESC ;
Copy
33
0.45 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 65373 ORDER BY t0 . id DESC ;
Copy
34
0.21 ms
SELECT t0 . id AS id_1 , t0 . created_date AS created_date_2 , t0 . updated_date AS updated_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . company_code AS company_code_6 , t0 . mfr_code AS mfr_code_7 , t0 . name AS name_8 , t0 . company_type AS company_type_9 , t0 . address_mailing_flag AS address_mailing_flag_10 , t0 . address_billing_flag AS address_billing_flag_11 , t0 . address_notification_flag AS address_notification_flag_12 , t0 . address_other AS address_other_13 , t0 . address_report_display AS address_report_display_14 , t0 . suite_number AS suite_number_15 , t0 . street_name AS street_name_16 , t0 . province AS province_17 , t0 . country AS country_18 , t0 . city AS city_19 , t0 . postal_code AS postal_code_20 , t0 . post_office_box AS post_office_box_21 , t0 . contact_information AS contact_information_22 , t0 . senior_official_user_id AS senior_official_user_id_23 , t0 . parent_object_id AS parent_object_id_24 , t0 . last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . created_date AS created_date_2 , t0 . updated_date AS updated_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . company_code AS company_code_6 , t0 . mfr_code AS mfr_code_7 , t0 . name AS name_8 , t0 . company_type AS company_type_9 , t0 . address_mailing_flag AS address_mailing_flag_10 , t0 . address_billing_flag AS address_billing_flag_11 , t0 . address_notification_flag AS address_notification_flag_12 , t0 . address_other AS address_other_13 , t0 . address_report_display AS address_report_display_14 , t0 . suite_number AS suite_number_15 , t0 . street_name AS street_name_16 , t0 . province AS province_17 , t0 . country AS country_18 , t0 . city AS city_19 , t0 . postal_code AS postal_code_20 , t0 . post_office_box AS post_office_box_21 , t0 . contact_information AS contact_information_22 , t0 . senior_official_user_id AS senior_official_user_id_23 , t0 . parent_object_id AS parent_object_id_24 , t0 . last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0 . id = 15250 ;
Copy
35
0.37 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 70309 ) ORDER BY t0 . id DESC ;
Copy
36
0.41 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 70309 ORDER BY t0 . id DESC ;
Copy
37
11.50 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 70294 ) ORDER BY t0 . id DESC ;
Copy
38
0.58 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 70294 ORDER BY t0 . id DESC ;
Copy
39
0.23 ms
SELECT t0 . id AS id_1 , t0 . created_date AS created_date_2 , t0 . updated_date AS updated_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . company_code AS company_code_6 , t0 . mfr_code AS mfr_code_7 , t0 . name AS name_8 , t0 . company_type AS company_type_9 , t0 . address_mailing_flag AS address_mailing_flag_10 , t0 . address_billing_flag AS address_billing_flag_11 , t0 . address_notification_flag AS address_notification_flag_12 , t0 . address_other AS address_other_13 , t0 . address_report_display AS address_report_display_14 , t0 . suite_number AS suite_number_15 , t0 . street_name AS street_name_16 , t0 . province AS province_17 , t0 . country AS country_18 , t0 . city AS city_19 , t0 . postal_code AS postal_code_20 , t0 . post_office_box AS post_office_box_21 , t0 . contact_information AS contact_information_22 , t0 . senior_official_user_id AS senior_official_user_id_23 , t0 . parent_object_id AS parent_object_id_24 , t0 . last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . created_date AS created_date_2 , t0 . updated_date AS updated_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . company_code AS company_code_6 , t0 . mfr_code AS mfr_code_7 , t0 . name AS name_8 , t0 . company_type AS company_type_9 , t0 . address_mailing_flag AS address_mailing_flag_10 , t0 . address_billing_flag AS address_billing_flag_11 , t0 . address_notification_flag AS address_notification_flag_12 , t0 . address_other AS address_other_13 , t0 . address_report_display AS address_report_display_14 , t0 . suite_number AS suite_number_15 , t0 . street_name AS street_name_16 , t0 . province AS province_17 , t0 . country AS country_18 , t0 . city AS city_19 , t0 . postal_code AS postal_code_20 , t0 . post_office_box AS post_office_box_21 , t0 . contact_information AS contact_information_22 , t0 . senior_official_user_id AS senior_official_user_id_23 , t0 . parent_object_id AS parent_object_id_24 , t0 . last_updated_user_id AS last_updated_user_id_25 FROM companies t0 WHERE t0 . id = 222 ;
Copy
40
0.38 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 1414 ) ORDER BY t0 . id DESC ;
Copy
41
5.83 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 1414 ORDER BY t0 . id DESC ;
Copy
42
0.46 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 4462 ) ORDER BY t0 . id DESC ;
Copy
43
0.55 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 4462 ORDER BY t0 . id DESC ;
Copy
44
0.31 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 4464 ) ORDER BY t0 . id DESC ;
Copy
45
3.34 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 4464 ORDER BY t0 . id DESC ;
Copy
46
0.30 ms
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = ? ) ORDER BY t0 . id DESC
SELECT t0 . id AS id_1 , t0 . updated_date AS updated_date_2 , t0 . deleted_date AS deleted_date_3 , t0 . last_updated_operation AS last_updated_operation_4 , t0 . last_updated_ip AS last_updated_ip_5 , t0 . ingredient_supplied_ind AS ingredient_supplied_ind_6 , t0 . strength AS strength_7 , t0 . strength_unit AS strength_unit_8 , t0 . strength_type AS strength_type_9 , t0 . dosage_value AS dosage_value_10 , t0 . dosage_unit AS dosage_unit_11 , t0 . base AS base_12 , t0 . notes AS notes_13 , t0 . parent_object_id AS parent_object_id_14 , t0 . last_updated_user_id AS last_updated_user_id_15 , t0 . ingredient_id AS ingredient_id_16 , t0 . drug_id AS drug_id_17 FROM drugingredients t0 WHERE ((t0 . parent_object_id IS NULL AND t0 . deleted_date IS NULL ) AND t0 . drug_id = 3580 ) ORDER BY t0 . id DESC ;
Copy
47
0.40 ms
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = ? ORDER BY t0 . id DESC
SELECT
t0 . id AS id_1 ,
t0 . number AS number_2 ,
t0 . created_date AS created_date_3 ,
t0 . din AS din_4 ,
t0 . company_name AS company_name_5 ,
t0 . atc_number AS atc_number_6 ,
t0 . atc_description AS atc_description_7 ,
t0 . hc_updated_date AS hc_updated_date_8 ,
t0 . remaining_supply_date AS remaining_supply_date_9 ,
t0 . discontinuation_date AS discontinuation_date_10 ,
t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 ,
t0 . anticipated_start_date AS anticipated_start_date_12 ,
t0 . estimated_end_date AS estimated_end_date_13 ,
t0 . actual_start_date AS actual_start_date_14 ,
t0 . actual_end_date AS actual_end_date_15 ,
t0 . en_info_on_alternative AS en_info_on_alternative_16 ,
t0 . fr_info_on_alternative AS fr_info_on_alternative_17 ,
t0 . decision_reversal AS decision_reversal_18 ,
t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 ,
t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 ,
t0 . en_discontinuation_comments AS en_discontinuation_comments_21 ,
t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 ,
t0 . updated_date AS updated_date_23 ,
t0 . last_updated_operation AS last_updated_operation_24 ,
t0 . last_updated_ip AS last_updated_ip_25 ,
t0 . en_product_alternative AS en_product_alternative_26 ,
t0 . fr_product_alternative AS fr_product_alternative_27 ,
t0 . status AS status_28 ,
t0 . en_info_for_care_provider AS en_info_for_care_provider_29 ,
t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 ,
t0 . en_mitigation_efforts AS en_mitigation_efforts_31 ,
t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 ,
t0 . en_comments AS en_comments_33 ,
t0 . fr_comments AS fr_comments_34 ,
t0 . hc_en_product_alternative AS hc_en_product_alternative_35 ,
t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 ,
t0 . hc_en_shortage_info AS hc_en_shortage_info_37 ,
t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 ,
t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 ,
t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 ,
t0 . hc_en_comments AS hc_en_comments_41 ,
t0 . hc_fr_comments AS hc_fr_comments_42 ,
t0 . en_drug_brand_name AS en_drug_brand_name_43 ,
t0 . en_drug_proper_name AS en_drug_proper_name_44 ,
t0 . en_drug_common_name AS en_drug_common_name_45 ,
t0 . fr_drug_brand_name AS fr_drug_brand_name_46 ,
t0 . fr_drug_proper_name AS fr_drug_proper_name_47 ,
t0 . fr_drug_common_name AS fr_drug_common_name_48 ,
t0 . en_ingredients AS en_ingredients_49 ,
t0 . fr_ingredients AS fr_ingredients_50 ,
t0 . drug_strength AS drug_strength_51 ,
t0 . drug_dosage_form AS drug_dosage_form_52 ,
t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 ,
t0 . drug_route AS drug_route_54 ,
t0 . drug_route_fr AS drug_route_fr_55 ,
t0 . drug_package_quantity AS drug_package_quantity_56 ,
t0 . resolved AS resolved_57 ,
t0 . avoided AS avoided_58 ,
t0 . advance AS advance_59 ,
t0 . late_submission AS late_submission_60 ,
t0 . shortage_duplicated AS shortage_duplicated_61 ,
t0 . discontinuance_duplicated AS discontinuance_duplicated_62 ,
t0 . draft AS draft_63 ,
t0 . deleted_ip_address AS deleted_ip_address_64 ,
t0 . deleted_date AS deleted_date_65 ,
t0 . current_form_lang AS current_form_lang_66 ,
t0 . discontinuation_duplication AS discontinuation_duplication_67 ,
t0 . shortage_duplication AS shortage_duplication_68 ,
t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 ,
t0 . marker_a1 AS marker_a1_70 ,
t0 . marker_a2 AS marker_a2_71 ,
t0 . marker_a3 AS marker_a3_72 ,
t0 . marker_b1 AS marker_b1_73 ,
t0 . marker_b2 AS marker_b2_74 ,
t0 . marker_b3 AS marker_b3_75 ,
t0 . late_marker_disabled AS late_marker_disabled_76 ,
t0 . tier_3 AS tier_3_77 ,
t0 . drug_id AS drug_id_78 ,
t0 . type_id AS type_id_79 ,
t0 . discontinuance_reason_id AS discontinuance_reason_id_80 ,
t0 . shortage_reason_id AS shortage_reason_id_81 ,
t0 . parent_object_id AS parent_object_id_82 ,
t0 . last_updated_user_id AS last_updated_user_id_83 ,
t0 . deleted_by_user_id AS deleted_by_user_id_84
FROM
reports t0
WHERE
t0 . drug_id = ?
ORDER BY
t0 . id DESC
Copy
SELECT t0 . id AS id_1 , t0 . number AS number_2 , t0 . created_date AS created_date_3 , t0 . din AS din_4 , t0 . company_name AS company_name_5 , t0 . atc_number AS atc_number_6 , t0 . atc_description AS atc_description_7 , t0 . hc_updated_date AS hc_updated_date_8 , t0 . remaining_supply_date AS remaining_supply_date_9 , t0 . discontinuation_date AS discontinuation_date_10 , t0 . anticipated_discontinuation_date AS anticipated_discontinuation_date_11 , t0 . anticipated_start_date AS anticipated_start_date_12 , t0 . estimated_end_date AS estimated_end_date_13 , t0 . actual_start_date AS actual_start_date_14 , t0 . actual_end_date AS actual_end_date_15 , t0 . en_info_on_alternative AS en_info_on_alternative_16 , t0 . fr_info_on_alternative AS fr_info_on_alternative_17 , t0 . decision_reversal AS decision_reversal_18 , t0 . en_supply_disruption_mitigation AS en_supply_disruption_mitigation_19 , t0 . fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_20 , t0 . en_discontinuation_comments AS en_discontinuation_comments_21 , t0 . fr_discontinuation_comments AS fr_discontinuation_comments_22 , t0 . updated_date AS updated_date_23 , t0 . last_updated_operation AS last_updated_operation_24 , t0 . last_updated_ip AS last_updated_ip_25 , t0 . en_product_alternative AS en_product_alternative_26 , t0 . fr_product_alternative AS fr_product_alternative_27 , t0 . status AS status_28 , t0 . en_info_for_care_provider AS en_info_for_care_provider_29 , t0 . fr_info_for_care_provider AS fr_info_for_care_provider_30 , t0 . en_mitigation_efforts AS en_mitigation_efforts_31 , t0 . fr_mitigation_efforts AS fr_mitigation_efforts_32 , t0 . en_comments AS en_comments_33 , t0 . fr_comments AS fr_comments_34 , t0 . hc_en_product_alternative AS hc_en_product_alternative_35 , t0 . hc_fr_product_alternative AS hc_fr_product_alternative_36 , t0 . hc_en_shortage_info AS hc_en_shortage_info_37 , t0 . hc_fr_shortage_info AS hc_fr_shortage_info_38 , t0 . hc_en_mitigation_efforts AS hc_en_mitigation_efforts_39 , t0 . hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_40 , t0 . hc_en_comments AS hc_en_comments_41 , t0 . hc_fr_comments AS hc_fr_comments_42 , t0 . en_drug_brand_name AS en_drug_brand_name_43 , t0 . en_drug_proper_name AS en_drug_proper_name_44 , t0 . en_drug_common_name AS en_drug_common_name_45 , t0 . fr_drug_brand_name AS fr_drug_brand_name_46 , t0 . fr_drug_proper_name AS fr_drug_proper_name_47 , t0 . fr_drug_common_name AS fr_drug_common_name_48 , t0 . en_ingredients AS en_ingredients_49 , t0 . fr_ingredients AS fr_ingredients_50 , t0 . drug_strength AS drug_strength_51 , t0 . drug_dosage_form AS drug_dosage_form_52 , t0 . drug_dosage_form_fr AS drug_dosage_form_fr_53 , t0 . drug_route AS drug_route_54 , t0 . drug_route_fr AS drug_route_fr_55 , t0 . drug_package_quantity AS drug_package_quantity_56 , t0 . resolved AS resolved_57 , t0 . avoided AS avoided_58 , t0 . advance AS advance_59 , t0 . late_submission AS late_submission_60 , t0 . shortage_duplicated AS shortage_duplicated_61 , t0 . discontinuance_duplicated AS discontinuance_duplicated_62 , t0 . draft AS draft_63 , t0 . deleted_ip_address AS deleted_ip_address_64 , t0 . deleted_date AS deleted_date_65 , t0 . current_form_lang AS current_form_lang_66 , t0 . discontinuation_duplication AS discontinuation_duplication_67 , t0 . shortage_duplication AS shortage_duplication_68 , t0 . unknown_estimated_end_date AS unknown_estimated_end_date_69 , t0 . marker_a1 AS marker_a1_70 , t0 . marker_a2 AS marker_a2_71 , t0 . marker_a3 AS marker_a3_72 , t0 . marker_b1 AS marker_b1_73 , t0 . marker_b2 AS marker_b2_74 , t0 . marker_b3 AS marker_b3_75 , t0 . late_marker_disabled AS late_marker_disabled_76 , t0 . tier_3 AS tier_3_77 , t0 . drug_id AS drug_id_78 , t0 . type_id AS type_id_79 , t0 . discontinuance_reason_id AS discontinuance_reason_id_80 , t0 . shortage_reason_id AS shortage_reason_id_81 , t0 . parent_object_id AS parent_object_id_82 , t0 . last_updated_user_id AS last_updated_user_id_83 , t0 . deleted_by_user_id AS deleted_by_user_id_84 FROM reports t0 WHERE t0 . drug_id = 3580 ORDER BY t0 . id DESC ;
Copy
48
994.73 ms
SELECT COUNT (* ) AS dctrn_count FROM (SELECT d0_ . id AS id_0 , d0_ . drug_code AS drug_code_1 , d0_ . updated_date AS updated_date_2 , d0_ . content_update_date AS content_update_date_3 , d0_ . last_updated_operation AS last_updated_operation_4 , d0_ . last_updated_ip AS last_updated_ip_5 , d0_ . product_categorization AS product_categorization_6 , d0_ . din AS din_7 , d0_ . brand_name AS brand_name_8 , d0_ . brand_name_fr AS brand_name_fr_9 , d0_ . descriptor AS descriptor_10 , d0_ . pediatric_flag AS pediatric_flag_11 , d0_ . accession_number AS accession_number_12 , d0_ . number_of_ais AS number_of_ais_13 , d0_ . ai_group_no AS ai_group_no_14 , d0_ . en_proper_name AS en_proper_name_15 , d0_ . fr_proper_name AS fr_proper_name_16 , d0_ . en_common_name AS en_common_name_17 , d0_ . fr_common_name AS fr_common_name_18 FROM drugs d0_ INNER JOIN companies c1_ ON d0_ . company_id = c1_ . id WHERE d0_ . parent_object_id IS NULL GROUP BY d0_ . id ORDER BY d0_ . brand_name ASC ) dctrn_table
SELECT COUNT (* ) AS dctrn_count FROM (SELECT d0_ . id AS id_0 , d0_ . drug_code AS drug_code_1 , d0_ . updated_date AS updated_date_2 , d0_ . content_update_date AS content_update_date_3 , d0_ . last_updated_operation AS last_updated_operation_4 , d0_ . last_updated_ip AS last_updated_ip_5 , d0_ . product_categorization AS product_categorization_6 , d0_ . din AS din_7 , d0_ . brand_name AS brand_name_8 , d0_ . brand_name_fr AS brand_name_fr_9 , d0_ . descriptor AS descriptor_10 , d0_ . pediatric_flag AS pediatric_flag_11 , d0_ . accession_number AS accession_number_12 , d0_ . number_of_ais AS number_of_ais_13 , d0_ . ai_group_no AS ai_group_no_14 , d0_ . en_proper_name AS en_proper_name_15 , d0_ . fr_proper_name AS fr_proper_name_16 , d0_ . en_common_name AS en_common_name_17 , d0_ . fr_common_name AS fr_common_name_18 FROM drugs d0_ INNER JOIN companies c1_ ON d0_ . company_id = c1_ . id WHERE d0_ . parent_object_id IS NULL GROUP BY d0_ . id ORDER BY d0_ . brand_name ASC ) dctrn_table ;
Copy