| 1 |
0.70 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.last_updated_operation AS last_updated_operation_3, t0.last_updated_ip AS last_updated_ip_4, t0.ingredient_code AS ingredient_code_5, t0.en_name AS en_name_6, t0.fr_name AS fr_name_7, t0.parent_object_id AS parent_object_id_8, t0.last_updated_user_id AS last_updated_user_id_9 FROM ingredients t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.last_updated_operation AS last_updated_operation_3, t0.last_updated_ip AS last_updated_ip_4, t0.ingredient_code AS ingredient_code_5, t0.en_name AS en_name_6, t0.fr_name AS fr_name_7, t0.parent_object_id AS parent_object_id_8, t0.last_updated_user_id AS last_updated_user_id_9 FROM ingredients t0 WHERE t0.id = '34321';
|
| 2 |
3.04 ms |
SELECT DISTINCT r0_.id AS id_0, r0_.number AS number_1, r0_.created_date AS created_date_2, r0_.din AS din_3, r0_.company_name AS company_name_4, r0_.atc_number AS atc_number_5, r0_.atc_description AS atc_description_6, r0_.hc_updated_date AS hc_updated_date_7, r0_.remaining_supply_date AS remaining_supply_date_8, r0_.discontinuation_date AS discontinuation_date_9, r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10, r0_.anticipated_start_date AS anticipated_start_date_11, r0_.estimated_end_date AS estimated_end_date_12, r0_.actual_start_date AS actual_start_date_13, r0_.actual_end_date AS actual_end_date_14, r0_.en_info_on_alternative AS en_info_on_alternative_15, r0_.fr_info_on_alternative AS fr_info_on_alternative_16, r0_.decision_reversal AS decision_reversal_17, r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18, r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19, r0_.en_discontinuation_comments AS en_discontinuation_comments_20, r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21, r0_.updated_date AS updated_date_22, r0_.last_updated_operation AS last_updated_operation_23, r0_.last_updated_ip AS last_updated_ip_24, r0_.en_product_alternative AS en_product_alternative_25, r0_.fr_product_alternative AS fr_product_alternative_26, r0_.status AS status_27, r0_.en_info_for_care_provider AS en_info_for_care_provider_28, r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29, r0_.en_mitigation_efforts AS en_mitigation_efforts_30, r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31, r0_.en_comments AS en_comments_32, r0_.fr_comments AS fr_comments_33, r0_.hc_en_product_alternative AS hc_en_product_alternative_34, r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35, r0_.hc_en_shortage_info AS hc_en_shortage_info_36, r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37, r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38, r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39, r0_.hc_en_comments AS hc_en_comments_40, r0_.hc_fr_comments AS hc_fr_comments_41, r0_.en_drug_brand_name AS en_drug_brand_name_42, r0_.en_drug_proper_name AS en_drug_proper_name_43, r0_.en_drug_common_name AS en_drug_common_name_44, r0_.fr_drug_brand_name AS fr_drug_brand_name_45, r0_.fr_drug_proper_name AS fr_drug_proper_name_46, r0_.fr_drug_common_name AS fr_drug_common_name_47, r0_.en_ingredients AS en_ingredients_48, r0_.fr_ingredients AS fr_ingredients_49, r0_.drug_strength AS drug_strength_50, r0_.drug_dosage_form AS drug_dosage_form_51, r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52, r0_.drug_route AS drug_route_53, r0_.drug_route_fr AS drug_route_fr_54, r0_.drug_package_quantity AS drug_package_quantity_55, r0_.resolved AS resolved_56, r0_.avoided AS avoided_57, r0_.advance AS advance_58, r0_.late_submission AS late_submission_59, r0_.shortage_duplicated AS shortage_duplicated_60, r0_.discontinuance_duplicated AS discontinuance_duplicated_61, r0_.draft AS draft_62, r0_.deleted_ip_address AS deleted_ip_address_63, r0_.deleted_date AS deleted_date_64, r0_.current_form_lang AS current_form_lang_65, r0_.discontinuation_duplication AS discontinuation_duplication_66, r0_.shortage_duplication AS shortage_duplication_67, r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68, r0_.marker_a1 AS marker_a1_69, r0_.marker_a2 AS marker_a2_70, r0_.marker_a3 AS marker_a3_71, r0_.marker_b1 AS marker_b1_72, r0_.marker_b2 AS marker_b2_73, r0_.marker_b3 AS marker_b3_74, r0_.late_marker_disabled AS late_marker_disabled_75, r0_.tier_3 AS tier_3_76, CONCAT(u1_.first_name, ' ', u1_.last_name) AS sclr_77, r0_.drug_id AS drug_id_78, r0_.type_id AS type_id_79, r0_.discontinuance_reason_id AS discontinuance_reason_id_80, r0_.shortage_reason_id AS shortage_reason_id_81, r0_.parent_object_id AS parent_object_id_82, r0_.last_updated_user_id AS last_updated_user_id_83, r0_.deleted_by_user_id AS deleted_by_user_id_84 FROM reports r0_ LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id LEFT JOIN companies c4_ ON d3_.company_id = c4_.id LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id WHERE r2_.id = ? AND i6_.id = ? AND r0_.parent_object_id IS NULL AND r0_.draft = ? AND r0_.deleted_date IS NULL ORDER BY r0_.en_drug_brand_name ASC LIMIT 10
Parameters: [
2
34321
0
]
SELECT
DISTINCT r0_.id AS id_0,
r0_.number AS number_1,
r0_.created_date AS created_date_2,
r0_.din AS din_3,
r0_.company_name AS company_name_4,
r0_.atc_number AS atc_number_5,
r0_.atc_description AS atc_description_6,
r0_.hc_updated_date AS hc_updated_date_7,
r0_.remaining_supply_date AS remaining_supply_date_8,
r0_.discontinuation_date AS discontinuation_date_9,
r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10,
r0_.anticipated_start_date AS anticipated_start_date_11,
r0_.estimated_end_date AS estimated_end_date_12,
r0_.actual_start_date AS actual_start_date_13,
r0_.actual_end_date AS actual_end_date_14,
r0_.en_info_on_alternative AS en_info_on_alternative_15,
r0_.fr_info_on_alternative AS fr_info_on_alternative_16,
r0_.decision_reversal AS decision_reversal_17,
r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18,
r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19,
r0_.en_discontinuation_comments AS en_discontinuation_comments_20,
r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21,
r0_.updated_date AS updated_date_22,
r0_.last_updated_operation AS last_updated_operation_23,
r0_.last_updated_ip AS last_updated_ip_24,
r0_.en_product_alternative AS en_product_alternative_25,
r0_.fr_product_alternative AS fr_product_alternative_26,
r0_.status AS status_27,
r0_.en_info_for_care_provider AS en_info_for_care_provider_28,
r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29,
r0_.en_mitigation_efforts AS en_mitigation_efforts_30,
r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31,
r0_.en_comments AS en_comments_32,
r0_.fr_comments AS fr_comments_33,
r0_.hc_en_product_alternative AS hc_en_product_alternative_34,
r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35,
r0_.hc_en_shortage_info AS hc_en_shortage_info_36,
r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37,
r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38,
r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39,
r0_.hc_en_comments AS hc_en_comments_40,
r0_.hc_fr_comments AS hc_fr_comments_41,
r0_.en_drug_brand_name AS en_drug_brand_name_42,
r0_.en_drug_proper_name AS en_drug_proper_name_43,
r0_.en_drug_common_name AS en_drug_common_name_44,
r0_.fr_drug_brand_name AS fr_drug_brand_name_45,
r0_.fr_drug_proper_name AS fr_drug_proper_name_46,
r0_.fr_drug_common_name AS fr_drug_common_name_47,
r0_.en_ingredients AS en_ingredients_48,
r0_.fr_ingredients AS fr_ingredients_49,
r0_.drug_strength AS drug_strength_50,
r0_.drug_dosage_form AS drug_dosage_form_51,
r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52,
r0_.drug_route AS drug_route_53,
r0_.drug_route_fr AS drug_route_fr_54,
r0_.drug_package_quantity AS drug_package_quantity_55,
r0_.resolved AS resolved_56,
r0_.avoided AS avoided_57,
r0_.advance AS advance_58,
r0_.late_submission AS late_submission_59,
r0_.shortage_duplicated AS shortage_duplicated_60,
r0_.discontinuance_duplicated AS discontinuance_duplicated_61,
r0_.draft AS draft_62,
r0_.deleted_ip_address AS deleted_ip_address_63,
r0_.deleted_date AS deleted_date_64,
r0_.current_form_lang AS current_form_lang_65,
r0_.discontinuation_duplication AS discontinuation_duplication_66,
r0_.shortage_duplication AS shortage_duplication_67,
r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68,
r0_.marker_a1 AS marker_a1_69,
r0_.marker_a2 AS marker_a2_70,
r0_.marker_a3 AS marker_a3_71,
r0_.marker_b1 AS marker_b1_72,
r0_.marker_b2 AS marker_b2_73,
r0_.marker_b3 AS marker_b3_74,
r0_.late_marker_disabled AS late_marker_disabled_75,
r0_.tier_3 AS tier_3_76,
CONCAT(
u1_.first_name, ' ', u1_.last_name
) AS sclr_77,
r0_.drug_id AS drug_id_78,
r0_.type_id AS type_id_79,
r0_.discontinuance_reason_id AS discontinuance_reason_id_80,
r0_.shortage_reason_id AS shortage_reason_id_81,
r0_.parent_object_id AS parent_object_id_82,
r0_.last_updated_user_id AS last_updated_user_id_83,
r0_.deleted_by_user_id AS deleted_by_user_id_84
FROM
reports r0_
LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id
LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id
LEFT JOIN companies c4_ ON d3_.company_id = c4_.id
LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id
LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id
LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id
WHERE
r2_.id = ?
AND i6_.id = ?
AND r0_.parent_object_id IS NULL
AND r0_.draft = ?
AND r0_.deleted_date IS NULL
ORDER BY
r0_.en_drug_brand_name ASC
LIMIT
10
SELECT DISTINCT r0_.id AS id_0, r0_.number AS number_1, r0_.created_date AS created_date_2, r0_.din AS din_3, r0_.company_name AS company_name_4, r0_.atc_number AS atc_number_5, r0_.atc_description AS atc_description_6, r0_.hc_updated_date AS hc_updated_date_7, r0_.remaining_supply_date AS remaining_supply_date_8, r0_.discontinuation_date AS discontinuation_date_9, r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10, r0_.anticipated_start_date AS anticipated_start_date_11, r0_.estimated_end_date AS estimated_end_date_12, r0_.actual_start_date AS actual_start_date_13, r0_.actual_end_date AS actual_end_date_14, r0_.en_info_on_alternative AS en_info_on_alternative_15, r0_.fr_info_on_alternative AS fr_info_on_alternative_16, r0_.decision_reversal AS decision_reversal_17, r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18, r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19, r0_.en_discontinuation_comments AS en_discontinuation_comments_20, r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21, r0_.updated_date AS updated_date_22, r0_.last_updated_operation AS last_updated_operation_23, r0_.last_updated_ip AS last_updated_ip_24, r0_.en_product_alternative AS en_product_alternative_25, r0_.fr_product_alternative AS fr_product_alternative_26, r0_.status AS status_27, r0_.en_info_for_care_provider AS en_info_for_care_provider_28, r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29, r0_.en_mitigation_efforts AS en_mitigation_efforts_30, r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31, r0_.en_comments AS en_comments_32, r0_.fr_comments AS fr_comments_33, r0_.hc_en_product_alternative AS hc_en_product_alternative_34, r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35, r0_.hc_en_shortage_info AS hc_en_shortage_info_36, r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37, r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38, r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39, r0_.hc_en_comments AS hc_en_comments_40, r0_.hc_fr_comments AS hc_fr_comments_41, r0_.en_drug_brand_name AS en_drug_brand_name_42, r0_.en_drug_proper_name AS en_drug_proper_name_43, r0_.en_drug_common_name AS en_drug_common_name_44, r0_.fr_drug_brand_name AS fr_drug_brand_name_45, r0_.fr_drug_proper_name AS fr_drug_proper_name_46, r0_.fr_drug_common_name AS fr_drug_common_name_47, r0_.en_ingredients AS en_ingredients_48, r0_.fr_ingredients AS fr_ingredients_49, r0_.drug_strength AS drug_strength_50, r0_.drug_dosage_form AS drug_dosage_form_51, r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52, r0_.drug_route AS drug_route_53, r0_.drug_route_fr AS drug_route_fr_54, r0_.drug_package_quantity AS drug_package_quantity_55, r0_.resolved AS resolved_56, r0_.avoided AS avoided_57, r0_.advance AS advance_58, r0_.late_submission AS late_submission_59, r0_.shortage_duplicated AS shortage_duplicated_60, r0_.discontinuance_duplicated AS discontinuance_duplicated_61, r0_.draft AS draft_62, r0_.deleted_ip_address AS deleted_ip_address_63, r0_.deleted_date AS deleted_date_64, r0_.current_form_lang AS current_form_lang_65, r0_.discontinuation_duplication AS discontinuation_duplication_66, r0_.shortage_duplication AS shortage_duplication_67, r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68, r0_.marker_a1 AS marker_a1_69, r0_.marker_a2 AS marker_a2_70, r0_.marker_a3 AS marker_a3_71, r0_.marker_b1 AS marker_b1_72, r0_.marker_b2 AS marker_b2_73, r0_.marker_b3 AS marker_b3_74, r0_.late_marker_disabled AS late_marker_disabled_75, r0_.tier_3 AS tier_3_76, CONCAT(u1_.first_name, ' ', u1_.last_name) AS sclr_77, r0_.drug_id AS drug_id_78, r0_.type_id AS type_id_79, r0_.discontinuance_reason_id AS discontinuance_reason_id_80, r0_.shortage_reason_id AS shortage_reason_id_81, r0_.parent_object_id AS parent_object_id_82, r0_.last_updated_user_id AS last_updated_user_id_83, r0_.deleted_by_user_id AS deleted_by_user_id_84 FROM reports r0_ LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id LEFT JOIN companies c4_ ON d3_.company_id = c4_.id LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id WHERE r2_.id = 2 AND i6_.id = 34321 AND r0_.parent_object_id IS NULL AND r0_.draft = 0 AND r0_.deleted_date IS NULL ORDER BY r0_.en_drug_brand_name ASC LIMIT 10;
|
| 3 |
1.54 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 70309;
|
| 4 |
0.81 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.parent_object_id = ? ORDER BY t0.updated_date DESC, 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.parent_object_id = ?
ORDER BY
t0.updated_date DESC,
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.parent_object_id = 257130 ORDER BY t0.updated_date DESC, t0.id DESC;
|
| 5 |
1.35 ms |
SELECT DISTINCT r0_.id AS id_0, r0_.number AS number_1, r0_.created_date AS created_date_2, r0_.din AS din_3, r0_.company_name AS company_name_4, r0_.atc_number AS atc_number_5, r0_.atc_description AS atc_description_6, r0_.hc_updated_date AS hc_updated_date_7, r0_.remaining_supply_date AS remaining_supply_date_8, r0_.discontinuation_date AS discontinuation_date_9, r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10, r0_.anticipated_start_date AS anticipated_start_date_11, r0_.estimated_end_date AS estimated_end_date_12, r0_.actual_start_date AS actual_start_date_13, r0_.actual_end_date AS actual_end_date_14, r0_.en_info_on_alternative AS en_info_on_alternative_15, r0_.fr_info_on_alternative AS fr_info_on_alternative_16, r0_.decision_reversal AS decision_reversal_17, r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18, r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19, r0_.en_discontinuation_comments AS en_discontinuation_comments_20, r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21, r0_.updated_date AS updated_date_22, r0_.last_updated_operation AS last_updated_operation_23, r0_.last_updated_ip AS last_updated_ip_24, r0_.en_product_alternative AS en_product_alternative_25, r0_.fr_product_alternative AS fr_product_alternative_26, r0_.status AS status_27, r0_.en_info_for_care_provider AS en_info_for_care_provider_28, r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29, r0_.en_mitigation_efforts AS en_mitigation_efforts_30, r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31, r0_.en_comments AS en_comments_32, r0_.fr_comments AS fr_comments_33, r0_.hc_en_product_alternative AS hc_en_product_alternative_34, r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35, r0_.hc_en_shortage_info AS hc_en_shortage_info_36, r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37, r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38, r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39, r0_.hc_en_comments AS hc_en_comments_40, r0_.hc_fr_comments AS hc_fr_comments_41, r0_.en_drug_brand_name AS en_drug_brand_name_42, r0_.en_drug_proper_name AS en_drug_proper_name_43, r0_.en_drug_common_name AS en_drug_common_name_44, r0_.fr_drug_brand_name AS fr_drug_brand_name_45, r0_.fr_drug_proper_name AS fr_drug_proper_name_46, r0_.fr_drug_common_name AS fr_drug_common_name_47, r0_.en_ingredients AS en_ingredients_48, r0_.fr_ingredients AS fr_ingredients_49, r0_.drug_strength AS drug_strength_50, r0_.drug_dosage_form AS drug_dosage_form_51, r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52, r0_.drug_route AS drug_route_53, r0_.drug_route_fr AS drug_route_fr_54, r0_.drug_package_quantity AS drug_package_quantity_55, r0_.resolved AS resolved_56, r0_.avoided AS avoided_57, r0_.advance AS advance_58, r0_.late_submission AS late_submission_59, r0_.shortage_duplicated AS shortage_duplicated_60, r0_.discontinuance_duplicated AS discontinuance_duplicated_61, r0_.draft AS draft_62, r0_.deleted_ip_address AS deleted_ip_address_63, r0_.deleted_date AS deleted_date_64, r0_.current_form_lang AS current_form_lang_65, r0_.discontinuation_duplication AS discontinuation_duplication_66, r0_.shortage_duplication AS shortage_duplication_67, r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68, r0_.marker_a1 AS marker_a1_69, r0_.marker_a2 AS marker_a2_70, r0_.marker_a3 AS marker_a3_71, r0_.marker_b1 AS marker_b1_72, r0_.marker_b2 AS marker_b2_73, r0_.marker_b3 AS marker_b3_74, r0_.late_marker_disabled AS late_marker_disabled_75, r0_.tier_3 AS tier_3_76, CONCAT(u1_.first_name, ' ', u1_.last_name) AS sclr_77, r0_.drug_id AS drug_id_78, r0_.type_id AS type_id_79, r0_.discontinuance_reason_id AS discontinuance_reason_id_80, r0_.shortage_reason_id AS shortage_reason_id_81, r0_.parent_object_id AS parent_object_id_82, r0_.last_updated_user_id AS last_updated_user_id_83, r0_.deleted_by_user_id AS deleted_by_user_id_84 FROM reports r0_ LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id LEFT JOIN companies c4_ ON d3_.company_id = c4_.id LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id WHERE r2_.id = ? AND i6_.id = ? AND r0_.parent_object_id IS NULL AND r0_.draft = ? AND r0_.deleted_date IS NULL ORDER BY r0_.en_drug_brand_name ASC LIMIT 10
Parameters: [
1
34321
0
]
SELECT
DISTINCT r0_.id AS id_0,
r0_.number AS number_1,
r0_.created_date AS created_date_2,
r0_.din AS din_3,
r0_.company_name AS company_name_4,
r0_.atc_number AS atc_number_5,
r0_.atc_description AS atc_description_6,
r0_.hc_updated_date AS hc_updated_date_7,
r0_.remaining_supply_date AS remaining_supply_date_8,
r0_.discontinuation_date AS discontinuation_date_9,
r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10,
r0_.anticipated_start_date AS anticipated_start_date_11,
r0_.estimated_end_date AS estimated_end_date_12,
r0_.actual_start_date AS actual_start_date_13,
r0_.actual_end_date AS actual_end_date_14,
r0_.en_info_on_alternative AS en_info_on_alternative_15,
r0_.fr_info_on_alternative AS fr_info_on_alternative_16,
r0_.decision_reversal AS decision_reversal_17,
r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18,
r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19,
r0_.en_discontinuation_comments AS en_discontinuation_comments_20,
r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21,
r0_.updated_date AS updated_date_22,
r0_.last_updated_operation AS last_updated_operation_23,
r0_.last_updated_ip AS last_updated_ip_24,
r0_.en_product_alternative AS en_product_alternative_25,
r0_.fr_product_alternative AS fr_product_alternative_26,
r0_.status AS status_27,
r0_.en_info_for_care_provider AS en_info_for_care_provider_28,
r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29,
r0_.en_mitigation_efforts AS en_mitigation_efforts_30,
r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31,
r0_.en_comments AS en_comments_32,
r0_.fr_comments AS fr_comments_33,
r0_.hc_en_product_alternative AS hc_en_product_alternative_34,
r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35,
r0_.hc_en_shortage_info AS hc_en_shortage_info_36,
r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37,
r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38,
r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39,
r0_.hc_en_comments AS hc_en_comments_40,
r0_.hc_fr_comments AS hc_fr_comments_41,
r0_.en_drug_brand_name AS en_drug_brand_name_42,
r0_.en_drug_proper_name AS en_drug_proper_name_43,
r0_.en_drug_common_name AS en_drug_common_name_44,
r0_.fr_drug_brand_name AS fr_drug_brand_name_45,
r0_.fr_drug_proper_name AS fr_drug_proper_name_46,
r0_.fr_drug_common_name AS fr_drug_common_name_47,
r0_.en_ingredients AS en_ingredients_48,
r0_.fr_ingredients AS fr_ingredients_49,
r0_.drug_strength AS drug_strength_50,
r0_.drug_dosage_form AS drug_dosage_form_51,
r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52,
r0_.drug_route AS drug_route_53,
r0_.drug_route_fr AS drug_route_fr_54,
r0_.drug_package_quantity AS drug_package_quantity_55,
r0_.resolved AS resolved_56,
r0_.avoided AS avoided_57,
r0_.advance AS advance_58,
r0_.late_submission AS late_submission_59,
r0_.shortage_duplicated AS shortage_duplicated_60,
r0_.discontinuance_duplicated AS discontinuance_duplicated_61,
r0_.draft AS draft_62,
r0_.deleted_ip_address AS deleted_ip_address_63,
r0_.deleted_date AS deleted_date_64,
r0_.current_form_lang AS current_form_lang_65,
r0_.discontinuation_duplication AS discontinuation_duplication_66,
r0_.shortage_duplication AS shortage_duplication_67,
r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68,
r0_.marker_a1 AS marker_a1_69,
r0_.marker_a2 AS marker_a2_70,
r0_.marker_a3 AS marker_a3_71,
r0_.marker_b1 AS marker_b1_72,
r0_.marker_b2 AS marker_b2_73,
r0_.marker_b3 AS marker_b3_74,
r0_.late_marker_disabled AS late_marker_disabled_75,
r0_.tier_3 AS tier_3_76,
CONCAT(
u1_.first_name, ' ', u1_.last_name
) AS sclr_77,
r0_.drug_id AS drug_id_78,
r0_.type_id AS type_id_79,
r0_.discontinuance_reason_id AS discontinuance_reason_id_80,
r0_.shortage_reason_id AS shortage_reason_id_81,
r0_.parent_object_id AS parent_object_id_82,
r0_.last_updated_user_id AS last_updated_user_id_83,
r0_.deleted_by_user_id AS deleted_by_user_id_84
FROM
reports r0_
LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id
LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id
LEFT JOIN companies c4_ ON d3_.company_id = c4_.id
LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id
LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id
LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id
WHERE
r2_.id = ?
AND i6_.id = ?
AND r0_.parent_object_id IS NULL
AND r0_.draft = ?
AND r0_.deleted_date IS NULL
ORDER BY
r0_.en_drug_brand_name ASC
LIMIT
10
SELECT DISTINCT r0_.id AS id_0, r0_.number AS number_1, r0_.created_date AS created_date_2, r0_.din AS din_3, r0_.company_name AS company_name_4, r0_.atc_number AS atc_number_5, r0_.atc_description AS atc_description_6, r0_.hc_updated_date AS hc_updated_date_7, r0_.remaining_supply_date AS remaining_supply_date_8, r0_.discontinuation_date AS discontinuation_date_9, r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10, r0_.anticipated_start_date AS anticipated_start_date_11, r0_.estimated_end_date AS estimated_end_date_12, r0_.actual_start_date AS actual_start_date_13, r0_.actual_end_date AS actual_end_date_14, r0_.en_info_on_alternative AS en_info_on_alternative_15, r0_.fr_info_on_alternative AS fr_info_on_alternative_16, r0_.decision_reversal AS decision_reversal_17, r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18, r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19, r0_.en_discontinuation_comments AS en_discontinuation_comments_20, r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21, r0_.updated_date AS updated_date_22, r0_.last_updated_operation AS last_updated_operation_23, r0_.last_updated_ip AS last_updated_ip_24, r0_.en_product_alternative AS en_product_alternative_25, r0_.fr_product_alternative AS fr_product_alternative_26, r0_.status AS status_27, r0_.en_info_for_care_provider AS en_info_for_care_provider_28, r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29, r0_.en_mitigation_efforts AS en_mitigation_efforts_30, r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31, r0_.en_comments AS en_comments_32, r0_.fr_comments AS fr_comments_33, r0_.hc_en_product_alternative AS hc_en_product_alternative_34, r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35, r0_.hc_en_shortage_info AS hc_en_shortage_info_36, r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37, r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38, r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39, r0_.hc_en_comments AS hc_en_comments_40, r0_.hc_fr_comments AS hc_fr_comments_41, r0_.en_drug_brand_name AS en_drug_brand_name_42, r0_.en_drug_proper_name AS en_drug_proper_name_43, r0_.en_drug_common_name AS en_drug_common_name_44, r0_.fr_drug_brand_name AS fr_drug_brand_name_45, r0_.fr_drug_proper_name AS fr_drug_proper_name_46, r0_.fr_drug_common_name AS fr_drug_common_name_47, r0_.en_ingredients AS en_ingredients_48, r0_.fr_ingredients AS fr_ingredients_49, r0_.drug_strength AS drug_strength_50, r0_.drug_dosage_form AS drug_dosage_form_51, r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52, r0_.drug_route AS drug_route_53, r0_.drug_route_fr AS drug_route_fr_54, r0_.drug_package_quantity AS drug_package_quantity_55, r0_.resolved AS resolved_56, r0_.avoided AS avoided_57, r0_.advance AS advance_58, r0_.late_submission AS late_submission_59, r0_.shortage_duplicated AS shortage_duplicated_60, r0_.discontinuance_duplicated AS discontinuance_duplicated_61, r0_.draft AS draft_62, r0_.deleted_ip_address AS deleted_ip_address_63, r0_.deleted_date AS deleted_date_64, r0_.current_form_lang AS current_form_lang_65, r0_.discontinuation_duplication AS discontinuation_duplication_66, r0_.shortage_duplication AS shortage_duplication_67, r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68, r0_.marker_a1 AS marker_a1_69, r0_.marker_a2 AS marker_a2_70, r0_.marker_a3 AS marker_a3_71, r0_.marker_b1 AS marker_b1_72, r0_.marker_b2 AS marker_b2_73, r0_.marker_b3 AS marker_b3_74, r0_.late_marker_disabled AS late_marker_disabled_75, r0_.tier_3 AS tier_3_76, CONCAT(u1_.first_name, ' ', u1_.last_name) AS sclr_77, r0_.drug_id AS drug_id_78, r0_.type_id AS type_id_79, r0_.discontinuance_reason_id AS discontinuance_reason_id_80, r0_.shortage_reason_id AS shortage_reason_id_81, r0_.parent_object_id AS parent_object_id_82, r0_.last_updated_user_id AS last_updated_user_id_83, r0_.deleted_by_user_id AS deleted_by_user_id_84 FROM reports r0_ LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id LEFT JOIN companies c4_ ON d3_.company_id = c4_.id LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id WHERE r2_.id = 1 AND i6_.id = 34321 AND r0_.parent_object_id IS NULL AND r0_.draft = 0 AND r0_.deleted_date IS NULL ORDER BY r0_.en_drug_brand_name ASC LIMIT 10;
|
| 6 |
1.59 ms |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT DISTINCT r0_.id AS id_0, r0_.number AS number_1, r0_.created_date AS created_date_2, r0_.din AS din_3, r0_.company_name AS company_name_4, r0_.atc_number AS atc_number_5, r0_.atc_description AS atc_description_6, r0_.hc_updated_date AS hc_updated_date_7, r0_.remaining_supply_date AS remaining_supply_date_8, r0_.discontinuation_date AS discontinuation_date_9, r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10, r0_.anticipated_start_date AS anticipated_start_date_11, r0_.estimated_end_date AS estimated_end_date_12, r0_.actual_start_date AS actual_start_date_13, r0_.actual_end_date AS actual_end_date_14, r0_.en_info_on_alternative AS en_info_on_alternative_15, r0_.fr_info_on_alternative AS fr_info_on_alternative_16, r0_.decision_reversal AS decision_reversal_17, r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18, r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19, r0_.en_discontinuation_comments AS en_discontinuation_comments_20, r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21, r0_.updated_date AS updated_date_22, r0_.last_updated_operation AS last_updated_operation_23, r0_.last_updated_ip AS last_updated_ip_24, r0_.en_product_alternative AS en_product_alternative_25, r0_.fr_product_alternative AS fr_product_alternative_26, r0_.status AS status_27, r0_.en_info_for_care_provider AS en_info_for_care_provider_28, r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29, r0_.en_mitigation_efforts AS en_mitigation_efforts_30, r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31, r0_.en_comments AS en_comments_32, r0_.fr_comments AS fr_comments_33, r0_.hc_en_product_alternative AS hc_en_product_alternative_34, r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35, r0_.hc_en_shortage_info AS hc_en_shortage_info_36, r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37, r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38, r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39, r0_.hc_en_comments AS hc_en_comments_40, r0_.hc_fr_comments AS hc_fr_comments_41, r0_.en_drug_brand_name AS en_drug_brand_name_42, r0_.en_drug_proper_name AS en_drug_proper_name_43, r0_.en_drug_common_name AS en_drug_common_name_44, r0_.fr_drug_brand_name AS fr_drug_brand_name_45, r0_.fr_drug_proper_name AS fr_drug_proper_name_46, r0_.fr_drug_common_name AS fr_drug_common_name_47, r0_.en_ingredients AS en_ingredients_48, r0_.fr_ingredients AS fr_ingredients_49, r0_.drug_strength AS drug_strength_50, r0_.drug_dosage_form AS drug_dosage_form_51, r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52, r0_.drug_route AS drug_route_53, r0_.drug_route_fr AS drug_route_fr_54, r0_.drug_package_quantity AS drug_package_quantity_55, r0_.resolved AS resolved_56, r0_.avoided AS avoided_57, r0_.advance AS advance_58, r0_.late_submission AS late_submission_59, r0_.shortage_duplicated AS shortage_duplicated_60, r0_.discontinuance_duplicated AS discontinuance_duplicated_61, r0_.draft AS draft_62, r0_.deleted_ip_address AS deleted_ip_address_63, r0_.deleted_date AS deleted_date_64, r0_.current_form_lang AS current_form_lang_65, r0_.discontinuation_duplication AS discontinuation_duplication_66, r0_.shortage_duplication AS shortage_duplication_67, r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68, r0_.marker_a1 AS marker_a1_69, r0_.marker_a2 AS marker_a2_70, r0_.marker_a3 AS marker_a3_71, r0_.marker_b1 AS marker_b1_72, r0_.marker_b2 AS marker_b2_73, r0_.marker_b3 AS marker_b3_74, r0_.late_marker_disabled AS late_marker_disabled_75, r0_.tier_3 AS tier_3_76, CONCAT(u1_.first_name, ' ', u1_.last_name) AS sclr_77 FROM reports r0_ LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id LEFT JOIN companies c4_ ON d3_.company_id = c4_.id LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id WHERE r2_.id = ? AND i6_.id = ? AND r0_.parent_object_id IS NULL AND r0_.draft = ? AND r0_.deleted_date IS NULL ORDER BY r0_.en_drug_brand_name ASC) dctrn_result) dctrn_table
Parameters: [
2
34321
0
]
SELECT
COUNT(*) AS dctrn_count
FROM
(
SELECT
DISTINCT id_0
FROM
(
SELECT
DISTINCT r0_.id AS id_0,
r0_.number AS number_1,
r0_.created_date AS created_date_2,
r0_.din AS din_3,
r0_.company_name AS company_name_4,
r0_.atc_number AS atc_number_5,
r0_.atc_description AS atc_description_6,
r0_.hc_updated_date AS hc_updated_date_7,
r0_.remaining_supply_date AS remaining_supply_date_8,
r0_.discontinuation_date AS discontinuation_date_9,
r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10,
r0_.anticipated_start_date AS anticipated_start_date_11,
r0_.estimated_end_date AS estimated_end_date_12,
r0_.actual_start_date AS actual_start_date_13,
r0_.actual_end_date AS actual_end_date_14,
r0_.en_info_on_alternative AS en_info_on_alternative_15,
r0_.fr_info_on_alternative AS fr_info_on_alternative_16,
r0_.decision_reversal AS decision_reversal_17,
r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18,
r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19,
r0_.en_discontinuation_comments AS en_discontinuation_comments_20,
r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21,
r0_.updated_date AS updated_date_22,
r0_.last_updated_operation AS last_updated_operation_23,
r0_.last_updated_ip AS last_updated_ip_24,
r0_.en_product_alternative AS en_product_alternative_25,
r0_.fr_product_alternative AS fr_product_alternative_26,
r0_.status AS status_27,
r0_.en_info_for_care_provider AS en_info_for_care_provider_28,
r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29,
r0_.en_mitigation_efforts AS en_mitigation_efforts_30,
r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31,
r0_.en_comments AS en_comments_32,
r0_.fr_comments AS fr_comments_33,
r0_.hc_en_product_alternative AS hc_en_product_alternative_34,
r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35,
r0_.hc_en_shortage_info AS hc_en_shortage_info_36,
r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37,
r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38,
r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39,
r0_.hc_en_comments AS hc_en_comments_40,
r0_.hc_fr_comments AS hc_fr_comments_41,
r0_.en_drug_brand_name AS en_drug_brand_name_42,
r0_.en_drug_proper_name AS en_drug_proper_name_43,
r0_.en_drug_common_name AS en_drug_common_name_44,
r0_.fr_drug_brand_name AS fr_drug_brand_name_45,
r0_.fr_drug_proper_name AS fr_drug_proper_name_46,
r0_.fr_drug_common_name AS fr_drug_common_name_47,
r0_.en_ingredients AS en_ingredients_48,
r0_.fr_ingredients AS fr_ingredients_49,
r0_.drug_strength AS drug_strength_50,
r0_.drug_dosage_form AS drug_dosage_form_51,
r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52,
r0_.drug_route AS drug_route_53,
r0_.drug_route_fr AS drug_route_fr_54,
r0_.drug_package_quantity AS drug_package_quantity_55,
r0_.resolved AS resolved_56,
r0_.avoided AS avoided_57,
r0_.advance AS advance_58,
r0_.late_submission AS late_submission_59,
r0_.shortage_duplicated AS shortage_duplicated_60,
r0_.discontinuance_duplicated AS discontinuance_duplicated_61,
r0_.draft AS draft_62,
r0_.deleted_ip_address AS deleted_ip_address_63,
r0_.deleted_date AS deleted_date_64,
r0_.current_form_lang AS current_form_lang_65,
r0_.discontinuation_duplication AS discontinuation_duplication_66,
r0_.shortage_duplication AS shortage_duplication_67,
r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68,
r0_.marker_a1 AS marker_a1_69,
r0_.marker_a2 AS marker_a2_70,
r0_.marker_a3 AS marker_a3_71,
r0_.marker_b1 AS marker_b1_72,
r0_.marker_b2 AS marker_b2_73,
r0_.marker_b3 AS marker_b3_74,
r0_.late_marker_disabled AS late_marker_disabled_75,
r0_.tier_3 AS tier_3_76,
CONCAT(
u1_.first_name, ' ', u1_.last_name
) AS sclr_77
FROM
reports r0_
LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id
LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id
LEFT JOIN companies c4_ ON d3_.company_id = c4_.id
LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id
LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id
LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id
WHERE
r2_.id = ?
AND i6_.id = ?
AND r0_.parent_object_id IS NULL
AND r0_.draft = ?
AND r0_.deleted_date IS NULL
ORDER BY
r0_.en_drug_brand_name ASC
) dctrn_result
) dctrn_table
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT DISTINCT r0_.id AS id_0, r0_.number AS number_1, r0_.created_date AS created_date_2, r0_.din AS din_3, r0_.company_name AS company_name_4, r0_.atc_number AS atc_number_5, r0_.atc_description AS atc_description_6, r0_.hc_updated_date AS hc_updated_date_7, r0_.remaining_supply_date AS remaining_supply_date_8, r0_.discontinuation_date AS discontinuation_date_9, r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10, r0_.anticipated_start_date AS anticipated_start_date_11, r0_.estimated_end_date AS estimated_end_date_12, r0_.actual_start_date AS actual_start_date_13, r0_.actual_end_date AS actual_end_date_14, r0_.en_info_on_alternative AS en_info_on_alternative_15, r0_.fr_info_on_alternative AS fr_info_on_alternative_16, r0_.decision_reversal AS decision_reversal_17, r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18, r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19, r0_.en_discontinuation_comments AS en_discontinuation_comments_20, r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21, r0_.updated_date AS updated_date_22, r0_.last_updated_operation AS last_updated_operation_23, r0_.last_updated_ip AS last_updated_ip_24, r0_.en_product_alternative AS en_product_alternative_25, r0_.fr_product_alternative AS fr_product_alternative_26, r0_.status AS status_27, r0_.en_info_for_care_provider AS en_info_for_care_provider_28, r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29, r0_.en_mitigation_efforts AS en_mitigation_efforts_30, r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31, r0_.en_comments AS en_comments_32, r0_.fr_comments AS fr_comments_33, r0_.hc_en_product_alternative AS hc_en_product_alternative_34, r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35, r0_.hc_en_shortage_info AS hc_en_shortage_info_36, r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37, r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38, r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39, r0_.hc_en_comments AS hc_en_comments_40, r0_.hc_fr_comments AS hc_fr_comments_41, r0_.en_drug_brand_name AS en_drug_brand_name_42, r0_.en_drug_proper_name AS en_drug_proper_name_43, r0_.en_drug_common_name AS en_drug_common_name_44, r0_.fr_drug_brand_name AS fr_drug_brand_name_45, r0_.fr_drug_proper_name AS fr_drug_proper_name_46, r0_.fr_drug_common_name AS fr_drug_common_name_47, r0_.en_ingredients AS en_ingredients_48, r0_.fr_ingredients AS fr_ingredients_49, r0_.drug_strength AS drug_strength_50, r0_.drug_dosage_form AS drug_dosage_form_51, r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52, r0_.drug_route AS drug_route_53, r0_.drug_route_fr AS drug_route_fr_54, r0_.drug_package_quantity AS drug_package_quantity_55, r0_.resolved AS resolved_56, r0_.avoided AS avoided_57, r0_.advance AS advance_58, r0_.late_submission AS late_submission_59, r0_.shortage_duplicated AS shortage_duplicated_60, r0_.discontinuance_duplicated AS discontinuance_duplicated_61, r0_.draft AS draft_62, r0_.deleted_ip_address AS deleted_ip_address_63, r0_.deleted_date AS deleted_date_64, r0_.current_form_lang AS current_form_lang_65, r0_.discontinuation_duplication AS discontinuation_duplication_66, r0_.shortage_duplication AS shortage_duplication_67, r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68, r0_.marker_a1 AS marker_a1_69, r0_.marker_a2 AS marker_a2_70, r0_.marker_a3 AS marker_a3_71, r0_.marker_b1 AS marker_b1_72, r0_.marker_b2 AS marker_b2_73, r0_.marker_b3 AS marker_b3_74, r0_.late_marker_disabled AS late_marker_disabled_75, r0_.tier_3 AS tier_3_76, CONCAT(u1_.first_name, ' ', u1_.last_name) AS sclr_77 FROM reports r0_ LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id LEFT JOIN companies c4_ ON d3_.company_id = c4_.id LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id WHERE r2_.id = 2 AND i6_.id = 34321 AND r0_.parent_object_id IS NULL AND r0_.draft = 0 AND r0_.deleted_date IS NULL ORDER BY r0_.en_drug_brand_name ASC) dctrn_result) dctrn_table;
|
| 7 |
1.33 ms |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT DISTINCT r0_.id AS id_0, r0_.number AS number_1, r0_.created_date AS created_date_2, r0_.din AS din_3, r0_.company_name AS company_name_4, r0_.atc_number AS atc_number_5, r0_.atc_description AS atc_description_6, r0_.hc_updated_date AS hc_updated_date_7, r0_.remaining_supply_date AS remaining_supply_date_8, r0_.discontinuation_date AS discontinuation_date_9, r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10, r0_.anticipated_start_date AS anticipated_start_date_11, r0_.estimated_end_date AS estimated_end_date_12, r0_.actual_start_date AS actual_start_date_13, r0_.actual_end_date AS actual_end_date_14, r0_.en_info_on_alternative AS en_info_on_alternative_15, r0_.fr_info_on_alternative AS fr_info_on_alternative_16, r0_.decision_reversal AS decision_reversal_17, r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18, r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19, r0_.en_discontinuation_comments AS en_discontinuation_comments_20, r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21, r0_.updated_date AS updated_date_22, r0_.last_updated_operation AS last_updated_operation_23, r0_.last_updated_ip AS last_updated_ip_24, r0_.en_product_alternative AS en_product_alternative_25, r0_.fr_product_alternative AS fr_product_alternative_26, r0_.status AS status_27, r0_.en_info_for_care_provider AS en_info_for_care_provider_28, r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29, r0_.en_mitigation_efforts AS en_mitigation_efforts_30, r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31, r0_.en_comments AS en_comments_32, r0_.fr_comments AS fr_comments_33, r0_.hc_en_product_alternative AS hc_en_product_alternative_34, r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35, r0_.hc_en_shortage_info AS hc_en_shortage_info_36, r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37, r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38, r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39, r0_.hc_en_comments AS hc_en_comments_40, r0_.hc_fr_comments AS hc_fr_comments_41, r0_.en_drug_brand_name AS en_drug_brand_name_42, r0_.en_drug_proper_name AS en_drug_proper_name_43, r0_.en_drug_common_name AS en_drug_common_name_44, r0_.fr_drug_brand_name AS fr_drug_brand_name_45, r0_.fr_drug_proper_name AS fr_drug_proper_name_46, r0_.fr_drug_common_name AS fr_drug_common_name_47, r0_.en_ingredients AS en_ingredients_48, r0_.fr_ingredients AS fr_ingredients_49, r0_.drug_strength AS drug_strength_50, r0_.drug_dosage_form AS drug_dosage_form_51, r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52, r0_.drug_route AS drug_route_53, r0_.drug_route_fr AS drug_route_fr_54, r0_.drug_package_quantity AS drug_package_quantity_55, r0_.resolved AS resolved_56, r0_.avoided AS avoided_57, r0_.advance AS advance_58, r0_.late_submission AS late_submission_59, r0_.shortage_duplicated AS shortage_duplicated_60, r0_.discontinuance_duplicated AS discontinuance_duplicated_61, r0_.draft AS draft_62, r0_.deleted_ip_address AS deleted_ip_address_63, r0_.deleted_date AS deleted_date_64, r0_.current_form_lang AS current_form_lang_65, r0_.discontinuation_duplication AS discontinuation_duplication_66, r0_.shortage_duplication AS shortage_duplication_67, r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68, r0_.marker_a1 AS marker_a1_69, r0_.marker_a2 AS marker_a2_70, r0_.marker_a3 AS marker_a3_71, r0_.marker_b1 AS marker_b1_72, r0_.marker_b2 AS marker_b2_73, r0_.marker_b3 AS marker_b3_74, r0_.late_marker_disabled AS late_marker_disabled_75, r0_.tier_3 AS tier_3_76, CONCAT(u1_.first_name, ' ', u1_.last_name) AS sclr_77 FROM reports r0_ LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id LEFT JOIN companies c4_ ON d3_.company_id = c4_.id LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id WHERE r2_.id = ? AND i6_.id = ? AND r0_.parent_object_id IS NULL AND r0_.draft = ? AND r0_.deleted_date IS NULL ORDER BY r0_.en_drug_brand_name ASC) dctrn_result) dctrn_table
Parameters: [
1
34321
0
]
SELECT
COUNT(*) AS dctrn_count
FROM
(
SELECT
DISTINCT id_0
FROM
(
SELECT
DISTINCT r0_.id AS id_0,
r0_.number AS number_1,
r0_.created_date AS created_date_2,
r0_.din AS din_3,
r0_.company_name AS company_name_4,
r0_.atc_number AS atc_number_5,
r0_.atc_description AS atc_description_6,
r0_.hc_updated_date AS hc_updated_date_7,
r0_.remaining_supply_date AS remaining_supply_date_8,
r0_.discontinuation_date AS discontinuation_date_9,
r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10,
r0_.anticipated_start_date AS anticipated_start_date_11,
r0_.estimated_end_date AS estimated_end_date_12,
r0_.actual_start_date AS actual_start_date_13,
r0_.actual_end_date AS actual_end_date_14,
r0_.en_info_on_alternative AS en_info_on_alternative_15,
r0_.fr_info_on_alternative AS fr_info_on_alternative_16,
r0_.decision_reversal AS decision_reversal_17,
r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18,
r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19,
r0_.en_discontinuation_comments AS en_discontinuation_comments_20,
r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21,
r0_.updated_date AS updated_date_22,
r0_.last_updated_operation AS last_updated_operation_23,
r0_.last_updated_ip AS last_updated_ip_24,
r0_.en_product_alternative AS en_product_alternative_25,
r0_.fr_product_alternative AS fr_product_alternative_26,
r0_.status AS status_27,
r0_.en_info_for_care_provider AS en_info_for_care_provider_28,
r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29,
r0_.en_mitigation_efforts AS en_mitigation_efforts_30,
r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31,
r0_.en_comments AS en_comments_32,
r0_.fr_comments AS fr_comments_33,
r0_.hc_en_product_alternative AS hc_en_product_alternative_34,
r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35,
r0_.hc_en_shortage_info AS hc_en_shortage_info_36,
r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37,
r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38,
r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39,
r0_.hc_en_comments AS hc_en_comments_40,
r0_.hc_fr_comments AS hc_fr_comments_41,
r0_.en_drug_brand_name AS en_drug_brand_name_42,
r0_.en_drug_proper_name AS en_drug_proper_name_43,
r0_.en_drug_common_name AS en_drug_common_name_44,
r0_.fr_drug_brand_name AS fr_drug_brand_name_45,
r0_.fr_drug_proper_name AS fr_drug_proper_name_46,
r0_.fr_drug_common_name AS fr_drug_common_name_47,
r0_.en_ingredients AS en_ingredients_48,
r0_.fr_ingredients AS fr_ingredients_49,
r0_.drug_strength AS drug_strength_50,
r0_.drug_dosage_form AS drug_dosage_form_51,
r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52,
r0_.drug_route AS drug_route_53,
r0_.drug_route_fr AS drug_route_fr_54,
r0_.drug_package_quantity AS drug_package_quantity_55,
r0_.resolved AS resolved_56,
r0_.avoided AS avoided_57,
r0_.advance AS advance_58,
r0_.late_submission AS late_submission_59,
r0_.shortage_duplicated AS shortage_duplicated_60,
r0_.discontinuance_duplicated AS discontinuance_duplicated_61,
r0_.draft AS draft_62,
r0_.deleted_ip_address AS deleted_ip_address_63,
r0_.deleted_date AS deleted_date_64,
r0_.current_form_lang AS current_form_lang_65,
r0_.discontinuation_duplication AS discontinuation_duplication_66,
r0_.shortage_duplication AS shortage_duplication_67,
r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68,
r0_.marker_a1 AS marker_a1_69,
r0_.marker_a2 AS marker_a2_70,
r0_.marker_a3 AS marker_a3_71,
r0_.marker_b1 AS marker_b1_72,
r0_.marker_b2 AS marker_b2_73,
r0_.marker_b3 AS marker_b3_74,
r0_.late_marker_disabled AS late_marker_disabled_75,
r0_.tier_3 AS tier_3_76,
CONCAT(
u1_.first_name, ' ', u1_.last_name
) AS sclr_77
FROM
reports r0_
LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id
LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id
LEFT JOIN companies c4_ ON d3_.company_id = c4_.id
LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id
LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id
LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id
WHERE
r2_.id = ?
AND i6_.id = ?
AND r0_.parent_object_id IS NULL
AND r0_.draft = ?
AND r0_.deleted_date IS NULL
ORDER BY
r0_.en_drug_brand_name ASC
) dctrn_result
) dctrn_table
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT DISTINCT r0_.id AS id_0, r0_.number AS number_1, r0_.created_date AS created_date_2, r0_.din AS din_3, r0_.company_name AS company_name_4, r0_.atc_number AS atc_number_5, r0_.atc_description AS atc_description_6, r0_.hc_updated_date AS hc_updated_date_7, r0_.remaining_supply_date AS remaining_supply_date_8, r0_.discontinuation_date AS discontinuation_date_9, r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10, r0_.anticipated_start_date AS anticipated_start_date_11, r0_.estimated_end_date AS estimated_end_date_12, r0_.actual_start_date AS actual_start_date_13, r0_.actual_end_date AS actual_end_date_14, r0_.en_info_on_alternative AS en_info_on_alternative_15, r0_.fr_info_on_alternative AS fr_info_on_alternative_16, r0_.decision_reversal AS decision_reversal_17, r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18, r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19, r0_.en_discontinuation_comments AS en_discontinuation_comments_20, r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21, r0_.updated_date AS updated_date_22, r0_.last_updated_operation AS last_updated_operation_23, r0_.last_updated_ip AS last_updated_ip_24, r0_.en_product_alternative AS en_product_alternative_25, r0_.fr_product_alternative AS fr_product_alternative_26, r0_.status AS status_27, r0_.en_info_for_care_provider AS en_info_for_care_provider_28, r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29, r0_.en_mitigation_efforts AS en_mitigation_efforts_30, r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31, r0_.en_comments AS en_comments_32, r0_.fr_comments AS fr_comments_33, r0_.hc_en_product_alternative AS hc_en_product_alternative_34, r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35, r0_.hc_en_shortage_info AS hc_en_shortage_info_36, r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37, r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38, r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39, r0_.hc_en_comments AS hc_en_comments_40, r0_.hc_fr_comments AS hc_fr_comments_41, r0_.en_drug_brand_name AS en_drug_brand_name_42, r0_.en_drug_proper_name AS en_drug_proper_name_43, r0_.en_drug_common_name AS en_drug_common_name_44, r0_.fr_drug_brand_name AS fr_drug_brand_name_45, r0_.fr_drug_proper_name AS fr_drug_proper_name_46, r0_.fr_drug_common_name AS fr_drug_common_name_47, r0_.en_ingredients AS en_ingredients_48, r0_.fr_ingredients AS fr_ingredients_49, r0_.drug_strength AS drug_strength_50, r0_.drug_dosage_form AS drug_dosage_form_51, r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52, r0_.drug_route AS drug_route_53, r0_.drug_route_fr AS drug_route_fr_54, r0_.drug_package_quantity AS drug_package_quantity_55, r0_.resolved AS resolved_56, r0_.avoided AS avoided_57, r0_.advance AS advance_58, r0_.late_submission AS late_submission_59, r0_.shortage_duplicated AS shortage_duplicated_60, r0_.discontinuance_duplicated AS discontinuance_duplicated_61, r0_.draft AS draft_62, r0_.deleted_ip_address AS deleted_ip_address_63, r0_.deleted_date AS deleted_date_64, r0_.current_form_lang AS current_form_lang_65, r0_.discontinuation_duplication AS discontinuation_duplication_66, r0_.shortage_duplication AS shortage_duplication_67, r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68, r0_.marker_a1 AS marker_a1_69, r0_.marker_a2 AS marker_a2_70, r0_.marker_a3 AS marker_a3_71, r0_.marker_b1 AS marker_b1_72, r0_.marker_b2 AS marker_b2_73, r0_.marker_b3 AS marker_b3_74, r0_.late_marker_disabled AS late_marker_disabled_75, r0_.tier_3 AS tier_3_76, CONCAT(u1_.first_name, ' ', u1_.last_name) AS sclr_77 FROM reports r0_ LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id LEFT JOIN companies c4_ ON d3_.company_id = c4_.id LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id WHERE r2_.id = 1 AND i6_.id = 34321 AND r0_.parent_object_id IS NULL AND r0_.draft = 0 AND r0_.deleted_date IS NULL ORDER BY r0_.en_drug_brand_name ASC) dctrn_result) dctrn_table;
|
| 8 |
1.37 ms |
SELECT DISTINCT r0_.id AS id_0, r0_.number AS number_1, r0_.created_date AS created_date_2, r0_.din AS din_3, r0_.company_name AS company_name_4, r0_.atc_number AS atc_number_5, r0_.atc_description AS atc_description_6, r0_.hc_updated_date AS hc_updated_date_7, r0_.remaining_supply_date AS remaining_supply_date_8, r0_.discontinuation_date AS discontinuation_date_9, r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10, r0_.anticipated_start_date AS anticipated_start_date_11, r0_.estimated_end_date AS estimated_end_date_12, r0_.actual_start_date AS actual_start_date_13, r0_.actual_end_date AS actual_end_date_14, r0_.en_info_on_alternative AS en_info_on_alternative_15, r0_.fr_info_on_alternative AS fr_info_on_alternative_16, r0_.decision_reversal AS decision_reversal_17, r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18, r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19, r0_.en_discontinuation_comments AS en_discontinuation_comments_20, r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21, r0_.updated_date AS updated_date_22, r0_.last_updated_operation AS last_updated_operation_23, r0_.last_updated_ip AS last_updated_ip_24, r0_.en_product_alternative AS en_product_alternative_25, r0_.fr_product_alternative AS fr_product_alternative_26, r0_.status AS status_27, r0_.en_info_for_care_provider AS en_info_for_care_provider_28, r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29, r0_.en_mitigation_efforts AS en_mitigation_efforts_30, r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31, r0_.en_comments AS en_comments_32, r0_.fr_comments AS fr_comments_33, r0_.hc_en_product_alternative AS hc_en_product_alternative_34, r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35, r0_.hc_en_shortage_info AS hc_en_shortage_info_36, r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37, r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38, r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39, r0_.hc_en_comments AS hc_en_comments_40, r0_.hc_fr_comments AS hc_fr_comments_41, r0_.en_drug_brand_name AS en_drug_brand_name_42, r0_.en_drug_proper_name AS en_drug_proper_name_43, r0_.en_drug_common_name AS en_drug_common_name_44, r0_.fr_drug_brand_name AS fr_drug_brand_name_45, r0_.fr_drug_proper_name AS fr_drug_proper_name_46, r0_.fr_drug_common_name AS fr_drug_common_name_47, r0_.en_ingredients AS en_ingredients_48, r0_.fr_ingredients AS fr_ingredients_49, r0_.drug_strength AS drug_strength_50, r0_.drug_dosage_form AS drug_dosage_form_51, r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52, r0_.drug_route AS drug_route_53, r0_.drug_route_fr AS drug_route_fr_54, r0_.drug_package_quantity AS drug_package_quantity_55, r0_.resolved AS resolved_56, r0_.avoided AS avoided_57, r0_.advance AS advance_58, r0_.late_submission AS late_submission_59, r0_.shortage_duplicated AS shortage_duplicated_60, r0_.discontinuance_duplicated AS discontinuance_duplicated_61, r0_.draft AS draft_62, r0_.deleted_ip_address AS deleted_ip_address_63, r0_.deleted_date AS deleted_date_64, r0_.current_form_lang AS current_form_lang_65, r0_.discontinuation_duplication AS discontinuation_duplication_66, r0_.shortage_duplication AS shortage_duplication_67, r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68, r0_.marker_a1 AS marker_a1_69, r0_.marker_a2 AS marker_a2_70, r0_.marker_a3 AS marker_a3_71, r0_.marker_b1 AS marker_b1_72, r0_.marker_b2 AS marker_b2_73, r0_.marker_b3 AS marker_b3_74, r0_.late_marker_disabled AS late_marker_disabled_75, r0_.tier_3 AS tier_3_76, CONCAT(u1_.first_name, ' ', u1_.last_name) AS sclr_77, r0_.drug_id AS drug_id_78, r0_.type_id AS type_id_79, r0_.discontinuance_reason_id AS discontinuance_reason_id_80, r0_.shortage_reason_id AS shortage_reason_id_81, r0_.parent_object_id AS parent_object_id_82, r0_.last_updated_user_id AS last_updated_user_id_83, r0_.deleted_by_user_id AS deleted_by_user_id_84 FROM reports r0_ LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id LEFT JOIN companies c4_ ON d3_.company_id = c4_.id LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id WHERE r2_.id = ? AND i6_.id = ? AND ((r0_.actual_start_date < ? AND r0_.actual_end_date IS NULL) OR (r0_.actual_start_date <= ? AND r0_.actual_end_date >= ?)) AND r0_.parent_object_id IS NULL AND r0_.draft = ? AND r0_.deleted_date IS NULL ORDER BY r0_.updated_date DESC
Parameters: [
1
34321
"2025-12-10 04:19:25"
"2025-12-10 04:19:25"
"2025-12-10 04:19:25"
0
]
SELECT
DISTINCT r0_.id AS id_0,
r0_.number AS number_1,
r0_.created_date AS created_date_2,
r0_.din AS din_3,
r0_.company_name AS company_name_4,
r0_.atc_number AS atc_number_5,
r0_.atc_description AS atc_description_6,
r0_.hc_updated_date AS hc_updated_date_7,
r0_.remaining_supply_date AS remaining_supply_date_8,
r0_.discontinuation_date AS discontinuation_date_9,
r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10,
r0_.anticipated_start_date AS anticipated_start_date_11,
r0_.estimated_end_date AS estimated_end_date_12,
r0_.actual_start_date AS actual_start_date_13,
r0_.actual_end_date AS actual_end_date_14,
r0_.en_info_on_alternative AS en_info_on_alternative_15,
r0_.fr_info_on_alternative AS fr_info_on_alternative_16,
r0_.decision_reversal AS decision_reversal_17,
r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18,
r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19,
r0_.en_discontinuation_comments AS en_discontinuation_comments_20,
r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21,
r0_.updated_date AS updated_date_22,
r0_.last_updated_operation AS last_updated_operation_23,
r0_.last_updated_ip AS last_updated_ip_24,
r0_.en_product_alternative AS en_product_alternative_25,
r0_.fr_product_alternative AS fr_product_alternative_26,
r0_.status AS status_27,
r0_.en_info_for_care_provider AS en_info_for_care_provider_28,
r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29,
r0_.en_mitigation_efforts AS en_mitigation_efforts_30,
r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31,
r0_.en_comments AS en_comments_32,
r0_.fr_comments AS fr_comments_33,
r0_.hc_en_product_alternative AS hc_en_product_alternative_34,
r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35,
r0_.hc_en_shortage_info AS hc_en_shortage_info_36,
r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37,
r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38,
r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39,
r0_.hc_en_comments AS hc_en_comments_40,
r0_.hc_fr_comments AS hc_fr_comments_41,
r0_.en_drug_brand_name AS en_drug_brand_name_42,
r0_.en_drug_proper_name AS en_drug_proper_name_43,
r0_.en_drug_common_name AS en_drug_common_name_44,
r0_.fr_drug_brand_name AS fr_drug_brand_name_45,
r0_.fr_drug_proper_name AS fr_drug_proper_name_46,
r0_.fr_drug_common_name AS fr_drug_common_name_47,
r0_.en_ingredients AS en_ingredients_48,
r0_.fr_ingredients AS fr_ingredients_49,
r0_.drug_strength AS drug_strength_50,
r0_.drug_dosage_form AS drug_dosage_form_51,
r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52,
r0_.drug_route AS drug_route_53,
r0_.drug_route_fr AS drug_route_fr_54,
r0_.drug_package_quantity AS drug_package_quantity_55,
r0_.resolved AS resolved_56,
r0_.avoided AS avoided_57,
r0_.advance AS advance_58,
r0_.late_submission AS late_submission_59,
r0_.shortage_duplicated AS shortage_duplicated_60,
r0_.discontinuance_duplicated AS discontinuance_duplicated_61,
r0_.draft AS draft_62,
r0_.deleted_ip_address AS deleted_ip_address_63,
r0_.deleted_date AS deleted_date_64,
r0_.current_form_lang AS current_form_lang_65,
r0_.discontinuation_duplication AS discontinuation_duplication_66,
r0_.shortage_duplication AS shortage_duplication_67,
r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68,
r0_.marker_a1 AS marker_a1_69,
r0_.marker_a2 AS marker_a2_70,
r0_.marker_a3 AS marker_a3_71,
r0_.marker_b1 AS marker_b1_72,
r0_.marker_b2 AS marker_b2_73,
r0_.marker_b3 AS marker_b3_74,
r0_.late_marker_disabled AS late_marker_disabled_75,
r0_.tier_3 AS tier_3_76,
CONCAT(
u1_.first_name, ' ', u1_.last_name
) AS sclr_77,
r0_.drug_id AS drug_id_78,
r0_.type_id AS type_id_79,
r0_.discontinuance_reason_id AS discontinuance_reason_id_80,
r0_.shortage_reason_id AS shortage_reason_id_81,
r0_.parent_object_id AS parent_object_id_82,
r0_.last_updated_user_id AS last_updated_user_id_83,
r0_.deleted_by_user_id AS deleted_by_user_id_84
FROM
reports r0_
LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id
LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id
LEFT JOIN companies c4_ ON d3_.company_id = c4_.id
LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id
LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id
LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id
WHERE
r2_.id = ?
AND i6_.id = ?
AND (
(
r0_.actual_start_date < ?
AND r0_.actual_end_date IS NULL
)
OR (
r0_.actual_start_date <= ?
AND r0_.actual_end_date >= ?
)
)
AND r0_.parent_object_id IS NULL
AND r0_.draft = ?
AND r0_.deleted_date IS NULL
ORDER BY
r0_.updated_date DESC
SELECT DISTINCT r0_.id AS id_0, r0_.number AS number_1, r0_.created_date AS created_date_2, r0_.din AS din_3, r0_.company_name AS company_name_4, r0_.atc_number AS atc_number_5, r0_.atc_description AS atc_description_6, r0_.hc_updated_date AS hc_updated_date_7, r0_.remaining_supply_date AS remaining_supply_date_8, r0_.discontinuation_date AS discontinuation_date_9, r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10, r0_.anticipated_start_date AS anticipated_start_date_11, r0_.estimated_end_date AS estimated_end_date_12, r0_.actual_start_date AS actual_start_date_13, r0_.actual_end_date AS actual_end_date_14, r0_.en_info_on_alternative AS en_info_on_alternative_15, r0_.fr_info_on_alternative AS fr_info_on_alternative_16, r0_.decision_reversal AS decision_reversal_17, r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18, r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19, r0_.en_discontinuation_comments AS en_discontinuation_comments_20, r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21, r0_.updated_date AS updated_date_22, r0_.last_updated_operation AS last_updated_operation_23, r0_.last_updated_ip AS last_updated_ip_24, r0_.en_product_alternative AS en_product_alternative_25, r0_.fr_product_alternative AS fr_product_alternative_26, r0_.status AS status_27, r0_.en_info_for_care_provider AS en_info_for_care_provider_28, r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29, r0_.en_mitigation_efforts AS en_mitigation_efforts_30, r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31, r0_.en_comments AS en_comments_32, r0_.fr_comments AS fr_comments_33, r0_.hc_en_product_alternative AS hc_en_product_alternative_34, r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35, r0_.hc_en_shortage_info AS hc_en_shortage_info_36, r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37, r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38, r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39, r0_.hc_en_comments AS hc_en_comments_40, r0_.hc_fr_comments AS hc_fr_comments_41, r0_.en_drug_brand_name AS en_drug_brand_name_42, r0_.en_drug_proper_name AS en_drug_proper_name_43, r0_.en_drug_common_name AS en_drug_common_name_44, r0_.fr_drug_brand_name AS fr_drug_brand_name_45, r0_.fr_drug_proper_name AS fr_drug_proper_name_46, r0_.fr_drug_common_name AS fr_drug_common_name_47, r0_.en_ingredients AS en_ingredients_48, r0_.fr_ingredients AS fr_ingredients_49, r0_.drug_strength AS drug_strength_50, r0_.drug_dosage_form AS drug_dosage_form_51, r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52, r0_.drug_route AS drug_route_53, r0_.drug_route_fr AS drug_route_fr_54, r0_.drug_package_quantity AS drug_package_quantity_55, r0_.resolved AS resolved_56, r0_.avoided AS avoided_57, r0_.advance AS advance_58, r0_.late_submission AS late_submission_59, r0_.shortage_duplicated AS shortage_duplicated_60, r0_.discontinuance_duplicated AS discontinuance_duplicated_61, r0_.draft AS draft_62, r0_.deleted_ip_address AS deleted_ip_address_63, r0_.deleted_date AS deleted_date_64, r0_.current_form_lang AS current_form_lang_65, r0_.discontinuation_duplication AS discontinuation_duplication_66, r0_.shortage_duplication AS shortage_duplication_67, r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68, r0_.marker_a1 AS marker_a1_69, r0_.marker_a2 AS marker_a2_70, r0_.marker_a3 AS marker_a3_71, r0_.marker_b1 AS marker_b1_72, r0_.marker_b2 AS marker_b2_73, r0_.marker_b3 AS marker_b3_74, r0_.late_marker_disabled AS late_marker_disabled_75, r0_.tier_3 AS tier_3_76, CONCAT(u1_.first_name, ' ', u1_.last_name) AS sclr_77, r0_.drug_id AS drug_id_78, r0_.type_id AS type_id_79, r0_.discontinuance_reason_id AS discontinuance_reason_id_80, r0_.shortage_reason_id AS shortage_reason_id_81, r0_.parent_object_id AS parent_object_id_82, r0_.last_updated_user_id AS last_updated_user_id_83, r0_.deleted_by_user_id AS deleted_by_user_id_84 FROM reports r0_ LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id LEFT JOIN companies c4_ ON d3_.company_id = c4_.id LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id WHERE r2_.id = 1 AND i6_.id = 34321 AND ((r0_.actual_start_date < '2025-12-10 04:19:25' AND r0_.actual_end_date IS NULL) OR (r0_.actual_start_date <= '2025-12-10 04:19:25' AND r0_.actual_end_date >= '2025-12-10 04:19:25')) AND r0_.parent_object_id IS NULL AND r0_.draft = 0 AND r0_.deleted_date IS NULL ORDER BY r0_.updated_date DESC;
|
| 9 |
1.35 ms |
SELECT DISTINCT r0_.id AS id_0, r0_.number AS number_1, r0_.created_date AS created_date_2, r0_.din AS din_3, r0_.company_name AS company_name_4, r0_.atc_number AS atc_number_5, r0_.atc_description AS atc_description_6, r0_.hc_updated_date AS hc_updated_date_7, r0_.remaining_supply_date AS remaining_supply_date_8, r0_.discontinuation_date AS discontinuation_date_9, r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10, r0_.anticipated_start_date AS anticipated_start_date_11, r0_.estimated_end_date AS estimated_end_date_12, r0_.actual_start_date AS actual_start_date_13, r0_.actual_end_date AS actual_end_date_14, r0_.en_info_on_alternative AS en_info_on_alternative_15, r0_.fr_info_on_alternative AS fr_info_on_alternative_16, r0_.decision_reversal AS decision_reversal_17, r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18, r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19, r0_.en_discontinuation_comments AS en_discontinuation_comments_20, r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21, r0_.updated_date AS updated_date_22, r0_.last_updated_operation AS last_updated_operation_23, r0_.last_updated_ip AS last_updated_ip_24, r0_.en_product_alternative AS en_product_alternative_25, r0_.fr_product_alternative AS fr_product_alternative_26, r0_.status AS status_27, r0_.en_info_for_care_provider AS en_info_for_care_provider_28, r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29, r0_.en_mitigation_efforts AS en_mitigation_efforts_30, r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31, r0_.en_comments AS en_comments_32, r0_.fr_comments AS fr_comments_33, r0_.hc_en_product_alternative AS hc_en_product_alternative_34, r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35, r0_.hc_en_shortage_info AS hc_en_shortage_info_36, r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37, r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38, r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39, r0_.hc_en_comments AS hc_en_comments_40, r0_.hc_fr_comments AS hc_fr_comments_41, r0_.en_drug_brand_name AS en_drug_brand_name_42, r0_.en_drug_proper_name AS en_drug_proper_name_43, r0_.en_drug_common_name AS en_drug_common_name_44, r0_.fr_drug_brand_name AS fr_drug_brand_name_45, r0_.fr_drug_proper_name AS fr_drug_proper_name_46, r0_.fr_drug_common_name AS fr_drug_common_name_47, r0_.en_ingredients AS en_ingredients_48, r0_.fr_ingredients AS fr_ingredients_49, r0_.drug_strength AS drug_strength_50, r0_.drug_dosage_form AS drug_dosage_form_51, r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52, r0_.drug_route AS drug_route_53, r0_.drug_route_fr AS drug_route_fr_54, r0_.drug_package_quantity AS drug_package_quantity_55, r0_.resolved AS resolved_56, r0_.avoided AS avoided_57, r0_.advance AS advance_58, r0_.late_submission AS late_submission_59, r0_.shortage_duplicated AS shortage_duplicated_60, r0_.discontinuance_duplicated AS discontinuance_duplicated_61, r0_.draft AS draft_62, r0_.deleted_ip_address AS deleted_ip_address_63, r0_.deleted_date AS deleted_date_64, r0_.current_form_lang AS current_form_lang_65, r0_.discontinuation_duplication AS discontinuation_duplication_66, r0_.shortage_duplication AS shortage_duplication_67, r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68, r0_.marker_a1 AS marker_a1_69, r0_.marker_a2 AS marker_a2_70, r0_.marker_a3 AS marker_a3_71, r0_.marker_b1 AS marker_b1_72, r0_.marker_b2 AS marker_b2_73, r0_.marker_b3 AS marker_b3_74, r0_.late_marker_disabled AS late_marker_disabled_75, r0_.tier_3 AS tier_3_76, CONCAT(u1_.first_name, ' ', u1_.last_name) AS sclr_77, r0_.drug_id AS drug_id_78, r0_.type_id AS type_id_79, r0_.discontinuance_reason_id AS discontinuance_reason_id_80, r0_.shortage_reason_id AS shortage_reason_id_81, r0_.parent_object_id AS parent_object_id_82, r0_.last_updated_user_id AS last_updated_user_id_83, r0_.deleted_by_user_id AS deleted_by_user_id_84 FROM reports r0_ LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id LEFT JOIN companies c4_ ON d3_.company_id = c4_.id LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id WHERE r2_.id = ? AND i6_.id = ? AND r0_.parent_object_id IS NULL AND r0_.draft = ? AND r0_.discontinuation_date <= ? AND r0_.deleted_date IS NULL ORDER BY r0_.updated_date DESC
Parameters: [
2
34321
0
"2025-12-10 04:19:25"
]
SELECT
DISTINCT r0_.id AS id_0,
r0_.number AS number_1,
r0_.created_date AS created_date_2,
r0_.din AS din_3,
r0_.company_name AS company_name_4,
r0_.atc_number AS atc_number_5,
r0_.atc_description AS atc_description_6,
r0_.hc_updated_date AS hc_updated_date_7,
r0_.remaining_supply_date AS remaining_supply_date_8,
r0_.discontinuation_date AS discontinuation_date_9,
r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10,
r0_.anticipated_start_date AS anticipated_start_date_11,
r0_.estimated_end_date AS estimated_end_date_12,
r0_.actual_start_date AS actual_start_date_13,
r0_.actual_end_date AS actual_end_date_14,
r0_.en_info_on_alternative AS en_info_on_alternative_15,
r0_.fr_info_on_alternative AS fr_info_on_alternative_16,
r0_.decision_reversal AS decision_reversal_17,
r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18,
r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19,
r0_.en_discontinuation_comments AS en_discontinuation_comments_20,
r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21,
r0_.updated_date AS updated_date_22,
r0_.last_updated_operation AS last_updated_operation_23,
r0_.last_updated_ip AS last_updated_ip_24,
r0_.en_product_alternative AS en_product_alternative_25,
r0_.fr_product_alternative AS fr_product_alternative_26,
r0_.status AS status_27,
r0_.en_info_for_care_provider AS en_info_for_care_provider_28,
r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29,
r0_.en_mitigation_efforts AS en_mitigation_efforts_30,
r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31,
r0_.en_comments AS en_comments_32,
r0_.fr_comments AS fr_comments_33,
r0_.hc_en_product_alternative AS hc_en_product_alternative_34,
r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35,
r0_.hc_en_shortage_info AS hc_en_shortage_info_36,
r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37,
r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38,
r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39,
r0_.hc_en_comments AS hc_en_comments_40,
r0_.hc_fr_comments AS hc_fr_comments_41,
r0_.en_drug_brand_name AS en_drug_brand_name_42,
r0_.en_drug_proper_name AS en_drug_proper_name_43,
r0_.en_drug_common_name AS en_drug_common_name_44,
r0_.fr_drug_brand_name AS fr_drug_brand_name_45,
r0_.fr_drug_proper_name AS fr_drug_proper_name_46,
r0_.fr_drug_common_name AS fr_drug_common_name_47,
r0_.en_ingredients AS en_ingredients_48,
r0_.fr_ingredients AS fr_ingredients_49,
r0_.drug_strength AS drug_strength_50,
r0_.drug_dosage_form AS drug_dosage_form_51,
r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52,
r0_.drug_route AS drug_route_53,
r0_.drug_route_fr AS drug_route_fr_54,
r0_.drug_package_quantity AS drug_package_quantity_55,
r0_.resolved AS resolved_56,
r0_.avoided AS avoided_57,
r0_.advance AS advance_58,
r0_.late_submission AS late_submission_59,
r0_.shortage_duplicated AS shortage_duplicated_60,
r0_.discontinuance_duplicated AS discontinuance_duplicated_61,
r0_.draft AS draft_62,
r0_.deleted_ip_address AS deleted_ip_address_63,
r0_.deleted_date AS deleted_date_64,
r0_.current_form_lang AS current_form_lang_65,
r0_.discontinuation_duplication AS discontinuation_duplication_66,
r0_.shortage_duplication AS shortage_duplication_67,
r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68,
r0_.marker_a1 AS marker_a1_69,
r0_.marker_a2 AS marker_a2_70,
r0_.marker_a3 AS marker_a3_71,
r0_.marker_b1 AS marker_b1_72,
r0_.marker_b2 AS marker_b2_73,
r0_.marker_b3 AS marker_b3_74,
r0_.late_marker_disabled AS late_marker_disabled_75,
r0_.tier_3 AS tier_3_76,
CONCAT(
u1_.first_name, ' ', u1_.last_name
) AS sclr_77,
r0_.drug_id AS drug_id_78,
r0_.type_id AS type_id_79,
r0_.discontinuance_reason_id AS discontinuance_reason_id_80,
r0_.shortage_reason_id AS shortage_reason_id_81,
r0_.parent_object_id AS parent_object_id_82,
r0_.last_updated_user_id AS last_updated_user_id_83,
r0_.deleted_by_user_id AS deleted_by_user_id_84
FROM
reports r0_
LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id
LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id
LEFT JOIN companies c4_ ON d3_.company_id = c4_.id
LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id
LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id
LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id
WHERE
r2_.id = ?
AND i6_.id = ?
AND r0_.parent_object_id IS NULL
AND r0_.draft = ?
AND r0_.discontinuation_date <= ?
AND r0_.deleted_date IS NULL
ORDER BY
r0_.updated_date DESC
SELECT DISTINCT r0_.id AS id_0, r0_.number AS number_1, r0_.created_date AS created_date_2, r0_.din AS din_3, r0_.company_name AS company_name_4, r0_.atc_number AS atc_number_5, r0_.atc_description AS atc_description_6, r0_.hc_updated_date AS hc_updated_date_7, r0_.remaining_supply_date AS remaining_supply_date_8, r0_.discontinuation_date AS discontinuation_date_9, r0_.anticipated_discontinuation_date AS anticipated_discontinuation_date_10, r0_.anticipated_start_date AS anticipated_start_date_11, r0_.estimated_end_date AS estimated_end_date_12, r0_.actual_start_date AS actual_start_date_13, r0_.actual_end_date AS actual_end_date_14, r0_.en_info_on_alternative AS en_info_on_alternative_15, r0_.fr_info_on_alternative AS fr_info_on_alternative_16, r0_.decision_reversal AS decision_reversal_17, r0_.en_supply_disruption_mitigation AS en_supply_disruption_mitigation_18, r0_.fr_supply_disruption_mitigation AS fr_supply_disruption_mitigation_19, r0_.en_discontinuation_comments AS en_discontinuation_comments_20, r0_.fr_discontinuation_comments AS fr_discontinuation_comments_21, r0_.updated_date AS updated_date_22, r0_.last_updated_operation AS last_updated_operation_23, r0_.last_updated_ip AS last_updated_ip_24, r0_.en_product_alternative AS en_product_alternative_25, r0_.fr_product_alternative AS fr_product_alternative_26, r0_.status AS status_27, r0_.en_info_for_care_provider AS en_info_for_care_provider_28, r0_.fr_info_for_care_provider AS fr_info_for_care_provider_29, r0_.en_mitigation_efforts AS en_mitigation_efforts_30, r0_.fr_mitigation_efforts AS fr_mitigation_efforts_31, r0_.en_comments AS en_comments_32, r0_.fr_comments AS fr_comments_33, r0_.hc_en_product_alternative AS hc_en_product_alternative_34, r0_.hc_fr_product_alternative AS hc_fr_product_alternative_35, r0_.hc_en_shortage_info AS hc_en_shortage_info_36, r0_.hc_fr_shortage_info AS hc_fr_shortage_info_37, r0_.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_38, r0_.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_39, r0_.hc_en_comments AS hc_en_comments_40, r0_.hc_fr_comments AS hc_fr_comments_41, r0_.en_drug_brand_name AS en_drug_brand_name_42, r0_.en_drug_proper_name AS en_drug_proper_name_43, r0_.en_drug_common_name AS en_drug_common_name_44, r0_.fr_drug_brand_name AS fr_drug_brand_name_45, r0_.fr_drug_proper_name AS fr_drug_proper_name_46, r0_.fr_drug_common_name AS fr_drug_common_name_47, r0_.en_ingredients AS en_ingredients_48, r0_.fr_ingredients AS fr_ingredients_49, r0_.drug_strength AS drug_strength_50, r0_.drug_dosage_form AS drug_dosage_form_51, r0_.drug_dosage_form_fr AS drug_dosage_form_fr_52, r0_.drug_route AS drug_route_53, r0_.drug_route_fr AS drug_route_fr_54, r0_.drug_package_quantity AS drug_package_quantity_55, r0_.resolved AS resolved_56, r0_.avoided AS avoided_57, r0_.advance AS advance_58, r0_.late_submission AS late_submission_59, r0_.shortage_duplicated AS shortage_duplicated_60, r0_.discontinuance_duplicated AS discontinuance_duplicated_61, r0_.draft AS draft_62, r0_.deleted_ip_address AS deleted_ip_address_63, r0_.deleted_date AS deleted_date_64, r0_.current_form_lang AS current_form_lang_65, r0_.discontinuation_duplication AS discontinuation_duplication_66, r0_.shortage_duplication AS shortage_duplication_67, r0_.unknown_estimated_end_date AS unknown_estimated_end_date_68, r0_.marker_a1 AS marker_a1_69, r0_.marker_a2 AS marker_a2_70, r0_.marker_a3 AS marker_a3_71, r0_.marker_b1 AS marker_b1_72, r0_.marker_b2 AS marker_b2_73, r0_.marker_b3 AS marker_b3_74, r0_.late_marker_disabled AS late_marker_disabled_75, r0_.tier_3 AS tier_3_76, CONCAT(u1_.first_name, ' ', u1_.last_name) AS sclr_77, r0_.drug_id AS drug_id_78, r0_.type_id AS type_id_79, r0_.discontinuance_reason_id AS discontinuance_reason_id_80, r0_.shortage_reason_id AS shortage_reason_id_81, r0_.parent_object_id AS parent_object_id_82, r0_.last_updated_user_id AS last_updated_user_id_83, r0_.deleted_by_user_id AS deleted_by_user_id_84 FROM reports r0_ LEFT JOIN reporttype r2_ ON r0_.type_id = r2_.id LEFT JOIN drugs d3_ ON r0_.drug_id = d3_.id LEFT JOIN companies c4_ ON d3_.company_id = c4_.id LEFT JOIN users u1_ ON r0_.last_updated_user_id = u1_.id LEFT JOIN drugingredients d5_ ON d3_.id = d5_.drug_id LEFT JOIN ingredients i6_ ON d5_.ingredient_id = i6_.id WHERE r2_.id = 2 AND i6_.id = 34321 AND r0_.parent_object_id IS NULL AND r0_.draft = 0 AND r0_.discontinuation_date <= '2025-12-10 04:19:25' AND r0_.deleted_date IS NULL ORDER BY r0_.updated_date DESC;
|
| 10 |
0.36 ms |
SELECT s0_.id AS id_0, s0_.last_notification_date AS last_notification_date_1, s0_.last_updated AS last_updated_2, s0_.last_status AS last_status_3, s0_.last_number_of_results AS last_number_of_results_4, s0_.user_id AS user_id_5, s0_.drug_id AS drug_id_6, s0_.company_id AS company_id_7, s0_.ingredient_id AS ingredient_id_8, s0_.atc_id AS atc_id_9 FROM shortagealert s0_ LEFT JOIN users u1_ ON s0_.user_id = u1_.id WHERE u1_.id = ? AND s0_.ingredient_id = ? ORDER BY s0_.last_updated DESC LIMIT 1
Parameters: [
null
34321
]
SELECT s0_.id AS id_0, s0_.last_notification_date AS last_notification_date_1, s0_.last_updated AS last_updated_2, s0_.last_status AS last_status_3, s0_.last_number_of_results AS last_number_of_results_4, s0_.user_id AS user_id_5, s0_.drug_id AS drug_id_6, s0_.company_id AS company_id_7, s0_.ingredient_id AS ingredient_id_8, s0_.atc_id AS atc_id_9 FROM shortagealert s0_ LEFT JOIN users u1_ ON s0_.user_id = u1_.id WHERE u1_.id = NULL AND s0_.ingredient_id = 34321 ORDER BY s0_.last_updated DESC LIMIT 1;
|
| 11 |
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.ingredient_id = ? ORDER BY t0.id ASC
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.ingredient_id = 34321 ORDER BY t0.id ASC;
|
| 12 |
0.47 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 76887;
|
| 13 |
0.57 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 76887 ORDER BY t0.id DESC;
|
| 14 |
0.61 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 76887 ORDER BY t0.id DESC;
|
| 15 |
0.32 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 70347;
|
| 16 |
0.51 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 70347 ORDER BY t0.id DESC;
|
| 17 |
0.49 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 70347 ORDER BY t0.id DESC;
|
| 18 |
0.36 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 71357;
|
| 19 |
0.50 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 71357 ORDER BY t0.id DESC;
|
| 20 |
0.45 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 71357 ORDER BY t0.id DESC;
|
| 21 |
0.35 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 71356;
|
| 22 |
0.50 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 71356 ORDER BY t0.id DESC;
|
| 23 |
0.44 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 71356 ORDER BY t0.id DESC;
|
| 24 |
0.45 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 94609;
|
| 25 |
0.48 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 94609 ORDER BY t0.id DESC;
|
| 26 |
0.45 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 94609 ORDER BY t0.id DESC;
|
| 27 |
0.44 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 68769;
|
| 28 |
0.48 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 68769 ORDER BY t0.id DESC;
|
| 29 |
0.45 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 68769 ORDER BY t0.id DESC;
|
| 30 |
0.52 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 70309 ORDER BY t0.id DESC;
|
| 31 |
0.45 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 70309 ORDER BY t0.id DESC;
|
| 32 |
0.48 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 68493;
|
| 33 |
0.49 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 68493 ORDER BY t0.id DESC;
|
| 34 |
0.44 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 68493 ORDER BY t0.id DESC;
|
| 35 |
0.48 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 86631;
|
| 36 |
0.52 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 86631 ORDER BY t0.id DESC;
|
| 37 |
0.44 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 86631 ORDER BY t0.id DESC;
|
| 38 |
0.40 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 83711;
|
| 39 |
0.47 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 83711 ORDER BY t0.id DESC;
|
| 40 |
0.47 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 83711 ORDER BY t0.id DESC;
|
| 41 |
0.46 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 77192;
|
| 42 |
0.50 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 77192 ORDER BY t0.id DESC;
|
| 43 |
0.46 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 77192 ORDER BY t0.id DESC;
|
| 44 |
0.45 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 82311;
|
| 45 |
0.47 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 82311 ORDER BY t0.id DESC;
|
| 46 |
0.49 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 82311 ORDER BY t0.id DESC;
|
| 47 |
0.31 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 82334;
|
| 48 |
0.46 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 82334 ORDER BY t0.id DESC;
|
| 49 |
0.46 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 82334 ORDER BY t0.id DESC;
|
| 50 |
0.43 ms |
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.drug_code AS drug_code_2, t0.updated_date AS updated_date_3, t0.content_update_date AS content_update_date_4, t0.last_updated_operation AS last_updated_operation_5, t0.last_updated_ip AS last_updated_ip_6, t0.product_categorization AS product_categorization_7, t0.din AS din_8, t0.brand_name AS brand_name_9, t0.brand_name_fr AS brand_name_fr_10, t0.descriptor AS descriptor_11, t0.pediatric_flag AS pediatric_flag_12, t0.accession_number AS accession_number_13, t0.number_of_ais AS number_of_ais_14, t0.ai_group_no AS ai_group_no_15, t0.en_proper_name AS en_proper_name_16, t0.fr_proper_name AS fr_proper_name_17, t0.en_common_name AS en_common_name_18, t0.fr_common_name AS fr_common_name_19, t0.parent_object_id AS parent_object_id_20, t0.last_updated_user_id AS last_updated_user_id_21, t0.company_id AS company_id_22, t0.class_id AS class_id_23 FROM drugs t0 WHERE t0.id = 83910;
|
| 51 |
0.49 ms |
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.created_date AS created_date_2,
t0.din AS din_3,
t0.atc_number AS atc_number_4,
t0.atc_description AS atc_description_5,
t0.hc_updated_date AS hc_updated_date_6,
t0.anticipated_start_date AS anticipated_start_date_7,
t0.estimated_end_date AS estimated_end_date_8,
t0.actual_start_date AS actual_start_date_9,
t0.actual_end_date AS actual_end_date_10,
t0.updated_date AS updated_date_11,
t0.last_updated_operation AS last_updated_operation_12,
t0.last_updated_ip AS last_updated_ip_13,
t0.en_product_alternative AS en_product_alternative_14,
t0.fr_product_alternative AS fr_product_alternative_15,
t0.status AS status_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_18,
t0.en_mitigation_efforts AS en_mitigation_efforts_19,
t0.fr_mitigation_efforts AS fr_mitigation_efforts_20,
t0.en_comments AS en_comments_21,
t0.fr_comments AS fr_comments_22,
t0.hc_en_product_alternative AS hc_en_product_alternative_23,
t0.hc_fr_product_alternative AS hc_fr_product_alternative_24,
t0.hc_en_shortage_info AS hc_en_shortage_info_25,
t0.hc_fr_shortage_info AS hc_fr_shortage_info_26,
t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27,
t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28,
t0.hc_en_comments AS hc_en_comments_29,
t0.hc_fr_comments AS hc_fr_comments_30,
t0.en_drug_brand_name AS en_drug_brand_name_31,
t0.en_drug_proper_name AS en_drug_proper_name_32,
t0.en_drug_common_name AS en_drug_common_name_33,
t0.fr_drug_brand_name AS fr_drug_brand_name_34,
t0.fr_drug_proper_name AS fr_drug_proper_name_35,
t0.fr_drug_common_name AS fr_drug_common_name_36,
t0.en_ingredients AS en_ingredients_37,
t0.fr_ingredients AS fr_ingredients_38,
t0.drug_strength AS drug_strength_39,
t0.drug_dosage_form AS drug_dosage_form_40,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_41,
t0.drug_route AS drug_route_42,
t0.drug_route_fr AS drug_route_fr_43,
t0.drug_package_quantity AS drug_package_quantity_44,
t0.resolved AS resolved_45,
t0.avoided AS avoided_46,
t0.advance AS advance_47,
t0.late_submission AS late_submission_48,
t0.shortage_duplicated AS shortage_duplicated_49,
t0.discontinuance_duplicated AS discontinuance_duplicated_50,
t0.draft AS draft_51,
t0.deleted_ip_address AS deleted_ip_address_52,
t0.deleted_date AS deleted_date_53,
t0.current_form_lang AS current_form_lang_54,
t0.unknown_estimated_end_date AS unknown_estimated_end_date_55,
t0.drug_id AS drug_id_56,
t0.reason_id AS reason_id_57,
t0.parent_object_id AS parent_object_id_58,
t0.last_updated_user_id AS last_updated_user_id_59,
t0.deleted_by_user_id AS deleted_by_user_id_60
FROM
shortages t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.created_date AS created_date_2, t0.din AS din_3, t0.atc_number AS atc_number_4, t0.atc_description AS atc_description_5, t0.hc_updated_date AS hc_updated_date_6, t0.anticipated_start_date AS anticipated_start_date_7, t0.estimated_end_date AS estimated_end_date_8, t0.actual_start_date AS actual_start_date_9, t0.actual_end_date AS actual_end_date_10, t0.updated_date AS updated_date_11, t0.last_updated_operation AS last_updated_operation_12, t0.last_updated_ip AS last_updated_ip_13, t0.en_product_alternative AS en_product_alternative_14, t0.fr_product_alternative AS fr_product_alternative_15, t0.status AS status_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_18, t0.en_mitigation_efforts AS en_mitigation_efforts_19, t0.fr_mitigation_efforts AS fr_mitigation_efforts_20, t0.en_comments AS en_comments_21, t0.fr_comments AS fr_comments_22, t0.hc_en_product_alternative AS hc_en_product_alternative_23, t0.hc_fr_product_alternative AS hc_fr_product_alternative_24, t0.hc_en_shortage_info AS hc_en_shortage_info_25, t0.hc_fr_shortage_info AS hc_fr_shortage_info_26, t0.hc_en_mitigation_efforts AS hc_en_mitigation_efforts_27, t0.hc_fr_mitigation_efforts AS hc_fr_mitigation_efforts_28, t0.hc_en_comments AS hc_en_comments_29, t0.hc_fr_comments AS hc_fr_comments_30, t0.en_drug_brand_name AS en_drug_brand_name_31, t0.en_drug_proper_name AS en_drug_proper_name_32, t0.en_drug_common_name AS en_drug_common_name_33, t0.fr_drug_brand_name AS fr_drug_brand_name_34, t0.fr_drug_proper_name AS fr_drug_proper_name_35, t0.fr_drug_common_name AS fr_drug_common_name_36, t0.en_ingredients AS en_ingredients_37, t0.fr_ingredients AS fr_ingredients_38, t0.drug_strength AS drug_strength_39, t0.drug_dosage_form AS drug_dosage_form_40, t0.drug_dosage_form_fr AS drug_dosage_form_fr_41, t0.drug_route AS drug_route_42, t0.drug_route_fr AS drug_route_fr_43, t0.drug_package_quantity AS drug_package_quantity_44, t0.resolved AS resolved_45, t0.avoided AS avoided_46, t0.advance AS advance_47, t0.late_submission AS late_submission_48, t0.shortage_duplicated AS shortage_duplicated_49, t0.discontinuance_duplicated AS discontinuance_duplicated_50, t0.draft AS draft_51, t0.deleted_ip_address AS deleted_ip_address_52, t0.deleted_date AS deleted_date_53, t0.current_form_lang AS current_form_lang_54, t0.unknown_estimated_end_date AS unknown_estimated_end_date_55, t0.drug_id AS drug_id_56, t0.reason_id AS reason_id_57, t0.parent_object_id AS parent_object_id_58, t0.last_updated_user_id AS last_updated_user_id_59, t0.deleted_by_user_id AS deleted_by_user_id_60 FROM shortages t0 WHERE t0.drug_id = 83910 ORDER BY t0.id DESC;
|
| 52 |
0.43 ms |
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = ? ORDER BY t0.id DESC
SELECT
t0.id AS id_1,
t0.updated_date AS updated_date_2,
t0.remaining_supply_date AS remaining_supply_date_3,
t0.last_updated_operation AS last_updated_operation_4,
t0.last_updated_ip AS last_updated_ip_5,
t0.discontinuation_date AS discontinuation_date_6,
t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7,
t0.created_date AS created_date_8,
t0.din AS din_9,
t0.status AS status_10,
t0.en_info_on_alternative AS en_info_on_alternative_11,
t0.fr_info_on_alternative AS fr_info_on_alternative_12,
t0.decision_reversal AS decision_reversal_13,
t0.shortage_late AS shortage_late_14,
t0.discontinuation_duplication AS discontinuation_duplication_15,
t0.shortage_duplication AS shortage_duplication_16,
t0.en_info_for_care_provider AS en_info_for_care_provider_17,
t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23,
t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24,
t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25,
t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26,
t0.hc_en_comments AS hc_en_comments_27,
t0.hc_fr_comments AS hc_fr_comments_28,
t0.en_drug_brand_name AS en_drug_brand_name_29,
t0.en_drug_proper_name AS en_drug_proper_name_30,
t0.en_drug_common_name AS en_drug_common_name_31,
t0.fr_drug_brand_name AS fr_drug_brand_name_32,
t0.fr_drug_proper_name AS fr_drug_proper_name_33,
t0.fr_drug_common_name AS fr_drug_common_name_34,
t0.en_ingredients AS en_ingredients_35,
t0.fr_ingredients AS fr_ingredients_36,
t0.drug_strength AS drug_strength_37,
t0.drug_dosage_form AS drug_dosage_form_38,
t0.drug_dosage_form_fr AS drug_dosage_form_fr_39,
t0.drug_route AS drug_route_40,
t0.drug_route_fr AS drug_route_fr_41,
t0.drug_package_quantity AS drug_package_quantity_42,
t0.atc_number AS atc_number_43,
t0.atc_description AS atc_description_44,
t0.en_info_remaining_supply AS en_info_remaining_supply_45,
t0.fr_info_remaining_supply AS fr_info_remaining_supply_46,
t0.draft AS draft_47,
t0.deleted_ip_address AS deleted_ip_address_48,
t0.deleted_date AS deleted_date_49,
t0.current_form_lang AS current_form_lang_50,
t0.parent_object_id AS parent_object_id_51,
t0.last_updated_user_id AS last_updated_user_id_52,
t0.drug_id AS drug_id_53,
t0.reason_id AS reason_id_54,
t0.deleted_by_user_id AS deleted_by_user_id_55
FROM
discontinuances t0
WHERE
t0.drug_id = ?
ORDER BY
t0.id DESC
SELECT t0.id AS id_1, t0.updated_date AS updated_date_2, t0.remaining_supply_date AS remaining_supply_date_3, t0.last_updated_operation AS last_updated_operation_4, t0.last_updated_ip AS last_updated_ip_5, t0.discontinuation_date AS discontinuation_date_6, t0.anticipated_discontinuation_date AS anticipated_discontinuation_date_7, t0.created_date AS created_date_8, t0.din AS din_9, t0.status AS status_10, t0.en_info_on_alternative AS en_info_on_alternative_11, t0.fr_info_on_alternative AS fr_info_on_alternative_12, t0.decision_reversal AS decision_reversal_13, t0.shortage_late AS shortage_late_14, t0.discontinuation_duplication AS discontinuation_duplication_15, t0.shortage_duplication AS shortage_duplication_16, t0.en_info_for_care_provider AS en_info_for_care_provider_17, t0.fr_info_for_care_provider AS fr_info_for_care_provider_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.hc_en_info_for_care_providers AS hc_en_info_for_care_providers_23, t0.hc_fr_info_for_care_providers AS hc_fr_info_for_care_providers_24, t0.hc_en_info_supply_disruption AS hc_en_info_supply_disruption_25, t0.hc_fr_info_supply_disruption AS hc_fr_info_supply_disruption_26, t0.hc_en_comments AS hc_en_comments_27, t0.hc_fr_comments AS hc_fr_comments_28, t0.en_drug_brand_name AS en_drug_brand_name_29, t0.en_drug_proper_name AS en_drug_proper_name_30, t0.en_drug_common_name AS en_drug_common_name_31, t0.fr_drug_brand_name AS fr_drug_brand_name_32, t0.fr_drug_proper_name AS fr_drug_proper_name_33, t0.fr_drug_common_name AS fr_drug_common_name_34, t0.en_ingredients AS en_ingredients_35, t0.fr_ingredients AS fr_ingredients_36, t0.drug_strength AS drug_strength_37, t0.drug_dosage_form AS drug_dosage_form_38, t0.drug_dosage_form_fr AS drug_dosage_form_fr_39, t0.drug_route AS drug_route_40, t0.drug_route_fr AS drug_route_fr_41, t0.drug_package_quantity AS drug_package_quantity_42, t0.atc_number AS atc_number_43, t0.atc_description AS atc_description_44, t0.en_info_remaining_supply AS en_info_remaining_supply_45, t0.fr_info_remaining_supply AS fr_info_remaining_supply_46, t0.draft AS draft_47, t0.deleted_ip_address AS deleted_ip_address_48, t0.deleted_date AS deleted_date_49, t0.current_form_lang AS current_form_lang_50, t0.parent_object_id AS parent_object_id_51, t0.last_updated_user_id AS last_updated_user_id_52, t0.drug_id AS drug_id_53, t0.reason_id AS reason_id_54, t0.deleted_by_user_id AS deleted_by_user_id_55 FROM discontinuances t0 WHERE t0.drug_id = 83910 ORDER BY t0.id DESC;
|